/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libabsl_synchronization.so.2103.0.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status [116/116] : && /usr/bin/x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -Wall -std=c++0x -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic userspace/sysdig/CMakeFiles/csysdig.dir/fields_info.cpp.o userspace/sysdig/CMakeFiles/csysdig.dir/csysdig.cpp.o -o userspace/sysdig/csysdig userspace/libsinsp/libsinsp.a -lncurses -ltinfo -lform userspace/libscap/libscap.a -lelf -lz -lcurl -ljsoncpp -ltbb -lcares -lgrpc++_unsecure -lgrpc_unsecure -lprotobuf -lcares -lgrpc++_unsecure -lgrpc_unsecure -lprotobuf -ljq -Wl,-Bstatic -lb64 -Wl,-Bdynamic -lrt -lanl -lssl -lcrypto -lluajit-5.1 -ldl -lpthread && : FAILED: userspace/sysdig/csysdig ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd-j4-20210930-120009 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.7 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.55.0 [2] rust-1.55.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php7.3 [2] php7.4 [3] php8.0 * HEAD of ::gentoo commit e13bbb9775401971c4511e0976746039aca7d25d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Oct 8 20:06:29 2021 +0000 2021-10-08 20:06:27 UTC emerge -qpvO dev-util/sysdig [ebuild R ] dev-util/sysdig-0.27.1-r100 USE="modules -test" LUA_SINGLE_TARGET="luajit"
Created attachment 743946 [details] emerge-info.txt
Created attachment 743949 [details] dev-util:sysdig-0.27.1-r100:20211008-224442.log
Created attachment 743952 [details] emerge-history.txt
Created attachment 743955 [details] environment
Created attachment 743958 [details] etc.portage.tar.bz2
Created attachment 743961 [details] logs.tar.bz2
Created attachment 743964 [details] temp.tar.bz2
Due to some changes in grpc-1.41 and sysdig's gRPC-based contaner support. Upstream bug: https://github.com/draios/sysdig/issues/1778 Hacky patch I came up with last night: https://github.com/hhoffstaette/portage/blob/master/dev-util/sysdig/files/0.27.1-grpc-absl-sync.patch Patch is only for unbundled deps like Gentoo, but it works.
https://github.com/hhoffstaette/portage/blob/master/dev-util/sysdig/files/0.27.1-grpc-absl-sync.patch I put this patch into /etc/portage/patches/dev-util/sysdig/ and compilation finished successful. Binaries works too. Please, add this patch into gentoo overlay and update ebuild: if [version of installed net-libs/grpc] >= "1.41"; then apply patch 0.27.1-grpc-absl-sync.patch fi
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e3a8191d55fcf173291932c4365da7ed2714367 commit 8e3a8191d55fcf173291932c4365da7ed2714367 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-19 21:20:19 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-19 21:30:11 +0000 dev-util/sysdig: fix build with newer grpc Closes: https://bugs.gentoo.org/817128 Signed-off-by: Sam James <sam@gentoo.org> .../files/sysdig-0.27.1-grpc-absl-sync.patch | 25 ++++++++++++++++++++++ dev-util/sysdig/sysdig-0.27.1-r100.ebuild | 4 ++++ 2 files changed, 29 insertions(+)