If i try to upgrade e2fsprogs, compiling fails. It seems to me like i have some of ther packages on the system too old. Probably the ebuild should contain some dependencies, which it currently doesn't. Reproducible: Always Steps to Reproduce: 1. emerge e2fsprogs 2. 3. Actual Results: emerge fails Expected Results: emerged new e2fsprogs make[3]: Leaving directory `/var/tmp/portage/sys-fs/e2fsprogs-1.40.9/work/e2fsprogs-1.40.9/lib/uuid' CC clear.c CC compare.c CC copy.c CC gen_uuid.c CC isnull.c CC pack.c CC parse.c CC unpack.c CC unparse.c CC uuid_time.c GEN_LIB libuuid.a GEN_ELF_SOLIB libuuid.so.1.2 CC tst_uuid.o LD tst_uuid LD uuid_time ../../lib/libuuid.so: undefined reference to `___tls_get_addr' collect2: ld returned 1 exit status make[2]: *** [uuid_time] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-fs/e2fsprogs-1.40.9/work/e2fsprogs-1.40.9/lib/uuid' make[1]: *** [all-libs-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-fs/e2fsprogs-1.40.9/work/e2fsprogs-1.40.9' make: *** [all] Error 2 hexa@cat ~ $ emerge --info cat /proc/cpuinfo Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.15-gentoo-r1ISG i586) ================================================================= System uname: 2.6.15-gentoo-r1ISG i586 Pentium MMX Timestamp of tree: Sun, 20 Jul 2008 01:00:02 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.11.13-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.11-r4 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" CBUILD="i386-pc-linux-gnu" CFLAGS="-Os -mcpu=pentium-mmx -pipe" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-Os -mcpu=pentium-mmx -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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.gentoo.org/gentoo-portage" USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl tcpd unicode urandom x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY hexa@cat ~ $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 5 model : 4 model name : Pentium MMX stepping : 3 cpu MHz : 233.300 fdiv_bug : no hlt_bug : no f00f_bug : yes coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 mmx bogomips : 467.15
What you probably should do is run: # emerge --sync # emerge app-portage/gentoolkit # emerge -vuaDN world # gcc-config (pick a newer gcc) # revdep-rebuild You will probably need a newer kernel as well.