* QA Notice: Unresolved soname dependencies: * * /usr/lib64/libbpftrace.so: libbpftracearch.so * /usr/lib64/libbpftraceast.so: libbpftracearch.so * This is at the end of the second build of bpftrace-0.12.1. The first build left preserved libraries behind: >>> package: dev-util/bpftrace-0.12.1 * - /usr/lib64/libbpftracearch.so * used by /usr/lib64/libbpftrace.so (dev-util/bpftrace-0.12.1) * used by /usr/lib64/libbpftraceast.so (dev-util/bpftrace-0.12.1) After the second build, this library is no longer preserved: # portageq list_preserved_libs / <no output>
I'm not having this QA Notice in dev-util/bpftrace-0.13.0, but it the loader gives a runtime error. There is bpftrace-0.13.0-install-libs.patch in the files/, which seems to fiddle with some install and link directives. Maybe it does something wrong?
I have fixed it by adding install(TARGETS bpftracearch LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) to src/arch/CMakeLists.txt. This was the only missing library. The patch adds similar install directives for other files, I suppose the bpftracearch was simply accidentally forgotten?
Oh, I suppose it was recently fixed in bug 801472.
ci has reproduced this issue with version 0.14.0 - Updating summary.
libbpftracearch.so was missing in 0.13 (and fixed), 0.14 is indeed missing libbpftraceast.so. It's being built but not installed, so same problem, only in src/ast/CMakeLists.txt. $cd /tmp/portage/dev-util/bpftrace-0.14.0/work/bpftrace-0.14.0_build/src/ast/ $ll *.so -rwxr-xr-x 1 holger users 119K Oct 26 22:29 libast_defs.so* -rwxr-xr-x 1 holger users 1.2M Oct 26 22:29 libbpftraceast.so* $bpftrace bpftrace: error while loading shared libraries: libbpftraceast.so: cannot open shared object file: No such file or directory
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83059a7de54913700cdfe7d36391673c1b7ebcc9 commit 83059a7de54913700cdfe7d36391673c1b7ebcc9 Author: Patrick McLean <patrick.mclean@sony.com> AuthorDate: 2021-10-26 22:05:35 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2021-10-26 22:07:06 +0000 dev-util/bpftrace: bump fix install of ast lib (bug # 784332) Closes: https://bugs.gentoo.org/784332 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> .../{bpftrace-0.14.0.ebuild => bpftrace-0.14.0-r1.ebuild} | 0 dev-util/bpftrace/files/bpftrace-0.14.0-install-libs.patch | 9 +++++---- 2 files changed, 5 insertions(+), 4 deletions(-)