Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128426 - emerge kdelibs-3.4.3-r1 fails (looking for libstdc++.la in wrong place)
Summary: emerge kdelibs-3.4.3-r1 fails (looking for libstdc++.la in wrong place)
Status: RESOLVED DUPLICATE of bug 73435
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-01 12:33 UTC by Gil Shallom
Modified: 2006-04-01 14:23 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 Gil Shallom 2006-04-01 12:33:18 UTC
(Don't mind the mdk, I'm still in the process of migrating, bug is unrelated)

Portage 2.0.54 (default-linux/x86/no-nptl, gcc-3.4.5, glibc-2.3.5-r2, 2.6.12-18mdk-i586-up-1GB i686)
=================================================================
System uname: 2.6.12-18mdk-i586-up-1GB i686
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://mirror.hamakor.org.il/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib accessibility acpi adns aim alsa apache2 apic apm audiofile avi bash-completion bcmath berkdb bidi bindist bitmap-fonts bzip2 calendar cdb cdparanoia cdr clamav cli cmov crypt cscope ctype cups curl curlwrappers cx8 dba de dga dio directfb dri dvd dvdr dvdread eds emacs emboss encode esd ethereal examples expat fam fastbuild fbcon ffmpeg fftw flac flash foomaticdb force-cgi-redirect fortran fpu ftp fxsr gb gcj gd gdbm gif ginac glut gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn ieee1394 imagemagick imap imlib ipv6 jabber jack java javascript jpeg jpeg2k kde kdexdeltas lcms libedit libg++ libwww lm_sensors mad mbox mca mcal mce memlimit mhash mikmod mime ming mmap mmx mmxext mng motif mozilla mp3 mpeg msn msr mtrr mule ncurses netboot netcdf nls nsplugin odbc ofx ogg openal opengl osc oscar oss pae pam pat pcntl pcre pda pdf pdflib perl pfpro pge php plotutils png posix ppds pse pse36 python quicktime readline recode ruby samba sasl scanner sdl sep session sharedmem shorten simplexml slang slp sndfile snmp soap sockets sox speex spell spl sse ssl svg syscall tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts tsc type1-fonts udev unicode usb vcd verbose vme vorbis win32codecs wmf wxwindows xface xine xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Command Executed:
emerge kde-meta

Error Message:
/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 -O3 -pipe -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 libDCOP.la -rpath /usr/kde/3.4/lib -R /usr/kde/3.4/lib -R /usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/lib -version-info 6:0:2 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib    dcopstub.lo dcopref.lo dcopobject.lo dcopclient.lo KDE-ICE/libkICE.la -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread
grep: /usr/lib/gcc/i386-pc-linux-gnu/3.4.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/i386-pc-linux-gnu/3.4.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.4/libstdc++.la' is not a valid libtool archive
make[4]: *** [libDCOP.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3-r1/work/kdelibs-3.4.3/dcop'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3-r1/work/kdelibs-3.4.3/dcop'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3-r1/work/kdelibs-3.4.3/dcop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3-r1/work/kdelibs-3.4.3'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.4.3-r1 failed.
!!! Function kde_src_compile, Line 224, Exitcode 2
!!! died running emake, kde_src_compile:make

Problem:

Make/Compiler looks for:
/usr/lib/gcc/i386-pc-linux-gnu/3.4.4/libstdc++.la

instead of:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.la

Unfortunately, I'm very new to Gentoo and not familiar with ebuild system so I cannot fix the bug myself yet (and upload a correction through cvs?).

Thanks in advance for any help,

Gil.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-01 12:40:08 UTC
fix_libtool_files.sh 3.4.4; emerge -1 libtool

Please, search before reporting bugs...

*** This bug has been marked as a duplicate of 73435 ***
Comment 2 Gil Shallom 2006-04-01 14:23:09 UTC
The following worked:

fix_libtool_files.sh 3.3.5 --oldarch i386-pc-linux-gnu; emerge -1 libtool

Thanks! Will search better next time.