Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562344 - emerge lists a couple of preserved libs. Executed "emerge @preserved-rebuild" multiple time with no change.
Summary: emerge lists a couple of preserved libs. Executed "emerge @preserved-rebuild"...
Status: RESOLVED DUPLICATE of bug 230257
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-05 18:55 UTC by Mark Reiche
Modified: 2015-10-05 19:39 UTC (History)
0 users

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 Mark Reiche 2015-10-05 18:55:22 UTC
Every run of emerge lists the following preserved libs:

!!! existing preserved libs:
>>> package: net-libs/courier-authlib-0.66.3
 *  - /usr/lib/courier-authlib/libcourierauthcommon.so
 *      used by /usr/lib/courier-authlib/libauthcustom.so (net-libs/courier-authlib-0.66.3)
 *      used by /usr/lib/courier-authlib/libauthpam.so (net-libs/courier-authlib-0.66.3)
 *      used by /usr/lib/courier-authlib/libauthpipe.so (net-libs/courier-authlib-0.66.3)
 *      used by 3 other files
 *  - /usr/lib/courier-authlib/libcourierauthsaslclient.so
 *      used by /usr/lib/courier/courier/modules/esmtp/courieresmtp (mail-mta/courier-0.75.0)
 *  - /usr/lib/courier-authlib/libcourierauthsasl.so
 *      used by /usr/lib/courier/courier/courierpop3login (mail-mta/courier-0.75.0)
 *      used by /usr/lib/courier/courier/imaplogin (mail-mta/courier-0.75.0)
 *      used by /usr/lib/courier/courier/modules/esmtp/courieresmtpd (mail-mta/courier-0.75.0)
>>> package: x11-libs/libXaw-1.0.11-r1
 *  - /usr/lib/libXaw7.so.7.0.0
 *      used by /opt/Citrix/ICAClient/util/nslaunch (net-misc/icaclient-12.1.0)
 *      used by /opt/Citrix/ICAClient/util/pnabrowse (net-misc/icaclient-12.1.0)
 *      used by /opt/Citrix/ICAClient/util/xcapture (net-misc/icaclient-12.1.0)
 *      used by 6 other files
>>> package: dev-libs/iniparser-3.1
 *  - /usr/lib/libiniparser.so.0
 *  - /usr/lib/libiniparser.so.0.0.0
 *      used by /lib/security/pam_winbind.so (net-fs/samba-3.6.25)
 *      used by /usr/bin/ntlm_auth (net-fs/samba-3.6.25)
 *      used by /usr/bin/q (app-portage/portage-utils-0.56)
>>> package: media-libs/libid3tag-0.15.1b-r2
 *  - /usr/lib/libid3tag.so.0
 *  - /usr/lib/libid3tag.so.0.3.0
 *      used by /usr/bin/easytag (media-sound/easytag-2.1.8)
 *      used by /usr/lib/gtkpod/libfiletype_mp3.so (app-pda/gtkpod-2.1.4)
 *      used by /usr/lib/imlib2/loaders/id3.so (media-libs/imlib2-1.4.6-r2)
>>> package: dev-libs/oniguruma-5.9.2-r1
 *  - /usr/lib/libonig.so.2
 *  - /usr/lib/libonig.so.2.0.0
 *      used by /usr/lib/php5.5/bin/php (dev-lang/php-5.5.29)
 *      used by /usr/lib/php5.5/bin/php-cgi (dev-lang/php-5.5.29)
>>> package: dev-libs/lzo-2.06
 *  - /usr/lib/liblzo2.so.2
 *  - /usr/lib/liblzo2.so.2.0.0
 *      used by /usr/lib/libcairo-script-interpreter.so.2.11400.2 (x11-libs/cairo-1.14.2)
>>> package: app-arch/bzip2-1.0.6-r3
 *  - /lib/libbz2.so.1
 *  - /lib/libbz2.so.1.0.6
 *      used by /usr/bin/gpg2 (app-crypt/gnupg-2.0.28)
 *      used by /usr/bin/gpgv2 (app-crypt/gnupg-2.0.28)
 *      used by /usr/bin/lynx (www-client/lynx-2.8.8_p2)
 *      used by 21 other files

I ran "emerge @preserved-rebuild" multiple times, but it did not make those libs go away.

The last entry is especially confusing; the libs mentioned there belong to the package app-arch/bzip2-1.0.6-r6, so no files of -r3 should be present anymore on the system. Where does it get this information from?


Reproducible: Always

Steps to Reproduce:
emerge @preserved-rebuild

Actual Results:  
see above

Expected Results:  
preserved libs should go away

emerge --info says:
Portage 2.2.20 (python 2.7.10-final-0, !../data/nobackup/portage/profiles/default/linux/x86/13.0, gcc-4.8.4, glibc-2.20-r2, 3.17.8-gentoo-r1 i586)
=================================================================
System uname: Linux-3.17.8-gentoo-r1-i586-Geode-TM-_Integrated_Processor_by_AMD_PCS-with-gentoo-2.2
KiB Mem:      247004 total,     12844 free
KiB Swap:     995992 total,    226772 free
Timestamp of repository gentoo: Mon, 05 Oct 2015 00:45:01 +0000
sh bash 4.2_p53
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.1.9-r3::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6::gentoo, 1.13.4::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=geode -Os -pipe -fomit-frame-pointer -mmmx -m3dnow"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=geode -Os -pipe -fomit-frame-pointer -mmmx -m3dnow -g0"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs ccache collision-protect compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo "
LANG="de_DE.utf8"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow X aac acl acpi alsa berkdb branding bzip2 cddb cli crypt curl custom-optimization cxx dbus gdbm gif gimp gtk iconv jpeg mailwrapper mmx modules mp3 mpeg ncurses nls nptl pam pch pcre png readline rrdtool seccomp session ssl tcpd threads unicode x86 xv xvid zlib" ABI_X86="32" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" 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" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext" CURL_SSL="gnutls" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en_GB" LIRC_DEVICES="serial" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="geode" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Zac Medico gentoo-dev 2015-10-05 19:37:26 UTC

*** This bug has been marked as a duplicate of bug 230257 ***
Comment 2 Zac Medico gentoo-dev 2015-10-05 19:39:48 UTC
Generally, these are bugs in the ebuilds or in the build systems that the ebuilds use. For example, it looks like you have USE=bzip2 disabled for app-crypt/gnupg-2.0.28, yet it still links to /lib/libbz2.so.1 anyway. Please file a separate bug for each ebuild having a problem like this.