public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] Re: /usr/bin/python symlink not created in stage1 build
       [not found] <AANLkTimNT4Nziqi4KJvayHD_wmy+DeJgV-stFsV-ObZK@mail.gmail.com>
@ 2011-03-01 19:20 ` Matt Turner
  2011-03-01 21:19   ` Matt Turner
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Turner @ 2011-03-01 19:20 UTC (permalink / raw
  To: gentoo-catalyst, python, gentoo-releng

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-catalyst] Re: /usr/bin/python symlink not created in stage1 build
  2011-03-01 19:20 ` [gentoo-catalyst] Re: /usr/bin/python symlink not created in stage1 build Matt Turner
@ 2011-03-01 21:19   ` Matt Turner
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Turner @ 2011-03-01 21:19 UTC (permalink / raw
  To: gentoo-catalyst, python, gentoo-releng

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-01 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AANLkTimNT4Nziqi4KJvayHD_wmy+DeJgV-stFsV-ObZK@mail.gmail.com>
2011-03-01 19:20 ` [gentoo-catalyst] Re: /usr/bin/python symlink not created in stage1 build Matt Turner
2011-03-01 21:19   ` Matt Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox