public inbox for gentoo-releng@lists.gentoo.org
 help / color / mirror / Atom feed
From: Matt Turner <mattst88@gentoo.org>
To: gentoo-catalyst@lists.gentoo.org, python@gentoo.org,
	 gentoo-releng@lists.gentoo.org
Subject: [gentoo-releng] Re: /usr/bin/python symlink not created in stage1 build
Date: Tue, 1 Mar 2011 21:19:42 +0000	[thread overview]
Message-ID: <AANLkTi=Fqq0rr6vrxAyN0rDkg2oHUbe0WCv9OYrZuH3t@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=CuACkqeuUpYoYceaZ7BG7P6AJ_TZQR-chzZwB@mail.gmail.com>

On Tue, Mar 1, 2011 at 7:20 PM, Matt Turner <mattst88@gentoo.org> wrote:
> On Wed, Feb 16, 2011 at 2:13 PM, Matt Turner <mattst88@gmail.com> wrote:
>> At the end of my stage1 build, I see (forgive me, Gmail's almost
>> definitely going to line wrap the hell out of this)
>>
>> copying stage1-preclean-chroot.sh to
>> /space/catalyst/tmp/default/stage1-mips4_n32-20110212/tmp/stage1root/tmp/
>> copying chroot-functions.sh to
>> /space/catalyst/tmp/default/stage1-mips4_n32-20110212/tmp/stage1root/tmp/
>> Running stage1-preclean-chroot.sh in chroot
>> /space/catalyst/tmp/default/stage1-mips4_n32-20110212/tmp/stage1root
>> /tmp/chroot-functions.sh: /usr/sbin/env-update: /usr/bin/python: bad
>> interpreter: No such file or directory
>>  * Python seems to be broken, attempting to locate CHOST ourselves ...
>>  * Switching native-compiler to mips64-unknown-linux-gnu-4.5.2 ... [ ok ]
>> /tmp/chroot-functions.sh: /usr/sbin/env-update: /usr/bin/python: bad
>> interpreter: No such file or directory
>> /usr/bin/binutils-config: /usr/bin/portageq: /usr/bin/python: bad
>> interpreter: No such file or directory
>>  * Switching to mips64-unknown-linux-gnu-2.21 ... [ ok ]
>> /tmp/chroot-functions.sh: /usr/sbin/env-update: /usr/bin/python: bad
>> interpreter: No such file or directory
>>
>> So no /usr/bin/python symlink gets created. This causes the subsequent
>> stage2 build to fail. I can chroot into the stage1 directory's
>> tmp/stage1root/ and confirm this with eselect.
>>
>> # eselect python list
>> Available Python interpreters:
>>  [1]   python2.7
>>
>> What's going on here and how do I make it work?
>>
>> nightmorph seems to allude to this problem here:
>> http://www.gossamer-threads.com/lists/gentoo/dev/222149
>>
>> Thanks,
>> Matt
>
> For completion sake, the problem is that the python ebuilds are
> broken. They don't add a python symlink if no python symlink existed
> before. This has been broken for a long time, and it's really stupidly
> annoying, especially when the fix has been available in the python
> overlay for three months.
>
> http://overlays.gentoo.org/proj/python/changeset/405/overlays/python/dev-lang/python/python-2.7.2_pre20101128.ebuild
>
> Push it into the tree so that you don't continue to break my stage builds.
>
> Matt

This actually has been committed recently, my apologies.



           reply	other threads:[~2011-03-01 22:08 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <AANLkTi=CuACkqeuUpYoYceaZ7BG7P6AJ_TZQR-chzZwB@mail.gmail.com>]

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='AANLkTi=Fqq0rr6vrxAyN0rDkg2oHUbe0WCv9OYrZuH3t@mail.gmail.com' \
    --to=mattst88@gentoo.org \
    --cc=gentoo-catalyst@lists.gentoo.org \
    --cc=gentoo-releng@lists.gentoo.org \
    --cc=python@gentoo.org \
    /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