Ubuntu 16.10 Linux 4.8
VPP *git *sources: https://gerrit.fd.io/r/vpp
VPP branches: stable/1704 & master
VPP tags:
*v17.04 & v17.07-rc0*

Building with the following workflow:
        echo --------
        echo Cleaning
        echo --------
        cd git-vpp
        sudo -u actionmystique -H git-reset-clean-pull-checkout.sh $branch
$tag

        echo -----------
        echo Configuring
        echo -----------
        cd build-root
        sudo -u actionmystique -H ./bootstrap.sh

        echo ---------------------------------------
        echo *"Trying to not treat warnings as errors"*
        echo ---------------------------------------
        # Array which will contain all found file names
        files_list=()

        while IFS= read -d $'\0' -r file ; do
                files_list=("${files_list[@]}" "$file")
        done < <(find . -name "Makefile" -print0)

        while IFS= read -d $'\0' -r file ; do
                files_list=("${files_list[@]}" "$file")
        done < <(find . -name "*.mk" -print0)

        for file in "${files_list[@]}"
        do
                sed -i 's|-Werror||g' "$file"
        done

        echo ---------
        echo Compiling
        echo ---------
        sudo -u actionmystique -H make V=0 PLATFORM=vpp TAG=vpp install-deb

leads to the following log for *v17.04 & v17.07-rc0, *despite an attempt to
workaround the issue above in "Trying to not treat warnings as errors":
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
...
  CC       vnet/ipsec/ipsec_if.lo
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:
In function ‘bfd_cli_udp_session_add’:
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:428:17:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_add_cli_param (CHECK_MANDATORY);
                 ^~
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:428:199:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_add_cli_param (CHECK_MANDATORY);


                                               ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:428:381:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_add_cli_param (CHECK_MANDATORY);


                           ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:428:561:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_add_cli_param (CHECK_MANDATORY);


     ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:428:751:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_add_cli_param (CHECK_MANDATORY);



/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:428:943:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_add_cli_param (CHECK_MANDATORY);

                                                           ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:
In function ‘bfd_cli_udp_session_mod’:
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:519:17:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_mod_cli_param (CHECK_MANDATORY);
                 ^~
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:519:199:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_mod_cli_param (CHECK_MANDATORY);


                                               ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:519:381:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_mod_cli_param (CHECK_MANDATORY);

/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:519:561:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_mod_cli_param (CHECK_MANDATORY);



/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:519:751:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_mod_cli_param (CHECK_MANDATORY);

                                                                     ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:519:943:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_mod_cli_param (CHECK_MANDATORY);

                                                         ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:
In function ‘bfd_cli_udp_session_del’:
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:586:17:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_del_cli_param (CHECK_MANDATORY);
                 ^~
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:586:199:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_del_cli_param (CHECK_MANDATORY);


                                               ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:586:381:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_del_cli_param (CHECK_MANDATORY);


                           ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:
In function ‘bfd_cli_udp_session_set_flags’:
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:644:17:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_set_flags_cli_param (CHECK_MANDATORY);
                 ^~
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:644:199:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_set_flags_cli_param (CHECK_MANDATORY);


                                               ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:644:381:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_set_flags_cli_param (CHECK_MANDATORY);


                          ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:644:561:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_set_flags_cli_param (CHECK_MANDATORY);


     ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:
In function ‘bfd_cli_udp_session_auth_activate’:
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:722:17:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_auth_activate_cli_param (CHECK_MANDATORY);
                 ^~
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:722:199:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_auth_activate_cli_param (CHECK_MANDATORY);


                                               ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:722:381:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_auth_activate_cli_param (CHECK_MANDATORY);


                           ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:722:742:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_auth_activate_cli_param (CHECK_MANDATORY);

                                                            ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:722:926:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_auth_activate_cli_param (CHECK_MANDATORY);

                                       ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:
In function ‘bfd_cli_udp_session_auth_deactivate’:
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:812:17:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_auth_deactivate_cli_param (CHECK_MANDATORY);
                 ^~
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:812:199:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_auth_deactivate_cli_param (CHECK_MANDATORY);


                                               ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:812:381:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_session_auth_deactivate_cli_param (CHECK_MANDATORY);


                           ^
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:
In function ‘bfd_cli_udp_set_echo_source’:
/home/actionmystique/src/VPP/git-vpp/build-data/../src/vnet/bfd/bfd_cli.c:886:17:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
   foreach_bfd_cli_udp_set_echo_source_cli_param (CHECK_MANDATORY);
                 ^~
cc1: all warnings being treated as errors
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Regards.
-- 
*Jean-Christophe Manciot*

*[image: Architecte réseaux et Sécurité]
<https://learningnetwork.cisco.com/people/manciot.jeanchristophe/content>
*[image:
Network & Security Architect]
<https://fr.linkedin.com/in/jeanchristophemanciot/en>
<https://twitter.com/jc_manciot>
<https://plus.google.com/u/0/+jeanchristopheManciot-IT/posts>
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev
  • [vpp-dev] Can... jean-christophe Manciot
    • Re: [vpp... Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)

Reply via email to