Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/
Date: Fri, 28 Sep 2012 01:36:18
Message-Id: 1348795407.72f6115834b157c2cfd1abbd90b2ec2b95f2d60e.mattst88@gentoo
1 commit: 72f6115834b157c2cfd1abbd90b2ec2b95f2d60e
2 Author: Matt Turner <mattst88 <AT> gmail <DOT> com>
3 AuthorDate: Wed Sep 26 00:14:43 2012 +0000
4 Commit: Matt Turner <mattst88 <AT> gmail <DOT> com>
5 CommitDate: Fri Sep 28 01:23:27 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=72f61158
7
8 Don't emerge ccache/distcc/icecream with --nodeps
9
10 ccache-3.1.8 changed to using tar.xz sources, which exposed a problem in
11 catalyst where an old stage without xz would fail to seed a new stage
12 using ccache.
13
14 ccache's dependencies are zlib (and xz for >=ccache-3.1.8). distcc's are
15 already part of stages: dev-libs/popt, virtual/pkgconfig, and
16 sys-devel/gcc-config. icecream has no dependencies (???).
17
18 Emerging with --nodeps only has the potential to cause problems.
19
20 ---
21 targets/support/chroot-functions.sh | 8 ++++----
22 1 files changed, 4 insertions(+), 4 deletions(-)
23
24 diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh
25 index 18e7a38..fecbad4 100644
26 --- a/targets/support/chroot-functions.sh
27 +++ b/targets/support/chroot-functions.sh
28 @@ -68,7 +68,7 @@ setup_myfeatures(){
29 if [ -n "${clst_CCACHE}" ]
30 then
31 export clst_myfeatures="${clst_myfeatures} ccache"
32 - clst_root_path=/ run_merge --oneshot --nodeps --noreplace dev-util/ccache || exit 1
33 + clst_root_path=/ run_merge --oneshot --noreplace dev-util/ccache || exit 1
34 fi
35
36 if [ -n "${clst_DISTCC}" ]
37 @@ -83,9 +83,9 @@ setup_myfeatures(){
38 # reinstall if it isn't found.
39 if [ "$(getent passwd distcc | cut -d: -f1)" != "distcc" ]
40 then
41 - clst_root_path=/ run_merge --oneshot --nodeps sys-devel/distcc || exit 1
42 + clst_root_path=/ run_merge --oneshot sys-devel/distcc || exit 1
43 else
44 - clst_root_path=/ run_merge --oneshot --nodeps --noreplace sys-devel/distcc || exit 1
45 + clst_root_path=/ run_merge --oneshot --noreplace sys-devel/distcc || exit 1
46 fi
47 sed -i '/USE="${USE} -avahi -gtk -gnome"/d' /etc/portage/make.conf
48 mkdir -p /etc/distcc
49 @@ -104,7 +104,7 @@ setup_myfeatures(){
50
51 if [ -n "${clst_ICECREAM}" ]
52 then
53 - clst_root_path=/ run_merge --oneshot --nodeps --noreplace sys-devel/icecream || exit 1
54 + clst_root_path=/ run_merge --oneshot --noreplace sys-devel/icecream || exit 1
55
56 # This sets up automatic cross-icecc-fu according to
57 # http://gentoo-wiki.com/HOWTO_Setup_An_ICECREAM_Compile_Cluster#Icecream_and_cross-compiling