Gentoo Archives: gentoo-alt

From: Markus Duft <mduft@g.o>
To: gentoo-alt@l.g.o
Subject: RE: [gentoo-alt] [prefix] bootstrap on AIX with prefix-launcher:currently broken
Date: Fri, 27 Jun 2008 11:21:03
Message-Id: 000f01c8d847$2382c730$6a885590$@org
In Reply to: Re: [gentoo-alt] [prefix] bootstrap on AIX with prefix-launcher: currently broken by Fabian Groffen
1 >
2 > On 26-06-2008 10:31:53 -0500, Greg wrote:
3 > > greg:~/gentoo/etc$ ls -l
4 > > total 0
5 > > lrwxrwxrwx 1 clfs staff 69 Jun 25 19:16 make.profile ->
6 > > /home/greg/gentoo/usr/portage/profiles/default-prefix/aix/5.2.0.0/ppc
7 > >
8 > > I checked the ppc folder. It does have the ownership 'greg staff'.
9 >
10 > Ok, so it already exists, and points to something valid.
11 >
12 > >> I don't see how prefix-launcher determines it failed, but given that
13 > you
14 > >> don't see "Your profile is set to ${profile}." at least this
15 > statement
16 > >> doesn't get where it should go (unless prefix-launcher eats the
17 > output).
18 > >>
19 > >>
20 > > esac
21 > > if [[ -n ${profile} && ! -e ${ROOT}/etc/make.profile ]] ; then
22 > > ln -s "${profile}" "${ROOT}"/etc/make.profile
23 > > einfo "Your profile is set to ${profile}."
24 > > fi
25 > >
26 > > [[ -e ${ROOT}/etc/make.conf ]] && return
27 > >
28 > >
29 > > Should I be having a make.conf somewhere? I don't think the 'einfo'
30 > > statement is working.
31 >
32 > The bootstrap script should have create one, yes. It'll be empty, but
33 > just for the fun of it, the script will make sure it exists. (Some
34 > older versions of Portage actually got fatally injured if the file did
35 > not exist.)
36
37 Hm... having the same issue on interix bootstrapping right now:
38
39 mduft opt $ /tools/snapshot/prefix-launcher-1rc.20080627/i586-pc-interix6.0/bin/eprefix-bootstrap --eprefix=/opt/gentoo.binary.distribution-interix-6.0
40 using EPREFIX=/opt/gentoo.binary.distribution-interix-6.0
41 *** doing stage: setup
42 + /tools/snapshot/prefix-launcher-1rc.20080627/i586-pc-interix6.0/bin/bash /opt/gentoo.binary.distribution-interix-6.0/bootstrap-prefix.sh /opt/gentoo.binary.distribution-interix-6.0 setup
43 * Bootstrapping Gentoo prefixed portage installation using
44 * host: i586-pc-interix6.0
45 * prefix: /opt/gentoo.binary.distribution-interix-6.0
46 * ready to bootstrap setup
47 * setting up some guessed defaults
48 failed stage was: setup
49
50 the problem is, that there is no make.conf, thus the -e failes, and setup returns false. Looking at the bootrap-prefix.sh, make.conf is _not_ created in there, but only checks it's existence... I'll try commenting out the -e check and continue.
51
52 Cheers, Markus
53
54 >
55 > You can try to remove the make.profile symlink, and try again, such
56 > that
57 > the script regenerates it, and maybe prefix-launcher is more happy.
58 >
59 >
60 > --
61 > Fabian Groffen
62 > Gentoo on a different level
63 > --
64 > gentoo-alt@l.g.o mailing list
65
66
67 --
68 gentoo-alt@l.g.o mailing list

Replies