Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211607 - sys-apps/acl-2.2.47 update breaks coreutils
Summary: sys-apps/acl-2.2.47 update breaks coreutils
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-27 10:21 UTC by Martin Capitanio
Modified: 2008-08-18 19:48 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 Martin Capitanio 2008-02-27 10:21:27 UTC
uname -rv
2.6.24-gentoo-r2 #1 SMP PREEMPT Wed Feb 27 01:31:47 CET 2008

...
 sys-apps/acl
    selected: 2.2.45
   protected: 2.2.47
     omitted: none
...
--- replaced dir /usr/share/doc
--- replaced dir /usr/share
--- replaced obj /usr/lib/libacl.so
--- replaced obj /usr/lib/libacl.la
--- replaced obj /usr/lib/libacl.a
<<<          obj /usr/lib/debug/lib/libacl.so.1.2.0.debug
--- replaced dir /usr/lib/debug/lib
--- replaced obj /usr/lib/debug/bin/setfacl.debug
--- replaced obj /usr/lib/debug/bin/getfacl.debug
--- replaced obj /usr/lib/debug/bin/chacl.debug
--- replaced dir /usr/lib/debug/bin
--- replaced dir /usr/lib/debug
--- replaced dir /usr/lib
--- replaced obj /usr/include/sys/acl.h
--- replaced dir /usr/include/sys
--- replaced obj /usr/include/acl/libacl.h
--- replaced dir /usr/include/acl
--- replaced dir /usr/include
--- replaced dir /usr
<<<          obj /lib/libacl.so.1.2.0
--- replaced sym /lib/libacl.so.1
--- replaced sym /lib/libacl.so
--- replaced dir /lib
--- replaced obj /bin/setfacl
--- replaced obj /bin/getfacl
--- replaced obj /bin/chacl
--- replaced dir /bin
--- !empty   dir /usr/share/locale/sv/LC_MESSAGES
--- !empty   dir /usr/share/locale/sv
--- !empty   dir /usr/share/locale/pl/LC_MESSAGES
--- !empty   dir /usr/share/locale/pl
--- !empty   dir /usr/share/locale/gl/LC_MESSAGES
--- !empty   dir /usr/share/locale/gl
--- !empty   dir /usr/share/locale/fr/LC_MESSAGES
--- !empty   dir /usr/share/locale/fr
--- !empty   dir /usr/share/locale/es/LC_MESSAGES
--- !empty   dir /usr/share/locale/es
--- !empty   dir /usr/share/locale/de/LC_MESSAGES
--- !empty   dir /usr/share/locale/de
--- !empty   dir /usr/share/locale
<<<          dir /usr/share/doc/acl-2.2.45
mv: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
 *
 * ERROR: sys-apps/acl-2.2.45 failed.


ls /lib/libacl*
ls: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory

