Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 761094 - x11-misc/compton will not start up using dev-libs/libconfig-1.7.2
Summary: x11-misc/compton will not start up using dev-libs/libconfig-1.7.2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Johannes Huber (RETIRED)
URL: https://bugs.archlinux.org/task/56409
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-21 16:47 UTC by Eugene Cormier
Modified: 2020-12-25 02:39 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Cormier 2020-12-21 16:47:05 UTC
compton will not start when libconfig-1.7.2 is installed, it bails complaining:
compton: error while loading shared libraries: libconfig.so.9: cannot open shared object file: No such file or directory

I tried to recompile compton, but that did not fix it.

I rolled back libconfig to version 1.5 and all works fine again

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-22 05:53:03 UTC
Something is wrong here. Compton declares a subslot operator on libconfig:
>	dev-libs/libconfig:=

And libconfig has a subslot of 11. Compton should have been rebuilt against the new libconfig.

* Is your system fully up to date?
* Can we have emerge --info, emerge -pvO compton libconfig?
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-22 05:58:01 UTC
Also: picom is a way more active fork. Does that work?
Comment 3 Eugene Cormier 2020-12-22 15:16:43 UTC
emerge --info
https://pastebin.com/jY360J65

emerge -pvO compton libconfig
https://pastebin.com/MA280gz2


I did rebuild compton against the new libconfig and I was still seeing the error
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-23 02:20:38 UTC
(In reply to Eugene Cormier from comment #3)
> emerge --info
> https://pastebin.com/jY360J65
> 
> emerge -pvO compton libconfig
> https://pastebin.com/MA280gz2
> 
> 
> I did rebuild compton against the new libconfig and I was still seeing the
> error

It looks like libconfig wants to upgrade. emerge -av1 libconfig then try rebuilding Compton again?
Comment 5 Ionen Wolkens gentoo-dev 2020-12-23 02:30:48 UTC
Do you have some old untracked compton binary laying around, like in /usr/local/bin? Only explanation I can think of.

Even if rebuild didn't trigger, portage would've kept libconfig.so.9 for @preserved-rebuild given you have preserve-libs enabled.
Comment 6 Eugene Cormier 2020-12-23 13:20:53 UTC
Sam: that was exactly what I did the first time
Ionen: nope, everything is right out of the tree

I'll try the upgrade again and see what happens
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-23 17:26:06 UTC
(In reply to Eugene Cormier from comment #6)
> Sam: that was exactly what I did the first time
> Ionen: nope, everything is right out of the tree
> 
> I'll try the upgrade again and see what happens

This line:
>[ebuild     U  ] dev-libs/libconfig-1.7.2:0/11::gentoo [1.5:0/0::gentoo] USE="cxx -static-libs (-examples%)" ABI_X86="(64) -32 (-x32)" 0 KiB
shows that libconfig has not yet been upgraded.

Can you also please run:
> $ which compton
> $ whereis compton
> $ /usr/bin/compton

And share the output?
Comment 8 Eugene Cormier 2020-12-23 18:33:28 UTC
emerge -av1 dev-libs/libconfig

pulls in the new libconfig and also rebuilds compton

trying to run compton:
compton: error while loading shared libraries: libconfig.so.9: cannot open shared object file: No such file or directory

╰─> which compton
/usr/local/bin/compton

╰─> whereis compton
compton: /usr/bin/compton /usr/local/bin/compton /usr/share/man/man1/compton.1.bz2


/usr/bin/compton works! I am so sorry, I remember now that a while back I compiled compton from github to be able to get an add on blur feature. Thanks for walking through it with me, but this is clearly not a gentoo bug but pebcak
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-25 02:39:56 UTC
(In reply to Eugene Cormier from comment #8)
> emerge -av1 dev-libs/libconfig
> 
> pulls in the new libconfig and also rebuilds compton
> 
> trying to run compton:
> compton: error while loading shared libraries: libconfig.so.9: cannot open
> shared object file: No such file or directory
> 
> ╰─> which compton
> /usr/local/bin/compton
> 
> ╰─> whereis compton
> compton: /usr/bin/compton /usr/local/bin/compton
> /usr/share/man/man1/compton.1.bz2
> 
> 
> /usr/bin/compton works! I am so sorry, I remember now that a while back I
> compiled compton from github to be able to get an add on blur feature.
> Thanks for walking through it with me, but this is clearly not a gentoo bug
> but pebcak

Just glad it was easy. Next time, double check! Merry Christmas and I'm pleased it's not a scary problem! :)