After trying to install x6.8 and then 6.70-r2 which both broke during src_compile they were then installed !!! ERROR: x11-base/xorg-x11-6.7.0-r2 failed. !!! Function src_compile, Line 581, Exitcode 2 !!! (no error message) Then here is preinstll?? log for the above prerm postrm There is no over all src_compile || die in the ebuild. Brief system info: Portage 2.0.51_pre20 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r2 i686 AMD Athlon(tm) XP 2000+) See bug 64117 and bug 64214 How often to many ;)
If it's installing after printing a die message, that sounds like a portage problem.
This is a rather generic looking bug - perhaps too generic but what the heck. gcc -O2 -march=athlon-xp -fomit-frame-pointer -mno-sse2 -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DDO_GLU -c -o glxinfo.o glxinfo.c rm -f glxinfo gcc -o glxinfo -O2 -march=athlon-xp -fomit-frame-pointer -mno-sse2 -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -L../../exports/lib glxinfo.o -lGLU -lGL -lXext -lX11 -lpthread -lm -Wl,-rpath-link,../../exports/lib /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by ../../exports/lib/libGLU.so, not found (try using -rpath or -rpath-link) ../../exports/lib/libGLU.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4' ../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@CXXABI_1.3' ../../exports/lib/libGLU.so: undefined reference to `operator delete[](void*)@GLIBCXX_3.4' ../../exports/lib/libGLU.so: undefined reference to `operator new[](unsigned int)@GLIBCXX_3.4' ../../exports/lib/libGLU.so: undefined reference to `operator new(unsigned int)@GLIBCXX_3.4' ../../exports/lib/libGLU.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.3' ../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@CXXABI_1.3' ../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@CXXABI_1.3' ../../exports/lib/libGLU.so: undefined reference to `__gxx_personality_v0@CXXABI_1.3' collect2: ld returned 1 exit status distcc[8531] ERROR: compile (null) on localhost failed make[4]: *** [glxinfo] Error 1 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc/programs/glxinfo' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.8.0-r1 failed. Was attempting a ~x86 emerge -u gnome. NVidia related maybe? I've had a lot of problems with X and my old GeForce before.
Hm. Just actually looked at the error. libstdc++.so.6 And I note no /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.2 in /etc/ld.so.conf I bet that'll fix my prob
I have had this problem for some time now, (1-2months) and am wondering if anyone found a solution yet. "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.2" is in my ld.so.conf. Profile: Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.4.2, glibc-2.2.5-r2,glibc-2.3.4.20041102-r0, 2.6.7-gentoo-r11 i686) System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.5 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r6 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CXXFLAGS="-march=athlon-xp -O3 -pipe" FEATURES="autoaddcvs buildpkg candy ccache distlocks sandbox" MAKEOPTS="-j2" USE="3dnow 3dnowex X aalib alsa apm audiofile avi berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups curl dba directfb divx4linux dvd dvdread encode esd ethereal evo f77 fbcon flash fltk fluidsynth foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm gps gtk gtk2 gtkhtml guile imap imlib ipv6 java javascript joystick jpeg kde lcms ldap libcaca libg++ libwww live mad maildir mikmod mmx mmx2 motif mozilla moznocompose moznoirc moznomail mozsvg mpeg mysql mythtv nas ncurses net network nptl nptlonly nvidia oav odbc offensive oggvorbis opengl oss pam pda pdflib perl php png ppds python qt quicktime readline rtc ruby samba scanner sdl slang snmp spell sse sse2 ssl svg svga tcltk tcpd tetex theora tiff truetype usb v4l v4l2 vim-with-x x86 xfs xine xinerama xml xml2 xmms xosd xv xvid zlib" Any suggestions/advice would be appreciated.
Please provide the output of emerge info
I did, it's the blob of text under "Profile:", I pruned any extraneous lines for brevity. If there's any other info I can provide, just let me know.
Can you attach the complete log of a failed emerge. When doing so please also give the --debug option to emerge.
Created attachment 43790 [details] xorg glibc libstdc++.so.6 error full build
I have this error as well (see attachment) same error with libstdc++.so.6. I 'think' the path to the required lib is not placed in ld.so's conf. I made a symlink from the lib to /usr/lib just for the thrill of it it and xorg built and the system has not exploded on me yet (still lots of other breakage to fix here) You will also see my emerge info data at the bottom of the text file if you need it. I don't think symlinking it is a proper fix however. # cd /usr/lib # ln -sf /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.3/libstdc++.so.6 #
I added the symlink as was qualified in David Cooper's temporary solution, and I was able to build Xorg without further problems. Again, I have a reference to: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.2 in my ld.so.conf, but libstdc++.so.6 was only found after symlinked to /usr/lib.
this bug is invalid really, you all need to check that libstdc++-v3 is installed if it is you would have the file that your missing.
Attempted to emerge xorg-x11-6.8.2-r1 on an AMD64 system, using fresh 2005.0 install, the emerge failed at "Line 954, Exitcode 2" here are the steps I have tried to resolve. (between steps did env-update and source /etc/profile) - emerged libstdc++-v3, didn't correct the problem, so #11 is an invalid comment. - From #9 '# cd /usr/lib # ln -sf /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.3/libstdc++.so.6' does not correct the problem. - Removed all CFLAGS options, this did not fix the problem. I will attach output of build soon.
Created attachment 56206 [details] emerge log with errors
I'm closing this because there seems to be at least three different bugs listed. Whoever is still having problems, please open new ones - separately.