Gentoo Archives: gentoo-catalyst

From: Matt Turner <mattst88@g.o>
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:33:53
Message-Id: AANLkTinyCA+dKyPCZRo0rkUZvT+mLCC1AC=HJCnuk9sX@mail.gmail.com
In Reply to: Re: [gentoo-catalyst] chroot: failed to run command `/tmp/stage1-preclean-chroot.sh': No such file or directory by Peter Stuge
1 On Mon, Nov 15, 2010 at 11:11 AM, Peter Stuge <peter@×××××.se> wrote:
2 > Matt Turner wrote:
3 >> chroot: failed to run command `/tmp/stage1-preclean-chroot.sh': No such file or directory
4 >
5 > Can you check with strace which file it is that is actually missing?
6 >
7 >
8 > //Peter
9
10 Yes, good idea.
11
12 bcm91250a-be space # strace -o output.strace chroot
13 /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/
14 /bin/bash
15 chroot: failed to run command `/bin/bash': No such file or directory
16
17 It actually reports
18 execve("/bin/bash", ["/bin/bash"], [/* 27 vars */]) = -1 ENOENT (No
19 such file or directory)
20
21 But what the heck?
22
23 bcm91250a-be space # ls -lh
24 /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/bin/bash
25 -rwxr-xr-x 1 root root 880K Nov 15 00:38
26 /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/bin/bash
27 bcm91250a-be space # file
28 /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/bin/bash
29 /space/catalyst/tmp/default/stage1-mips4_n32-20101114/tmp/stage1root/bin/bash:
30 ELF 32-bit MSB executable, MIPS, N32 MIPS64 version 1 (SYSV),
31 dynamically linked (uses shared libs), for GNU/Linux 2.6.9, with
32 unknown capability 0x41000000 = 0xf676e75, with unknown capability
33 0x10000 = 0x70401, stripped
34
35 Matt

Attachments

File name MIME type
output.strace.txt text/plain

Replies