Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481654 - sys-apps/portage: /usr/lib64/libpng15.so.15 is preserved for 2 slots of libpng simultaneously
Summary: sys-apps/portage: /usr/lib64/libpng15.so.15 is preserved for 2 slots of libpn...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: preserve-libs
  Show dependency tree
 
Reported: 2013-08-19 14:11 UTC by Jauhien Piatlicki (RETIRED)
Modified: 2022-10-20 02:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libpng.emerge.log (libpng.emerge.log,8.62 KB, text/x-log)
2013-08-20 12:04 UTC, Jauhien Piatlicki (RETIRED)
Details
libpng-emerge.log (libpng-emerge.log,16.13 KB, text/x-log)
2014-01-08 08:24 UTC, Balazs Nemeth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jauhien Piatlicki (RETIRED) gentoo-dev 2013-08-19 14:11:28 UTC
After world update I've got a message:

!!! existing preserved libs:
>>> package: media-libs/libpng-1.6.3-r1
 *  - /usr/lib64/libpng15.so.15
 *      used by /usr/lib64/libreoffice/program/oosplash (app-office/libreoffice-bin-4.0.4.2)
>>> package: media-libs/libpng-1.5.17
 *  - /usr/lib64/libpng15.so.15
 *      used by /usr/lib64/libreoffice/program/oosplash (app-office/libreoffice-bin-4.0.4.2)
Use emerge @preserved-rebuild to rebuild packages using these libraries

emerge @preserved-rebuild does not help.

Additional information:

