After updating wireshark from 1.8.8 to 1.10.1 I got this in emerge output: !!! existing preserved libs: >>> package: net-analyzer/wireshark-1.10.1 * - /usr/lib64/libwsutil.so.2 * - /usr/lib64/libwsutil.so.2.0.0 * - /usr/lib64/libwiretap.so.2 * - /usr/lib64/libwiretap.so.2.1.8 * used by /usr/lib64/libwireshark.so.2.1.1 (net-analyzer/wireshark-1.10.1) It looks like wireshark-1.10.1 has linked to libwsutil.so.2 from wireshark-1.8.8 instead of it's own libwsutil.so.3: home ~ # ls -la /usr/lib64/libwsutil* -rw-r--r-- 1 root root 1003 Aug. 3 05:31 /usr/lib64/libwsutil.la lrwxrwxrwx 1 root root 18 Aug. 3 05:31 /usr/lib64/libwsutil.so -> libwsutil.so.3.0.0 lrwxrwxrwx 1 root root 18 Jun. 30 02:37 /usr/lib64/libwsutil.so.2 -> libwsutil.so.2.0.0 -rwxr-xr-x 1 root root 26304 Jun. 30 02:37 /usr/lib64/libwsutil.so.2.0.0 lrwxrwxrwx 1 root root 18 Aug. 3 05:31 /usr/lib64/libwsutil.so.3 -> libwsutil.so.3.0.0 -rwxr-xr-x 1 root root 30400 Aug. 3 05:31 /usr/lib64/libwsutil.so.3.0.0 home ~ # qfile /usr/lib64/libwsutil.so.2.0.0 /usr/lib64/libwsutil.so.3.0.0 net-analyzer/wireshark (/usr/lib64/libwsutil.so.2.0.0) net-analyzer/wireshark (/usr/lib64/libwsutil.so.3.0.0) home ~ # qlist wireshark | grep libwsutil.so /usr/lib64/libwsutil.so /usr/lib64/libwsutil.so.2 /usr/lib64/libwsutil.so.2.0.0 /usr/lib64/libwsutil.so.3 /usr/lib64/libwsutil.so.3.0.0 home ~ # qlist -I -v wireshark net-analyzer/wireshark-1.10.1 Re-emerging wireshark fixed this issue.
BTW, second issue here is what in emerge (and qlist) output libwsutil.so.2 looks like it belongs to wireshark-1.10.1, which is wrong and confusing.
Aw, not again. :)
(In reply to Alex Efros from comment #1) > BTW, second issue here is what in emerge (and qlist) output libwsutil.so.2 > looks like it belongs to wireshark-1.10.1, which is wrong and confusing. That's the very same issue, since FEATURES=preserve-libs has to make sure that some package owns the old libraries.
I can't reproduce the issue here. Post your `emerge --info' output in a comment, please.
And post your `emerge -vpq net-analyzer/wireshark', too.
# emerge -vpq net-analyzer/wireshark [ebuild R ] net-analyzer/wireshark-1.10.1 USE="caps crypt filecaps gtk ipv6 netlink pcap ssl zlib -adns -doc -doc-pdf -geoip -kerberos -libadns -lua -portaudio (-profile) -qt4 (-selinux) -smi" Portage 2.1.12.2 (hardened/linux/amd64, gcc-4.6.3, glibc-2.15-r3, 3.9.9-hardened x86_64) ================================================================= System uname: Linux-3.9.9-hardened-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.2 KiB Mem: 8160176 total, 178500 free KiB Swap: 4200960 total, 4091916 free Timestamp of tree: Fri, 02 Aug 2013 20:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.5, 3.2.5-r1 dev-util/cmake: 2.8.10.2-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.7 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo perl-experimental-snapshots gamerlay powerman local Installed sets: @steam ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/upsmon-usb/EXT/DownOS /opt/upsmon-usb/EXT/JSystem /service /usr/inferno/keydb /usr/inferno/lib /usr/inferno/services /usr/share/config /usr/share/gnupg/qualified.txt /var/log /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage-distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask-write" FCFLAGS="-march=native -O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr" FFLAGS="-march=native -O2 -pipe" GENTOO_MIRRORS="http://gentoo.kiev.ua/ftp/ http://mirror.yandex.ru/gentoo-distfiles/ http://gentoo.iteam.net.ua/" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" PKGDIR="/usr/portage-packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog --delete-excluded" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/perl-experimental-snapshots /var/lib/layman/gamerlay /var/lib/layman/powerman /usr/local/portage" SYNC="rsync://rsync3.ua.gentoo.org/gentoo-portage" USE="X a52 aac acl alac alsa amd64 avx bash-completion berkdb bzip2 caps cdda cddb cli cracklib crypt cxx dbus dri dts dvb dvd flac fontconfig gdbm gif gnutls gpg hardened iconv icu id3tag idn ipv6 jpeg jpeg2k justify libnotify mac mad matroska mbox mmx mng modules mp3 mpeg mudflap multilib musepack mysql ncurses network-cron nls nptl nsplugin ogg opengl openmp pam pax_kernel pcre perl png qt3support readline session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 svg tcpd theora tiff truetype unicode urandom vdpau vim-syntax vorbis wavpack x264 xattr xosd xv xvid xvmc zlib" ABI_X86="64" 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" APACHE2_MODULES="log_config vhost_alias autoindex alias rewrite dir deflate filter mime negotiation auth_basic authn_file authz_host authz_user authz_groupfile cgi actions headers env setenvif" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi fancyindex" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv nouveau" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
ltmain.sh: VERSION="2.4.2 Debian-2.4.2-1ubuntu1" See bug 473354 and bug 367975 for a likely duplicates.
(In reply to Rafał Mużyło from comment #7) > ltmain.sh: > VERSION="2.4.2 Debian-2.4.2-1ubuntu1" > > See bug 473354 and bug 367975 for a likely duplicates. Where did that come from?
(In reply to Jeroen Roovers from comment #8) > (In reply to Rafał Mużyło from comment #7) > > ltmain.sh: > > VERSION="2.4.2 Debian-2.4.2-1ubuntu1" > > > > See bug 473354 and bug 367975 for a likely duplicates. > > Where did that come from? Straight from wireshark-1.10.1 tarball.
(In reply to Rafał Mużyło from comment #9) > (In reply to Jeroen Roovers from comment #8) > > (In reply to Rafał Mużyło from comment #7) > > > ltmain.sh: > > > VERSION="2.4.2 Debian-2.4.2-1ubuntu1" > > > > > > See bug 473354 and bug 367975 for a likely duplicates. > > > > Where did that come from? > > Straight from wireshark-1.10.1 tarball. eautoreconf always runs elibtoolize so you need to look at it after src_prepare()
(In reply to Jeroen Roovers from comment #10) > (In reply to Rafał Mużyło from comment #9) > > (In reply to Jeroen Roovers from comment #8) > > > Where did that come from? > > > > Straight from wireshark-1.10.1 tarball. > > eautoreconf always runs elibtoolize so you need to look at it after > src_prepare() elibtoolize adds a couple of patches, but only full eautoreconf overwrites ltmain.sh. Or did you mean _elibtolize ? ... Anyway, OK, I didn't look at the ebuild. It's already been running eautoreconf, so it's a different problem. Lack of a build log of the broken build shows.
Created attachment 355112 [details] log of broken build (first one)
Created attachment 355114 [details] log of successful build (second one)
(In reply to Alex Efros from comment #12) > Created attachment 355112 [details] > log of broken build (first one) Lets try the other standard case then. In epan/Makefile.am in libwireshark_la_LIBADD try shuffling system libs (all @foo@ vars, it seems) past la file references (it seems just putting ${top_builddir}/wiretap/libwiretap.la and ${top_builddir}/wsutil/libwsutil.la before @SOCKET_LIBS@ should suffice). The theory is that it's '-L/usr/lib64' between -lgcrypt and -lgpg-error that causes the problem.
(In reply to Rafał Mużyło from comment #14) > The theory is that it's '-L/usr/lib64' between -lgcrypt and -lgpg-error that > causes the problem. Exactly. In practice, however, I can't seem to reproduce the issue so far, so it's hard to debug.
Created attachment 355336 [details, diff] wireshark-1.10.1-oldlibs.patch Does this help?
(In reply to Jeroen Roovers from comment #16) > Created attachment 355336 [details, diff] [details, diff] > wireshark-1.10.1-oldlibs.patch > > Does this help? I have committed this. Please reopen this bug report if you still hit the problem.