I would call this a portage suicide :-(
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-27 10:28:54 UTC
Post emerge --info and attach full emerge log here.
Comment 2 SpanKY gentoo-dev 2008-02-27 10:46:19 UTC
if this were a real issue, a lot more people would be complaining about it ... something else is going on in your system

but i need more information like Jakub requested
Comment 3 Martin Capitanio 2008-02-27 12:10:49 UTC
(In reply to comment #2)
> if this were a real issue, a lot more people would be complaining about it ...
> something else is going on in your system

That's true, sorry for the false alarm. Btw. it was very hard to resurrect
the system. If coreutils are linked against libacl -- maybe it should be
additionally linked at least for something like ls_s and cp_s statically.
  
However, everything went well with upgrade attr to 2.4.41 
[ebuild     U ] sys-apps/attr-2.4.41 [2.4.39]

Comment 4 SpanKY gentoo-dev 2008-02-27 17:50:39 UTC
there is already a static rescue shell on all default Gentoo systems: bb

there is no need for static coreutils at all
Comment 5 Michael Mauch 2008-08-18 19:48:35 UTC
I had the same problem:

>>> /lib/libacl.so -> libacl.so.1
>>> /lib/libacl.so.1.1.0
>>> /lib/libacl.so.1 -> libacl.so.1.1.0
...
 sys-apps/acl
    selected: 2.2.45
   protected: 2.2.47
     omitted: none
...
<<<          obj /lib/libacl.so.1.2.0
--- replaced sym /lib/libacl.so.1
--- replaced sym /lib/libacl.so
...
<<<          dir /usr/share/doc/acl-2.2.45
mv: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory


A look at /lib/libacl* with busybox (bb):

%B%n%b# ls -l libacl*
lrwxrwxrwx    1 root     root           17 Mar 31  2006 libacl.a -> /usr/lib/libacl.a
lrwxrwxrwx    1 root     root           18 Mar 31  2006 libacl.la -> /usr/lib/libacl.la
lrwxrwxrwx    1 root     root           11 Aug 18 20:36 libacl.so -> libacl.so.1
lrwxrwxrwx    1 root     root           15 Aug 18 20:36 libacl.so.1 -> libacl.so.1.2.0
-rwxr-xr-x    1 root     root        26204 Aug 18 20:36 libacl.so.1.1.0

So I did

   ln -sf libacl.so.1.1.0 libacl.so.1

And everything was back to normal.


# emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Mon, 18 Aug 2008 16:46:03 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
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=athlon64 -msse3 -O2 -pipe -g"
CHOST="i686-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 /usr/share/hddtemp /usr/share/vdr/record /usr/share/vdr/sysinfo"
CONFIG_PROTECT_MASK="/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=athlon64 -msse3 -O2 -pipe -g"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
LINGUAS="en de en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="gzip"
PORTAGE_COMPRESS_FLAGS="-f -5"
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/overlays/g-cpan /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/sunrise /usr/local/overlays/kmediafactory/portage /usr/portage/local/layman/synce /usr/portage/local/layman/voyageur /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac ac3 accessibility acl acpi aiglx alsa ao apache2 arts asf audacious audiofile avahi avi berkdb bluetooth bzip2 cairo cdr cli cracklib crypt css cups curl dbus dga djvu dmi doc dri dts dvb dvd dvdr dvdread dvi edl emacs emboss encode esd evo exif exiscan-acl fam fame fbcon fbcondecor ffmpeg firefox foomaticdb fortran freetype gcj gd gdbm gif gimp gimpprint glitz gnokii gnome gnutls gphoto2 gstreamer gtk gtk2 hal icecast iconv idn ieee1394 imagemagick imap innodb ipv6 irmc isdnlog jack java joystick jpeg kde kdeenablefinal kdepim kdexdeltas kerberos kqemu ladspa ldap libgda libsamplerate lirc live lm_sensors logitech-mouse lzo mad matroska mbox mcal mdnsresponder-compat memlimit midi mikmod mjpeg mmx mng mono motif mozbranding mozcalendar mozdevelop mozsvg mp3 mpeg mplayer mpm-prefork mudflap musicbrainz mysql ncurses network nfs nls nntp nptl nptlonly nsplugin objc oci8 oci8-instant-client odbc ogg oggvorbis opengl openmp oracle oss pam pcre pda pdf perl php pic png postgres ppds pppd pulseaudio python qt3 qt3support qt4 quicktime rdesktop readline real reflection rtc rtsp samba scanner sdl session shout skins slp sndfile spl sqlite sse sse2 sse3 ssl subtitles svg sysfs t1lib tcpd theora tidy tiff truetype unicode usb utempter v4l v4l2 vcd vdr vdr-net vorbis wifi win32codecs wmf x86 xattr xemacs xext xine xinerama xinetd xiph xml xml2 xorg xosd xprint xscreensaver xv xvid zlib" ALSA_CARDS="cmipci via82xx" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="all" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de en_GB" LIRC_DEVICES="irdeo inputlirc" USERLAND="GNU" VIDEO_CARDS="ati vesa fbdev radeon v4l"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS