https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/cgicc-3.2.19 installs shared libraries that lack a SONAME. Discovered on: amd64 (internal ref: guru_tinderbox)
Created attachment 702147 [details] build.log build log and emerge --info
I can't reproduce this on my machine or with dev-python/ebuildtester (using FEATURES and USE from the build log). $ lesspipe /usr/lib64/libcgicc.so.3.2.10 | grep SONAME 0x000000000000000e (SONAME) Library soname: [libcgicc.so.3]
did you try if compiling with clang-12 helps?
Thanks, I missed that it was compiled with clang++. With clang-11 it has a SONAME, I'm trying 12 later.
Changing TRACKER as requested by QA.
I tried it with clang 12.0.0 and still can't reproduce it. I bootstrapped and configured clang according to <https://wiki.gentoo.org/wiki/Clang#Usage>. I ran `llvm-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version /usr/lib64/libcgicc.so.3.2.10` to see if it was a problem with strip but it makes no difference. $ scanelf --soname /usr/lib64/libcgicc.so.3.2.10 TYPE SONAME FILE ET_DYN libcgicc.so.3 /usr/lib64/libcgicc.so.3.2.10
Created attachment 702615 [details] Build log with clang 12
Can't reproduce either. clang-12.0.0[default-compiler-rt,default-libcxx,default-lld]
In my experimental chroot I get the QA notice but the library has a soname
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7644819fcdadfe6328cef6d6e36b67a7043de7fe commit 7644819fcdadfe6328cef6d6e36b67a7043de7fe Author: Ronny (tastytea) Gutbrod <gentoo@tastytea.de> AuthorDate: 2021-07-07 15:22:38 +0000 Commit: Ronny (tastytea) Gutbrod <gentoo@tastytea.de> CommitDate: 2021-07-07 15:25:28 +0000 dev-libs/cgicc: Silence false-positive QA warning. Closes: https://bugs.gentoo.org/785328 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de> dev-libs/cgicc/cgicc-3.2.19.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)