Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245963 - sys-fs/e2fsprogs-1.41.2 - e2fsck: symbol lookup error: /lib/libext2fs.so.2: undefined symbol: ext2fs_process_dir_block
Summary: sys-fs/e2fsprogs-1.41.2 - e2fsck: symbol lookup error: /lib/libext2fs.so.2: u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 13:43 UTC by Laszlo Papp
Modified: 2008-12-12 08:44 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 Laszlo Papp 2008-11-07 13:43:02 UTC
Hello!

I've updated yesterday my e2fsprogs from the portage 2.2.rc13, like so:

 # emerge -s e2fsprogs
Searching...
[ Results for search key : e2fsprogs ]
[ Applications found : 2 ]

*  sys-fs/e2fsprogs
      Latest version available: 1.41.2
      Latest version installed: 1.41.2
      Size of files: 4,262 kB
      Homepage:      http://e2fsprogs.sourceforge.net/
      Description:   Standard EXT2 and EXT3 filesystem utilities
      License:       GPL-2 BSD

*  sys-libs/e2fsprogs-libs
      Latest version available: 1.41.2
      Latest version installed: 1.41.2
      Size of files: 478 kB
      Homepage:      http://e2fsprogs.sourceforge.net/
      Description:   e2fsprogs libraries (common error, subsystem, uuid, block id)
      License:       GPL-2


djszapi linux-2.6.25-gentoo-r7 #

This emerging asked me to unmerge the sys-libs/com_err and sys-libs/ss because this version only need the e2fsprogs dependency:

You can see this so:

 # grep -i depend /usr/portage/sys-fs/e2fsprogs/e2fsprogs-1.41.2.ebuild
RDEPEND="~sys-libs/${PN}-libs-${PV}
DEPEND="${RDEPEND}
djszapi linux-2.6.25-gentoo-r7 #

Here is an output that maybe help us:

# nm -D /lib/libext2fs.so.2 | grep -i ext2fs_process_dir_block
00011233 T ext2fs_process_dir_block
djszapi linux-2.6.25-gentoo-r7 #

Of course I did such a thing too:

djszapi / # ls -li /sbin/e2fsck /sbin/fsck.ext*
3065007 -rwxr-xr-x 1 root root 168276 nov  6 18.38 /sbin/e2fsck
1677681 lrwxrwxrwx 1 root root      6 nov  6 18.39 /sbin/fsck.ext2 -> e2fsck
1681326 lrwxrwxrwx 1 root root      6 nov  6 18.39 /sbin/fsck.ext3 -> e2fsck
1681396 lrwxrwxrwx 1 root root      6 nov  6 18.39 /sbin/fsck.ext4 -> e2fsck
1682847 lrwxrwxrwx 1 root root      6 nov  6 18.39 /sbin/fsck.ext4dev -> e2fsck
djszapi / #

Here is the emerge --info:

 # emerge --info e2fsprogs
