Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333223 - dev-util/cmake-2.6.4-r3 fails to emerge, possibly due to GCC 4.4.3 upgrade
Summary: dev-util/cmake-2.6.4-r3 fails to emerge, possibly due to GCC 4.4.3 upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-17 19:54 UTC by Jonathan Smith
Modified: 2010-08-17 20:25 UTC (History)
1 user (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 Jonathan Smith 2010-08-17 19:54:44 UTC
I recently used gcc-config to go from gcc 4.3 to 4.4 - I've now got x86_64-pc-linux-gnu-4.4.3 as my default (from the [ebuild   R   ] sys-devel/gcc-4.4.3-r2  USE="fortran gtk mudflap (multilib) multislot nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite (-hardened) (-libffi) (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla")

multislot was a recent debug attempt, the error is the same without.

As per http://www.gentoo.org/doc/en/gcc-upgrading.xml I resourced my profile, and env-update and set about running emerge -aevD system. Most things succeed until with less than ten of the ~300 items left cmake fails.


Reproducible: Always

Steps to Reproduce:
1. gcc-config 9
2. env-update && source /etc/profile
3. emerge -aevD system

Actual Results:  
...
[ 98%] Building CXX object Source/QtDialog/CMakeFiles/cmake-gui.dir/moc_QMacInstallDialog.o
[ 98%] Building CXX object Source/QtDialog/CMakeFiles/cmake-gui.dir/qrc_CMakeSetup.o
Linking CXX executable ../../bin/cmake-gui
[ 98%] Built target cmake-gui
Scanning dependencies of target documentation
[ 98%] Generating ../Docs/ctest.txt
../bin/ctest: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ../bin/ctest)
make[2]: *** [Docs/ctest.txt] Error 1
make[1]: *** [Utilities/CMakeFiles/documentation.dir/all] Error 2
make: *** [all] Error 2
 * ERROR: dev-util/cmake-2.6.4-r3 failed:
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3468:  Called cmake-utils_src_compile
 *   environment, line  941:  Called _execute_optionaly 'src_compile'
 *   environment, line  410:  Called enable_cmake-utils_src_compile
 *   environment, line 1454:  Called cmake-utils_src_make
 *   environment, line  960:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =dev-util/cmake-2.6.4-r3',
 * the complete build log and the output of 'emerge -pqv =dev-util/cmake-2.6.4-r3'.
 * The complete build log is located at '/var/tmp/portage/dev-util/cmake-2.6.4-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-2.6.4-r3/temp/environment'.
 * S: '/var/tmp/portage/dev-util/cmake-2.6.4-r3/work/cmake-2.6.4'



Expected Results:  
cmake builds to completion

# emerge --info 
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-gentoo-1.12.13
Timestamp of tree: Mon, 16 Aug 2010 16:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.3 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 1.3.7-r1, 2.1.11
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.1.2, 4.3.2-r3, 4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm skype-eula AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O -pipe"
DISTDIR="/home/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 arts bash-completion berkdb bluetooth bzip2 cli cracklib crypt cups cxx dbus dri dvd emacs fbcondecor fortran fuse gdbm gif gnome gpm gstreamer gtk hal iconv imagemagick ipv6 java java5 java6 jpeg kde kerberos ldap mmx modules mono mp3 mudflap multilib mysql ncurses nls nptl nptlonly odbc ogg opengl openmp pam pcre perl php png pppd python qt3support qt4 readline reflection ruby samba sdl session speex spell spl sse sse2 ssl sysfs tcpd threads tiff truetype unicode v4l vorbis xml xorg zlib" ALSA_CARDS="intel8x0 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" RUBY_TARGETS="ruby18" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="fbdev radeon vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-08-17 20:04:06 UTC
(In reply to comment #0)
> ../bin/ctest: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found

Why do you have libstdc++.so.6 in /lib64 ? What package owns it ? If none, backup and remove it ?

From my system:

$ ls -ld /lib64/libstdc*
ls: cannot access /lib64/libstdc*: No such file or directory
Comment 2 Jonathan Smith 2010-08-17 20:25:37 UTC
> (In reply to comment #0)
> > ../bin/ctest: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found
> 
> Why do you have libstdc++.so.6 in /lib64 ? What package owns it ? If none,
> backup and remove it ?
> 
> From my system:
> 
> $ ls -ld /lib64/libstdc*
> ls: cannot access /lib64/libstdc*: No such file or directory
> 
Curious...

 # ls -ld /lib64/libstdc*
lrwxrwxrwx 1 root root 55 Apr 15  2009 /lib64/libstdc++.so.6 -> /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.2/libstdc++.so.6
 # qfile -v /lib64/libstdc++.so.6
[ no output ]

So I'm at a loss as to how it got there. It seems to have gone unnoticed for a while! Anyway thanks for that, cmake built fine with that file out of the way.