https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-libs/libupnpp-0.21.0 installs libtool files (.la) without corresponding static libraries. Discovered on: amd64 (internal ref: ci)
Created attachment 779711 [details] build.log build log and emerge --info
Closing as invalid. No corresponding libupnpp.a is built. Reviewing how libtool works, libupnpp.la is nonetheless valid to install for its other benefits e.g. encapsulating: # Libraries that this one depends upon. dependency_libs=' -lpthread -lnpupnp -lcurl -lexpat' I could strip the file but I'm not certain that no linking program could use it.
1. There's a QA policy that states that libtool archives need to be deleted, unless you have an overriding reason not to (and some abstract form of "encapsulation" definitely isn't an overriding reason): https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303 2. There are reasons why we delete .la files, and they specifically mention the _lack_ of encapsulation (because they increase rebuild burdens): https://flameeyes.blog/2010/10/05/libtool-archives-and-their-pointless-points/ Just remove the .la files unless you can show that they are absolutely necessary.
Thanks for the documentation links.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ef47bae6e5f3b1d4e5a2e2a15af1034fe8457ce commit 0ef47bae6e5f3b1d4e5a2e2a15af1034fe8457ce Author: Erik Mackdanz <stasibear@gentoo.org> AuthorDate: 2022-07-02 18:53:14 +0000 Commit: Erik Mackdanz <stasibear@gentoo.org> CommitDate: 2022-07-02 18:54:56 +0000 net-libs/libupnpp: remove libtool archive Closes: https://bugs.gentoo.org/846899 Signed-off-by: Erik Mackdanz <stasibear@gentoo.org> net-libs/libupnpp/libupnpp-0.21.0.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)