Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165783 - portage-2.1.2-r8 traceback on invalid depstring
Summary: portage-2.1.2-r8 traceback on invalid depstring
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 162453
  Show dependency tree
 
Reported: 2007-02-07 16:27 UTC by Thomas Veith
Modified: 2007-02-08 05:30 UTC (History)
0 users

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


Attachments
handle the InvalidDependString exception (invalid_src_uri.patch,823 bytes, patch)
2007-02-07 20:01 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Veith 2007-02-07 16:27:52 UTC
homer sci # emerge -puvD world

These are the packages that would be merged, in order:

Calculating world dependencies - done!
Traceback (most recent call last):
  File "/usr/bin/emerge", line 5291, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 5286, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 4697, in action_build
    mydepgraph.display(
  File "/usr/bin/emerge", line 2490, in display
    debug=self.edebug)
  File "/usr/lib/portage/pym/portage.py", line 5901, in getfetchsizes
    myuris, myfiles = self.getfetchlist(mypkg,useflags=useflags)
  File "/usr/lib/portage/pym/portage.py", line 5878, in getfetchlist
    myurilist = portage_dep.use_reduce(myurilist,uselist=useflags,matchall=all)
  File "/usr/lib/portage/pym/portage_dep.py", line 213, in use_reduce
    raise portage_exception.InvalidDependString(
portage_exception.InvalidDependString: Conditional without parenthesis: 'doc?'

emerge --info:
homer sci # emerge --info
Portage 2.1.2-r8 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo x86_64)
=================================================================
System uname: 2.6.18-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.9
Timestamp of tree: Wed, 07 Feb 2007 14:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-ggdb -march=athlon64 -O2 -ftracer -pipe"
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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-ggdb -march=athlon64 -O2 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://194.117.143.69 ftp://130.59.10.34/mirror/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de en ru"
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/portage/local/layman/armagetron"
SYNC="rsync://server/gentoo-portage"
USE="X a52 aac acl acpi akode alsa amd64 apache2 arts artworkextra atlas audiofile avahi bash-completion beagle berkdb bitmap-fonts blas bzip2 cairo caps cddb cdr cg cli clisp cracklib crypt css cups curl dbus devil dlloader doc dri dts dv dvd dvdr dvdread eds emacs encode esd examples exif expat fame fbcon ffmpeg fftw firefox flac flash font-server fortran fpx gcj gd gdbm gif ginac glitz glut gmp gnokii gnome gnomedb gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal howl ical iconv icq idn ieee1394 imagemagick imap imlib irc isdnlog java javascript jbig jpeg jpeg2k kcal kde lapack latex lcms ldap libcaca libg++ libnotify lirc lj lm_sensors logitech-mouse lua lzo mad mcal midi mikmod mjpeg mmap mng mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg msn musepack mysql nas ncurses network nfs nls nntp nptl nptlonly nsplugin nvidia objc odbc offensive ogg oggvorbis opengl pam pascal pcre pda perl plotutils png postgres ppds pppd print python qhull qt qt3 quotas rdesktop readline reflection rss samba sample sasl sbcl sblive scanner sdl session slang slp smp sms sndfile snmp speex spell spl sql sqlite ssl subversion svg tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd visualization vorbis wifi winbind wmf xbase xcomposite xine xinerama xml xml2 xorg xprint xscreensaver xvid 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-07 19:23:41 UTC
Kindly review https://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity
Comment 2 Zac Medico gentoo-dev 2007-02-07 20:01:00 UTC
Created attachment 109457 [details, diff]
handle the InvalidDependString exception

This patch will allow you to see what package is triggering the exception.  If the patch is saved as /tmp/invalid_src_uri.patch, then it can be applied as follows:

patch /usr/lib/portage/bin/emerge < /tmp/invalid_src_uri.patch
Comment 3 Thomas Veith 2007-02-07 20:07:35 UTC
(In reply to comment #2)
> Created an attachment (id=109457) [edit]
> handle the InvalidDependString exception
> 
> This patch will allow you to see what package is triggering the exception.  If
> the patch is saved as /tmp/invalid_src_uri.patch, then it can be applied as
> follows:
> 
> patch /usr/lib/portage/bin/emerge < /tmp/invalid_src_uri.patch
> 

thank you a lot, the patch worked...

!!! Invalid or corrupt dependency specification:

Conditional without parenthesis: 'doc?'

['ebuild', '/', 'dev-python/numarray-1.5.2', 'merge']

mirror://sourceforge/numpy/numarray-1.5.2.tar.gz doc? mirror://sourceforge/numpy/numarray-1.5.html.tar.gz

This package can not be installed. Please notify the
'dev-python/numarray-1.5.2' package maintainer about this problem.

I'm going to file a bug for that package..

Would be cool to get this into portage - it is always a bad moment to see emerge breaks without knowing why :-)

@jakub: sorry for misusing severity...
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-02-07 20:14:55 UTC
Bug 165789 is for the broken numarray ebuild.
Comment 5 Zac Medico gentoo-dev 2007-02-08 05:30:08 UTC
This has been released on 2.1.2-r9.