Gentoo Archives: gentoo-alt

From: Bacchella Fabrice <fabrice.bacchella@×××××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] bug in bootstrap-prefix.sh
Date: Mon, 19 May 2008 09:48:02
Message-Id: 5CACC215-9C0E-43DC-A902-BE17B235B61B@exalead.com
In Reply to: Re: [gentoo-alt] bug in bootstrap-prefix.sh by Fabian Groffen
1 Le 19 mai 08 à 11:01, Fabian Groffen a écrit :
2
3 > On 19-05-2008 10:57:58 +0200, Bacchella Fabrice wrote:
4 >>
5 >> Le 19 mai 08 à 08:33, Markus Duft a écrit :
6 >>
7 >>>>
8 >>>> in function bootstrap_tree, when directories are created
9 >>>> for x in etc usr/{,s}bin var/tmp var/lib/portage var/log/
10 >>>> portage var/db;
11 >>>> do
12 >>>> [[ -d ${ROOT}/${x} ]] || mkdir -p "${ROOT}/${x}"
13 >>>> done
14 >>>> I think {,s}bin. It breaks the installation of bash, and so
15 >>>> $EPREFIX/
16 >>>> bin/sh is missing, and that breaks the gcc installation.
17 >>>
18 >>> This worked many times on different platforms for me. I can't see
19 >>> how
20 >>> this should break bootstrap? Why do you think, the {,s}bin is
21 >>> the problem? I have bin/sh in the right places in my prefixes...
22 >>
23 >> It breaks silently for Solaris x86_64 during the installation of
24 >> bash-3.2_p17-r1. And latter, the installation of gcc stopped, because
25 >> config.sub is launched by $EPREFIX/bin/sh.
26 More info, while installing bash :
27 >>> Merging app-shells/bash-3.2_p17-r1 to /
28 ln: creating symbolic link `/data/gentoo//bin/sh' to `bash': No such
29 file or directory
30 --- /data/gentoo/etc/
31 >>> /data/gentoo/etc/bash/
32 >>> /data/gentoo/etc/bash/bash_logout
33 >>> /data/gentoo/etc/bash/bashrc
34 >>> /data/gentoo/etc/skel/
35
36 and for gcc :
37 configure: error: can not run /data/gentoo/var/tmp/portage/sys-devel/
38 gcc-4.2.3/work/gcc-4.2.3/config.sub
39 because of that line :
40 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
41
42 CONFIG_SHELL is set to /data/gentoo/bin/sh, which does not exist
43 because of the previous error.
44
45 --
46 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] bug in bootstrap-prefix.sh Fabian Groffen <grobian@g.o>