On Sunday 21 December 2008 11:11:59 am Justin wrote:
> Jeff Cranmer schrieb:
> > I have a problem with my gentoo system
> >
> > I am trying to update, and I get a C preprocessor "/lib/cpp" fails sanity
> > check error on a number of packages.
> >
> > After a bit of searching, the solution that I come across most often is
> > to recompile glibc and gcc.  Unfortunately, when I try to compile glibc,
> > I get the same sanity check error.  Catch 22.
> >
> > Can anyone help me get around this 'insanity'?
> >
> > Thanks
> >
> > Jeff
>
> Can you provide some more information please? Logs etc?

Here is the end of the output.

checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... unsupported
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
 *
 * ERROR: sys-libs/glibc-2.9_p20081201 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3457:  Called eblit-run 'src_compile'
 *             environment, line 1115:  Called eblit-glibc-src_compile
 *       src_compile.eblit, line  179:  Called src_compile
 *             environment, line 3457:  Called eblit-run 'src_compile'
 *             environment, line 1115:  Called eblit-glibc-src_compile
 *       src_compile.eblit, line  187:  Called toolchain-glibc_src_compile
 *       src_compile.eblit, line  120:  Called 
glibc_do_configure 'src_compile'
 *       src_compile.eblit, line   97:  Called die
 * The specific snippet of code:
 *      "${S}"/configure ${myconf} || die "failed to configure glibc"
 *  The die message:
 *   failed to configure glibc
 *
 * If you need support, post the topmost build error, and the call stack if 
relevant.
 * A complete build log is located 
at '/var/tmp/portage/sys-libs/glibc-2.9_p20081201/temp/build.log'.
 * The ebuild environment file is located 
at '/var/tmp/portage/sys-libs/glibc-2.9_p20081201/temp/environment'.
 *

 * Messages for package sys-libs/glibc-2.9_p20081201:

 *
 * ERROR: sys-libs/glibc-2.9_p20081201 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3457:  Called eblit-run 'src_compile'
 *             environment, line 1115:  Called eblit-glibc-src_compile
 *       src_compile.eblit, line  179:  Called src_compile
 *             environment, line 3457:  Called eblit-run 'src_compile'
 *             environment, line 1115:  Called eblit-glibc-src_compile
 *       src_compile.eblit, line  187:  Called toolchain-glibc_src_compile
 *       src_compile.eblit, line  120:  Called 
glibc_do_configure 'src_compile'
 *       src_compile.eblit, line   97:  Called die
 * The specific snippet of code:
 *      "${S}"/configure ${myconf} || die "failed to configure glibc"
 *  The die message:
 *   failed to configure glibc
 *
 * If you need support, post the topmost build error, and the call stack if 
relevant.
 * A complete build log is located 
at '/var/tmp/portage/sys-libs/glibc-2.9_p20081201/temp/build.log'.
 * The ebuild environment file is located 
at '/var/tmp/portage/sys-libs/glibc-2.9_p20081201/temp/environment'.

I've attached the build.log, but can't find config.log.  Where is this 
normally located?

Jeff

>>> Unpacking source...
 * Checking gcc for __thread support ...
  [ ok ]
 * Checking kernel version (>=2.6.9) ...
  [ ok ]
 * Checking linux-headers version (>=2.6.9) ...
  [ ok ]
