Gentoo Archives: gentoo-user

From: Jeff Cranmer <jcranmer01@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] glibc - C preprocessor "/lib/cpp" fails sanity check
Date: Sun, 21 Dec 2008 16:51:48
Message-Id: 200812211152.11904.jcranmer01@earthlink.net
In Reply to: Re: [gentoo-user] glibc - C preprocessor "/lib/cpp" fails sanity check by Justin
1 On Sunday 21 December 2008 11:11:59 am Justin wrote:
2 > Jeff Cranmer schrieb:
3 > > I have a problem with my gentoo system
4 > >
5 > > I am trying to update, and I get a C preprocessor "/lib/cpp" fails sanity
6 > > check error on a number of packages.
7 > >
8 > > After a bit of searching, the solution that I come across most often is
9 > > to recompile glibc and gcc. Unfortunately, when I try to compile glibc,
10 > > I get the same sanity check error. Catch 22.
11 > >
12 > > Can anyone help me get around this 'insanity'?
13 > >
14 > > Thanks
15 > >
16 > > Jeff
17 >
18 > Can you provide some more information please? Logs etc?
19
20 Here is the end of the output.
21
22 checking whether we are using the GNU C compiler... yes
23 checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
24 checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... unsupported
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.9_p20081201 failed.
30 * Call stack:
31 * ebuild.sh, line 49: Called src_compile
32 * environment, line 3457: Called eblit-run 'src_compile'
33 * environment, line 1115: Called eblit-glibc-src_compile
34 * src_compile.eblit, line 179: Called src_compile
35 * environment, line 3457: Called eblit-run 'src_compile'
36 * environment, line 1115: Called eblit-glibc-src_compile
37 * src_compile.eblit, line 187: Called toolchain-glibc_src_compile
38 * src_compile.eblit, line 120: Called
39 glibc_do_configure 'src_compile'
40 * src_compile.eblit, line 97: Called die
41 * The specific snippet of code:
42 * "${S}"/configure ${myconf} || die "failed to configure glibc"
43 * The die message:
44 * failed to configure glibc
45 *
46 * If you need support, post the topmost build error, and the call stack if
47 relevant.
48 * A complete build log is located
49 at '/var/tmp/portage/sys-libs/glibc-2.9_p20081201/temp/build.log'.
50 * The ebuild environment file is located
51 at '/var/tmp/portage/sys-libs/glibc-2.9_p20081201/temp/environment'.
52 *
53
54 * Messages for package sys-libs/glibc-2.9_p20081201:
55
56 *
57 * ERROR: sys-libs/glibc-2.9_p20081201 failed.
58 * Call stack:
59 * ebuild.sh, line 49: Called src_compile
60 * environment, line 3457: Called eblit-run 'src_compile'
61 * environment, line 1115: Called eblit-glibc-src_compile
62 * src_compile.eblit, line 179: Called src_compile
63 * environment, line 3457: Called eblit-run 'src_compile'
64 * environment, line 1115: Called eblit-glibc-src_compile
65 * src_compile.eblit, line 187: Called toolchain-glibc_src_compile
66 * src_compile.eblit, line 120: Called
67 glibc_do_configure 'src_compile'
68 * src_compile.eblit, line 97: Called die
69 * The specific snippet of code:
70 * "${S}"/configure ${myconf} || die "failed to configure glibc"
71 * The die message:
72 * failed to configure glibc
73 *
74 * If you need support, post the topmost build error, and the call stack if
75 relevant.
76 * A complete build log is located
77 at '/var/tmp/portage/sys-libs/glibc-2.9_p20081201/temp/build.log'.
78 * The ebuild environment file is located
79 at '/var/tmp/portage/sys-libs/glibc-2.9_p20081201/temp/environment'.
80
81 I've attached the build.log, but can't find config.log. Where is this
82 normally located?
83
84 Jeff

Attachments

File name MIME type
build.log text/x-log

Replies

Subject Author
Re: [gentoo-user] glibc - C preprocessor "/lib/cpp" fails sanity check Jeff Cranmer <jcranmer01@×××××××××.net>
Re: [gentoo-user] glibc - C preprocessor "/lib/cpp" fails sanity check Willie Wong <wwong@×××××××××.EDU>