commit: 498900e5e51460502d8271f409a4c614a021613b Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Sun Oct 27 17:40:07 2019 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Sun Nov 3 19:44:44 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=498900e5
install-qa-check.d: remove check that bans libtool files and static libs from / Most upstreams and build systems do not make this distinction, so this causes unnecessary hacks in ebuilds. Bug: https://bugs.gentoo.org/699252 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> bin/install-qa-check.d/80libraries | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bin/install-qa-check.d/80libraries b/bin/install-qa-check.d/80libraries index d1d2c4fdd..e59369bf6 100644 --- a/bin/install-qa-check.d/80libraries +++ b/bin/install-qa-check.d/80libraries @@ -152,16 +152,6 @@ lib_check() { done [[ ${abort} == "yes" ]] && die "add those ldscripts" - # Make sure people don't store libtool files or static libs in /lib - f=$(ls "${ED%/}"/lib*/*.{a,la} 2>/dev/null) - if [[ -n ${f} ]] ; then - __vecho -ne '\n' - eqawarn "QA Notice: Excessive files found in the / partition" - eqawarn "${f}" - __vecho -ne '\n' - die "static archives (*.a) and libtool library files (*.la) belong in /usr/lib*, not /lib*" - fi - # Verify that the libtool files don't contain bogus $D entries. local abort=no gentoo_bug=no always_overflow=no for a in "${ED%/}"/usr/lib*/*.la ; do
