Gentoo Archives: gentoo-alt

From: Markus Duft <mduft@g.o>
To: gentoo-alt@l.g.o
Subject: RE: [gentoo-alt] bug in bootstrap-prefix.sh
Date: Mon, 19 May 2008 06:38:35
Message-Id: 00fc01c8b97a$3eba6210$bc2f2630$@org
In Reply to: [gentoo-alt] bug in bootstrap-prefix.sh by Bacchella Fabrice
1 >
2 > in function bootstrap_tree, when directories are created
3 > for x in etc usr/{,s}bin var/tmp var/lib/portage var/log/
4 > portage var/db;
5 > do
6 > [[ -d ${ROOT}/${x} ]] || mkdir -p "${ROOT}/${x}"
7 > done
8 > I think {,s}bin. It breaks the installation of bash, and so $EPREFIX/
9 > bin/sh is missing, and that breaks the gcc installation.
10
11 This worked many times on different platforms for me. I can't see how this should break bootstrap? Why do you think, the {,s}bin is
12 the problem? I have bin/sh in the right places in my prefixes...
13
14 >
15 > And in the bash ebuild, I think that you could had
16 > CFLAGS_FOR_BUILD="$CFLAGS". I don't know why, but that's the CFLAGS
17 > using by bash for building.
18
19 CFLAGS are passed correctly to bash build. Of that I am sure (haven't tried right now though), since on interix I must pass custom
20 flags (which works, otherwise I couldn't build...). Could it be that CFLAGS_FOR_BUILD is set to CFLAGS somewhere by configure or so,
21 if it's not set? This at least sounds plausible to me :)
22
23 Cheers, Markus
24
25 > --
26 > gentoo-alt@l.g.o mailing list
27
28
29 --
30 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] bug in bootstrap-prefix.sh Bacchella Fabrice <fabrice.bacchella@×××××××.com>