Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785328 - [guru] dev-libs/cgicc-3.2.19 installs shared libraries that lack a SONAME
Summary: [guru] dev-libs/cgicc-3.2.19 installs shared libraries that lack a SONAME
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: tastytea
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2021-04-24 12:05 UTC by Agostino Sarubbo
Modified: 2021-07-08 11:07 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,50.98 KB, text/plain)
2021-04-24 12:05 UTC, Agostino Sarubbo
Details
Build log with clang 12 (build_cgicc_with_clang.log,47.72 KB, text/x-log)
2021-04-26 14:01 UTC, tastytea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-04-24 12:05:12 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-24 12:05:14 UTC
Created attachment 702147 [details]
build.log

build log and emerge --info
Comment 2 tastytea 2021-04-24 12:31:33 UTC
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]
Comment 3 Agostino Sarubbo gentoo-dev 2021-04-24 12:38:56 UTC
did you try if compiling with clang-12 helps?
Comment 4 tastytea 2021-04-24 12:50:01 UTC
Thanks, I missed that it was compiled with clang++. With clang-11 it has a SONAME, I'm trying 12 later.
Comment 5 Agostino Sarubbo gentoo-dev 2021-04-25 14:05:55 UTC
Changing TRACKER as requested by QA.
Comment 6 tastytea 2021-04-26 14:00:44 UTC
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
Comment 7 tastytea 2021-04-26 14:01:20 UTC
Created attachment 702615 [details]
Build log with clang 12
Comment 8 James Beddek 2021-04-27 00:49:11 UTC
Can't reproduce either. clang-12.0.0[default-compiler-rt,default-libcxx,default-lld]
Comment 9 Alessandro Barbieri 2021-04-27 05:47:00 UTC
In my experimental chroot I get the QA notice but the library has a soname
Comment 10 Larry the Git Cow gentoo-dev 2021-07-08 11:07:18 UTC
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(-)