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