Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586136 - dev-libs/svrcore: prune the libtool file in the presence of a pkgconfig file
Summary: dev-libs/svrcore: prune the libtool file in the presence of a pkgconfig file
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-17 05:11 UTC by Göktürk Yüksek
Modified: 2020-07-13 04:53 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 Göktürk Yüksek archtester gentoo-dev 2016-06-17 05:11:53 UTC
This package installs both a pkgconfig file and a lafile:
/usr/lib64/pkgconfig/svrcore.pc
/usr/lib64/svrcore/libsvrcore.la

Shipping the pkgconfig file alone should be sufficient here. The eutils eclass has a prune_libtool_files function which runs heuristics to determine whether it's safe before deleting a lafile, or a simple rm can get it done.
Comment 1 Göktürk Yüksek archtester gentoo-dev 2016-08-23 00:31:08 UTC
Ping. Mind if I fix this and close?
Comment 2 William Brown 2016-08-23 00:38:37 UTC
https://pagure.io/svrcore/issue/15

Upstream issue to drop la files from make install.
Comment 3 William Brown 2016-09-09 03:38:52 UTC
So that you are aware, it's not possible to prevent this in autotools. We will need to prevent this in the ebuild. Historical gentoo research points me to the fact that some use flag exists which can enable/disable la installation. We should probably update the ebuild to respect this (if it exists). Otherwise, it's an ebuild issue.

Thanks for raising it,
Comment 4 Göktürk Yüksek archtester gentoo-dev 2016-09-09 14:24:56 UTC
Following https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Handling_Libtool_Archives we can simply delete them.
Comment 5 Jonas Stein gentoo-dev 2019-06-02 12:37:49 UTC
Göktürk, it would be great, if you can fix it. Thank you.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-07-13 04:53:20 UTC
Package removed.