Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270256 - .la files in /usr/lib refer to non-existent libraries in deleted temporary build directories
Summary: .la files in /usr/lib refer to non-existent libraries in deleted temporary bu...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 09:00 UTC by Adrian Bassett
Modified: 2009-05-19 22:56 UTC (History)
2 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 Adrian Bassett 2009-05-18 09:00:15 UTC
I found that revdep-rebuild wanted to keep re-building sys-power/cpufreqd-2.2.1 because of a faulty .la file which referenced a library in the (now deleted because intentionally temporary) build directory. This is documented in #268701.

Even though no other packages were spotlighted by revdep-rebuild, I then grep'ed the .la files in /usr/lib to search for other examples of references to libraries in temporary build directories, then matching the resulting files to the packages that own them. 

This is what I found:

# equery belongs /usr/lib/libggzcore.la
 * Searching for /usr/lib/libggzcore.la ... 
dev-games/ggz-client-libs-0.0.14.1 (/usr/lib/libggzcore.la)

# equery belongs /usr/lib/libggz.la
 * Searching for /usr/lib/libggz.la ... 
dev-games/libggz-0.0.14.1 (/usr/lib/libggz.la)

# equery belongs /usr/lib/libggzmod.la
 * Searching for /usr/lib/libggzmod.la ... 
dev-games/ggz-client-libs-0.0.14.1 (/usr/lib/libggzmod.la)

# equery belongs /usr/lib/libxorsa.la
 * Searching for /usr/lib/libxorsa.la ... 
sci-astronomy/orsa-0.7.0 (/usr/lib/libxorsa.la)

# equery belongs /usr/lib/libvisual-0.4.la
 * Searching for /usr/lib/libvisual-0.4.la ... 
media-libs/libvisual-0.4.0-r1 (/usr/lib/libvisual-0.4.la)

# equery belongs /usr/lib/libexiv2.la
 * Searching for /usr/lib/libexiv2.la ... 
media-gfx/exiv2-0.18.1 (/usr/lib/libexiv2.la)

For now I have manually edited the .la files, but I guess that they ought to be fixed at some point (always assuming they are required anyway).
Comment 1 Sebastian Luther (few) 2009-05-18 10:51:38 UTC
You want dev-util/lafilefixer.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-05-19 22:56:25 UTC
Reopen this bug if dev-util/lafilefixer doesn't fix your problem.