I just tried to bootstrap, but media-libs/libart_lgpl-2.3.16 fails to compile. Output: >>> md5 src_uri ;-) libart_lgpl-2.3.16.tar.bz2 >>> Unpacking source... >>> Unpacking libart_lgpl-2.3.16.tar.bz2 to /var/tmp/portage/libart_lgpl-2.3.16/ work >>> Source unpacked. * Patching ${S}/ltmain.sh ... * Applying portage-1.4.1.patch ... * Applying max_cmd_len-1.5.0.patch ... * Applying sed-1.4.3.patch ... * Applying tmp-1.3.5.patch ... * Applying uClibc/libtool patches ... QA Notice: USE Flag 'doc' not in IUSE for media-libs/libart_lgpl-2.3.16 ./configure --prefix=/usr --host=powerpc64-unknown-linux-gnu --mandir=/usr/share /man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localsta tedir=/var/lib --disable-gtk-doc configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... found checking for powerpc64-unknown-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking build system type... powerpc64-unknown-linux-gnu checking host system type... powerpc64-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/powerpc64-unknown-linux-gnu/bin/ld checking if the linker (/usr/powerpc64-unknown-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/powerpc64-unknown-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for powerpc64-unknown-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no 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: media-libs/libart_lgpl-2.3.16 failed. !!! Function econf, Line 449, Exitcode 1 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. Markus
Created attachment 47377 [details] config.log
I cannot reprocedure this problem..
closing
I had the same problem. It's due to a USE flag. I put USE="" in make.conf and did an emerge --resume and it succeeded. I continued the bootstrapping with my USE flags after. After searching a bit, I think it's "gtk". When my bootstrap finishes, I try again with gtk again to check. If yes, it should be filtered or fixed :-)
I confirm that the gtk flag caused this error here.
I had the same error while bootstrapping, libart_lgpl fails with the same error message. The gtk use flag did not stop bootstrap trying to install libart_lgpl, as mentioned in comment 5. Dropping the gcj use flag, or exporting STAGE1_USE="build" fixes the problems for me. This is a duplicate of bug 66042.