1 |
Hi Lincoln,
|
2 |
|
3 |
Lincoln Bryant <lincolnb@××××××××.edu> writes:
|
4 |
|
5 |
> Where does the stage1.log normally go? I don’t seem to have one. |
6 |
|
7 |
> Here’s my invocation: |
8 |
> |
9 |
> [build@084f757198bb ~]$ pwd |
10 |
> /home/build |
11 |
> [build@084f757198bb ~]$ ./bootstrap-rap.sh /tmp/rap stage1 |
12 |
> |
13 |
> I don’t have a stage1.log in $HOME nor do I see one in |
14 |
> /tmp/rap. ‘find’ on / didn’t turn up anything either. Seems like it’s |
15 |
> not being written. |
16 |
|
17 |
Ah-ha, it only appears if you only call bootstrap-rap.sh (without
|
18 |
stage1). But never mind.
|
19 |
|
20 |
>>> Depsite successfully bootstrapping python, the portage build seems to |
21 |
>>> be looking for Python in the host’s /usr/bin, which is 2.6.6 on |
22 |
>>> EL6. As such it fails. If I do some nasty things like replace the |
23 |
>>> host's /usr/bin/python symlink, the stage 1 works fine. |
24 |
>> |
25 |
>> Can the stage1 python be executed? |
26 |
> |
27 |
> Yep. |
28 |
> |
29 |
> [build@084f757198bb bin]$ pwd |
30 |
> /tmp/rap/tmp/usr/bin |
31 |
> [build@084f757198bb bin]$ ./python |
32 |
> Python 2.7.3 (default, Jun 30 2016, 18:05:28) |
33 |
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2 |
34 |
> Type "help", "copyright", "credits" or "license" for more information. |
35 |
>>>> |
36 |
> |
37 |
>> |
38 |
>>> Did I miss something obvious here? Thanks for any insight! |
39 |
|
40 |
I understand now. If you call stage1 explicitly, you are doing a manual
|
41 |
bootstrap.
|
42 |
|
43 |
https://wiki.gentoo.org/wiki/Project:Prefix/Manual_Bootstrap
|
44 |
|
45 |
The PATH should be set up manually before calling the script:
|
46 |
|
47 |
export EPREFIX=<somewhere you want>
|
48 |
export PATH="$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:/usr/bin:/bin"
|
49 |
|
50 |
Yours,
|
51 |
Benda |