jauhien@localhost ~ % eix -e libpng
[I] media-libs/libpng
     Available versions:  
     (1.2)  1.2.50 (~)1.2.50-r1
     (0)    1.5.13-r1 1.5.15 (~)1.6.3(0/16) (~)1.6.3-r1(0/16)
     (1.5)  (~)1.5.16 (~)1.5.17
       {apng neon static-libs ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32"}
     Installed versions:  1.5.17(1.5)(09:44:40 AM 08/06/2013)(apng -neon) 1.6.3-r1(09:44:07 AM 08/06/2013)(apng -neon -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32")
     Homepage:            http://www.libpng.org/
     Description:         Portable Network Graphics library

jauhien@localhost ~ % equery belongs /usr/lib64/libpng15.so.15
 * Searching for /usr/lib64/libpng15.so.15 ... 
media-libs/libpng-1.5.17 (/usr/lib64/libpng15.so.15)

jauhien@localhost ~ % emerge --info
Portage 2.2.0 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.10.0-gentoo x86_64)
=================================================================
System uname: Linux-3.10.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-3330_CPU_@_3.00GHz-with-gentoo-2.2
KiB Mem:     8072204 total,   1599080 free
KiB Swap:   16777148 total,  16777148 free
Timestamp of tree: Mon, 19 Aug 2013 08:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.8-r3, 2.7.5-r2, 3.2.5-r2, 3.3.2-r2
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.4, 4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.10 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sunrise jauhien mv marmalade gnu-elpa fix test
ACCEPT_KEYWORDS="amd64 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/jauhien /var/lib/layman/mv /var/lib/layman/marmalade /var/lib/layman/gnu-elpa /usr/local/portage/fix /usr/local/portage/test"
USE="X aac acl acpi alsa amd64 bash-completion berkdb bzip2 c++0x cairo cli consolekit cracklib crypt cups curl cxx dbus djvu dri emacs encode expat ffmpeg fftw flac fortran gdbm gif gtk gtk3 iconv icu ipv6 javascript jpeg jpeg2k libnotify lm_sensors mad mbox mmx mmxext modplug modules mp3 mp4 mudflap multilib ncurses networkmanager nls nptl nsplugin ogg opengl openmp pam pcre pdf perl png policykit pythia8 python qt3support readline session smp sndfile sqlite sqlite3 sse sse2 ssl startup-notification system-sqlite tcpd threads tiff truetype udev unicode v4l vorbis xml xmlrpc zlib zsh-completion" 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="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" 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="be be_BY en en_GB ru uk pl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_6 python2_7 python3_2 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="i915 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"
USE_PYTHON="2.6 2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 1 Jauhien Piatlicki (RETIRED) gentoo-dev 2013-08-19 14:19:51 UTC
Ooops, there was an error in ACCEPT_KEYWORDS, but it is not relevant for this problem.

Now I have ACCEPT_KEYWORDS="amd64 ~amd64". The problem persists.
Comment 2 Zac Medico gentoo-dev 2013-08-19 20:11:20 UTC
Note that libreoffice-bin is not supported with ~arch dependencies, see bug #479752.

However, it's strange that /usr/lib64/libpng15.so.15 appears to be preserved for both media-libs/libpng-1.6.3-r1 and media-libs/libpng-1.5.17 simultaneously.

It may fix itself if you downgrade to stable media-libs/libpng-1.5.15 like this:

  echo '>=media-libs/libpng-1.5.16' >> /etc/portage/package.mask
  emerge -uD @world
Comment 3 Zac Medico gentoo-dev 2013-08-19 21:45:51 UTC
Please post the output of this command:

  grep 'completed emerge .* media-libs/libpng' /var/log/emerge.log
Comment 4 Zac Medico gentoo-dev 2013-08-19 21:50:45 UTC
Actually, please post output of this instead:

  grep media-libs/libpng /var/log/emerge.log
Comment 5 Jauhien Piatlicki (RETIRED) gentoo-dev 2013-08-20 12:04:00 UTC
Created attachment 356474 [details]
libpng.emerge.log
Comment 6 Jauhien Piatlicki (RETIRED) gentoo-dev 2013-08-20 12:07:44 UTC
(In reply to Zac Medico from comment #2)
> Note that libreoffice-bin is not supported with ~arch dependencies, see bug
> #479752.
> 
> However, it's strange that /usr/lib64/libpng15.so.15 appears to be preserved
> for both media-libs/libpng-1.6.3-r1 and media-libs/libpng-1.5.17
> simultaneously.
> 
> It may fix itself if you downgrade to stable media-libs/libpng-1.5.15 like
> this:
> 
>   echo '>=media-libs/libpng-1.5.16' >> /etc/portage/package.mask
>   emerge -uD @world

I cannot do it as emerge -uD world says it needs media-libs/libpng-1.5.17 for libreoffice-bin. It is very strange as there is no such dependency in libreoffice-bin ebuild, it needs only =media-libs/libpng-1.5* which should be satisfied by =media-libs/libpng-1.5.15.
Comment 7 Balazs Nemeth 2014-01-08 08:23:45 UTC
Same here:

gaia3 1684 # eix -e libpng
[I] media-libs/libpng
     Available versions:
     (1.2)  1.2.50 1.2.50-r1
     (0)    1.5.15 1.5.17-r1 ~1.6.6(0/16) ~1.6.7(0/16) 1.6.8(0/16)
     (1.5)  1.5.17-r15
       {apng neon static-libs ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32"}
     Installed versions:  1.2.50-r1(1.2)(16.02.04 2014-01-07)(ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32") 1.5.17-r15(1.5)(16.06.20 2014-01-07)(apng -neon) 1.6.8(16.02.00 2014-01-07)(apng static-libs -neon ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32")
     Homepage:            http://www.libpng.org/
     Description:         Portable Network Graphics library

!!! existing preserved libs:
>>> package: media-libs/libpng-1.6.8
 *  - /usr/lib64/libpng15.so.15
 *      used by /usr/lib64/libreoffice/program/oosplash (app-office/libreoffice-bin-4.1.3.2-r2)
Use emerge @preserved-rebuild to rebuild packages using these libraries

I use only stable packages.

emerge --info
Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.10.17-gentoo x86_64)
=================================================================
System uname: Linux-3.10.17-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.2
KiB Mem:     7962144 total,    670048 free
KiB Swap:    3903484 total,   3884756 free
Timestamp of tree: Tue, 07 Jan 2014 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.3.2-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo unoffical-balabit-overlay hardened-dev
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL skype-eula dlj-1.1 googleearth AdobeFlash-10.3 google-talkplugin Q3AEULA Google-TOS AdobeFlash-11.x google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/_gentoo_portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache 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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.osuosl.org/ http://gentoo.inode.at/"
LANG="hu_HU.UTF-8"
LC_ALL="hu_HU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/_gentoo_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="/_gentoo_portage/tmpfs"
PORTDIR="/_gentoo_portage/portage"
PORTDIR_OVERLAY="/_gentoo_portage/overlays/balabit /_gentoo_portage/overlays/hardened-dev"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss exif fam firefox flac fortran gdbm gif gpm gtk iconv icu ipv6 jpeg kde kipi lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 readline sdl semantic-desktop session sse sse2 sse3 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb v4l vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en hu" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="vesa intel fbdev" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

I will attach the output of 'grep media-libs/libpng /var/log/emerge.log' too.
Comment 8 Balazs Nemeth 2014-01-08 08:24:13 UTC
Created attachment 367368 [details]
libpng-emerge.log

This from my system.