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 1PuV8H-00066D-BV for garchives@archives.gentoo.org; Tue, 01 Mar 2011 19:21:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BF1D1C08F; Tue, 1 Mar 2011 19:20:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2DE5A1C08F; Tue, 1 Mar 2011 19:20:53 +0000 (UTC) Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com [209.85.216.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 581281B4017; Tue, 1 Mar 2011 19:20:52 +0000 (UTC) Received: by qwc9 with SMTP id 9so5323201qwc.40 for ; Tue, 01 Mar 2011 11:20:50 -0800 (PST) Received: by 10.224.69.227 with SMTP id a35mr3058874qaj.98.1299007250421; Tue, 01 Mar 2011 11:20:50 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Received: by 10.229.192.146 with HTTP; Tue, 1 Mar 2011 11:20:30 -0800 (PST) In-Reply-To: References: From: Matt Turner Date: Tue, 1 Mar 2011 19:20:30 +0000 Message-ID: Subject: [gentoo-catalyst] 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: 8f4e8b3cdd02e938708bce8fc298b0ad 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 ... [ 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 > =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-la= ng/python/python-2.7.2_pre20101128.ebuild Push it into the tree so that you don't continue to break my stage builds. Matt