aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2019-10-27 12:40:07 -0500
committerZac Medico <zmedico@gentoo.org>2019-11-03 11:44:44 -0800
commit498900e5e51460502d8271f409a4c614a021613b (patch)
treeaa65ce36e2f5918eda1d770821b4a9017f50ed13 /bin/install-qa-check.d/80libraries
parentfetch: remove symlink created by FETCHCOMMAND_RSYNC (bug 698046) (diff)
downloadportage-498900e5e51460502d8271f409a4c614a021613b.tar.gz
portage-498900e5e51460502d8271f409a4c614a021613b.tar.bz2
portage-498900e5e51460502d8271f409a4c614a021613b.zip
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@gentoo.org> Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'bin/install-qa-check.d/80libraries')
-rw-r--r--bin/install-qa-check.d/80libraries10
1 files changed, 0 insertions, 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