Emerging arts on ppc it fails. errors out while looking for the STL implementation type. checking if STL implementation is SGI like... no checking if STL implementation is HP like... no configure: error: "no known STL type found - did you forget to install libstdc++-devel ?" !!! ERROR: kde-base/arts-1.1.5 failed. !!! Function kde_src_compile, Line 117, Exitcode 1 !!! died running ./configure, kde_src_compile:configure config.log for the emerge is in the url above. Reproducible: Always Steps to Reproduce: Emerge arts-1.1.5 Actual Results: >>> Unpacking arts-1.1.5.tar.bz2 to /var/tmp/portage/arts-1.1.5/work patching file flow/gsl/configure.in.in Running sed on Makefile.am Running sed on Makefile.in patching file detect-autoconf.sh >>> Source unpacked. base kde-functions kde flag-o-matic oggvorbis *** Creating acinclude.m4 *** Creating list of subdirectories *** Creating configure.in *** Creating aclocal.m4 *** Creating configure *** Creating config.h template *** Creating Makefile templates *** Postprocessing Makefile templates *** Creating date/time stamp *** Finished Don't forget to run ./configure If you haven't done so in a while, run ./configure --help 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 build system type... powerpc-unknown-linux-gnu checking host system type... powerpc-unknown-linux-gnu checking target system type... powerpc-unknown-linux-gnu checking for a BSD-compatible install... /bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for powerpc-unknown-linux-gnu-strip... no checking for strip... strip checking for a BSD-compatible install... /bin/install -c -p checking for style of include used by make... GNU checking for powerpc-unknown-linux-gnu-gcc... gcc checking for C compiler default output file name... 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 dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for powerpc-unknown-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wnon-virtual-dtor... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fexceptions... yes checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -frepo... yes not using lib directory suffix checking for ld used by GCC... /usr/powerpc-unknown-linux-gnu/bin/ld checking if the linker (/usr/powerpc-unknown-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/powerpc-unknown-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking for a sed that does not truncate output... checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for egrep... grep -E 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 the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for powerpc-unknown-linux-gnu-ranlib... no checking for ranlib... ranlib checking for powerpc-unknown-linux-gnu-strip... strip checking if gcc static flag works... no checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/powerpc-unknown-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking whether the g++ linker (/usr/powerpc-unknown-linux-gnu/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/powerpc-unknown-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "GCJ" to libtool checking if gcj supports -fno-rtti -fno-exceptions... (cached) no checking for gcj option to produce PIC... -fPIC checking if gcj PIC flag -fPIC works... no checking if gcj supports -c -o file.o... no checking whether the gcj linker (/usr/powerpc-unknown-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking which extension is used for shared libraries... .so checking which variable specifies run-time library path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib checking for objdir... .libs checking command to parse nm output... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for dlopen in -ldl... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dld_link in -ldld... no checking for dlerror... yes checking for _ prefix in compiled symbols... (cached) no checking whether deplibs are loaded by dlopen... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for dlfcn.h... (cached) yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking for string.h... (cached) yes checking for strchr... yes checking for strrchr... yes checking for memcpy... yes checking for strcmp... yes checking for extra includes... no checking for extra libs... no checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... socklen_t checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking for poll in -lpoll... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking if res_init needs -lresolv... yes checking if res_init is available... yes checking for killpg in -lucb... no checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for char *... yes checking size of char *... 4 checking for char... yes checking size of char... 1 checking for dlopen in -ldl... (cached) yes checking for shl_unload in -ldld... no checking for vsnprintf... yes checking for snprintf... yes checking if Qt compiles without flags... no checking if STL implementation is SGI like... no checking if STL implementation is HP like... no configure: error: "no known STL type found - did you forget to install libstdc++-devel ?" !!! ERROR: kde-base/arts-1.1.5 failed. !!! Function kde_src_compile, Line 117, Exitcode 1 !!! died running ./configure, kde_src_compile:configure Expected Results: Should have build and emerged arts-1.1.5 cflags: USE="-alsa amd apache2 bonobo cdr crypt dv evo fs \ gphoto2 idea imlib2 jabber lcd md5sum -mozcalendar moznocompose \ moznoirc moznomail mpeg mpeg4 mysql ncurses openssh php quicktime \ rage128 slp spell tiff type1 usb wxwindows xine xml2 xmms yahoo -nls \ -imlib -gtk -crypt " System is running: sys-devel/gcc-3.2.3-r3 sys-libs/glibc-2.3.2-r9 From what it appears is this is using a cached copy of the wrong data cached stdio.h by mkheaders. the down and dirty fix is you basicaly can zap everything that mkheaders installed into /usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.3/include/ it dies because gcc overrides includes internaly, it uses the stdio.h it generated with mkheaders back when you installed it, but as your glibc changed in the meantime that header doesn't match your libc anymore
trance: this is a known bug and is fixed in 3.2.3-r4 and beyond 'solution' is to make a newer version of gcc stable on ppc *** This bug has been marked as a duplicate of 30701 ***