Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500168 - Sub slot conflict with binary updates
Summary: Sub slot conflict with binary updates
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-03 11:07 UTC by Mike Hiretsky
Modified: 2014-02-04 09:44 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 Mike Hiretsky 2014-02-03 11:07:56 UTC
I cann't update system by binary packages because of the slot conflict.

I have system with following packages: media-video/ffmpegthumbnailer, kde-base/libkdcraw media-libs/libwebp x11-libs/cairo media-plugins/kipi-plugins and other. These packages have DEPEND and RDEPEND with "media-libs/libpng:0/0=". media-libs/libpng-1.5.17-r1 in current system has SLOT=0.

File "Packages" on binary host contains:

CPV: media-libs/libpng-1.6.8
SLOT: 0/16

And all problematic packages has RDEPEND media-libs/libpng:0/16=

At example:

CPV: x11-libs/cairo-1.12.14-r4
RDEPEND: ... media-libs/libpng:0/16= ...

Installed version and binary versions are the same.

Update by "emerge -uDN world" causes subslot conflict:

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

media-libs/libpng:0

  (media-libs/libpng-1.6.8::gentoo, binary scheduled for merge) pulled in by
    media-libs/libpng:0/16= required by (kde-base/ksplash-4.11.5::gentoo, binary scheduled for merge)
    media-libs/libpng:0/16= required by (app-text/poppler-0.24.5::gentoo, binary scheduled for merge)
    media-libs/libpng:0/16= required by (media-plugins/kipi-plugins-3.5.0::gentoo, binary scheduled for merge)
    >=media-libs/libpng-1.4:0/16= required by (x11-libs/gdk-pixbuf-2.28.2::gentoo, binary scheduled for merge)
    media-libs/libpng:0/16= required by (media-libs/lensfun-0.2.7::gentoo, binary scheduled for merge)
    media-libs/libpng:0/16= required by (www-client/chromium-32.0.1700.102::gentoo, binary scheduled for merge)
    media-libs/libpng:0/16= required by (kde-base/kdelibs-4.12.1::gentoo, binary scheduled for merge)
    media-libs/libpng:0/16= required by (media-gfx/digikam-3.5.0::gentoo, binary scheduled for merge)
    media-libs/libpng:0/16= required by (kde-base/gwenview-4.12.1::gentoo, binary scheduled for merge)
    (and 1 more with the same problems)

  (media-libs/libpng-1.5.17-r1::gentoo, installed) pulled in by
    media-libs/libpng:0/0= required by (x11-libs/cairo-1.12.14-r4::gentoo, installed)
    media-libs/libpng:0/0= required by (media-libs/opencv-2.4.5::gentoo, installed)
    media-libs/libpng:0/0= required by (media-libs/openjpeg-1.5.1::gentoo, installed)
    media-libs/libpng:0/0= required by (media-libs/libwebp-0.3.1::gentoo, installed)
    media-libs/libpng:0/0= required by (app-text/poppler-0.24.3::gentoo, installed)
    media-libs/libpng:0/0= required by (net-print/cups-filters-1.0.36-r1::gentoo, installed)
    media-libs/libpng:0/0= required by (media-video/ffmpegthumbnailer-2.0.8::gentoo, installed)
    media-libs/libpng:0/0= required by (dev-qt/qtgui-4.8.5-r1::gentoo, installed)
    media-libs/libpng:0/0= required by (media-video/mjpegtools-2.1.0::gentoo, installed)

No conflict with FEATURES="-getbinpkg". Problematic packages are automatically added to the rebuilding.
[ebuild rR    ] x11-libs/cairo-1.12.14-r4

If I manually add the list of problematic packages for emerge: "emerge -uDN world x11-libs/cairo media-libs/opencv ... kde-base/gwenview)" then conflict will be resolved.

Using --ignore-built-slot-operator-deps=y only hide conflict, allowing to update system, but problematic packages will not be rebuilt.

How can I say for emerge to rebuild automatically problematic packages without disabling binary updates?

Reproducible: Always

