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

Bug 401739

Summary: autotools-utils.eclass should detect .la files in plugin directories
Product: Gentoo Linux Reporter: Justin Lecher (RETIRED) <jlec>
Component: EclassesAssignee: Maciej Mrozowski <reavertm>
Status: RESOLVED INVALID    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Justin Lecher (RETIRED) gentoo-dev 2012-02-01 07:54:18 UTC
If the la file is in a plugin dir, it is not correctly detected. The static lib is removed correctly

 * Removing unnecessary /usr/share/opt/google/chrome/resources/zeitgeist_plugin/plugin/libzeitgeist-npapi-plugin.a

...

/var/tmp/portage/gnome-extra/zeitgeist-datasources-0.8.0.1/image/usr/share/opt/google/chrome/resources/zeitgeist_plugin/plugin
/var/tmp/portage/gnome-extra/zeitgeist-datasources-0.8.0.1/image/usr/share/opt/google/chrome/resources/zeitgeist_plugin/plugin/libzeitgeist-npapi-plugin.so
/var/tmp/portage/gnome-extra/zeitgeist-datasources-0.8.0.1/image/usr/share/opt/google/chrome/resources/zeitgeist_plugin/plugin/libzeitgeist-npapi-plugin.la
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-01 15:18:45 UTC
Um?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-01 15:20:42 UTC
Er, /usr/share/opt? What's that? *nm*
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2012-02-01 15:26:12 UTC
(In reply to comment #2)
> Er, /usr/share/opt? What's that? *nm*

That was why I was writing the ebuild. Some path had to be corrected. Nevertheless the static archive was removed but the la file not.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-02-01 16:09:39 UTC
And how can it know which plugin loaders use .la files and which do not?
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2012-02-01 16:11:19 UTC
Does any use la files? I thought it is only need for linking.
Comment 6 Maciej Mrozowski gentoo-dev 2012-02-02 00:15:06 UTC
Unfortunately some obscure software may still need .la files for loading plugins at runtime. imagemagick being one example.
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2012-02-02 07:29:59 UTC
I thought, plugin loaders never need la files. But I was obviously wrong. And as I am against a bunch of special variables to trigger specific actions for individual loader, I would suggest to leave this cleaning to the ebuild maintainers. Thanks guys, -> invalid.