Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 829659

Summary: x11-misc/colord-1.4.7-r1 installs shared libraries that lack a SONAME
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: CONFIRMED ---    
Severity: normal CC: floppym, leio, sam, williamh
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/mesonbuild/meson/pull/8996
https://github.com/mesonbuild/meson/pull/9629
https://bugs.gentoo.org/show_bug.cgi?id=828562
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-12-19 22:04:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-misc/colord-1.4.5-r2 installs shared libraries that lack a SONAME.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2021-12-19 22:04:59 UTC
Created attachment 759824 [details]
build.log

build log and emerge --info
Comment 2 Mart Raudsepp gentoo-dev 2021-12-20 07:29:00 UTC
$ readelf -d /usr/lib64/libcolordcompat.so |grep SONAME
 0x000000000000000e (SONAME)             Library soname: [libcolordcompat.so]
Comment 3 Agostino Sarubbo gentoo-dev 2021-12-26 20:51:22 UTC
ci has reproduced this issue with version 1.4.5-r3 - Updating summary.
Comment 4 Mart Raudsepp gentoo-dev 2021-12-26 21:43:57 UTC
This appears to be a regression with meson-0.60, as it works fine for me on 0.59, but not with 0.60 for sam (and SONAME is set when he downgraded to 0.59 too).

Though it might be some bug in colord meson.build's too that gets triggered now, or is meant to actually be without a SONAME but not in /usr/lib64 or something. Can't look further today myself
Comment 5 Mike Gilbert gentoo-dev 2021-12-27 01:39:39 UTC
As of meson-0.60, shared_module targets do not get an SONAME.

This could probably be fixed by changing 'colordcompat' to a shared_library target in lib/compat/meson.build.
Comment 6 Mike Gilbert gentoo-dev 2021-12-27 01:42:18 UTC
Alternatively, the module could be moved out of LIBDIR to avoid the QA check.
Comment 7 Agostino Sarubbo gentoo-dev 2022-02-17 07:19:38 UTC
ci has reproduced this issue with version 1.4.6 - Updating summary.
Comment 8 Agostino Sarubbo gentoo-dev 2022-12-16 12:18:25 UTC
ci has reproduced this issue with version 1.4.6-r1 - Updating summary.
Comment 9 Agostino Sarubbo gentoo-dev 2024-01-19 08:19:55 UTC
tinderbox_musl has reproduced this issue with version 1.4.6-r2 - Updating summary.
Comment 10 Agostino Sarubbo gentoo-dev 2024-01-28 16:14:08 UTC
ci has reproduced this issue with version 1.4.7 - Updating summary.
Comment 11 Agostino Sarubbo gentoo-dev 2024-03-02 09:30:38 UTC
ci has reproduced this issue with version 1.4.7-r1 - Updating summary.