Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74629 - kde-base/kdebase-3.3.1-r2 fails to compile with libtool link error
Summary: kde-base/kdebase-3.3.1-r2 fails to compile with libtool link error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-16 07:10 UTC by Carl Hudkins
Modified: 2004-12-17 01:32 UTC (History)
0 users

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 Carl Hudkins 2004-12-16 07:10:12 UTC
History: I'm doing "emerge -e world" as the final step of moving to PaX, and I was able to build 3.3.1-r1 successfully yesterday. However, I had to start over due to various things, and r1 is no longer in the tree.  I am using "emerge -bke", so I have a tbz2 of kdebase-3.3.1-r1 already.

Problem: kdebase build fails when libtool complains that sidebarextension.lo (in the kicker extensions phase) is not a valid libtool object.


Reproducible: Always
Steps to Reproduce:
1. emerge kde-base/kdebase
2.
3.

Actual Results:  
/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 -march=pentium3 -O3 
-pipe -fomit-frame-pointer -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 
-D_GNU_SOURCE    -o sidebar_panelextension.la -rpath /usr/kde/3.3/lib/kde3 
-module -avoid-version -module -no-undefined -Wl,--no-undefined 
-Wl,--allow-shlib-undefined -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  
sidebarextension.lo -lkdeui -lkparts ../../../libkonq/libkonq.la 
libtool: link: `sidebarextension.lo' is not a valid libtool object 
make[4]: *** [sidebar_panelextension.la] Error 1 
make[4]: Leaving directory 
`/var/tmp/portage/kdebase-3.3.1-r2/work/kdebase-3.3.1/kicker/extensions/sidebar' 
make[3]: *** [all-recursive] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/kdebase-3.3.1-r2/work/kdebase-3.3.1/kicker/extensions' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/kdebase-3.3.1-r2/work/kdebase-3.3.1/kicker' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/kdebase-3.3.1-r2/work/kdebase-3.3.1' 
make: *** [all] Error 2 
 
!!! ERROR: kde-base/kdebase-3.3.1-r2 failed. 
!!! Function kde_src_compile, Line 142, Exitcode 2 
!!! died running emake, kde_src_compile:make 
 

Expected Results:  
Successfully installed kdebase 

Portage 2.0.51-r3 (hardened/x86, gcc-3.3.4, glibc-2.3.4.20040808-r1, 
2.6.7-hardened-r16 i686) 
================================================================= 
System uname: 2.6.7-hardened-r16 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.4.16 
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[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.90.0.1.1-r3 
Headers:  sys-kernel/linux-headers-2.4.21-r1 
Libtools: sys-devel/libtool-1.5.2-r7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /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="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache digest distlocks sandbox strict userpriv 
usersandbox" 
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://ftp-mirror.internap.com/pub/gentoo/ http://gentoo.binarycompass.org 
http://gentoo.llarian.net/ http://ftp.easynet.nl/mirror/gentoo/" 
MAKEOPTS="-j3" 
PKGDIR="/mnt/storage/2/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage/" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" 
USE="X alsa arts berkdb bonobo cdr crypt cups dga dlloader dvd fam flac 
foomaticdb gb gd gdbm ggi gif gimp gphoto2 gpm gstreamer gtk gtk2gtkhtml guile 
hardened imagemagick imap imlib java joystick jpeg jpeg2k kde lcms ldap libgda 
libwww mad maildir matroska mbox mikmod mmx monkey motif moznocompose moznoirc 
moznomail mozp3p mozsvg ncurses nojoystick odbc ofx oggvorbis opengl pam perl 
pic pie plotutils png ppds python qt quotes readline scanner sdl slang speex 
sqlite sse ssl svga tcltk tcpd tetex tiff usb wmf x86 xml xml2 xmms zlib"
Comment 1 Simone Gotti (RETIRED) gentoo-dev 2004-12-16 10:28:35 UTC
> libtool: link: `sidebarextension.lo' is not a valid libtool object 

usually this means a file corruption caused by various problems.
Please try disabling ccache (add "-ccache" to FEATURES in make.conf), remove your /var/tmp/portage and try again.
Let us know if this works.
Comment 2 Carl Hudkins 2004-12-16 16:56:47 UTC
Ok, after another failed build (and before I got your comment) I tried re-merging ccache (since I noticed it would have been the very last package built), and started another build as I left for work.  I now see that the build has completed successfully.

Thank you for the tip; I will try that with the next package that fails!  (There was one before this, so I'm sure out of 560 there will be more...)
Comment 3 Simone Gotti (RETIRED) gentoo-dev 2004-12-17 01:32:57 UTC
Weel.
Closing as invalid because is well know that ccache can give problems and this bug is all related to it and not to the kde ebuilds.