/bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libkdeinit_kword.la -rpath /usr/lib -no-undefined -avoid-version -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib main.lo ../lib/kofficecore/libkofficecore.la i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/kofficeui -I../lib/kofficeui -I../lib/kofficecore -I../lib/kofficecore -I../lib/store -I../lib/store -I../lib/kwmf -I../lib/kwmf -I../lib/kformula -I../lib/kotext -I../lib/kotext -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 kword.la.o `test -f 'kword.la.cc' || echo './'`kword.la.cc /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/kofficeui -I../lib/kofficeui -I../lib/kofficecore -I../lib/kofficecore -I../lib/store -I../lib/store -I../lib/kwmf -I../lib/kwmf -I../lib/kformula -I../lib/kotext -I../lib/kotext -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 KWordMailMergeDatabaseIface_skel.lo `test -f 'KWordMailMergeDatabaseIface_skel.cc' || echo './'`KWordMailMergeDatabaseIface_skel.cc grep: /usr/kde/3.4/lib/libkdeprint.la: No such file or directory /bin/sed: can't read /usr/kde/3.4/lib/libkdeprint.la: No such file or directory libtool: link: `/usr/kde/3.4/lib/libkdeprint.la' is not a valid libtool archive make[3]: *** [libkdeinit_kword.la] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/kword-1.4.2-r4/work/kword-1.4.2/kword' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kword-1.4.2-r4/work/kword-1.4.2/kword' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kword-1.4.2-r4/work/kword-1.4.2' make: *** [all] Error 2 !!! ERROR: app-office/kword-1.4.2-r4 failed. !!! Function kde_src_compile, Line 173, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r4 i686) ================================================================= System uname: 2.6.14-gentoo-r4 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.mirror.sdv.fr http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.oregonstate.edu" LANG="en_GB" LC_ALL="en_GB.UTF-8" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X acpi alsa apache2 apm arts audiofile authdaemond avi berkdb bitmap-fonts browserplugin bzip2 cdr crypt cups curl divx4linux dvd dvdr dvdread eds emboss encode exif expat fam fbcon ffmpeg foomaticdb fortran gcj gd gdbm gif glut gmp gnutls gpm gstreamer gtk gtk2 idn imagemagick imap imlib innodb ipv6 java jpeg jpeg2k kde kdeenablefinal lcms libg++ libwww lzw-tiff mad mhash mikmod mmx mng motif mp3 mpeg mysql ncurses nls odbc ogg oggvorbis opengl oss pam pcre pdflib perl php png ppds python qt quicktime radeon readline real recode samba sasl sdl slp spell sse ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vhosts vorbis wifi win32codecs wmf xine xinerama xml xml2 xmms xv xvid zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
You need to do a fix_libtool_files.sh on your existing KDE installation files (is there still anything in /usr/kde/3.4 ?). Also, you should probably clean out the portage kword directory before attempting to recompile.
I've run fix_libtools_files.sh, nuked /var/tmp/kword-1.4.2-r4/*. There are quite a lot of dirs left under /usr/kde/3.4, but even having nuked them.. no go, same error.
What about other standard dirs like /usr/lib or /opt/lib or stuff like that? Any reference to /usr/kde/3.4? something like cd /usr/lib grep "kde" *.la -RI
Heaps.. styleclock rekall kword krita and I guess the rest of the koffice gang a sample is: libkarbonbase.la:dependency_libs=' -R/usr/lib -R/usr/kde/3.4/lib -R/usr/qt/3/lib /usr/lib/libkofficeui.la -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/mysql -L/usr/X11R6/lib /usr/lib/libkofficecore.la /usr/lib/libkstore.la /usr/lib/libkowmf.la /usr/kde/3.4/lib/libkdeprint.la /usr/kde/3.4/lib/libkparts.la /usr/kde/3.4/lib/libkabc.la /usr/kde/3.4/lib/libvcard.la /usr/kde/3.4/lib/libkresources.la /usr/kde/3.4/lib/libkio.la /usr/kde/3.4/lib/libkdeui.la /usr/kde/3.4/lib/libkdesu.la /usr/kde/3.4/lib/libkwalletclient.la /usr/lib/libfam.la -lrpcsvc /usr/lib/libkwmf.la /usr/kde/3.4/lib/libkdecore.la /usr/kde/3.4/lib/libDCOP.la -lresolv -lutil /usr/lib/libart_lgpl_2.la /usr/lib/libidn.la /usr/kde/3.4/lib/libkdefx.la /usr/qt/3/lib/libqt-mt.la -lmng -ljpeg -lfreetype -lfontconfig /usr/lib/libmng.la /usr/lib/liblcms.la /usr/lib/libjpeg.la -lXi -lXrandr -lXcursor -lXinerama -lXft /usr/lib/libfontconfig.la /usr/lib/libfreetype.la /usr/lib/libexpat.la -ldl -lpng -lz -lXext -lX11 -lSM -lICE -lpthread -lXrender /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.la'
One of those is the culprit then. Looks like fix_libtool_files didn't fix everything.
fix_libtool_files didnt report anything it fixed. I've unmerged koffice-meta and the apps and am redoing it now.
Well the remerge has made it past kword, so I guess its fixed and theres an issue with fib_libtools_files.sh? I'll leave it to you to close as you might wish to link to another bug or something.
All rebuilt ok here now.
I did a fix_libtool_files.sh 3.4.5 and emerge kword but got the same error. Can you explain what I am supposed to do to get around this problem?
fix_libtool_files fixes libtool files broken by GCC upgrade, not by KDE update. Right now the only valid solution is to rebuild the packages with the broken files. I don't have a script handy, but you can find them by using grep -lr --include '*.la' '/usr/kde/3.4/' /usr/lib* /usr/kde/3.5/lib* /usr/local/lib* then you can use qfile to check to which package they belong and finally you can re-emerge them.
Dang...I was hoping there was something I didn't know about fix_libtool_files! I guess the easy answer is just to rebuild the entire kde-meta line again!
Can you rebuild kde-meta and reopen with the results?