Jens,
Forwarding to vpp-dev@lists.fd.io where VPP contributors answer these
types of questions.
The srtp plugin is not built in the CI [0] and ubuntu-22.04 includes
version 2.4.2 of libsrtp2 [1]. The ekt field was deprecated in 2.4.0
since it was never fully implemented and the draft changed [2].
I pinged Florin Coras who maintains the srtp_plugin which is
experimental and verified that it has been intentionally left out of the
CI. I have pushed a fix for the build failure [3], but Florin will need
to test it before it can be merged.
Please apply the patch and let us know if you run into any more issues.
Thanks,
-daw-
[0]
https://s3-logs.fd.io/vex-yul-rot-jenkins-1/vpp-verify-master-ubuntu2204-x86_64/1178/console-timestamp.log.gz
(search for libsrtp2.a -> "17:54:54 -- -- libsrtp2.a library not
found - srtp plugin disabled"
[1] https://pkgs.org/search/?q=libsrtp2
[2] https://github.com/cisco/libsrtp/releases/tag/v2.4.0
[3] https://gerrit.fd.io/r/c/vpp/+/38345
-------- Forwarded Message --------
Subject: [vpp-build] VPP build error on Ubuntu 22.04
Date: Thu, 23 Feb 2023 03:26:25 -0800
From: Jens Rösiger via lists.fd.io <jensr=tops....@lists.fd.io>
Reply-To: vpp-bu...@lists.fd.io
To: vpp-bu...@lists.fd.io
Dear VPP Build Team,
i have a problem to build VPP on Ubuntu 22.04(LTS).
* no errror on "make install-deps"
* no errors on "make install-ext-deps"
* but "make build-release" give this error:
make[1]: Entering directory '/opt/buildpackage/src/vpp/vpp/build-root'
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for external @@@@
@@@@ Makefile fragment found in
/opt/buildpackage/src/vpp/vpp/build-data/packages/external.mk @@@@
@@@@ Source found in /opt/buildpackage/src/vpp/vpp/build @@@@
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for vpp @@@@
@@@@ Makefile fragment found in
/opt/buildpackage/src/vpp/vpp/build-data/packages/vpp.mk @@@@
@@@@ Source found in /opt/buildpackage/src/vpp/vpp/src @@@@
@@@@ Configuring external in
/opt/buildpackage/src/vpp/vpp/build-root/build-vpp-native/external @@@@
@@@@ Building external in
/opt/buildpackage/src/vpp/vpp/build-root/build-vpp-native/external @@@@
@@@@ Installing external @@@@
make[2]: Entering directory '/opt/buildpackage/src/vpp/vpp/build/external'
make check-deb
make[3]: Entering directory '/opt/buildpackage/src/vpp/vpp/build/external'
make[3]: Nothing to be done for 'check-deb'.
make[3]: Leaving directory '/opt/buildpackage/src/vpp/vpp/build/external'
make[2]: Nothing to be done for 'ebuild-install'.
make[2]: Leaving directory '/opt/buildpackage/src/vpp/vpp/build/external'
@@@@ Configuring vpp in
/opt/buildpackage/src/vpp/vpp/build-root/build-vpp-native/vpp @@@@
-- The C compiler identification is Clang 14.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test compiler_flag_march_haswell
-- Performing Test compiler_flag_march_haswell - Success
-- Performing Test compiler_flag_mtune_haswell
-- Performing Test compiler_flag_mtune_haswell - Success
-- Performing Test compiler_flag_march_tremont
-- Performing Test compiler_flag_march_tremont - Success
-- Performing Test compiler_flag_mtune_tremont
-- Performing Test compiler_flag_mtune_tremont - Success
-- Performing Test compiler_flag_march_skylake_avx512
-- Performing Test compiler_flag_march_skylake_avx512 - Success
-- Performing Test compiler_flag_mtune_skylake_avx512
-- Performing Test compiler_flag_mtune_skylake_avx512 - Success
-- Performing Test compiler_flag_mprefer_vector_width_256
-- Performing Test compiler_flag_mprefer_vector_width_256 - Success
-- Performing Test compiler_flag_march_icelake_client
-- Performing Test compiler_flag_march_icelake_client - Success
-- Performing Test compiler_flag_mtune_icelake_client
-- Performing Test compiler_flag_mtune_icelake_client - Success
-- Performing Test compiler_flag_mprefer_vector_width_512
-- Performing Test compiler_flag_mprefer_vector_width_512 - Success
-- Looking for ccache
-- Looking for ccache - found
-- Performing Test compiler_flag_no_address_of_packed_member
-- Performing Test compiler_flag_no_address_of_packed_member - Success
-- Performing Test compiler_flag_no_stringop_overflow
-- Performing Test compiler_flag_no_stringop_overflow - Failed
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_FCNTL64
-- Performing Test HAVE_FCNTL64 - Success
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version
"3.0.2")
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /usr/lib/ccache/clang
-- Looking for libuuid
-- Found uuid in /usr/include
-- Found subunit in /usr/include and /usr/lib/x86_64-linux-gnu/libsubunit.so
-- The CXX compiler identification is ;GNU 11.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python3: /usr/bin/python3.10 (found version "3.10.6") found
components: Interpreter
-- af_xdp plugin needs libxdp.a library - found at
/opt/vpp/external/x86_64/lib/libxdp.a
-- af_xdp plugin needs libbpf.a library - found at
/opt/vpp/external/x86_64/lib64/libbpf.a
-- af_xdp plugin needs elf library - found at
/usr/lib/x86_64-linux-gnu/libelf.so
-- af_xdp plugin needs z library - found at
/usr/lib/x86_64-linux-gnu/libz.so
-- Performing Test XDP_COMPILES_CHECK
-- Performing Test XDP_COMPILES_CHECK - Success
-- Intel IPSecMB found: /opt/vpp/external/x86_64/include
-- dpdk plugin needs libdpdk.a library - found at
/opt/vpp/external/x86_64/lib/libdpdk.a
-- Found DPDK 22.7.0 in /opt/vpp/external/x86_64/include
-- dpdk plugin needs numa library - found at
/usr/lib/x86_64-linux-gnu/libnuma.so
-- EXPERIMENTAL: DPDK plugin without dlopen mode
-- dpdk plugin needs libibverbs.a library - found at
/opt/vpp/external/x86_64/lib/libibverbs.a
-- dpdk plugin needs libmlx5.a library - found at
/opt/vpp/external/x86_64/lib/libmlx5.a
-- dpdk plugin needs libmlx4.a library - found at
/opt/vpp/external/x86_64/lib/libmlx4.a
-- lcpng plugin needs libnl-3.so library - found at
/usr/lib/x86_64-linux-gnu/libnl-3.so
-- lcpng plugin needs libnl-route-3.so.200 library - found at
/usr/lib/x86_64-linux-gnu/libnl-route-3.so.200
-- linux-cp plugin needs libnl-3.so library - found at
/usr/lib/x86_64-linux-gnu/libnl-3.so
-- linux-cp plugin needs libnl-route-3.so.200 library - found at
/usr/lib/x86_64-linux-gnu/libnl-route-3.so.200
-- Found quicly 0.1.4-vpp in /opt/vpp/external/x86_64/include
-- rdma plugin needs libibverbs.a library - found at
/opt/vpp/external/x86_64/lib/libibverbs.a
-- rdma plugin needs libmlx5.a library - found at
/opt/vpp/external/x86_64/lib/libmlx5.a
-- Performing Test IBVERBS_COMPILES_CHECK
-- Performing Test IBVERBS_COMPILES_CHECK - Success
-- -- libdaq headers not found - snort3 DAQ disabled
-- srtp plugin needs libsrtp2.a library - found at
/usr/lib/x86_64-linux-gnu/libsrtp2.a
-- tlsmbedtls plugin needs mbedtls library - found at
/usr/lib/x86_64-linux-gnu/libmbedtls.so
-- tlsmbedtls plugin needs mbedx509 library - found at
/usr/lib/x86_64-linux-gnu/libmbedx509.so
-- tlsmbedtls plugin needs mbedcrypto library - found at
/usr/lib/x86_64-linux-gnu/libmbedcrypto.so
-- Looking for SSL_set_async_callback
-- Looking for SSL_set_async_callback - found
-- Found picotls in /opt/vpp/external/x86_64/include and
/opt/vpp/external/x86_64/lib/libpicotls-core.a
-- Configuration:
VPP version : 23.02-release
VPP library version : 23.02
GIT toplevel dir : /opt/buildpackage/src/vpp/vpp
Build type : release
C compiler : /usr/lib/ccache/clang (Clang 14.0.0)
C flags :
Linker flags (apps) :
Linker flags (libs) :
Host processor : x86_64
Target processor : x86_64
Prefix path : /opt/vpp/external/x86_64
/opt/buildpackage/src/vpp/vpp/build-root/install-vpp-native/external
Install prefix :
/opt/buildpackage/src/vpp/vpp/build-root/install-vpp-native/vpp
Library dir : lib/x86_64-linux-gnu
Multiarch variants : hsw skx icl
-- Configuring done
-- Generating done
-- Build files have been written to:
/opt/buildpackage/src/vpp/vpp/build-root/build-vpp-native/vpp
@@@@ Building vpp in
/opt/buildpackage/src/vpp/vpp/build-root/build-vpp-native/vpp @@@@
[2397/2574] Building C object
CMakeFiles/plugins/srtp/CMakeFiles/srtp_plugin.dir/srtp.c.o
FAILED: CMakeFiles/plugins/srtp/CMakeFiles/srtp_plugin.dir/srtp.c.o
/usr/bin/ccache /usr/lib/ccache/clang --target=x86_64-linux-gnu
-DHAVE_FCNTL64 -D_FORTIFY_SOURCE=2 -Dsrtp_plugin_EXPORTS
-I/opt/buildpackage/src/vpp/vpp/src
-I/opt/buildpackage/src/vpp/vpp/build-root/build-vpp-native/vpp/CMakeFiles
-I/opt/buildpackage/src/vpp/vpp/src/plugins
-I/opt/buildpackage/src/vpp/vpp/build-root/build-vpp-native/vpp/CMakeFiles/plugins
-fPIC -g -Werror -Wall -Wno-address-of-packed-member -O3
-fstack-protector -fno-common -march=corei7 -mtune=corei7-avx
-fvisibility=hidden -ffunction-sections -fdata-sections -MD -MT
CMakeFiles/plugins/srtp/CMakeFiles/srtp_plugin.dir/srtp.c.o -MF
CMakeFiles/plugins/srtp/CMakeFiles/srtp_plugin.dir/srtp.c.o.d -o
CMakeFiles/plugins/srtp/CMakeFiles/srtp_plugin.dir/srtp.c.o -c
/opt/buildpackage/src/vpp/vpp/src/plugins/srtp/srtp.c
/opt/buildpackage/src/vpp/vpp/src/plugins/srtp/srtp.c:62:11: error: no
member named 'ekt' in 'struct srtp_policy_t'
sp->ekt = 0;
~~ ^
1 error generated.
[2400/2574] Building C object
CMakeFiles/plugins/snort/CMakeFiles/snort_plugin_icl.dir/enqueue.c.o
ninja: build stopped: subcommand failed.
make[1]: *** [Makefile:693: vpp-build] Error 1
make[1]: Leaving directory '/opt/buildpackage/src/vpp/vpp/build-root'
make: *** [Makefile:401: build-release] Error 2
I have try to build vpp the version 22.10 and now 23.02. On every run
the same error and stop the build process.
Best regards
--
Jens Rösiger
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22620): https://lists.fd.io/g/vpp-dev/message/22620
Mute This Topic: https://lists.fd.io/mt/97192445/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-