There's a --with-msgpack switch which defaults to auto (${P}/binutils/configure.ac) * VDB: detected possibly incorrect RDEPEND (sys-devel/binutils-2.39) * > dev-libs/msgpack:= $ grep msgpack /var/db/pkg/sys-devel/binutils-2.39/NEEDED /usr/x86_64-pc-linux-gnu/binutils-bin/2.39/readelf libctf-nobfd-2.39.0.gentoo-sys-devel-binutils-st.so,libz.so.1,libmsgpackc.so.2,libc.so.6 This also use pkg-config to look for the dep (just a reminder that binutils doesn't depend on virtual/pkgconfig if don't explicitly disable). I normally don't have msgpack installed, but noticed while checking configure.ac changes for mingw64-toolchain bumps.
This can cause real breakage for systems running on binary packages: $ readelf readelf: error while loading shared libraries: libmsgpackc.so.2: cannot open shared object file: No such file or directory How can I work on Gentoo now?! xP
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=001f2d2011a09562d882943e0b2de72a0ed86046 commit 001f2d2011a09562d882943e0b2de72a0ed86046 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-06 21:33:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-06 21:33:35 +0000 sys-devel/binutils: fix automagic msgpack dep Closes: https://bugs.gentoo.org/865875 Signed-off-by: Sam James <sam@gentoo.org> .../binutils/{binutils-2.39-r1.ebuild => binutils-2.39-r2.ebuild} | 5 ++++- sys-devel/binutils/binutils-9999.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-)