Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371423 - InvalidDependString: USE flag 'extras' referenced in conditional 'extras?' is not in IUSE
Summary: InvalidDependString: USE flag 'extras' referenced in conditional 'extras?' is...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: REGRESSION
: 371359 (view as bug list)
Depends on:
Blocks: 358927
  Show dependency tree
 
Reported: 2011-06-13 14:42 UTC by Marcin Gryszkalis
Modified: 2011-06-14 00:47 UTC (History)
1 user (show)

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


Attachments
avoid the InvalidDependString exception (bug_371423.patch,1.36 KB, patch)
2011-06-13 21:54 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Gryszkalis 2011-06-13 14:42:01 UTC
# emerge -uptv world

Calculating dependencies... done!
Traceback (most recent call last):
  File "/usr/bin/emerge", line 43, in <module>
    retval = emerge_main()
  File "/usr/lib/portage/pym/_emerge/main.py", line 1907, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/lib/portage/pym/_emerge/actions.py", line 295, in action_build
    settings, trees, myopts, myparams, myaction, myfiles, spinner)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 6673, in backtrack_depgraph
    myaction, myfiles, spinner)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 6705, in _backtrack_depgraph
    success, favorites = mydepgraph.select_files(myfiles)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 2178, in select_files
    return self._resolve(myfavorites)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 2293, in _resolve
    if not self._create_graph():
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 814, in _create_graph
    if not self._pop_disjunction(allow_unsatisfied):
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 1811, in _pop_disjunction
    pkg, dep_root, dep_priority, dep_string, allow_unsatisfied):
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 1431, in _add_pkg_dep_string
    allow_unsatisfied)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 1552, in _wrapped_add_pkg_dep_string
    allow_unsatisfied=allow_unsatisfied):
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 896, in _add_dep
    onlydeps=dep.onlydeps)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 3269, in _select_pkg_highest_available
    ret = self._select_pkg_highest_available_imp(root, atom, onlydeps=onlydeps)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 3325, in _select_pkg_highest_available_imp
    allow_unmasks=allow_unmasks)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 3748, in _wrapped_select_pkg_highest_available_imp
    use = self._pkg_use_enabled(pkg, target_use)
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 3518, in _pkg_use_enabled
    if want_restart_for_use_change(pkg, new_use):
  File "/usr/lib/portage/pym/_emerge/depgraph.py", line 3482, in want_restart_for_use_change
    old_val = set(portage.dep.use_reduce(dep, pkg.use.enabled, is_valid_flag=pkg.iuse.is_valid_flag, flat=True))
  File "/usr/lib/portage/pym/portage/dep/__init__.py", line 400, in use_reduce
    if is_active(stack[level][-1]):
  File "/usr/lib/portage/pym/portage/dep/__init__.py", line 324, in is_active
    raise InvalidDependString(msg, errors=(e,))
InvalidDependString: USE flag 'extras' referenced in conditional 'extras?' is not in IUSE


Reproducible: Always




# emerge --info

Portage 2.2.0_alpha39 (default/linux/x86/10.0, gcc-4.5.2, glibc-2.13-r1, 2.6.39-gentoo-ines i686)
=================================================================
System uname: Linux-2.6.39-gentoo-ines-i686-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 13 Jun 2011 10:15:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.5 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.5.4-r4, 2.6.6-r1, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r1
Repositories: gentoo x-portage
Installed sets:
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -ggdb -fvar-tracking -DDEBUG_FASTCGI"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=prescott -O2 -pipe -ggdb -fvar-tracking -DDEBUG_FASTCGI"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages installsources metadata-transfer news nostrip notitles parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en pl"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/tmpx/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X acl acpi adns alsa apache2 apng aspell async audio berkdb bittorrent bluetooth branding browserplugin bzip2 cairo cgi cleartype cli consolekit cracklib crypt css cups curl cxx dbus dga divx4linux dlloader doc dri dvd dvdr enca encode exif expat fam fastcgi ffmpeg flac fontconfig fortran gd gdbm geoip gif gimp gimpprint glitz gmp gnome google-gadgets gpm gstreamer gtk gtkhtml hash iconv imagemagick inifile innodb ipv6 irda ispell jabber jack java java6 javamail javascript jpeg junit kde kipi kpathsea lcms ldap libnotify lm_sensors lua lzma maildir mbox mikmod mmx mmxext mng modules mono mozdevelop mp3 mp4 mplayer mudflap multimedia musepack musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp openssl pam pcre pdf perl phonon php png policykit posix ppd ppds pppd python qt3support qt4 rar rdp readline reports ruby samba schroedinger script sdl secure-delete semantic-desktop server session slang source speex spell sql sqlite sse sse2 ssl ssse3 svg symlink sysfs tcpd theora threads tiff tk transcode trayicon truetype tv type1 udev unicode usb v4l v4l2 vaapi vdpau video vim-syntax visualization vnc vorbis webkit wf win32codecs wxwidgets x264 x86 xcb xcomposite xetex xinerama xml xorg xsl xulrunner xv xvid zlib zsh-completion zvbi" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif speling status unique_id userdir usertrack vhost_alias asis authn_alias substitute version cern_meta charset_lite dumpio" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="aox canon digigr8 digita directory fuji hp215 iclick konica lg_gsm mustek pccam300 pccam600 ptp2 ricoh samsung template adc65 agfa_cl20 barbie casio_qv clicksmart310 dimagev dimera3500 enigma13 gsmart300 jamcam jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 largan mars panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z toshiba_pdrm11 agfacl20 casio dimera kodak minolta panasonic polaroid sipix sonydscf1 sonydscf55 toshiba" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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 ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" NETBEANS_MODULES="apisupport harness ide identity java nb php profiler websvccommon ruby enterprise" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_req limit_zone map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi addition dav degradation gzip_static headers_more image_filter perl push random_index realip stub_status sub xslt" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marcin Gryszkalis 2011-06-13 20:55:29 UTC
just fyi - I had extras in USE, I removed it to test if it helps (no difference).
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-06-13 21:12:31 UTC
Portage probably checked USE flags from VDB instead of an ebuild.
"extras" USE flag was recently added to sys-fs/udev-171-r1. Does the following command avoid traceback?:
emerge -uptv world sys-fs/udev

(Don't yet reinstall sys-fs/udev to help in fixing of Portage.)
Comment 3 Zac Medico gentoo-dev 2011-06-13 21:54:06 UTC
Created attachment 276969 [details, diff]
avoid the InvalidDependString exception

Save as /tmp/bug_371423.patch and apply as follows:

  patch /usr/lib/portage/pym/_emerge/depgraph.py /tmp/bug_371423.patch
Comment 4 Marcin Gryszkalis 2011-06-13 22:21:36 UTC
The patch fixes exception, now it seems that I have to resolve these udev dependencies but that's another story. Thanks Zac.
Comment 5 Zac Medico gentoo-dev 2011-06-13 22:45:36 UTC
Thanks for testing. I'm going to re-open this until I've done a release with this fix, since others are likely to encounter this.
Comment 6 Zac Medico gentoo-dev 2011-06-13 22:45:59 UTC
*** Bug 371359 has been marked as a duplicate of this bug. ***
Comment 7 Zac Medico gentoo-dev 2011-06-14 00:47:41 UTC
This is fixed in 2.1.10.3 and 2.2.0_alpha41.