Gentoo Archives: gentoo-releng

From: Matt Turner <mattst88@g.o>
To: gentoo-catalyst@l.g.o, python@g.o, gentoo-releng@l.g.o
Subject: [gentoo-releng] Re: /usr/bin/python symlink not created in stage1 build
Date: Tue, 01 Mar 2011 22:08:46
Message-Id: AANLkTi=Fqq0rr6vrxAyN0rDkg2oHUbe0WCv9OYrZuH3t@mail.gmail.com
1 On Tue, Mar 1, 2011 at 7:20 PM, Matt Turner <mattst88@g.o> wrote:
2 > On Wed, Feb 16, 2011 at 2:13 PM, Matt Turner <mattst88@×××××.com> wrote:
3 >> At the end of my stage1 build, I see (forgive me, Gmail's almost
4 >> definitely going to line wrap the hell out of this)
5 >>
6 >> copying stage1-preclean-chroot.sh to
7 >> /space/catalyst/tmp/default/stage1-mips4_n32-20110212/tmp/stage1root/tmp/
8 >> copying chroot-functions.sh to
9 >> /space/catalyst/tmp/default/stage1-mips4_n32-20110212/tmp/stage1root/tmp/
10 >> Running stage1-preclean-chroot.sh in chroot
11 >> /space/catalyst/tmp/default/stage1-mips4_n32-20110212/tmp/stage1root
12 >> /tmp/chroot-functions.sh: /usr/sbin/env-update: /usr/bin/python: bad
13 >> interpreter: No such file or directory
14 >>  * Python seems to be broken, attempting to locate CHOST ourselves ...
15 >>  * Switching native-compiler to mips64-unknown-linux-gnu-4.5.2 ... [ ok ]
16 >> /tmp/chroot-functions.sh: /usr/sbin/env-update: /usr/bin/python: bad
17 >> interpreter: No such file or directory
18 >> /usr/bin/binutils-config: /usr/bin/portageq: /usr/bin/python: bad
19 >> interpreter: No such file or directory
20 >>  * Switching to mips64-unknown-linux-gnu-2.21 ... [ ok ]
21 >> /tmp/chroot-functions.sh: /usr/sbin/env-update: /usr/bin/python: bad
22 >> interpreter: No such file or directory
23 >>
24 >> So no /usr/bin/python symlink gets created. This causes the subsequent
25 >> stage2 build to fail. I can chroot into the stage1 directory's
26 >> tmp/stage1root/ and confirm this with eselect.
27 >>
28 >> # eselect python list
29 >> Available Python interpreters:
30 >>  [1]   python2.7
31 >>
32 >> What's going on here and how do I make it work?
33 >>
34 >> nightmorph seems to allude to this problem here:
35 >> http://www.gossamer-threads.com/lists/gentoo/dev/222149
36 >>
37 >> Thanks,
38 >> Matt
39 >
40 > For completion sake, the problem is that the python ebuilds are
41 > broken. They don't add a python symlink if no python symlink existed
42 > before. This has been broken for a long time, and it's really stupidly
43 > annoying, especially when the fix has been available in the python
44 > overlay for three months.
45 >
46 > http://overlays.gentoo.org/proj/python/changeset/405/overlays/python/dev-lang/python/python-2.7.2_pre20101128.ebuild
47 >
48 > Push it into the tree so that you don't continue to break my stage builds.
49 >
50 > Matt
51
52 This actually has been committed recently, my apologies.