... /bin/sh ../../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual- dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing- prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast- align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=pentium2 -O2 -fomit-frame- pointer -funroll-loops -ffast-math -pipe -fno-exceptions -fno-check-new - DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -o libsensordisplays.la.closure libsensordisplays_la_closure.lo -L/usr/X11R6/lib - L/usr/qt/3/lib -L/usr/kde/3.1/lib -no-undefined SensorDisplay.lo BarGraph.lo DancingBars.lo DummyDisplay.lo FancyPlotter.lo ListView.lo LogFile.lo MultiMeter.lo ProcessController.lo ProcessList.lo ReniceDlg.lo SensorLogger.lo SignalPlotter.lo DancingBarsSettings.lo FancyPlotterSettings.lo ListViewSettings.lo LogFileSettings.lo MultiMeterSettings.lo SensorLoggerDlg.lo SensorLoggerSettings.lo ../ksgrd/libksgrd.la -lkio .libs/ListView.o(.text+0x856): In function `diskStatKey(char const*)': : undefined reference to `strlcpy' .libs/ListView.o(.text+0x946): In function `diskStatKey(char const*)': : undefined reference to `strlcpy' collect2: ld returned 1 exit status make[4]: *** [libsensordisplays.la.closure] Error 1 make[4]: Leaving directory `/archive/tmp/portage/kdebase-3.1_rc6/work/kdebase- 3.1rc6/ksysguard/gui/SensorDisplayLib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/archive/tmp/portage/kdebase-3.1_rc6/work/kdebase- 3.1rc6/ksysguard/gui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/archive/tmp/portage/kdebase-3.1_rc6/work/kdebase- 3.1rc6/ksysguard' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/archive/tmp/portage/kdebase-3.1_rc6/work/kdebase- 3.1rc6' make: *** [all] Error 2 !!! ERROR: kde-base/kdebase-3.1_rc6 failed. !!! Function kde_src_compile, Line 88, Exitcode 2 !!! died running emake, kde_src_compile:make
Strange, I just tried to build kdeutils and it failed with a similar linker error: /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno- long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes - Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align - Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=pentium2 -O2 -fomit-frame-pointer - funroll-loops -ffast-math -pipe -fno-exceptions -fno-check-new - DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -o ark -R /usr/kde/3.1/lib - R /usr/qt/3/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/qt/3/lib - L/usr/kde/3.1/lib dummy.o libark.la ./.libs/libark.so: undefined reference to `strlcpy' ./.libs/libark.so: undefined reference to `strlcat' collect2: ld returned 1 exit status make[3]: *** [ark] Error 1 make[3]: Leaving directory `/archive/tmp/portage/kdeutils-3.1_rc6/work/kdeutils- 3.1rc6/ark' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/archive/tmp/portage/kdeutils-3.1_rc6/work/kdeutils- 3.1rc6/ark' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/archive/tmp/portage/kdeutils-3.1_rc6/work/kdeutils- 3.1rc6' make: *** [all] Error 2 !!! ERROR: kde-base/kdeutils-3.1_rc6 failed. !!! Function kde_src_compile, Line 88, Exitcode 2 !!! died running emake, kde_src_compile:make
Another similar failure: ... /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno- long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes - Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align - Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=pentium2 -O2 -fomit-frame-pointer - funroll-loops -ffast-math -pipe -fno-exceptions -fno-check-new -DQT_NO_COMPAT - DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DKDE_NO_COMPAT -DKDE_NO_COMPAT_H -o kppp -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -R /usr/kde/3.1/lib - R /usr/qt/3/lib -R /usr/X11R6/lib kpppwidget.o general.o accounts.o connect.o conwindow.o debug.o edit.o iplined.o main.o modem.o modemcmds.o pppdargs.o pppdata.o scriptedit.o pwentry.o modeminfo.o pppstatdlg.o pppstats.o miniterm.o accounting.o acctselect.o ruleset.o docking.o runtests.o loginterm.o ppplog.o newwidget.o requester.o opener.o modemdb.o utils.o providerdb.o -lm -lkio - lkdeui pppstats.o(.text+0x4a1): In function `PPPStats::ifIsUp()': : undefined reference to `strlcpy' pppstats.o(.text+0x578): In function `PPPStats::initStats()': : undefined reference to `strlcpy' opener.o(.text+0x302): In function `Opener::mainLoop()': : undefined reference to `strlcpy' opener.o(.text+0x327): In function `Opener::mainLoop()': : undefined reference to `strlcat' opener.o(.text+0xdc1): In function `Opener::execpppd(char const*)': : undefined reference to `strlcpy' opener.o(.text+0x116a): In function `checkForInterface()': : undefined reference to `strlcpy' collect2: ld returned 1 exit status make[3]: *** [kppp] Error 1 make[3]: Leaving directory `/archive/tmp/portage/kdenetwork- 3.1_rc6/work/kdenetwork-3.1rc6/kppp' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/archive/tmp/portage/kdenetwork- 3.1_rc6/work/kdenetwork-3.1rc6/kppp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/archive/tmp/portage/kdenetwork- 3.1_rc6/work/kdenetwork-3.1rc6' make: *** [all] Error 2 !!! ERROR: kde-base/kdenetwork-3.1_rc6 failed. !!! Function kde_src_compile, Line 88, Exitcode 2 !!! died running emake, kde_src_compile:make
Another one: /bin/sh ../../libtool --silent --mode=link gcc - DDEFAULT_PATH=\"/usr/kde/3.1/share/apps/kmidi/config\" -DAU_OSS -DAU_ESD - DIA_NCURSES -DIA_SLANG -DIA_XAW -DQT_THREAD_SUPPORT -D_REENTRANT -fasm - ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite- strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=pentium2 -O2 - fomit-frame-pointer -funroll-loops -ffast-math -pipe `/usr/kde/3.1/bin/artsc- config --libs` -o timidity timidity.o common.o readmidi.o playmidi.o resample.o mix.o instrum.o tables.o controls.o output.o filter.o wave_a.o raw_a.o dumb_c.o fffload.o sndfont.o readsbk.o effects.o reverb_e.o chorus_e.o phaser_e.o celeste_e.o resample_l.o resample_f.o cfg.o b_out.o hpux_a.o linux_a.o linux_a2.o sun_a.o dec_a.o hpux_d_a.o alsa_a.o arts_a.o bsd20_a.o esd_a.o nas_a.o ncurs_c.o slang_c.o tk_c.o gtk_i.o ctl.o motif_c.o motif_i.o motif_p.o xaw_i.o xaw_c.o -lncurses -lslang -L/usr/X11R6/lib - L/usr/qt/3/lib -L/usr/kde/3.1/lib -lXaw -lXt -lX11 -lkdefakes -lm -L/usr/lib - lesd -laudiofile -lm common.o(.text+0x2cd): In function `open_file': : `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead common.o(.text+0x1fb): In function `open_file': : undefined reference to `strlcpy' common.o(.text+0x24f): In function `open_file': : undefined reference to `strlcat' common.o(.text+0x326): In function `open_file': : undefined reference to `strlcpy' common.o(.text+0x352): In function `open_file': : undefined reference to `strlcat' instrum.o(.text+0x1a7d): In function `load_instrument': : undefined reference to `strlcpy' instrum.o(.text+0x1a9c): In function `load_instrument': : undefined reference to `strlcat' ncurs_c.o(.text+0x1989): In function `ctl_open': : undefined reference to `strlcpy' ncurs_c.o(.text+0x19cd): In function `ctl_open': : undefined reference to `strlcpy' xaw_i.o(.text+0x3694): In function `expandDir': : undefined reference to `strlcpy' xaw_i.o(.text+0x36b6): In function `expandDir': : undefined reference to `strlcpy' xaw_i.o(.text+0x3713): In function `expandDir': : undefined reference to `strlcpy' xaw_i.o(.text+0x37f4): more undefined references to `strlcpy' follow xaw_i.o(.text+0x3f8b): In function `setDirList': : undefined reference to `strlcat' xaw_i.o(.text+0x3fb5): In function `setDirList': : undefined reference to `strlcat' xaw_i.o(.text+0x5eda): In function `completeDir': : undefined reference to `strlcpy' xaw_i.o(.text+0x5f61): In function `completeDir': : undefined reference to `strlcpy' xaw_i.o(.text+0x5fab): In function `completeDir': : undefined reference to `strlcpy' xaw_i.o(.text+0x5fca): In function `completeDir': : undefined reference to `strlcat' collect2: ld returned 1 exit status make[3]: *** [timidity] Error 1 make[3]: Leaving directory `/archive/tmp/portage/kdemultimedia- 3.1_rc6/work/kdemultimedia-3.1rc6/kmidi/TIMIDITY' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/archive/tmp/portage/kdemultimedia- 3.1_rc6/work/kdemultimedia-3.1rc6/kmidi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/archive/tmp/portage/kdemultimedia- 3.1_rc6/work/kdemultimedia-3.1rc6' make: *** [all] Error 2 !!! ERROR: kde-base/kdemultimedia-3.1_rc6 failed. !!! Function kde_src_compile, Line 88, Exitcode 2 !!! died running emake, kde_src_compile:make
which kdelibs do you have? please append 'emerge info' and a config.log of one of the failing packages.
Created attachment 7333 [details] config.log
emerge info says: emerge info Portage 2.0.46-r6 (default-x86-1.4, gcc-gcc: No such file or directory, glibc- 2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 Celeron (Mendocino) GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/archive/portage/distfiles" PKGDIR="/archive/portage/packages" PORTAGE_TMPDIR="/archive/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell xml2 xmms xv zlib gdbm berkdb slang readline arts tetex svga java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk opengl mozilla qt kde truetype icc -alsa -motif" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O2 -fomit-frame-pointer -funroll-loops -ffast-math - pipe" CXXFLAGS="-march=pentium2 -O2 -fomit-frame-pointer -funroll-loops -ffast-math - pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" The top part seems strange: "gcc-gcc: No such file or directory." Hadn't noticed that before.
ah, it was the upgrade to gcc-3.2.1-r6 that somehow screwed up my environment. Had to source /etc/profile.. emerge info Portage 2.0.46-r6 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 Celeron (Mendocino) GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/archive/portage/distfiles" PKGDIR="/archive/portage/packages" PORTAGE_TMPDIR="/archive/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell xml2 xmms xv zlib gdbm berkdb slang readline arts tetex svga java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk opengl mozilla qt kde truetype icc -alsa -motif" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O2 -fomit-frame-pointer -funroll-loops -ffast-math - pipe" CXXFLAGS="-march=pentium2 -O2 -fomit-frame-pointer -funroll-loops -ffast-math - pipe" ACCEPT_KEYWORDS="x86 ~arch" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
For whatever reason, the bugs went away once I re-emerged arts and cups.. Now I can't reproduce these build errors.. close?
Yes, since you don't have it anymore and we couldn't reprodue anything to begin with, it seems these were the effects of a misconfigured system that are now fixed.
"misconfigured", yeah thats it.