On Wed, Feb 16, 2011 at 2:13 PM, Matt Turner <[email protected]> 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

Reply via email to