Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82939 - Kdevelop 3.1.2 fails to compile (link against wrong c++ std lib)
Summary: Kdevelop 3.1.2 fails to compile (link against wrong c++ std lib)
Status: RESOLVED DUPLICATE of bug 73435
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-22 04:14 UTC by Jorfen
Modified: 2005-07-17 13:06 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 Jorfen 2005-02-22 04:14:48 UTC
When trying to emerge kdevelop 3.1.2 i get the following error :

/bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-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 -g1 -O2 -march=athlon -mcpu=athlon -pipe -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    -o libkdevelop.la -rpath /usr/lib -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib  -version-info 1:0 dummy.lo ../lib/interfaces/libkdevinterfaces.la ../lib/util/libkdevutil.la ../lib/project/libkdevproject.la ../lib/widgets/propeditor/libkdevpropertyeditor.la ../lib/external_interfaces/libkinterfacedesigner.la  -lktexteditor -lkparts -lkio
/bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-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 -g1 -O2 -march=athlon -mcpu=athlon -pipe -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    -o libkdeveloplgpl.la -rpath /usr/lib -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib  -version-info 1:0 dummy.lo ../lib/interfaces/libkdevinterfaces.la ../lib/util/libkdevutillgpl.la ../lib/widgets/propeditor/libkdevpropertyeditor.la ../lib/external_interfaces/libkinterfacedesigner.la  -lktexteditor -lkparts -lkio
grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive
make[3]: *** [libkdeveloplgpl.la] Error 1
make[3]: *** Waiting for unfinished jobs....
grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive
make[3]: *** [libkdevelop.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.1.2/work/kdevelop-3.1.2/lib'
make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.1.2/work/kdevelop-3.1.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.1.2/work/kdevelop-3.1.2'
make: *** [all] Error 2

!!! ERROR: dev-util/kdevelop-3.1.2 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make


The strange thing is : i only have gcc-3.3.5 installed, so why does it try to use the stdc++-lib from 3.3.4?

Reproducible: Always
Steps to Reproduce:
1. emerge kdevelop


Actual Results:  
see [details]

Expected Results:  
installed kdevelop.

emerge info :

Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r1,dev-lang/python-2.3.4-r1 [2.3.4
(#2, Feb 15 2005, 17:24:13)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r1, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-g1 -O2 -march=athlon -mcpu=athlon -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-g1 -O2 -march=athlon -mcpu=athlon -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks nostrip sandbox sfperms"
GENTOO_MIRRORS="rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acpi apache2 apm berkdb bitmap-fonts crypt curl emboss f77 fam
flash font-server foomaticdb gd gdbm gif glut gtk gtk2 gtkhtml imagemagick imlib
java jikes jpeg kde lesstif libg++ libwww mmx motif mpeg mysql ncurses nptl
opengl pam pcre pdflib perl pic png python qt readline samba sdl slang snmp ssl
tcpd threads tiff truetype truetype-fonts type1-fonts xml xml2 xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-22 04:37:50 UTC

*** This bug has been marked as a duplicate of 73435 ***