Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115382 - KWord fails to build, looking for kde 3.4 to link to
Summary: KWord fails to build, looking for kde 3.4 to link to
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 23:58 UTC by Craig Bradney
Modified: 2007-02-03 12:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Bradney 2005-12-12 23:58:08 UTC
/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
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2005-12-15 06:04:10 UTC
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. 
Comment 2 Craig Bradney 2005-12-15 08:29:34 UTC
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. 
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2005-12-15 09:23:46 UTC
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 
Comment 4 Craig Bradney 2005-12-15 11:09:24 UTC
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' 
 
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2005-12-15 11:18:16 UTC
One of those is the culprit then.  Looks like fix_libtool_files didn't fix 
everything. 
Comment 6 Craig Bradney 2005-12-15 11:42:51 UTC
fix_libtool_files didnt report anything it fixed. I've unmerged koffice-meta 
and the apps and am redoing it now. 
Comment 7 Craig Bradney 2005-12-15 13:00:10 UTC
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.  
Comment 8 Craig Bradney 2005-12-15 14:26:21 UTC
All rebuilt ok here now. 
Comment 9 Chuck Wegrzyn 2006-03-02 03:47:30 UTC
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?
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-02 04:06:18 UTC
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.
Comment 11 Chuck Wegrzyn 2006-03-02 04:39:43 UTC
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!
Comment 12 Charlie Shepherd (RETIRED) gentoo-dev 2007-02-03 12:09:19 UTC
Can you rebuild kde-meta and reopen with the results?