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 1PI1VV-00086u-Ae for garchives@archives.gentoo.org; Mon, 15 Nov 2010 16:02:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62796E0864 for ; Mon, 15 Nov 2010 16:02:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 94C1FE0759 for ; Mon, 15 Nov 2010 15:43:09 +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 97D8A1B40B5 for ; Mon, 15 Nov 2010 15:43:08 +0000 (UTC) Received: by bwz7 with SMTP id 7so7387391bwz.40 for ; Mon, 15 Nov 2010 07:43:05 -0800 (PST) Received: by 10.204.118.209 with SMTP id w17mr5971312bkq.107.1289835785808; Mon, 15 Nov 2010 07:43:05 -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 07:42:45 -0800 (PST) From: Matt Turner Date: Mon, 15 Nov 2010 10:42:45 -0500 Message-ID: Subject: [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 X-Archives-Salt: ceec8b8d-ab7d-4102-b5d4-6fd359d18945 X-Archives-Hash: 92439815d44036b1d38c5e8e69c1bea2 At the end of my stage1 build, I get (sorry for gmail's linewraps) """ removing /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/chroot-functions.sh from the chroot --- Running action sequence: preclean copying stage1-preclean-chroot.sh to /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/tmp/ copying chroot-functions.sh to /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/tmp/ Running stage1-preclean-chroot.sh in chroot /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root chroot: failed to run command `/tmp/stage1-preclean-chroot.sh': No such file or directory !!! catalyst: preclean script failed. Traceback (most recent call last): File "modules/generic_stage_target.py", line 1167, in preclean " preclean","preclean script failed.",env=self.env) File "/usr/lib/catalyst/modules/catalyst_support.py", line 542, in cmd raise CatalystError,myexc CatalystError None !!! catalyst: Build failed, could not execute preclean Traceback (most recent call last): File "/usr/lib/catalyst/catalyst", line 209, in build_target mytarget.run() File "modules/generic_stage_target.py", line 1263, in run apply(getattr(self,x)) File "modules/generic_stage_target.py", line 1172, in preclean raise CatalystError, "Build failed, could not execute preclean" CatalystError !!! catalyst: Error encountered during run of target stage1 Catalyst aborting.... """ But the /tmp/stage1-preclean-chroot.sh _is_ there, with proper permissions, etc. bcm91250a-be space # ls -lh catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/tmp/stage1-preclean-chroot.sh -rwxr-xr-x 1 root root 435 Nov 4 09:23 catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/tmp/stage1-preclean-chroot.sh So I tried chrooting into the stage1root: bcm91250a-be space # chroot catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/ /bin/bash chroot: failed to run command `/bin/bash': No such file or directory But bash _is_ there, and does work. (=sys-apps/bash-4.1_p9) bcm91250a-be space # catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/bin/bash --version GNU bash, version 4.1.9(2)-release (mips64-unknown-linux-gnu) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. glibc is (=sys-libs/glibc-2.11.2-r3): bcm91250a-be space # /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/lib/libc.so.6 GNU C Library stable release version 2.11.2, by Roland McGrath et al. Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.5.1. Compiled on a Linux 2.6.35 system on 2010-11-14. Available extensions: C stubs add-on version 2.1.2 crypt add-on version 2.1 by Michael Glad and others Gentoo patchset 6 GNU Libidn by Simon Josefsson Native POSIX Threads Library by Ulrich Drepper et al Support for some architectures added on, not maintained in glibc core. BIND-8.2.3-T5B For bug reporting instructions, please see: . So there must be some strange problem with glibc and bash. How can I figure out what's causing this? Thanks, Matt