Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 817128 - dev-util/sysdig-0.27.1-r100 - /.../ld: .../libsinsp.a( undefined reference to symbol _ZN4absl12lts_202103245Mute
Summary: dev-util/sysdig-0.27.1-r100 - /.../ld: .../libsinsp.a( unde...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PATCH
Depends on:
Reported: 2021-10-09 08:35 UTC by Toralf Förster
Modified: 2021-12-19 21:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge-info.txt (emerge-info.txt,18.39 KB, text/plain)
2021-10-09 08:35 UTC, Toralf Förster
dev-util:sysdig-0.27.1-r100:20211008-224442.log (dev-util:sysdig-0.27.1-r100:20211008-224442.log,697.12 KB, text/plain)
2021-10-09 08:35 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,493.72 KB, text/plain)
2021-10-09 08:35 UTC, Toralf Förster
environment (environment,106.66 KB, text/plain)
2021-10-09 08:35 UTC, Toralf Förster
etc.portage.tar.bz2 (etc.portage.tar.bz2,53.68 KB, application/x-bzip)
2021-10-09 08:35 UTC, Toralf Förster
logs.tar.bz2 (logs.tar.bz2,5.25 KB, application/x-bzip)
2021-10-09 08:35 UTC, Toralf Förster
temp.tar.bz2 (temp.tar.bz2,61.80 KB, application/x-bzip)
2021-10-09 08:35 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-10-09 08:35:45 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/ 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
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 <>
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"
Comment 1 Toralf Förster gentoo-dev 2021-10-09 08:35:46 UTC
Created attachment 743946 [details]
Comment 2 Toralf Förster gentoo-dev 2021-10-09 08:35:48 UTC
Created attachment 743949 [details]
Comment 3 Toralf Förster gentoo-dev 2021-10-09 08:35:50 UTC
Created attachment 743952 [details]
Comment 4 Toralf Förster gentoo-dev 2021-10-09 08:35:52 UTC
Created attachment 743955 [details]
Comment 5 Toralf Förster gentoo-dev 2021-10-09 08:35:53 UTC
Created attachment 743958 [details]
Comment 6 Toralf Förster gentoo-dev 2021-10-09 08:35:54 UTC
Created attachment 743961 [details]
Comment 7 Toralf Förster gentoo-dev 2021-10-09 08:35:55 UTC
Created attachment 743964 [details]
Comment 8 Holger Hoffstätte 2021-10-09 09:15:33 UTC
Due to some changes in grpc-1.41 and sysdig's gRPC-based contaner support.

Upstream bug:

Hacky patch I came up with last night:

Patch is only for unbundled deps like Gentoo, but it works.
Comment 9 Bogdan 2021-12-19 19:59:54 UTC

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
Comment 10 Larry the Git Cow gentoo-dev 2021-12-19 21:30:23 UTC
The bug has been closed via the following commit(s):

commit 8e3a8191d55fcf173291932c4365da7ed2714367
Author:     Sam James <>
AuthorDate: 2021-12-19 21:20:19 +0000
Commit:     Sam James <>
CommitDate: 2021-12-19 21:30:11 +0000

    dev-util/sysdig: fix build with newer grpc
    Signed-off-by: Sam James <>

 .../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(+)