public inbox for gentoo-alt@lists.gentoo.org
 help / color / mirror / Atom feed
From: Benda Xu <heroxbd@gentoo.org>
To: Lincoln Bryant <lincolnb@uchicago.edu>
Cc: gentoo-alt@lists.gentoo.org
Subject: Re: [gentoo-alt] RAP stage 1 bootstrap fails on CentOS 6 due to python version
Date: Thu, 07 Jul 2016 12:38:50 +0900	[thread overview]
Message-ID: <87poqqxgl1.fsf@gentoo.org> (raw)
In-Reply-To: <EF95219D-9332-4AA6-8EE0-DFD6D2588C6B@uchicago.edu> (Lincoln Bryant's message of "Thu, 30 Jun 2016 13:12:46 -0500")

Hi Lincoln,

Lincoln Bryant <lincolnb@uchicago.edu> writes:

> Where does the stage1.log normally go? I don’t seem to have one.

> Here’s my invocation:
>
> [build@084f757198bb ~]$ pwd
> /home/build
> [build@084f757198bb ~]$ ./bootstrap-rap.sh /tmp/rap stage1
>
> 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.

Ah-ha, it only appears if you only call bootstrap-rap.sh (without
stage1).  But never mind.

>>> Depsite successfully bootstrapping python, the portage build seems to
>>> be looking for Python in the host’s /usr/bin, which is 2.6.6 on
>>> EL6. As such it fails. If I do some nasty things like replace the
>>> host's /usr/bin/python symlink, the stage 1 works fine.
>> 
>> Can the stage1 python be executed?
>
> Yep. 
>
> [build@084f757198bb bin]$ pwd
> /tmp/rap/tmp/usr/bin
> [build@084f757198bb bin]$ ./python
> Python 2.7.3 (default, Jun 30 2016, 18:05:28)
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>>
>
>> 
>>> Did I miss something obvious here? Thanks for any insight!

I understand now.  If you call stage1 explicitly, you are doing a manual
bootstrap.

  https://wiki.gentoo.org/wiki/Project:Prefix/Manual_Bootstrap

The PATH should be set up manually before calling the script:

  export EPREFIX=<somewhere you want>
  export PATH="$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:/usr/bin:/bin"

Yours,
Benda

      reply	other threads:[~2016-07-07  3:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-29 23:00 [gentoo-alt] RAP stage 1 bootstrap fails on CentOS 6 due to python version Lincoln Bryant
2016-06-30  0:12 ` Benda Xu
2016-06-30 18:12   ` Lincoln Bryant
2016-07-07  3:38     ` Benda Xu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87poqqxgl1.fsf@gentoo.org \
    --to=heroxbd@gentoo.org \
    --cc=gentoo-alt@lists.gentoo.org \
    --cc=lincolnb@uchicago.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox