When trying to compile kdelibs-3.5.9-r4, it fails with the following error: if test "$ret" != 0; then rm -f settings.h ; exit $ret ; fi /var/tmp/portage/kde-base/kdelibs-3.5.9-r4/work/kdelibs-3.5.9/kdecore/kconfig_compiler/.libs/lt-kconfig_compiler: /usr/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/gcc/i586-pc-linux-gnu/4.3.1/libstdc++.so.6) make[2]: *** [settings.h] Error 1 make[2]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.9-r4/work/kdelibs-3.5.9/dnssd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.9-r4/work/kdelibs-3.5.9' make: *** [all] Error 2 emerge --info I have no other version of gcc installed: gcc-config -l [1] i586-pc-linux-gnu-4.3.1 * System uname: Linux-2.6.22-gentoo-r6-i686-Intel-R-_Pentium-R-_D_CPU_3.40GHz-with-glibc2.0 Timestamp of tree: Tue, 01 Jul 2008 01:45:01 +0000 distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r2 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/ /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="" LINGUAS="en" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage" USE="7zip X a52 aac acl acpi alsa aoss arj asf authdaemond authfile authlib avahi berkdb bzip2 cairo cdparanoia clamav cli cracklib crypt cups dbus divx dri dvd dvdread exif ffmpeg flac fortran gdbm gnome gpm gtk gtk+ iconv imagemagick isdnlog java jpeg jpeg2k mad matroska midi mono mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl php png pppd python readline reflection session slang spl ssl svg tcpd theora threads tiff tk truetype type1 unicode usb vorbis wmf wmp x86 xine xml xorg xpm xulrunner xvid zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Created attachment 159301 [details] build log
This is a transitory error which can be solved by recompilin all the dependencies of kdelibs or, ultimately if that does not work, doing an emerge -e world.
(In reply to comment #2) > This is a transitory error which can be solved by recompilin all the > dependencies of kdelibs or, ultimately if that does not work, doing an emerge > -e world. > I have tried to recompile all the dependecies of kdelibs with emerge -e kdelibs and the result was the same : kdelibs did not compile, because of the same error. Then I tried to recompile all the packages with emerge -e world, and the result was the same. This time, because kdelibs was not compiled, and QT was recompiled, more packages that have kdelibs as a dependency failed to compile because "the Qt version that is picked up by this configure is not the same version you used to compile kdelibs."
Sorry, I forgot to modify the status of this bug
Not know why, but event after rebuilding every package from world, with emerge -e world, the file /usr/lib/libgcc_s.so.1 was not replaced/deleted. With equery b libgcc_s.so.1, I figured out that there is no file belonging to a certain package, with that name in /usr/lib and I thought that it was some kind of leftover so I deleted it. After that kdelibs compiled with no problems.