From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PuXkM-0003mT-0x for garchives@archives.gentoo.org; Tue, 01 Mar 2011 22:08:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DCEC1C05C for ; Tue, 1 Mar 2011 22:08:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0A9E21C03F; Tue, 1 Mar 2011 21:20:06 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mattst88) by smtp.gentoo.org (Postfix) with ESMTPSA id E77C61B403D; Tue, 1 Mar 2011 21:20:04 +0000 (UTC) Received: by fxm20 with SMTP id 20so7755652fxm.40 for ; Tue, 01 Mar 2011 13:20:02 -0800 (PST) Received: by 10.223.32.214 with SMTP id e22mr5898372fad.45.1299014402078; Tue, 01 Mar 2011 13:20:02 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-releng@lists.gentoo.org Reply-to: gentoo-releng@lists.gentoo.org MIME-Version: 1.0 Received: by 10.223.160.75 with HTTP; Tue, 1 Mar 2011 13:19:42 -0800 (PST) In-Reply-To: References: From: Matt Turner Date: Tue, 1 Mar 2011 21:19:42 +0000 Message-ID: Subject: [gentoo-releng] Re: /usr/bin/python symlink not created in stage1 build To: gentoo-catalyst@lists.gentoo.org, python@gentoo.org, gentoo-releng@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 9a060878d94b117c7c289bfd71e96b0b On Tue, Mar 1, 2011 at 7:20 PM, Matt Turner wrote: > On Wed, Feb 16, 2011 at 2:13 PM, Matt Turner 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 >> =A0* Python seems to be broken, attempting to locate CHOST ourselves ... >> =A0* Switching native-compiler to mips64-unknown-linux-gnu-4.5.2 ... [ o= k ] >> /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 >> =A0* 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: >> =A0[1] =A0 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.