Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144030 - kdebase build fails - switched gcc-version between kdelibs and kdebase?
Summary: kdebase build fails - switched gcc-version between kdelibs and kdebase?
Status: RESOLVED DUPLICATE of bug 64615
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Lowest minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-15 11:57 UTC by Mark Dominik Bürkle
Modified: 2006-08-15 12:19 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 Mark Dominik Bürkle 2006-08-15 11:57:44 UTC
Hi,

I recently switched the gcc version from 3.x-vanilla to 4.1-vanilla.
"emerge -avuND world" made some breaks (most notably at ffmpeg-lib for a while:-) and so it's well possibly that I changed compiler after emerge rebuilt kdelibs and before kdebase.
 [I can have a look into emerge.log and compare to the timestamp of eselect-compiler's configfile(?), if anyone is interested in the details.]

The error message is repeatedly (eix-sync/emerge about three times before I started reading the error message;-):

collect2: ld returned 1 exit status
make[3]: *** [khelpcenter] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.5.4/work/kdebase-3.5.4/khelpcenter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.5.4/work/kdebase-3.5.4/khelpcenter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.5.4/work/kdebase-3.5.4'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-3.5.4 failed.

So I started reading the error message and looking at and into khtml.so showed up with symbols like:
...
  2540: 00000000    44 OBJECT  GLOBAL DEFAULT  UND _ZTVN10__cxxabiv121__vmi_@CXXABI_1.3 (2)
  3517: 00000000    44 OBJECT  GLOBAL DEFAULT  UND _ZTVN10__cxxabiv117__clas@CXXABI_1.3 (2)
  2540: 00000000    44 OBJECT  GLOBAL DEFAULT  UND _ZTVN10__cxxabiv121__vmi_@CXXABI_1.3 (2)
  3517: 00000000    44 OBJECT  GLOBAL DEFAULT  UND _ZTVN10__cxxabiv117__clas@CXXABI_1.3 (2)
  5402: 00000000    44 OBJECT  GLOBAL DEFAULT  UND _ZTVN10__cxxabiv120__si_c@CXXABI_1.3 (2)
...
# epm -qif /usr/kde/3.5/lib/libkhtml.so
Name        : kdelibs
Version     : 3.5.4
Release     :                                     Slot: 3.5
...
# emerge -av1 kdelibs

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] kde-base/kdelibs-3.5.4  USE="alsa arts cups ssl xinerama -acl -debug -doc -fam -jpeg2k -kdeenablefinal -kdehiddenvisibility -kerberos -legacyssl -openexr -spell -tiff -zeroconf" 0 kB

Total size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

>>> Emerging (1 of 1) kde-base/kdelibs-3.5.4 to /
...

so I'm actually trying to rebuild kdelibs, but that takes some time...

Of course, I will run revdep-reuild after emerging world.

Prio P5/minor - expected to be some kind of "user error". ;-)
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-15 12:19:27 UTC
You simply cannot build your system with mixed compiler versions as you like. See http://www.gentoo.org/doc/en/gcc-upgrading.xml

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