Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232496 - sys-apps/portage-2.1.4.4: slot collision error shows ebuild pulling wrong version in dependency tree
Summary: sys-apps/portage-2.1.4.4: slot collision error shows ebuild pulling wrong ver...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-20 17:07 UTC by Pacho Ramos
Modified: 2008-07-21 10:30 UTC (History)
1 user (show)

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 Pacho Ramos gentoo-dev 2008-07-20 17:07:18 UTC
If I add beagle-0.3.7-r1 to my package.keywords I get:
!!! Multiple versions within a single package slot have been 
!!! pulled into the dependency graph:

app-misc/beagle:0

  ('installed', '/', 'app-misc/beagle-0.2.18-r1', 'nomerge') pulled in by
    ('installed', '/', 'app-cdr/brasero-0.7.1', 'nomerge')

  ('ebuild', '/', 'app-misc/beagle-0.3.7-r1', 'merge') pulled in by
    ('installed', '/', 'gnome-extra/yelp-2.20.0', 'nomerge')
    ('installed', '/', 'gnome-base/nautilus-2.20.0-r1', 'nomerge')

Brasero-0.7.1 is pulling old beagle, it is ok, it depends on ~app-misc/beagle-0.2.18:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/brasero/brasero-0.7.1.ebuild?rev=1.7&view=markup
Yelp-2.20.0 is allowing 0.3 installation because its dep is only >=app-misc/beagle-0.2.4, ok then:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/yelp/yelp-2.20.0.ebuild?rev=1.16&view=markup

But, gnome-base/nautilus-2.20.0-r1 depends on =app-misc/beagle-0.2* , then, it IS NOT pulling 0.3.7-r1 in dep tree:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/nautilus/nautilus-2.20.0-r1.ebuild?rev=1.11&view=markup

I am using 
sys-apps/portage-2.1.4.4  USE="-build -doc -epydoc (-selinux)" LINGUAS="-pl"

Thanks

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2008-07-20 17:08:31 UTC
Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Sun, 20 Jul 2008 16:34:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 asf audiofile avahi bash-completion beagle berkdb bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cli consolekit cpdflib cpudetection cracklib cross crypt cups curl daap dbus dga divx4linux djvu dlloader dri dts dv dvb dvd dvdr dvdread eds emboss encode erandom escreen evo evolution exif fam fame fbcon ffmpeg flac foomaticdb fortran ftp galago gb gcj gd ggi gif gimp gimpprint git glitz glut glx gnome gnome-keyring gnome-print gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hddtemp iconv idn imagemagick imlib isdnlog ithreads jabber java jpeg kde kdeenablefinal kdehiddenvisibility kpathsea ladspa lame latex lcms libnotify lm_sensors logrotate mad madwifi midi mikmod mime mjpeg mmx mmxext mng mono moonlight motif mp3 mpeg mpi mplayer mudflap multilib musepack musicbrainz nas nautilus ncurses nethack network nls nocardbus nptl nptlonly nvidia ogg oggvorbis openal opengl openmp pam pch pcre pdf perl plotutils png posix ppds pppd python qt3 qt3support qt4 quicktime readline reflection remote rtc scanner sdl session slang slp sockets spell spl sse sse2 sse3 ssl startup-notification subversion svg sysvipc tcltk tcpd theora threads thunderbird tiff timidity tk totem trayicon truetype unicode usb v4l v4l2 vcd videos vim vorbis wma wmf xattr xcb xcomposite xft xine xml xml2 xorg xpm xulrunner xv xvid xvmc zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-07-20 17:16:07 UTC
(In reply to comment #0)
> If I add beagle-0.3.7-r1 to my package.keywords I get:
> !!! Multiple versions within a single package slot have been 
> !!! pulled into the dependency graph:

You shouldn't be mixing stable and unstable packages. Explicit version deps happen for a reason (eg. nautilus). Sorry. The only workaround that I can think of atm is upgrading gnome-base/nautilus to ~ARCH as well.

Hope that helps.
Comment 3 Pacho Ramos gentoo-dev 2008-07-20 17:28:14 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > If I add beagle-0.3.7-r1 to my package.keywords I get:
> > !!! Multiple versions within a single package slot have been 
> > !!! pulled into the dependency graph:
> 
> You shouldn't be mixing stable and unstable packages. Explicit version deps
> happen for a reason (eg. nautilus). Sorry. The only workaround that I can think
> of atm is upgrading gnome-base/nautilus to ~ARCH as well.
> 
> Hope that helps.
> 

I already know that mixing testing and stable is not recommended at all but, is then "normal" that portage shows nautilus-2.20.0-r1 as pulling beagle-0.3 when it isn't doing it?

Even if mixing is not "allowed", portage seems to be failling on this

Thanks :-)
Comment 4 Pacho Ramos gentoo-dev 2008-07-20 17:29:51 UTC
Also, because nautilus has explicit dep on 0.2 it's pulling 0.2.18-r1 and not 0.3.7-r1 like circular deps message says
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-07-20 17:39:04 UTC
(In reply to comment #4)
> Also, because nautilus has explicit dep on 0.2 it's pulling 0.2.18-r1 and not
> 0.3.7-r1 like circular deps message says
> 

Nope, the message is correct.

yelp depends on >0.2.4, since you added beagle to package.keywords, yelp is grabbing 0.3.7-r1.

but then there is "Multiple versions within a single package slot" because nautilus depends on an explicit 0.2*

Make sense now? Either remove beagle from package.keywords or add nautilus to package.keywords.
Comment 6 Pacho Ramos gentoo-dev 2008-07-20 17:44:37 UTC
And, why "    ('installed', '/', 'gnome-base/nautilus-2.20.0-r1', 'nomerge')" is shown under "  ('ebuild', '/', 'app-misc/beagle-0.3.7-r1', 'merge') pulled in by" instead of under "  ('installed', '/', 'app-misc/beagle-0.2.18-r1', 'nomerge') pulled in by"

I am simply talking about error message, not about how circular deps are handled by package manager :-) 

I think that 'gnome-base/nautilus-2.20.0-r1' should be shown under brasero line instead of under yelp
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-07-20 18:07:27 UTC
(reopen to re-assign)
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-07-20 18:08:12 UTC
(In reply to comment #6)
> I think that 'gnome-base/nautilus-2.20.0-r1' should be shown under brasero line
> instead of under yelp

Hmm.

Perhaps there is something here. It looks like nautilus doesn't even depend directly on yelp.

@dev-portage team, mind clarifying this here? Is there an issue with the error message?

Thanks.
Comment 9 Zac Medico gentoo-dev 2008-07-20 22:58:56 UTC
Perhaps you have a gnome-base/nautilus-2.20.0-r1 ebuild in PORTDIR_OVERLAY triggering this?

If not, please try to reproduce with >=portage-2.1.5.x since the dependency resolver changed a lot since 2.1.4.4. If it's still reproducible then please reproduce it with --debug enabled and attach the output.
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-21 00:59:45 UTC
This is the information Poratge throws, when two packages require different versions of the same ebuild. Within testing this is perfectly fine, exactly because of the testing purpose and it's up to your decision, how to deal with this dependency conflict. Only with a purely stable system, without any overlays involved this is a bug, but then a major one.

I don't know what you're doing on your system that nautilus requires this Beagle version, in the tree the dependency is =app-misc/beagle-0.2*.

Not a bug.
Comment 11 Pacho Ramos gentoo-dev 2008-07-21 10:30:56 UTC
Silly me! I was using a nautilus ebuild in my own local overlay :-S

It now works ok. Jeremy, Zac and Carlo, sorry a lot