I am compiling in my Athlon XP for a i586 and I have configured everything so it uses i586. In fact all directories are of i586-style and this is the *only* packages that is broken. Below it goes the output: /bin/sh ../../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O3 -march=i586 -mtune=i686 -ftracer -fomit-frame-pointer -ffast-math -pipe -fforce-addr -fforce-mem -falign-functions=4 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o kbluetoothd -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib rfcommportlistener.o sdprecord.o confirmation.o devicenamecache.o hcidevmonitor.o trayicon.o main.o application.o metaserver.o connectiondlg.o devicescanner.o pinserver.o pindialog.o procinheritsock.o mostrecentlyused.o hcilistener.o neighbourmonitor.o portlistener.o devicenamecache_skel.o metaserver_skel.o devicescanner_skel.o pinserver_skel.o mostrecentlyused_skel.o confirmationdlgbase.o conmainwidget.o condetailswidget.o pingendialog.o pindefdialog.o ../../libkbluetooth/libkbluetooth.la ../libkbluetoothd/libkbluetoothd.la -lkio -lkdeui libtool: link: cannot find the library `/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/libstdc++.la' make[5]: *** [kbluetoothd] Error 1 make[5]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20040824/work/kdebluetooth-0.0.20040824/kdebluetooth/kbluetoothd/kbluetoothd' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20040824/work/kdebluetooth-0.0.20040824/kdebluetooth/kbluetoothd/kbluetoothd' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20040824/work/kdebluetooth-0.0.20040824/kdebluetooth/kbluetoothd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20040824/work/kdebluetooth-0.0.20040824/kdebluetooth' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20040824/work/kdebluetooth-0.0.20040824' make: *** [all] Error 2 !!! ERROR: net-wireless/kdebluetooth-0.0.20040824 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge kdebluetooth Portage 2.0.51_rc6 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4 i686) ================================================================= System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.5.3 distcc 2.17 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=i586 -mtune=i686 -ftracer -fomit-frame-pointer -ffast-math -pipe -fforce-addr -fforce-mem -falign-functions=4" CHOST="i586-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=i586 -mtune=i686 -ftracer -fomit-frame-pointer -ffast-math -pipe -fforce-addr -fforce-mem -falign-functions=4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc distlocks fixpackages sandbox usersandbox" GENTOO_MIRRORS="http://ftp.caliu.info/pub/gentoo http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.tiscali.nl/gentoo/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib acpi acpi4linux alsa apache2 apm arts audiofile avi berkdb bitmap-fonts blender-game bluetooth bootsplash bzlib c++ caps cddb cdinstall cdparanoia cdr cdrom chroot clamav clanVoice codecs crypt cups curl dga dio directfb divx4linux dvd dvdr encode erandom esd ethereal fastcgi fbcon flac flash foomaticdb freetype gd gdbm ggi gif gimp gimpprint gmp gnome gphoto2 gpm gstreamer gtk icq imagemagick imlib ipv6 java jikes jpeg junit kde lcms ldap libg++ libwww mad memlimit mikmod mmx motif mozilla mpeg msn mysql ncurses nls nocd nptl oggvorbis opengl oss pam pdflib perl pic png ppds python qt quicktime readline samba sdl session slang spell ssl svg svga szip tcltk tcpd tetex tiff truetype ttf unicode usb videos wmf x86 xml xml2 xmms xprint xv xvid zlib video_cards_nvidia linguas_es linguas_el"
Try: fix_libtool_files.sh `gcc -dumpversion` --oldarch i686-pc-linux-gnu And then emerge it again. Possibly a stale .la file somewhere from when you changed it?
Created attachment 40683 [details] fixed libraries This is incredible! Thanks for the help... if you just wanted to know the output after running that command: see attachment.
Unfortunately, that did not solve the problem though... I think I'll emerge kdelibs and probably kdebase again.
Similar problem when compiling kdelibs... something is going wrong: distcc[6884] Warning: failed to distribute /var/tmp/portage/kdelibs-3.3.0/temp/fakehome/.ccache/kaudioconv.tmp.blackhat.6880.ii to 192.168.0.2, running locally instead /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kio/kssl -I../../arts/kde -I../.. -I/usr/kde/3.3/include/arts -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -march=i586 -mtune=i686 -ftracer -fomit-frame-pointer -ffast-math -pipe -fforce-addr -fforce-mem -falign-functions=4 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kvideowidget.lo kvideowidget.cpp distcc[7112] (dcc_build_somewhere) Warning: failed to distribute, running locally instead /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kio/kssl -I../../arts/kde -I../.. -I/usr/kde/3.3/include/arts -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -march=i586 -mtune=i686 -ftracer -fomit-frame-pointer -ffast-math -pipe -fforce-addr -fforce-mem -falign-functions=4 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kplayobjectcreator.lo kplayobjectcreator.cc distcc[7340] (dcc_build_somewhere) Warning: failed to distribute, running locally instead /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kio/kssl -I../../arts/kde -I../.. -I/usr/kde/3.3/include/arts -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -march=i586 -mtune=i686 -ftracer -fomit-frame-pointer -ffast-math -pipe -fforce-addr -fforce-mem -falign-functions=4 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o artskde.lo artskde.cc /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -march=i586 -mtune=i686 -ftracer -fomit-frame-pointer -ffast-math -pipe -fforce-addr -fforce-mem -falign-functions=4 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libartskde.la -rpath /usr/kde/3.3/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info 3:0:2 artskde.lo kioinputstream_impl.lo kplayobject.lo kplayobjectfactory.lo kartsfloatwatch.lo kartsdispatcher.lo kaudiorecordstream.lo kaudioplaystream.lo kartsserver.lo kdatarequest_impl.lo kaudioconverter.lo kvideowidget.lo kplayobjectcreator.lo kaudiomanagerplay.lo ../../kio/libkio.la -lqtmcop -lsoundserver_idl grep: /usr/lib/gcc/i586-pc-linux-gnu/3.4.1/libstdc++.la: No such file or directory /bin/sed: can't read /usr/lib/gcc/i586-pc-linux-gnu/3.4.1/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc/i586-pc-linux-gnu/3.4.1/libstdc++.la' is not a valid libtool archive make[3]: *** [libartskde.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.3.0/work/kdelibs-3.3.0/arts/kde' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.3.0/work/kdelibs-3.3.0/arts' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.3.0/work/kdelibs-3.3.0' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.3.0 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message.
Alright, after doing that library fixing, it now gets into i586 as expected, but still tries to enter 3.4.1 instead of 3.4.2 Ideas?
Then explicitly tell it to use 3.4.2 instead of the dump-version stuff. Anyway, this is not a kde bug.
How do I tell it to use 3.4.2? /etc/env.d/ files seem correct...