Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401739 - autotools-utils.eclass should detect .la files in plugin directories
Summary: autotools-utils.eclass should detect .la files in plugin directories
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-01 07:54 UTC by Justin Lecher (RETIRED)
Modified: 2012-02-02 07:29 UTC (History)
1 user (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 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.