Gentoo Archives: gentoo-catalyst

From: Peter Stuge <peter@×××××.se>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] chroot: failed to run command `/tmp/stage1-preclean-chroot.sh': No such file or directory
Date: Mon, 15 Nov 2010 16:39:26
Message-Id: 20101115163923.20933.qmail@stuge.se
In Reply to: Re: [gentoo-catalyst] chroot: failed to run command `/tmp/stage1-preclean-chroot.sh': No such file or directory by Matt Turner
1 Matt Turner wrote:
2 > >> chroot: failed to run command `/tmp/stage1-preclean-chroot.sh': No such file or directory
3 > >
4 > > Can you check with strace which file it is that is actually missing?
5 >
6 > Yes, good idea.
7 >
8 > bcm91250a-be space # strace -o output.strace chroot
9 > /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/
10 > /bin/bash
11 > chroot: failed to run command `/bin/bash': No such file or directory
12 >
13 > It actually reports
14 > execve("/bin/bash", ["/bin/bash"], [/* 27 vars */]) = -1 ENOENT (No
15 > such file or directory)
16 >
17 > But what the heck?
18
19 ldd /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/bin/bash
20
21 ?
22
23
24 //Peter

Replies