Thanks Nathan for pointing out quick work-around. I will give a try. Thanks, Kausik
From: Nathan Skrzypczak <[email protected]> Sent: Tuesday, March 3, 2020 7:11 AM To: Nathan Skrzypczak <[email protected]> Cc: Majumdar, Kausik <[email protected]>; vpp-dev <[email protected]> Subject: Re: [vpp-dev] VPP build failure in master branch - plugins/quic Message received from external source. Exercise caution when opening attachments, clicking links, or exchanging information. [1] should fix this behavior in the future, checking the lib presence and version before trying to compile the quicly plugin. -Nathan [1] https://gerrit.fd.io/r/c/vpp/+/24872<https://secure-web.cisco.com/1-JjQxsX15k50yEC5SuCih2Cra41rFu8-onqq021uDLS70ZFhfk_23H3K-w-Ls85hxxy-2jvIKJp_DUiPaih-SqOy8e5ghaN-6sptP2mlsjkFGACRmHaJNmW_TBkf3zzg4MEWDkISPUHg-uKpIV2Nwf_02cz4CCJkpsDAJ2YhpaHxnERHm67OGN9tpGGn1aWybYzMsDM8t7Npuy99X3KXx4ia8GFILRQaI1jI9oZI6Pf1WLBdOFW25foALMWURgcSJcFE7JQZIyta__7pgt6gxWk4HPeSorT1hSXL7OB7LR_zHxm0FzBhmdcb0BSkYrWJLGLERYLG-ZQtNiav9n_vnQ/https%3A%2F%2Fgerrit.fd.io%2Fr%2Fc%2Fvpp%2F%2B%2F24872> Le mar. 3 mars 2020 à 10:16, Nathan Skrzypczak via Lists.Fd.Io<http://secure-web.cisco.com/1UJUB5wl0EcBMwHdpmC2bxJpO3ijNBfcszS62d_FSOHS3Hr7_082dlKplffBha85xzmAMr8ZlCj1Bk8qecytPNoaq05GuF-elBQNXhsGgfVEhO_HAwby7udnmACr7x2ntfC9450mXCZoFF0P_WxZEIlHf6XOf-IFAc0a852u2UhOr4IIrF4gJ0AgRllpO3wFkZFqfINj87RRpSW6fa-KnMLi5z9JvMbnH46ThOV1xLNcsj7UltFjGrGdPrQL-OBjoGd9Lo0Btfxs5DXKSpXj8sUoDZiHXJGXJTNHikst-78RPiNQ4wv9Txz6fsKHqGO3lPthJnRk6A4BfgGqtspr2eQ/http%3A%2F%2FLists.Fd.Io> <[email protected]<mailto:[email protected]>> a écrit : Hi Kausik, This error comes from a discrepancy between the installed version of libquicly and the one required for the build. For now we sadly do not have a version-checking mechanism, I'll try to write a patch to avoid those errors and keep you posted. To fix the build issue you can : * If `dpkg -l | grep vpp-ext-deps` gives you an entry, maybe try rebuild external deps `make install-ext-deps` * If not, the older version of quicly might come with the e-build, try `make wipe-release && git clean -ffdx` and re-run `build.sh` * If this keeps bothering you and you don't need quicly, you can just remove `./src/plugins/quic/CMakeLists.txt` and rebuild Hope this helps -Nathan Le mar. 3 mars 2020 à 05:27, Majumdar, Kausik <[email protected]<mailto:[email protected]>> a écrit : Hi All, I have pulled latest VPP codebase from the master and tried to run “build.sh” from the /vpp/build-root/vagrant folder. I see following build errors. Anyone seen this ? Is there any patch available ? I didn’t see it when I built from v20.01 release. [1671/1816] Building C object plugins/quic/CMakeFiles/quic_plugin.dir/quic.c.o FAILED: plugins/quic/CMakeFiles/quic_plugin.dir/quic.c.o /opt/rh/devtoolset-7/root/bin/cc -Dquic_plugin_EXPORTS -I/root/vpp_master/vpp/build-root/rpmbuild/vpp-20.05/src -I. -Iinclude -I/root/vpp_master/vpp/build-root/rpmbuild/vpp-20.05/src/plugins -Iplugins -I/opt/vpp/external/x86_64/include -Wno-address-of-packed-member -g -fPIC -Werror -Wall -march=corei7 -mtune=corei7-avx -O2 -fstack-protector -DFORTIFY_SOURCE=2 -fno-common -fPIC -MD -MT plugins/quic/CMakeFiles/quic_plugin.dir/quic.c.o -MF plugins/quic/CMakeFiles/quic_plugin.dir/quic.c.o.d -o plugins/quic/CMakeFiles/quic_plugin.dir/quic.c.o -c /root/vpp_master/vpp/build-root/rpmbuild/vpp-20.05/src/plugins/quic/quic.c /root/vpp_master/vpp/build-root/rpmbuild/vpp-20.05/src/plugins/quic/quic.c: In function 'quic_init_crypto_context': /root/vpp_master/vpp/build-root/rpmbuild/vpp-20.05/src/plugins/quic/quic.c:277:32: error: 'quicly_transport_parameters_t {aka struct st_quicly_transport_parameters_t}' has no member named 'max_idle_timeout'; did you mean 'idle_timeout'? quicly_ctx->transport_params.max_idle_timeout = qm->connection_timeout; ^~~~~~~~~~~~~~~~ idle_timeout /root/vpp_master/vpp/build-root/rpmbuild/vpp-20.05/src/plugins/quic/quic.c: At top level: cc1: error: unrecognized command line option '-Wno-address-of-packed-member' [-Werror] cc1: all warnings being treated as errors [1672/1816] Building C object plugins/quic/CMakeFiles/quic_plugin.dir/quic_crypto.c.o FAILED: plugins/quic/CMakeFiles/quic_plugin.dir/quic_crypto.c.o /opt/rh/devtoolset-7/root/bin/cc -Dquic_plugin_EXPORTS -I/root/vpp_master/vpp/build-root/rpmbuild/vpp-20.05/src -I. -Iinclude -I/root/vpp_master/vpp/build-root/rpmbuild/vpp-20.05/src/plugins -Iplugins -I/opt/vpp/external/x86_64/include -Wno-address-of-packed-member -g -fPIC -Werror -Wall -march=corei7 -mtune=corei7-avx -O2 -fstack-protector -DFORTIFY_SOURCE=2 -fno-common -fPIC -MD -MT plugins/quic/CMakeFiles/quic_plugin.dir/quic_crypto.c.o -MF plugins/quic/CMakeFiles/quic_plugin.dir/quic_crypto.c.o.d -o plugins/quic/CMakeFiles/quic_plugin.dir/quic_crypto.c.o -c /root/vpp_master/vpp/build-root/rpmbuild/vpp-20.05/src/plugins/quic/quic_crypto.c /root/vpp_master/vpp/build-root/rpmbuild/vpp-20.05/src/plugins/quic/quic_crypto.c: In function 'quic_crypto_decrypt_packet': /root/vpp_master/vpp/build-root/rpmbuild/vpp-20.05/src/plugins/quic/quic_crypto.c:258:5: error: implicit declaration of function 'quicly_get_next_expected_packet_number'; did you mean 'quicly_determine_packet_number'? [-Werror=implicit-function-declaration] quicly_get_next_expected_packet_number (qctx->conn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quicly_determine_packet_number /root/vpp_master/vpp/build-root/rpmbuild/vpp-20.05/src/plugins/quic/quic_crypto.c: At top level: cc1: error: unrecognized command line option '-Wno-address-of-packed-member' [-Werror] cc1: all warnings being treated as errors [1674/1816] Building C object plugins/rdma/CMakeFiles/rdma_plugin_avx2.dir/input.c.o ninja: build stopped: subcommand failed. make[3]: *** [Makefile:693: vpp-build] Error 1 make[3]: Leaving directory '/root/vpp_master/vpp/build-root/rpmbuild/vpp-20.05/build-root' make[2]: *** [Makefile:929: install-packages] Error 1 make[2]: Leaving directory '/root/vpp_master/vpp/build-root/rpmbuild/vpp-20.05/build-root' error: Bad exit status from /var/tmp/rpm-tmp.uvq9PV (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.uvq9PV (%build) make[1]: *** [RPM] Error 1 make[1]: Leaving directory `/root/vpp_master/vpp/extras/rpm' make: *** [pkg-rpm] Error 2 [root@localhost vagrant]# Thanks, Kausik
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15680): https://lists.fd.io/g/vpp-dev/message/15680 Mute This Topic: https://lists.fd.io/mt/71693777/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
