Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249185 - Confusing error message with 2.1.6_rc2 and installed and merge colliding
Summary: Confusing error message with 2.1.6_rc2 and installed and merge colliding
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
Keywords: InVCS
: 249342 (view as bug list)
Depends on:
Blocks: 216231
  Show dependency tree
Reported: 2008-11-28 19:05 UTC by Petteri Räty (RETIRED)
Modified: 2008-12-05 01:37 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2008-11-28 19:05:59 UTC
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
  ('ebuild', '/', 'dev-util/subversion-1.5.4', 'merge') pulled in by
    ('ebuild', '/', 'dev-util/netbeans-6.5-r1', 'merge')
  ('installed', '/', 'dev-util/subversion-1.5.4', 'nomerge') pulled in by
    ('installed', '/', 'app-portage/layman-1.2.1', 'nomerge')
    ('ebuild', '/', 'dev-util/git-', 'merge')
It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.
For more information, see MASKED PACKAGES section in the emerge man page
or refer to the Gentoo Handbook.
emerge: there are no ebuilds to satisfy ">=dev-util/subversion-1.5:0[java]".
(dependency required by "dev-util/netbeans-6.5-r1" [ebuild])
(dependency required by "world" [argument])
ebuild   R   ] dev-util/subversion-1.5.4  USE="bash-completion dso java* perl python vim-syntax webdav-neon -apache2 -berkdb -debug -doc -emacs -extras -nls -ruby -sasl -webdav-serf" 0 kB

20:59 < Betelgeuse> zmedico:
20:59 < Betelgeuse>
21:01 < zmedico> Betelgeuse: hmm, I guess I should improve that message. what happened is that the installed version got pulled into the graph though it shouldn't have. you can avoid that with --newuse.
21:01 < Betelgeuse> zmedico: the message should hint that way then
21:02 < zmedico> yeah, I agree
21:02 < Betelgeuse> zmedico: I doubt users are able to make heads or tails off that
21:02 < zmedico> yeah
21:04 < zmedico> it used to show the slot collision message alone, which was slightly more confusing
21:04 < Betelgeuse> is there an open bug?
21:04 < zmedico> but it still needs improvement
21:04 < zmedico> no, not yet

Portage 2.1.6_rc2 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2 i686)
System uname: Linux-2.6.27-gentoo-r2-i686-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.0
Timestamp of tree: Unknown
distcc 3.0 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7, 2.1.6-r2
dev-lang/python:     2.4.4-r15, 2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms sign strict unmerge-orphans userfetch userpriv usersandbox verify-rdepend"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/mnt/checkouts/overlays/flameeyes-overlay /mnt/checkouts/overlays/openrc /mnt/checkouts/overlays/postgresql-testing /mnt/checkouts/overlays/sunrise /mnt/checkouts/overlays/wschlich-testing /mnt/checkouts/overlays/kde-testing /mnt/checkouts/overlays/jokey /mnt/checkouts/overlays/finnish /mnt/checkouts/overlays/betelgeuse"
USE="a52 aac acl acpi alsa audiofile bash-completion berkdb bluetooth branding bzip2 cairo caps cdb cddb cdparanoia cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread emboss evo fam ffmpeg firefox gif glib gstreamer hal iconv ipv6 isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility libnotify logitech-mouse mad mikmod mjpeg mmx mp3 mpeg mudflap ncurses network nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre pdf png ppds pppd pulseaudio qt3qt3support quicktime readline reflection rtc samba session spell spl sse sse2 ssl startup-notification subversion svg symlink sysfs theora threads tiff truetype udev unicode usb userlocales vim-syntax vorbis win32codecs x86 xcb xcomposite xinerama xml xorg xv xvid xvmc 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" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" USERLAND="GNU" VIDEO_CARDS="none nvidia"
Comment 1 Zac Medico gentoo-dev 2008-11-30 04:36:41 UTC
*** Bug 249342 has been marked as a duplicate of this bug. ***
Comment 2 Zac Medico gentoo-dev 2008-12-04 05:56:55 UTC
In the future cases like this will be solved via backtracking. However, there's no time to implement that now since we need portage-2.1.6 marked stable as soon as possible. It's fixed in svn r12148 to produce an explanation like this:

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


  ('ebuild', '/', 'dev-util/subversion-1.5.4', 'merge') pulled in by
    >=dev-util/subversion-1.5:0[java] required by ('ebuild', '/', 'dev-util/netbeans-6.5-r1', 'merge')

  ('installed', '/', 'dev-util/subversion-1.5.4', 'nomerge') pulled in by
    dev-util/subversion required by ('installed', '/', 'app-portage/layman-1.2.1', 'nomerge')
    dev-util/subversion required by world
    dev-util/subversion required by ('ebuild', '/', 'dev-util/git-', 'merge')


    New USE are correctly set, but --newuse wasn't requested, so an
    installed package with incorrect USE happened to get pulled into
    the dependency graph. In order to solve, either specify the
    --newuse option or explicitly reinstall 'dev-util/subversion:0'.
Comment 3 Zac Medico gentoo-dev 2008-12-05 01:37:40 UTC
This is fixed in 2.1.6_rc3 and 2.2_rc17.