>>> Unpacking glibc-2.9-20081201.tar.bz2 to /var/tmp/portage/sys-libs/glibc-2.9_p20081201/work
>>> Unpacking glibc-2.9-ports-20081201.tar.bz2 to /var/tmp/portage/sys-libs/glibc-2.9_p20081201/work/glibc-2.9-20081201
>>> Unpacking glibc-2.9-patches-1.tar.bz2 to /var/tmp/portage/sys-libs/glibc-2.9_p20081201/work
 * Applying Gentoo Glibc Patchset 2.9-1 ...
 *   0010_all_glibc-2.7-ssp-compat.patch ...
  [ ok ]
 *   0030_all_glibc-respect-env-CPPFLAGS.patch ...
  [ ok ]
 *   0040_all_glibc-i586-chk.patch ...
  [ ok ]
 *   0070_all_glibc-i386-x86_64-revert-clone-cfi.patch ...
  [ ok ]
 *   1010_all_glibc-queue-header-updates.patch ...
  [ ok ]
 *   1030_all_glibc-manual-no-perl.patch ...
  [ ok ]
 *   1040_all_2.3.3-localedef-fix-trampoline.patch ...
  [ ok ]
 *   1050_all_glibc-i386-LOAD_PIC_REG.patch ...
  [ ok ]
 *   1055_all_glibc-resolv-dynamic.patch ...
  [ ok ]
 *   1075_all_glibc-section-comments.patch ...
  [ ok ]
 *   1080_all_glibc-no-inline-gmon.patch ...
  [ ok ]
 *   1090_all_glibc-2.3.6-fix-pr631.patch ...
  [ ok ]
 *   1100_all_glibc-2.3.3-china.patch ...
  [ ok ]
 *   1103_all_glibc-new-valencian-locale.patch ...
  [ ok ]
 *   1130_all_glibc-2.4-undefine-__i686.patch ...
  [ ok ]
 *   1160_all_glibc-2.8-nscd-one-fork.patch ...
  [ ok ]
 *   1504_all_glibc-2.7-hppa-pie.patch ...
  [ ok ]
 *   1530_all_glibc-m68k-sys-user.patch ...
  [ ok ]
 *   3000_all_2.3.6-dl_execstack-PaX-support.patch ...
  [ ok ]
 *   3010_all_2.3.3_pre20040117-pt_pax.patch ...
  [ ok ]
 *   3020_all_glibc-tests-sandbox-libdl-paths.patch ...
  [ ok ]
 *   5063_all_glibc-dont-build-timezone.patch ...
  [ ok ]
 *   5070_all_glibc-2.7-cross-compile-nptl.patch ...
  [ ok ]
 *   6001_all_alpha-glibc-2.4-xstat.patch ...
  [ ok ]
 *   6015_all_alpha-glibc-2.5-no-page-header.patch ...
  [ ok ]
 *   6016_all_alpha-glibc-2.5-no-asm-elf-header.patch ...
  [ ok ]
 *   6017_all_alpha-glibc-2.8-creat.patch ...
  [ ok ]
 *   6018_all_alpha-glibc-2.8-cache-shape.patch ...
  [ ok ]
 *   6018_all_glibc-ptr-mangling.patch ...
  [ ok ]
 *   6220_all_glibc-2.4-arm-cirrus-ep93xx-maverick-crunch-fpu.patch ...
  [ ok ]
 *   6240_all_glibc-2.8-nptl-lowlevellock.patch ...
  [ ok ]
 *   6400_all_sh-glibc-2.3.2-fpscr_values.patch ...
  [ ok ]
 *   6415_all_sh-glibc-2.5-no-asm-user-header.patch ...
  [ ok ]
 *   6416_all_sh-glibc-2.5-no-asm-elf-header.patch ...
  [ ok ]
 *   6605_all_glibc-2.4-fpu-cw-mips.patch ...
  [ ok ]
 *   6645_all_glibc-mips_shn_undef-hack.patch ...
  [ ok ]
 * Done with patching
 * Using GNU config files from /usr/share/libtool
 *   Updating scripts/config.sub
  [ ok ]
 *   Updating scripts/config.guess
  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-libs/glibc-2.9_p20081201/work/glibc-2.9-20081201 ...
 * Building multilib glibc for ABIs: x86 amd64

 *             ABI:   x86
 *          CBUILD:   x86_64-pc-linux-gnu
 *           CHOST:   x86_64-pc-linux-gnu
 *         CTARGET:   x86_64-pc-linux-gnu
 *      CBUILD_OPT:   i686-pc-linux-gnu
 *     CTARGET_OPT:   i686-pc-linux-gnu
 *              CC:   
 *          CFLAGS:   -O2 -fno-strict-aliasing

 * Configuring GLIBC for nptl with: 
		--disable-stackguard-randomization
		--enable-old-ssp-compat
		--enable-add-ons=nptl,c_stubs,libidn,ports
		--enable-kernel=2.6.9
		--without-selinux
		--without-cvs
		--enable-bind-now
		--build=i686-pc-linux-gnu
		--host=i686-pc-linux-gnu
		--disable-profile
		--without-gd
		--with-headers=/usr/include
		--prefix=/usr
		--libdir=/usr/lib32
		--mandir=/usr/share/man
		--infodir=/usr/share/info
		--libexecdir=/usr/lib32/misc/glibc
		
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: running configure fragment for add-on nptl
configure: running configure fragment for add-on c_stubs
configure: running configure fragment for add-on libidn
checking add-on ports for preconfigure fragments... am33 arm hppa m68k mips 
checking sysdep dirs... sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet ports/sysdeps/unix/sysv/i386 sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... unsupported
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
 * 
 * ERROR: sys-libs/glibc-2.9_p20081201 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3457:  Called eblit-run 'src_compile'
 *             environment, line 1115:  Called eblit-glibc-src_compile
 *       src_compile.eblit, line  179:  Called src_compile
 *             environment, line 3457:  Called eblit-run 'src_compile'
 *             environment, line 1115:  Called eblit-glibc-src_compile
 *       src_compile.eblit, line  187:  Called toolchain-glibc_src_compile
 *       src_compile.eblit, line  120:  Called glibc_do_configure 'src_compile'
 *       src_compile.eblit, line   97:  Called die
 * The specific snippet of code:
 *   	"${S}"/configure ${myconf} || die "failed to configure glibc"
 *  The die message:
 *   failed to configure glibc
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.9_p20081201/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.9_p20081201/temp/environment'.
 * 

Reply via email to