Steps to Reproduce:
1. System has package (at example libpng) with slot 0
2. System has package (at example x11-libs/cairo) emerged with depend media-libs/libpng:0/0=
3. Binary packages has media-libs/libpng with slot 0/16
4. Binary packages has x11-libs/cairo with rdepend media-libs/libpng:0/16=
5. Try to update system
Actual Results:  
Emerge say about imposible update system because installed packages want libpng:0/0=, but binary libpng has slot 0/16.

Expected Results:  
Packages which have depend libpng:0/0= slot will be rebuilt.

Portage 2.2.7 (!../var/lib/layman/calculate/profiles/calculate/desktop/CLD/amd64/binary, gcc-4.7.3, glibc-2.15-r3, 3.10.19-calculate x86_64)
=================================================================
System uname: Linux-3.10.19-calculate-x86_64-Intel-R-_Core-TM-_i5-3570_CPU_@_3.40GHz-with-gentoo-13.11.1
KiB Mem:     5734340 total,   2942536 free
KiB Swap:    5733372 total,   5733372 free
Timestamp of tree: Fri, 31 Jan 2014 07:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3
dev-util/cmake:           2.8.11.2
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, 1.13.4
sys-devel/binutils:       2.23.1
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.1 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo calculate
Installed sets: @custom
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
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/splash /etc/terminfo"
CXXFLAGS="-O2 -march=x86-64 -pipe"
DISTDIR="/var/calculate/remote/distfiles"
EMERGE_DEFAULT_OPTS=" --binpkg-respect-use=y --quiet-build=n --with-bdeps=y --ignore-built-slot-operator-deps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg merge-sync metadata-transfer parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/var/calculate/remote/packages/CLD/x86_64"
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/calculate/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/calculate"
USE="3dnow X a52 aac acl acpi alsa amd64 amr audiofile avi bash-completion berkdb bittorrent bluetooth bzip2 cairo cdda cddb cdparanoia cdr chm clamav cli consolekit cpudetection cracklib crypt css cue cups cxx dbus djvu dri dv dvd dvdr dvdread ebook encode exif faac fbcon ffmpeg flac flash foomaticdb fortran ftp gd gdbm ggi gif gphoto2 gtk iconv id3tag ieee1394 imagemagick ios ipod ipv6 irc jabber jingle jpeg jpeg2k kde libcaca libnotify libwww lirc logrotate lzo mad matroska mbox mikmod mmx mmxext mng modules mp3 mpeg mplayer multilib musepack nas ncurses networkmanager nfs nls nptl nsplugin ogg oggvorbis openal opencore-amr openexr opengl openmp oscar pam pcre pdf png policykit portaudio ppp qt3support qt4 quicktime raw rdesktop readline real samba scanner sdl semantic-desktop session smp speex spell srt sse sse2 sse3 sse4.1 sse4.2 sse4a sse5 ssl ssse3 svg tcpd tga theora tiff truetype udev unicode usb userlocales v4l v4l2 vaapi vcd vdpau vhosts vorbis wavpack webkit wimax win32codecs wmf wxwindows x264 xanim xcomposite xinerama xpm xv xvid xvmc yahoo 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="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" CDISTRO="CLD desktop" CL="builder client desktop console consolegui" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="dmraid dmsquash-live gensplash lvm mdraid nfs" ELIBC="glibc" FOO2ZJS_DEVICES="*" 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" GRUB_PLATFORMS="efi-64 efi-32 pc" INPUT_DEVICES="keyboard mouse evdev mutouch synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en bg de es fr it pl pt pt_BR ro ru ru_RU uk" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby20" THEMES="CLD" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware nouveau nvidia i915 i965 r100 r200 r300 r600 radeonhd dummy v4l" 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.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 1 Sebastian Luther (few) 2014-02-03 15:01:32 UTC
Please try again with portage-2.2.8. Try also to use a higher backtrack value, i.e. --backtrack=30.
Comment 2 Mike Hiretsky 2014-02-04 09:44:34 UTC
Portage 2.2.7 and 2.2.8 resolved this conflict with increasing --backtrack to 11. As I understand high value of backtrack by default may greatly increase the time of dependences calculating if solutions for dependencies does not exist?