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 1PIBJc-0006rQ-Tx for garchives@archives.gentoo.org; Tue, 16 Nov 2010 02:30:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 461F5E0790; Tue, 16 Nov 2010 02:30:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 045E7E0790 for ; Tue, 16 Nov 2010 02:30:16 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPSA id 2B2BA1B40E9 for ; Tue, 16 Nov 2010 02:30:14 +0000 (UTC) Received: by bwz7 with SMTP id 7so231999bwz.40 for ; Mon, 15 Nov 2010 18:30:12 -0800 (PST) Received: by 10.204.68.136 with SMTP id v8mr6592295bki.188.1289874612295; Mon, 15 Nov 2010 18:30:12 -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.204.58.77 with HTTP; Mon, 15 Nov 2010 18:29:52 -0800 (PST) In-Reply-To: References: <20101115161106.17656.qmail@stuge.se> <20101115163923.20933.qmail@stuge.se> From: Matt Turner Date: Mon, 15 Nov 2010 21:29:52 -0500 Message-ID: Subject: Re: [gentoo-catalyst] chroot: failed to run command `/tmp/stage1-preclean-chroot.sh': No such file or directory To: gentoo-catalyst@lists.gentoo.org Cc: mips@gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 25c56b32-4088-4c3a-8ae6-58477a0da51c X-Archives-Hash: 509a84f45289a9e5d48c00cfd35b11a8 On Mon, Nov 15, 2010 at 12:08 PM, Matt Turner wrote: > On Mon, Nov 15, 2010 at 11:39 AM, Peter Stuge wrote: >> Matt Turner wrote: >>> >> chroot: failed to run command `/tmp/stage1-preclean-chroot.sh': No s= uch file or directory >>> > >>> > Can you check with strace which file it is that is actually missing? >>> >>> Yes, good idea. >>> >>> bcm91250a-be space # strace -o output.strace chroot >>> /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/ >>> /bin/bash >>> chroot: failed to run command `/bin/bash': No such file or directory >>> >>> It actually reports >>> execve("/bin/bash", ["/bin/bash"], [/* 27 vars */]) =3D -1 ENOENT (No >>> such file or directory) >>> >>> But what the heck? >> >> ldd /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root= /bin/bash >> >> ? >> //Peter > > bcm91250a-be space # ldd > /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/bin/= bash > =A0 =A0 =A0 =A0libncurses.so.5 =3D> /lib/libncurses.so.5 (0x2b5da000) > =A0 =A0 =A0 =A0libdl.so.2 =3D> /lib/libdl.so.2 (0x2b630000) > =A0 =A0 =A0 =A0libc.so.6 =3D> /lib/libc.so.6 (0x2b644000) > =A0 =A0 =A0 =A0/lib32/ld.so.1 (0x2b5aa000) > > All these files exist and appear valid except /lib32/ld.so.1. /lib32 > is supposed to be a symlink to /lib, but for whatever reason it wasn't > in my seed stage. I think this is definitely the problem. I'll report > back with confirmation. > > Thanks Peter! > > Matt Indeed. This was the problem.