Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 346359

Summary: Something removes the files of dev-libs/openssl-0.9.8p without unmerging it. Breaks many things.
Product: Gentoo Linux Reporter: Kevin O'Gorman <kogorman>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kevin O'Gorman 2010-11-21 18:45:18 UTC
I did a reboot, and many things broke because they could not find libcrypto.so.0.9.8 or libssl.so.0.9.8.

Running revdep-rebuild did a lot of searching but found no problem.

eix reported that I had both 2 slots of openssl, with 1.0.0 and 0.9.8p installed.  On investigation, the files of 0.9.8 were not actually there.  Attempts to do a normal emerge of anything failed because of these absenses.

Fortunately, I use buildpkg automatically, and had a binary package that emerged cleanly with -gK.  Thanks the powers for cheap 2 TB drives!

I do not know what did the removal, but of course 1.0.0 is the first suspect.

Reproducible: Always

Steps to Reproduce:
1. Reboot  (no longer fails, since the fix noted above)
2.
3.

Actual Results:  
failure to load shared libraries libcrypto.so.0.9.8 and libssl.so.0.9.8

Expected Results:  
duh

treat etc # emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.3.4, glibc-2.11.2-r3, 2.6.34-gentoo-r1-kosmanor i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-kosmanor-i686-Intel-R-_XEON-TM-_CPU_1.80GHz-with-gentoo-1.12.14
Timestamp of tree: Sat, 20 Nov 2010 08:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.1.2, 4.3.4, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA @EULA @BINARY-REDISTRIBUTABLE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CPPFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.llarian.net/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1"
LINGUAS="en en_US fr de es pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi aim alsa apache2 apm bash-completion bcmath berkdb branding bzip2 cairo calendar caps cdr cli consolekit cracklib crypt cscope ctype cups cxx dbm dbus dri dts dvd dvdr emboss encode exif fam fastcgi flac foomaticdb fortran gdbm gif git gphoto2 gpm gtk guile hal iconv icq imap imlib ipv6 java jbig joystick jpeg kde lcms ldap libnotify libwww mad mailwrapper mbox mcal mikmod mime mmap mmx mng modules motif mp3 mp4 mpeg mudflap mysql ncurses nis nls nptl nptlonly nsplugin odbc offensive ogg openal opengl openmp oscar pam pango pcre pdf perl pic plotutils png posix postgres ppds pppd python qt3support qt4 readline ruby samba sdl session snmp sockets spell sse ssl startup-notification subversion svg svga symlink sysfs sysvipc tcpd tetex tiff tk truetype unicode usb vorbis x264 x86 xcb xml xorg xpm xulrunner xv xvid yahoo 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 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US fr de es pl" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="mach64 vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

treat etc #
Comment 1 Rafał Mużyło 2010-11-21 19:27:01 UTC
If you're talking about 0.9.8p installing only shared libs,
that's a correct behavior.
If not, be more on topic, less bragging about your hardware.

It's revdep-rebuild -L libssl.0.9.8' anyway, as long as the lib is
present (and with preserve_old_lib it should be), revdep-rebuild won't
detect a thing.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-24 01:37:45 UTC
(In reply to comment #1)
> If you're talking about 0.9.8p installing only shared libs,
> that's a correct behavior.
> If not, be more on topic, less bragging about your hardware.
> 
> It's revdep-rebuild -L libssl.0.9.8' 

revdep-rebuild -L libssl.so.0.9.8

but you could better use

revdep-rebuild -L libcrypto.so.0.9.8

as the former uses the latter too. Then, when everything is rebuilt, you can remove /usr/lib/libcrypto.so.0.9.8 and /usr/lib/libssl.so.0.9.8.
Comment 3 Kevin O'Gorman 2010-11-24 16:13:40 UTC
(In reply to comment #2)
> (In reply to comment #1)
> 
> revdep-rebuild -L libssl.so.0.9.8
> 
> but you could better use
> 
> revdep-rebuild -L libcrypto.so.0.9.8
> 
> as the former uses the latter too. Then, when everything is rebuilt, you can
> remove /usr/lib/libcrypto.so.0.9.8 and /usr/lib/libssl.so.0.9.8.
> 

(In reply to comment #1)
> If you're talking about 0.9.8p installing only shared libs,
> that's a correct behavior.
> If not, be more on topic, less bragging about your hardware.
> 
> It's revdep-rebuild -L libssl.0.9.8' anyway, as long as the lib is
> present (and with preserve_old_lib it should be), revdep-rebuild won't
> detect a thing.
> 

1) The problem is that something -removed- the shared libraries while leaving the ebuild marked as present.

2) Half a line of thanks for advances in technology is bothering you as bragging?  Chill.

3) I just saw in a new thread on gentoo-users that someone else has what looks like the same problem.  My machine is working fine now, but I worry that there's a rogue ebuild out there that's gonna bit a bunch of other people.

4) Thanks for the line on -L with revdep-rebuild.  I don't know if it would have helped (I've got it fixed and don't want to break it again).  But I'll put it in my bag of tools.

++ kevin

Comment 4 Rafał Mużyło 2010-11-25 11:23:14 UTC
I'm on AthlonXP 2500, so I'm a bit touchy.

Anyway, could you check your emerge.log on the exact order
of emerging and reemerging openssl that you've been doing ?
Comment 5 SpanKY gentoo-dev 2010-11-30 19:05:00 UTC

*** This bug has been marked as a duplicate of bug 340033 ***