Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139605 - InvalidDependString exception when calculating dependencies
Summary: InvalidDependString exception when calculating dependencies
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-07 14:20 UTC by illuminata
Modified: 2011-01-28 22:09 UTC (History)
0 users

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


Attachments
Output of emerge --pretend --deep --debug world (emerge.log,177.29 KB, application/octet-stream)
2006-07-07 14:50 UTC, illuminata
Details

Note You need to log in before you can comment on or make changes to this bug.
Description illuminata 2006-07-07 14:20:49 UTC
Well, I can't use the --deep flag, with or without --pretend. Here's the error:
These are the packages that would be merged, in order:

Calculating world dependencies -Traceback (most recent call last):
  File "/usr/bin/emerge", line 3897, in ?
    emerge_main()
  File "/usr/bin/emerge", line 3892, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 3311, in action_build
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1197, in xcreate
    if not self.select_dep(
  File "/usr/bin/emerge", line 1126, in select_dep
    "--onlydeps" not in self.myopts, myuse=binpkguseflags):
  File "/usr/bin/emerge", line 789, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1120, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 789, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1120, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 789, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1120, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 789, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1120, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 802, in create
    if not self.select_dep(myroot,edepend["PDEPEND"],myuse=myuse):
  File "/usr/bin/emerge", line 1126, in select_dep
    "--onlydeps" not in self.myopts, myuse=binpkguseflags):
  File "/usr/bin/emerge", line 789, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1120, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 789, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1120, in select_dep
    if not self.create(myk,myparent,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 789, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 982, in select_dep
    myroot=myroot, trees=self.trees)
  File "/usr/lib/portage/pym/portage.py", line 3464, in dep_check
    mysplit = portage_dep.use_reduce(mysplit,uselist=myusesplit,masklist=mymasks,matchall=(use=="all"),excludeall=[mysettings["ARCH"]])
  File "/usr/lib/portage/pym/portage_dep.py", line 86, in use_reduce
    additions = use_reduce(head, uselist, masklist, matchall, excludeall)
  File "/usr/lib/portage/pym/portage_dep.py", line 86, in use_reduce
    additions = use_reduce(head, uselist, masklist, matchall, excludeall)
  File "/usr/lib/portage/pym/portage_dep.py", line 86, in use_reduce
    additions = use_reduce(head, uselist, masklist, matchall, excludeall)
  File "/usr/lib/portage/pym/portage_dep.py", line 135, in use_reduce
    additions = use_reduce(target, uselist, masklist, matchall, excludeall)
  File "/usr/lib/portage/pym/portage_dep.py", line 76, in use_reduce
    raise portage_exception.InvalidDependString(deparray[x]+" missing atom list in \""+paren_enclose(deparray)+"\"")
portage_exception.InvalidDependString: '|| missing atom list in "|| media-video/nvidia-glx x11-drivers/nvidia-drivers x11-drivers/nvidia-legacy-drivers"'

emerge --info:
Portage 2.1.1_pre2-r5 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-ck1 i686)
=================================================================
System uname: 2.6.17-ck1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/break-my-gentoo-main /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/pro-audio /usr/portage/local/layman/vmware /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts cairo cdparanoia cdr cli crypt cups curl dedicated directfb divx4linux dlloader dri dvd emboss encode esd fbcon flac flash foomaticdb fortran freetype ftp gd gdbm gif glitz glut gpm gtk gtk2 imlib ipv6 isdnlog jack jpeg kde libcaca libg++ libwww mad mikmod ming mmx motif mozilla mp3 mpeg msn ncurses nls nptl nptlonly nvidia ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline real reflection sdl session spell spl sse ssl svga tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb videos vorbis win32codecs xine xml xmms xorg xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zac Medico gentoo-dev 2006-07-07 14:32:49 UTC
Please attach the output with --debug enabled.
Comment 2 illuminata 2006-07-07 14:50:37 UTC
Created attachment 91169 [details]
Output of emerge --pretend --deep --debug world

Here's the output, as requested by zmedico. Should've noted that --deep with system works just fine. Only seems to complain when it's world instead.
Comment 3 Zac Medico gentoo-dev 2006-07-07 15:26:16 UTC
It seems to have been the x11-base/xorg-x11-7.0-r1 ebuild but apparently it's fixed in cvs now.  I'll see about fixing the error so that it reports which ebuild the bad depstring came from.
Comment 4 Sebastian Luther (few) 2011-01-28 22:09:03 UTC
This bug is that old that the code that causes this probably does no longer exist. Closing as fixed.