Gentoo Archives: gentoo-portage-dev

From: SebastianLuther@×××.de
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH] Remove ban on installing *.a and *.la files in / (bug 492542)
Date: Thu, 05 Dec 2013 19:17:11
Message-Id: 1386271018-21310-1-git-send-email-SebastianLuther@gmx.de
1 From: Sebastian Luther <SebastianLuther@×××.de>
2
3 ---
4 bin/misc-functions.sh | 10 ----------
5 1 file changed, 10 deletions(-)
6
7 diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
8 index bd99def..0eb1b3f 100755
9 --- a/bin/misc-functions.sh
10 +++ b/bin/misc-functions.sh
11 @@ -642,16 +642,6 @@ install_qa_check() {
12 done
13 [[ ${abort} == "yes" ]] && die "add those ldscripts"
14
15 - # Make sure people don't store libtool files or static libs in /lib
16 - f=$(ls "${ED}"lib*/*.{a,la} 2>/dev/null)
17 - if [[ -n ${f} ]] ; then
18 - __vecho -ne '\n'
19 - eqawarn "QA Notice: Excessive files found in the / partition"
20 - eqawarn "${f}"
21 - __vecho -ne '\n'
22 - die "static archives (*.a) and libtool library files (*.la) belong in /usr/lib*, not /lib*"
23 - fi
24 -
25 # Verify that the libtool files don't contain bogus $D entries.
26 local abort=no gentoo_bug=no always_overflow=no
27 for a in "${ED}"usr/lib*/*.la ; do
28 --
29 1.8.3.2

Replies