Portage 2.2_rc13 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-2-686-bigmem i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.25-2-686-bigmem-i686-Intel-R-_Pentium-R-_Dual_CPU_E2180_@_2.00GHz-with-glibc2.0
Timestamp of tree: Wed, 05 Nov 2008 01:45:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
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/ccache:     2.4-r7
dev-util/cmake:      2.6.2
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.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
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="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccahe collision-protect distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="hu_HU.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="hu en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180"
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.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acl acpi additions aiglx alsa amr amrnb amrwb apm arts asf audiofile avi avifile bash bash-completion berkdb bidi bindist binfilter bitmap bitmap-fonts bl bluetooth branding browserplugin bzip2 cairo ccessibility cdob cdparanoia cdr chardet cli completion contrib cpudetection cracklib crypt cscope ctype cups cvs cxx d dbus dga dio directfb divx djvu doc dri dts dv dvb dvd dvdr dvdread dvdrw eap eds emboss emul enca encode erberos esd ethereal evo examples extrafilters f77 fam fame fat fbcon ffmpeg fgtk filepicker firefox flac flash fontconfig fonts foomaticdb fortran fping ftp fuses gci gcj gd gdbm ggi gif glibc glitz glut glx gmedia gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gvim hal hardened havekernel hfs history iceweasel iconv icq ieee1394 imlib ipod ipv6 irc isdnlog jack jadetex java javascript jfs jikes joystick jpeg jpeg2k jpg junit k3b kddtions kde kdeenablefinal kdehiddenvisibility kdeprefix kqemu ladspa lcms ldap libcaca libffi libg++ libnotify libsamplerate libwww linux lirc live lm_sensors lzo mad matroska md5sum midi mikmod mjpeg mmx mmxext mod modplug modules mono motif mozdevelop moznopango mp2 mp3 mp4 mpeg mplayer mppc mppe mtp musepack music musicbrainz mysql mysqli nagios nas ncurses nemesi netmeeting network nfs nls nocd nptl nptlonly nsplugin ntfs ntpl ntplonly nvidia objc objc++ objc-gc odk ogg oggvorbis omitfp openal openexr opengl openmp oss pam pch pcre pdf pdflib perl php pic png pnm ppds pppd pulseaudio python qt qt3 qt3support qt4 quicktime radio rar rdesktop readline real realmedia reflection reiser4 reiserfs restrict-javascript rtc ruby samba sasl sdk sdl seamonkey session shout sid slang slp smp sndfile source sox speex spell spl sql sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification static stream subtitles svg svga swat sysfs tcpd teletext templates tga theora threads tidy tiff timidity tls tpcd truetype type1 udev unicode upnp usb uuid v41 v412 v4l2 vboxwebsrv vcd vde videos vidix vim-pager vim-syntax vim-withx visualization vlm vorbis wavpack widescreen wifi win32codecs winbind wma wmf wmp wxwindows x264 x86 xanim xcomposite xforms xine xinerama xinetd xml xml2 xorg xosd xpm xprint xscreensaver xulrunner xv xvid xvmc yahoo yscreensaver zeroconf zlib zoran zvbi" ALSA_CARDS="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 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu en" USERLAND="GNU" VIDEO_CARDS="vesa vga i810 nv fbdev glint v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================
>>> Attempting to run pkg_info() for 'sys-fs/e2fsprogs-1.41.2'
openpty failed: 'out of pty devices'
 * pkg_info() is not defined: 'e2fsprogs-1.41.2.ebuild'
djszapi linux-2.6.25-gentoo-r7 #

So the failure is just that my gentoo system can't be booted, because after the userspace starting it fails while fsck operation!

If I copy an older libext2fs.so.2.4 to the /lib folder, then it reads out that it's a deprecated file to the fsck, so it isn't a solution!

Of course I used in this case the emerge @preserve(d)-rebuild and revdep-rebuild with success! 

I wouldn't reinstall my whole gentoo system, if it needn't! :(

If anyone could help me, i will thank very-very much :)

Please Help!


Reproducible: Always
Comment 1 SpanKY gentoo-dev 2008-11-08 14:22:00 UTC
run this command and post the output:
readelf -s /lib/libext2fs.so.2 | grep ext2fs_proc
Comment 2 Laszlo Papp 2008-11-10 18:38:45 UTC
(In reply to comment #1)
> run this command and post the output:
> readelf -s /lib/libext2fs.so.2 | grep ext2fs_proc
> 

pappl / # readelf -s /lib/libext2fs.so.2 | grep ext2fs_proc
   357: 00011233   777 FUNC    GLOBAL DEFAULT   11 ext2fs_process_dir_block
pappl / #
Comment 3 Laszlo Papp 2008-11-10 18:39:36 UTC
(In reply to comment #1)
> run this command and post the output:
> readelf -s /lib/libext2fs.so.2 | grep ext2fs_proc
> 

pappl / # readelf -s /lib/libext2fs.so.2 | grep ext2fs_proc
   357: 00011233   777 FUNC    GLOBAL DEFAULT   11 ext2fs_process_dir_block
pappl / #
Comment 4 Laszlo Papp 2008-12-12 08:44:02 UTC
emerge -e system was the best solution