Following instructions found in bug #234907, I masked and unmerged sys-libs/com_err and sys-libs/ss in order to resolve the blockage and upgrade e2fsprogs-libs and e2fsprogs. It seemed to have worked, until I ran revdep-rebuild, and got this error when it tried to re-emerge e2fsprogs. Reproducible: Always Steps to Reproduce: 1. emerge e2fsprogs Actual Results: emerge failed. (see below for the error) Expected Results: e2fsprogs should have been reinstalled. The error message in context: LD e2fsck /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lblkid collect2: ld returned 1 exit status make[2]: *** [e2fsck] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-fs/e2fsprogs-1.41.2/work/e2fsprogs-1.41.2/e2fsck' make[1]: *** [all-progs-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-fs/e2fsprogs-1.41.2/work/e2fsprogs-1.41.2' make: *** [all] Error 2 emerge --info Portage 2.1.4.5 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64) ================================================================= System uname: 2.6.24-gentoo-r4 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz Timestamp of tree: Sun, 02 Nov 2008 00:20:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://prometheus.cs.wmich.edu/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ " LDFLAGS="-Wl,-O1" MAKEOPTS="-j5" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acl aim alsa amd64 apache2 berkdb bzip2 cdr cli cracklib crypt cscope ctype cups dga dri dvd dvdr encode fbcon fftw flac fortran gd gdbm gpm gtk iconv id3tag imagemagick imlib ipv6 isdnlog java joystick jpeg lcms libwww midi mikmod mmx mozilla mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pda pdf perl php png pppd python quicktime readline reflection ruby sdl session spell spl sse sse2 ssl svg sysfs tcl tcpd theora threads tiff tk truetype unicode usb v4l v4l2 wxwindows xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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 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 joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 170498 [details] The full build log.
OK, I fixed it on my system by re-emerging e2fsprogs-libs. I'm not sure why this didn't work when I did it before. Here's an annotated excerpt from my .bash_history: emerge --sync emerge -puD system |tee 20081101.pudsystem [this is where I found the blockage and looked up the solution on bugzilla] emerge --fetchonly sys-libs/ss sys-libs/com_err sys-fs/e2fsprogs sys-libs/e2fspr ogs-libs vim /etc/portage/package.mask [added sys-libs/ss and sys-libs/com_err] emerge -av --oneshot e2fsprogs [maybe I said "no" to this one, I don't remember] emerge -C sys-libs/ss emerge -C sys-libs/com_err emerge --oneshot --nodeps e2fsprogs-libs emerge --oneshot --nodeps e2fsprogs dispatch-conf emerge -puD system |tee 20081101-2.pudsystem emerge -uD system dispatch-conf emerge -puD world |tee 20081101.pudworld [upgrading the world went OK, until...] revdep-rebuild --ignore --pretend [e2fsprogs was among the packages to rebuild, but not e2fsprogs-libs] revdep-rebuild [this is when I first saw the error in this bug; later I used emerge directly with the same result]
what e2fsprogs do you have installed exactly ? also attach the file listings for each package.
Created attachment 170671 [details] file listing for e2fsprogs
Created attachment 170673 [details] file listing for e2fsprogs-libs
(In reply to comment #3) > what e2fsprogs do you have installed exactly ? also attach the file listings > for each package. > equery list e2fsprogs [ Searching for package 'e2fsprogs' in all categories among: ] * installed packages [I--] [ ] sys-fs/e2fsprogs-1.41.2 (0) [I--] [ ] sys-libs/e2fsprogs-libs-1.41.2 (0) File listings attached.