| Summary: | gnome-extra/gnome-screensaver-2.24.1-r1 fails to build after esound removal: /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lesd | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Pacho Ramos <pacho> |
| Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Pacho Ramos
2009-05-24 16:17:39 UTC
Created attachment 192319 [details]
build.log
Have you done a full revdep-rebuild? Lots of things ended up with -lesd in the .la files, which pulls in the linker dep. revdep-rebuild *should* fix this. I have seen that lots of gnome packages stop build just while running revdep-rebuild :-( This upstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=405352 makes me think this is an upstream problem, also, its comment #5 seems to suggest to file bugs for each affected app, do you agree? (I ask you before you will know much more about this than me) Thanks Please don't open bugs upstream on this for now.
Instead, run this:
find /usr/lib/ -name "*.la" -exec grep -H esd {} \;
That will print a list of .la files with -lesd in them. You can use equery b or qfile to find out which packages own those, and re-emerge them. If you package them all onto the same command line, the order should even be correct.
It worked :-D
I finally run:
emerge -1av --jobs --keep-going `qfile -Cq $(find /usr/lib/ -name "*.la" -exec grep -H esd {} \; | cut -d: -f1)`
And, after that, revdep-rebuild
Maybe this should be documented if esd USE flag won't be enabled by default in desktop profiles
Thanks a lot
closing invalid because esd is just one of those lib that creeps in everywhere, like kerberos. It is well known switching this on or off is a pain. |