Gentoo Archives: gentoo-alt

From: Lincoln Bryant <lincolnb@××××××××.edu>
To: Benda Xu <heroxbd@g.o>
Cc: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] RAP stage 1 bootstrap fails on CentOS 6 due to python version
Date: Thu, 30 Jun 2016 18:12:49
Message-Id: EF95219D-9332-4AA6-8EE0-DFD6D2588C6B@uchicago.edu
In Reply to: Re: [gentoo-alt] RAP stage 1 bootstrap fails on CentOS 6 due to python version by Benda Xu
1 Hi Benda,
2
3 > On Jun 29, 2016, at 7:12 PM, Benda Xu <heroxbd@g.o> wrote:
4 >
5 > Hi Lincoln,
6 >
7 > Lincoln Bryant <lincolnb@××××××××.edu> writes:
8 >
9 >> I’m experimenting with RAP on CentOS 6 and seeing the stage 1 build
10 >> fail when bootstrapping portage due to a lack of Python 2.7.
11 >>
12 >> Here’s the error I see:
13 >> checking whether /usr/bin/python 2.6.6 >= 2.7... configure:
14 >> error: need at least version 2.7 of python
15 >
16 > This should not happen. Could you please open a bug (bugs.gentoo.org)
17 > and attach the stage1.log?
18
19 Where does the stage1.log normally go? I don’t seem to have one.
20
21 Here’s my invocation:
22
23 [build@084f757198bb ~]$ pwd
24 /home/build
25 [build@084f757198bb ~]$ ./bootstrap-rap.sh /tmp/rap stage1
26
27 I don’t have a stage1.log in $HOME nor do I see one in /tmp/rap. ‘find’ on / didn’t turn up anything either. Seems like it’s not being written.
28
29 >> Depsite successfully bootstrapping python, the portage build seems to
30 >> be looking for Python in the host’s /usr/bin, which is 2.6.6 on
31 >> EL6. As such it fails. If I do some nasty things like replace the
32 >> host's /usr/bin/python symlink, the stage 1 works fine.
33 >
34 > Can the stage1 python be executed?
35
36 Yep.
37
38 [build@084f757198bb bin]$ pwd
39 /tmp/rap/tmp/usr/bin
40 [build@084f757198bb bin]$ ./python
41 Python 2.7.3 (default, Jun 30 2016, 18:05:28)
42 [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2
43 Type "help", "copyright", "credits" or "license" for more information.
44 >>>
45
46 >
47 >> Did I miss something obvious here? Thanks for any insight!
48 >
49 > No idea at the moment.
50 >
51 > Benda
52
53 —Lincoln

Replies