Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/
Date: Tue, 11 Dec 2018 14:29:15
Message-Id: 1544538469.f81e23a7667ec3a0ed4b2af80c611be1b2d4d6d5.grobian@gentoo
1 commit: f81e23a7667ec3a0ed4b2af80c611be1b2d4d6d5
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 11 14:27:49 2018 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 11 14:27:49 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=f81e23a7
7
8 scripts/bootstrap-prefix: add some dep-cycle workarounds from Sam Pfeiffer
9
10 Basically implements Error 1 from
11 https://pad.crans.org/p/gentoo-prefix
12
13 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
14
15 scripts/bootstrap-prefix.sh | 18 +++++++++++++++---
16 1 file changed, 15 insertions(+), 3 deletions(-)
17
18 diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
19 index cdcb8346d1..c4f8f18bb7 100755
20 --- a/scripts/bootstrap-prefix.sh
21 +++ b/scripts/bootstrap-prefix.sh
22 @@ -1553,9 +1553,21 @@ bootstrap_stage2() {
23 # on systems without a c++ compiler.
24 echo '<sys-devel/gcc-4.8' >> "${ROOT}"/tmp/etc/portage/package.unmask
25
26 - # cmake has some external dependencies which require autoconf, etc.
27 - # unless we only build the buildtool, bug #603012
28 - echo "dev-util/cmake -server" >> "${ROOT}"/tmp/etc/portage/package.use
29 +
30 + # kill some dependencies here while we're still fragile
31 + {
32 + # cmake has some external dependencies which require autoconf, etc.
33 + # unless we only build the buildtool, bug #603012
34 + echo "dev-util/cmake -server"
35 + # avoid sys-apps/acl -> attr -> gettext cycle on Linux
36 + echo "sys-devel/gettext -acl"
37 + # gdbm depends on berkdb by default, which pulls in binutils
38 + echo "dev-lang/perl -gdbm -berkdb"
39 + # package needs perl, nls pulls in specific package
40 + echo "sys-apps/help2man -nls"
41 + # avoid hefty set of deps from glib
42 + echo "dev-util/pkgconfig internal-glib"
43 + } >> "${ROOT}"/tmp/etc/portage/package.use
44
45 for pkg in ${compiler_stage1} ; do
46 # <glibc-2.5 does not understand .gnu.hash, use