Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323397 - dev-libs/libevent-1.4.14 downgraded SONAME from .so.2 to .so.1
Summary: dev-libs/libevent-1.4.14 downgraded SONAME from .so.2 to .so.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-10 07:54 UTC by Piotrek Juzwiak
Modified: 2010-06-20 17:33 UTC (History)
3 users (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 Piotrek Juzwiak 2010-06-10 07:54:21 UTC
I recently installed dev-libs/libevent-1.4.14 and was surprised that the library files changed. I spotted it after updating libevent to 1.4.14 since after that chromium started complaining about missing libevent-1.4.so.2 while after the update i had libevent-1.4.so.1 (and i guess it was *.so.2 earlier with the 1.4.13). I made a symlink with "ln -s libevent-1.4.so.1 libevent-1.4.so.2" and all is fine but it may create some more problems.

Reproducible: Always

Steps to Reproduce:
1.Update libevent to latest version (1.4.14)
2.Some applications that depend on libevent-1.4.so.2 will fail to start
3.

Actual Results:  
Chromium doesn't start complaining about missing libevent-1.4.so.2 

Expected Results:  
The last digit should not change at all.
Comment 1 Piotrek Juzwiak 2010-06-10 07:57:21 UTC
Snippet from /var/log/emerge.log

1276117299: Started emerge on: Jun 09, 2010 23:01:39
1276117299:  *** emerge --newuse --deep --update world
1276117410:  >>> emerge (1 of 26) sys-libs/glibc-2.11.2 to /
1276117419:  === (1 of 26) Cleaning (sys-libs/glibc-2.11.2::/usr/portage/sys-libs/glibc/glibc-2.11.2.ebuild)
1276117419:  === (1 of 26) Compiling/Merging (sys-libs/glibc-2.11.2::/usr/portage/sys-libs/glibc/glibc-2.11.2.ebuild)
1276121416:  === (1 of 26) Merging (sys-libs/glibc-2.11.2::/usr/portage/sys-libs/glibc/glibc-2.11.2.ebuild)
1276121459:  >>> AUTOCLEAN: sys-libs/glibc:2.2
1276121459:  === Unmerging... (sys-libs/glibc-2.11.1)
1276121478:  >>> unmerge success: sys-libs/glibc-2.11.1
1276121495:  === (1 of 26) Post-Build Cleaning (sys-libs/glibc-2.11.2::/usr/portage/sys-libs/glibc/glibc-2.11.2.ebuild)
1276121495:  ::: completed emerge (1 of 26) sys-libs/glibc-2.11.2 to /
1276121495:  >>> emerge (2 of 26) app-portage/portage-utils-0.4 to /
1276121498:  === (2 of 26) Cleaning (app-portage/portage-utils-0.4::/usr/portage/app-portage/portage-utils/portage-utils-0.4.ebuild)
1276121498:  === (2 of 26) Compiling/Merging (app-portage/portage-utils-0.4::/usr/portage/app-portage/portage-utils/portage-utils-0.4.ebuild)
1276121543:  === (2 of 26) Merging (app-portage/portage-utils-0.4::/usr/portage/app-portage/portage-utils/portage-utils-0.4.ebuild)
1276121549:  >>> AUTOCLEAN: app-portage/portage-utils:0
1276121549:  === Unmerging... (app-portage/portage-utils-0.3.1)
1276121552:  >>> unmerge success: app-portage/portage-utils-0.3.1
1276121557:  === (2 of 26) Post-Build Cleaning (app-portage/portage-utils-0.4::/usr/portage/app-portage/portage-utils/portage-utils-0.4.ebuild)
1276121557:  ::: completed emerge (2 of 26) app-portage/portage-utils-0.4 to /
1276121557:  >>> emerge (3 of 26) app-arch/p7zip-9.13 to /
1276121560:  === (3 of 26) Cleaning (app-arch/p7zip-9.13::/usr/portage/app-arch/p7zip/p7zip-9.13.ebuild)
1276121560:  === (3 of 26) Compiling/Merging (app-arch/p7zip-9.13::/usr/portage/app-arch/p7zip/p7zip-9.13.ebuild)
1276122839:  === (3 of 26) Merging (app-arch/p7zip-9.13::/usr/portage/app-arch/p7zip/p7zip-9.13.ebuild)
1276122845:  >>> AUTOCLEAN: app-arch/p7zip:0
1276122845:  === Unmerging... (app-arch/p7zip-9.04)
1276122847:  >>> unmerge success: app-arch/p7zip-9.04
1276122850:  === (3 of 26) Post-Build Cleaning (app-arch/p7zip-9.13::/usr/portage/app-arch/p7zip/p7zip-9.13.ebuild)
1276122850:  ::: completed emerge (3 of 26) app-arch/p7zip-9.13 to /
1276122850:  >>> emerge (4 of 26) sys-apps/module-init-tools-3.12 to /
1276122853:  === (4 of 26) Cleaning (sys-apps/module-init-tools-3.12::/usr/portage/sys-apps/module-init-tools/module-init-tools-3.12.ebuild)
1276122853:  === (4 of 26) Compiling/Merging (sys-apps/module-init-tools-3.12::/usr/portage/sys-apps/module-init-tools/module-init-tools-3.12.ebuild)
1276122885:  === (4 of 26) Merging (sys-apps/module-init-tools-3.12::/usr/portage/sys-apps/module-init-tools/module-init-tools-3.12.ebuild)
1276122890:  >>> AUTOCLEAN: sys-apps/module-init-tools:0
1276122890:  === Unmerging... (sys-apps/module-init-tools-3.11.1)
1276122892:  >>> unmerge success: sys-apps/module-init-tools-3.11.1
1276122895:  === (4 of 26) Post-Build Cleaning (sys-apps/module-init-tools-3.12::/usr/portage/sys-apps/module-init-tools/module-init-tools-3.12.ebuild)
1276122895:  ::: completed emerge (4 of 26) sys-apps/module-init-tools-3.12 to /
1276122895:  >>> emerge (5 of 26) dev-perl/Authen-SASL-2.15 to /
1276122898:  === (5 of 26) Cleaning (dev-perl/Authen-SASL-2.15::/usr/portage/dev-perl/Authen-SASL/Authen-SASL-2.15.ebuild)
1276122898:  === (5 of 26) Compiling/Merging (dev-perl/Authen-SASL-2.15::/usr/portage/dev-perl/Authen-SASL/Authen-SASL-2.15.ebuild)
1276122912:  === (5 of 26) Merging (dev-perl/Authen-SASL-2.15::/usr/portage/dev-perl/Authen-SASL/Authen-SASL-2.15.ebuild)
1276122919:  >>> AUTOCLEAN: dev-perl/Authen-SASL:0
1276122919:  === Unmerging... (dev-perl/Authen-SASL-2.14.01)
1276122921:  >>> unmerge success: dev-perl/Authen-SASL-2.14.01
1276122924:  === (5 of 26) Post-Build Cleaning (dev-perl/Authen-SASL-2.15::/usr/portage/dev-perl/Authen-SASL/Authen-SASL-2.15.ebuild)
1276122924:  ::: completed emerge (5 of 26) dev-perl/Authen-SASL-2.15 to /
1276122924:  >>> emerge (6 of 26) sys-devel/libtool-2.2.8-r1 to /
1276122927:  === (6 of 26) Cleaning (sys-devel/libtool-2.2.8-r1::/usr/portage/sys-devel/libtool/libtool-2.2.8-r1.ebuild)
1276122927:  === (6 of 26) Compiling/Merging (sys-devel/libtool-2.2.8-r1::/usr/portage/sys-devel/libtool/libtool-2.2.8-r1.ebuild)
1276123059:  === (6 of 26) Merging (sys-devel/libtool-2.2.8-r1::/usr/portage/sys-devel/libtool/libtool-2.2.8-r1.ebuild)
1276123064:  >>> AUTOCLEAN: sys-devel/libtool:2
1276123068:  === (6 of 26) Post-Build Cleaning (sys-devel/libtool-2.2.8-r1::/usr/portage/sys-devel/libtool/libtool-2.2.8-r1.ebuild)
1276123068:  ::: completed emerge (6 of 26) sys-devel/libtool-2.2.8-r1 to /
1276123068: === Unmerging... (sys-devel/libtool-2.2.8)
1276123071:  >>> unmerge success: sys-devel/libtool-2.2.8
1276123071:  >>> emerge (7 of 26) dev-libs/libevent-1.4.14 to /
1276123075:  === (7 of 26) Cleaning (dev-libs/libevent-1.4.14::/usr/portage/dev-libs/libevent/libevent-1.4.14.ebuild)
1276123075:  === (7 of 26) Compiling/Merging (dev-libs/libevent-1.4.14::/usr/portage/dev-libs/libevent/libevent-1.4.14.ebuild)
1276123175:  === (7 of 26) Merging (dev-libs/libevent-1.4.14::/usr/portage/dev-libs/libevent/libevent-1.4.14.ebuild)
1276123180:  >>> AUTOCLEAN: dev-libs/libevent:0
1276123180:  === Unmerging... (dev-libs/libevent-1.4.13)
1276123183:  >>> unmerge success: dev-libs/libevent-1.4.13
1276123186:  === (7 of 26) Post-Build Cleaning (dev-libs/libevent-1.4.14::/usr/portage/dev-libs/libevent/libevent-1.4.14.ebuild)
1276123186:  ::: completed emerge (7 of 26) dev-libs/libevent-1.4.14 to /
Comment 2 Piotrek Juzwiak 2010-06-10 08:01:17 UTC
emerge --info

Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.5.0, glibc-2.11.2-r0, 2.6.34-gentoo i686)
=================================================================
System uname: Linux-2.6.34-gentoo-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 09 Jun 2010 20:00:22 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.8-r1
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=atom -mtune=atom -mfpmath=sse -mmovbe -msahf -flto -fomit-frame-pointer -pipe -Wno-deprecated"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=atom -mtune=atom -mfpmath=sse -mmovbe -msahf -flto -fomit-frame-pointer -pipe -Wno-deprecated"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS=""
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="/dev/shm"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="32bit X a52 aac accessibility acl acpi akonadi alsa archive aspell bash-completion bindist branding bzip2 cairo cli consolekit cpudetection cracklib cups cxx dbus dhcpcd dri dts emboss encode exceptions exif fam ffmpeg firefox fortran gif glib gnutls graphite hyperestraier iconv inotify ipod jpeg kde kipi laptop lcms libnotify lzma lzo mad matroska metalink mikmod minimal mmap mmx mng modules mp3 mp4 mpeg mudflap mysql ncurses networkmanager nls nptl nptlonly nsplugin nss ogg opengl openmp optimized-qmake pam pango pcre pdf perl phonon plasma png policykit ppds python qt3support qt4 readline rss samba scanner sdl semantic-desktop session smp solid spell sse sse2 ssl ssse3 startup-notification svg svga symlink sysfs taglib tcpd theora threads tiff truetype udev unicode usb v4l2 virtuoso vorbis wifi wpd wv2 x264 x86 xattr xcb xcomposite xine xinerama xml xorg xulrunner xv xvid xvmc zeroconf zlib" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Comment 3 Piotrek Juzwiak 2010-06-10 08:06:13 UTC
Installing 1.4.13 (masked 1.4.14), snippet from the last part

strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/lib/libevent_extra-1.4.so.2.1.3
   usr/lib/libevent_core-1.4.so.2.1.3
   usr/lib/libevent-1.4.so.2.1.3
   usr/lib/libevent_extra.a
   usr/lib/libevent_core.a
   usr/lib/libevent.a
ecompressdir: xz  /usr/share/man

Installing 1.4.14, snippet from last part:

strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/lib/libevent_extra-1.4.so.1.2.3
   usr/lib/libevent_core-1.4.so.1.2.3
   usr/lib/libevent-1.4.so.1.2.3
   usr/lib/libevent_extra.a
   usr/lib/libevent_core.a
   usr/lib/libevent.a
ecompressdir: xz  /usr/share/man

Comment 4 Piotrek Juzwiak 2010-06-10 08:07:38 UTC
From what i see it should be 2.1.3 at the end instead of 1.2.3 :)?? It somehow got changed?
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-06-10 08:34:15 UTC
Well, it's perfectly legal to downgrade SONAME... revdep-rebuild or @preserved-rebuild with Portage 2.2 will fix those too. This might cause problems for binary-only applications, though. This is primarily the problem of chromium, upstream needs to rebuild their software and release new version, so assigning to chromium maintainers.
Comment 6 Piotrek Juzwiak 2010-06-10 08:38:01 UTC
I understand that SONAME change may be perfectly legal but don't you think rebuilding chromium just because of a simple SONAME change is a bit expensive (especially on my crappy Atom)
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-06-10 09:47:53 UTC
(In reply to comment #6)
> I understand that SONAME change may be perfectly legal but don't you think
> rebuilding chromium just because of a simple SONAME change is a bit expensive
> (especially on my crappy Atom)
> 

Oh, you are using source version of chromium? That would make this bug plain invalid.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2010-06-10 14:51:26 UTC
1.4.13 appends 2.1.3 to the .so filename.
1.4.14 appends 1.2.3 to the .so filename.

The 1.4.14 ChangeLog says: 
  o Correct all versions in 1.4 branch (ac0d213)

So I checked. All of the 1.4 releases have a 2.* soname apart from this one.
Comment 9 Piotrek Juzwiak 2010-06-10 15:48:58 UTC
So do you propose to close it as invalid?
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2010-06-10 16:15:00 UTC
It's not invalid. But there's something weird happening here and we might want to track it so let's leave it open for now. :)

PS: chromium has nothing to do with it.
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2010-06-20 17:33:23 UTC
Fixed in =dev-libs/libevent-1.4.14b.