Gentoo Archives: gentoo-user

From: oskar kapala <oskar.kapala@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] chroot: cannot run command `/bin/bash'
Date: Sun, 23 Jul 2006 16:57:48
Message-Id: a9fb46230607230948n149f412eg24ac58e810a0c624@mail.gmail.com
1 Hi,
2
3 William Kenworthy napisa³(a):
4 >
5 > so bash needs glibc!
6 >
7
8 Sure :)
9
10 > Your best bet would be to locate a glibc bin package (from the
11 > livecd?)and untar it in / of your system, then it should work enough to
12 > rebuild properly. You could just copy in the missing libs as you
13 > discover them, but thats probably going to be worse :(
14
15 I copied whole /mnt/liveCD/lib to my /mnt/gentoo/lib and chroot is
16 working now, but revdep-rebuilt is doing nothing. IMHO some reverse
17 dependencies are broken....
18 The worst thing is that emerge glibc faild
19
20 Output is:
21
22 (...)
23 checking whether i686-pc-linux-gnu-gcc accepts -g... yes
24 checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
25 checking how to run the C preprocessor... /lib/cpp
26 configure: error: C preprocessor "/lib/cpp" fails sanity check
27 See `config.log' for more details.
28
29 !!! ERROR: sys-libs/glibc-2.3.6-r4 failed.
30 Call stack:
31 ebuild.sh, line 1539: Called dyn_compile
32 ebuild.sh, line 939: Called src_compile
33 glibc-2.3.6-r4.ebuild, line 1128: Called toolchain-glibc_src_compile
34 glibc-2.3.6-r4.ebuild, line 215: Called glibc_do_configure 'linuxthreads'
35 glibc-2.3.6-r4.ebuild, line 905: Called die
36
37 !!! failed to configure glibc
38 !!! If you need support, post the topmost build error, and the call
39 stack if relevant.
40
41
42 BTW: I'm new on the mailing list, such this one: so I'm not sure how
43 to reply to concrete post. I'm using gmail - I send an ordinary email
44 to gentoo-user@g.o. Please correct me if I'm doing sth wrong...
45
46 Thanks for help,
47 oskar
48
49 --
50 gentoo-user@g.o mailing list