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 19:09:15
Message-Id: 200812211409.34818.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 01:49:41 pm Justin wrote:
2 > Jeff Cranmer schrieb:
3 > >> Hmm, if you have a separate machine with the same architecture, you
4 > >> can build those binary packages yourself, just man emerge and take a
5 > >> look at the buildpkg section. Alternatively, you can cross compile
6 > >> binary packages[1].
7 > >>
8 > >> Or, why not just use a stage tarball?
9 > >>
10 > >> HTH.
11 > >>
12 > >> Joe
13 > >>
14 > >> [1] http://www.gentoo.org/proj/en/base/embedded/cross-development.xml
15 > >
16 > > I'm not an expert, and I don't have a second amd64 machine. My laptop
17 > > runs a different PC processor type. How would I go about cross-compiling
18 > > an amd64 binary on my laptop, and creating the necessary .tbz2 tarball.
19 > > If I could do that, I would probably be able to test out the theory that
20 > > this would fix my broken system.
21 > >
22 > > Thanks
23 > >
24 > > Jeff
25 >
26 > Perhaps you should go back to a lower glib version. Latest versions of
27 > such important packages might always have issues.
28
29 What is the approved way to do this?
30
31 When I tried to install an old version of glibc from a binary, I got the
32 error:
33
34 The error was
35 * Sanity check to keep you from breaking your system:
36  *  Downgrading glibc is not supported and a sure way to destruction
37  *
38  * ERROR: sys-libs/glibc-2.6.1 failed.
39  * Call stack:
40  *               ebuild.sh, line   49:  Called pkg_setup
41  *             environment, line 3275:  Called die
42  * The specific snippet of code:
43  *               die "aborting to save your system";
44  *  The die message:
45  *   aborting to save your system
46  *
47  * If you need support, post the topmost build error, and the call stack if
48 relevant.
49  * A complete build log is located
50 at '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/build.log'.
51  * The ebuild environment file is located
52 at '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/environment'.
53
54 The error message
55 "Downgrading glibc is not supported and is a sure way to destruction"
56 makes me think that going back would not be such a good idea.
57
58 Jeff

Replies

Subject Author
Re: [gentoo-user] glibc - C preprocessor "/lib/cpp" fails sanity check Alan McKinnon <alan.mckinnon@×××××.com>