Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334247 - portage-2.2_rc68 errors out when trying -u world with broken packages
Summary: portage-2.2_rc68 errors out when trying -u world with broken packages
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: InVCS, REGRESSION
Depends on:
Blocks:
 
Reported: 2010-08-24 09:14 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-08-24 23:43 UTC (History)
0 users

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


Attachments
Atom.violated_conditionals: Always treat deps as violated if the flag is not in IUSE (0001-Atom.violated_conditionals-Always-treat-deps-as-viol.patch,2.40 KB, patch)
2010-08-24 10:50 UTC, Sebastian Luther (few)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-24 09:14:59 UTC
This happened because evolution lacked the doc USE flag in IUSE:

flame@yamato ~ % emerge -avuDN @world @system --keep-going 

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

Calculating dependencies |

!!! Invalid or corrupt dependency specification: 

use flag 'doc' is not referencable in conditional 'doc?' in '>=dev-libs/glib-2.22 >=x11-libs/gtk+-2.18 >=gnome-extra/evolution-data-server-2.30 >=gnome-base/gnome-desktop-2.26.0 >=gnome-extra/gtkhtml-3.29.6 >=gnome-base/gconf-2 >=gnome-base/libgnomecanvas-2 dev-libs/atk >=dev-libs/dbus-glib-0.74 >=dev-libs/libunique-1.1.2 >=dev-libs/libxml2-2.7.3 >=dev-libs/libgweather-2.25.3 >=net-libs/libsoup-2.4 >=media-gfx/gtkimageview-1.6 media-libs/libcanberra[gtk] x11-libs/libnotify >=x11-misc/shared-mime-info-0.22 >=x11-themes/gnome-icon-theme-2.20 crypt? ( || ( ( >=app-crypt/gnupg-2.0.1-r2 || ( app-crypt/pinentry[gtk] app-crypt/pinentry[qt3] ) ) =app-crypt/gnupg-1.4* ) ) gstreamer? ( >=media-libs/gstreamer-0.10 >=media-libs/gst-plugins-base-0.10 ) kerberos? ( virtual/krb5 ) ldap? ( >=net-nds/openldap-2 ) networkmanager? ( >=net-misc/networkmanager-0.7 ) pda? ( >=app-pda/gnome-pilot-2.0.16 >=app-pda/gnome-pilot-conduits-2 ) python? ( >=dev-lang/python-2.4 ) ssl? ( >=dev-libs/nspr-4.6.1 >=dev-libs/nss-3.11 ) !<gnome-extra/evolution-exchange-2.30 >=dev-util/pkgconfig-0.16 >=dev-util/intltool-0.35.5 sys-devel/gettext sys-devel/bison app-text/scrollkeeper >=gnome-base/gnome-common-2.12.0 >=app-text/gnome-doc-utils-0.9.1 app-text/docbook-xml-dtd:4.1.2 >=dev-util/gtk-doc-am-1.9 doc? ( >=dev-util/gtk-doc-1.9 ) || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 >=sys-devel/libtool-2.2.6b >=sys-apps/sed-4 >=app-admin/eselect-python-20091230'

(mail-client/evolution-2.30.2-r1, ebuild scheduled for merge)

>=dev-libs/glib-2.22 >=x11-libs/gtk+-2.18 >=gnome-extra/evolution-data-server-2.30 >=gnome-base/gnome-desktop-2.26.0 >=gnome-extra/gtkhtml-3.29.6 >=gnome-base/gconf-2 >=gnome-base/libgnomecanvas-2 dev-libs/atk >=dev-libs/dbus-glib-0.74 >=dev-libs/libunique-1.1.2 >=dev-libs/libxml2-2.7.3 >=dev-libs/libgweather-2.25.3 >=net-libs/libsoup-2.4 >=media-gfx/gtkimageview-1.6 media-libs/libcanberra[gtk] x11-libs/libnotify >=x11-misc/shared-mime-info-0.22 >=x11-themes/gnome-icon-theme-2.20 crypt? ( || ( ( >=app-crypt/gnupg-2.0.1-r2 || ( app-crypt/pinentry[gtk] app-crypt/pinentry[qt3] ) ) =app-crypt/gnupg-1.4* ) ) gstreamer? ( >=media-libs/gstreamer-0.10 >=media-libs/gst-plugins-base-0.10 ) kerberos? ( virtual/krb5 ) ldap? ( >=net-nds/openldap-2 ) networkmanager? ( >=net-misc/networkmanager-0.7 ) pda? ( >=app-pda/gnome-pilot-2.0.16 >=app-pda/gnome-pilot-conduits-2 ) python? ( >=dev-lang/python-2.4 ) ssl? ( >=dev-libs/nspr-4.6.1 >=dev-libs/nss-3.11 ) !<gnome-extra/evolution-exchange-2.30 >=dev-util/pkgconfig-0.16 >=dev-util/intltool-0.35.5 sys-devel/gettext sys-devel/bison app-text/scrollkeeper >=gnome-base/gnome-common-2.12.0 >=app-text/gnome-doc-utils-0.9.1 app-text/docbook-xml-dtd:4.1.2 >=dev-util/gtk-doc-am-1.9 doc? ( >=dev-util/gtk-doc-1.9 ) || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 >=sys-devel/libtool-2.2.6b >=sys-apps/sed-4 >=app-admin/eselect-python-20091230

This package can not be installed. Please notify the 'mail-
client/evolution-2.30.2-r1' package maintainer about this problem.
 |

!!! Invalid or corrupt dependency specification: 

use flag 'doc' is not referencable in conditional 'doc?' in '>=dev-libs/glib-2.22 >=x11-libs/gtk+-2.18 >=gnome-extra/evolution-data-server-2.30 >=gnome-base/gnome-desktop-2.26.0 >=gnome-extra/gtkhtml-3.29.6 >=gnome-base/gconf-2 >=gnome-base/libgnomecanvas-2 dev-libs/atk >=dev-libs/dbus-glib-0.74 >=dev-libs/libunique-1.1.2 >=dev-libs/libxml2-2.7.3 >=dev-libs/libgweather-2.25.3 >=net-libs/libsoup-2.4 >=media-gfx/gtkimageview-1.6 media-libs/libcanberra[gtk] x11-libs/libnotify >=x11-misc/shared-mime-info-0.22 >=x11-themes/gnome-icon-theme-2.20 crypt? ( || ( ( >=app-crypt/gnupg-2.0.1-r2 || ( app-crypt/pinentry[gtk] app-crypt/pinentry[qt3] ) ) =app-crypt/gnupg-1.4* ) ) gstreamer? ( >=media-libs/gstreamer-0.10 >=media-libs/gst-plugins-base-0.10 ) kerberos? ( virtual/krb5 ) ldap? ( >=net-nds/openldap-2 ) networkmanager? ( >=net-misc/networkmanager-0.7 ) pda? ( >=app-pda/gnome-pilot-2.0.16 >=app-pda/gnome-pilot-conduits-2 ) python? ( >=dev-lang/python-2.4 ) ssl? ( >=dev-libs/nspr-4.6.1 >=dev-libs/nss-3.11 ) !<gnome-extra/evolution-exchange-2.30 >=dev-util/pkgconfig-0.16 >=dev-util/intltool-0.35.5 sys-devel/gettext sys-devel/bison app-text/scrollkeeper >=gnome-base/gnome-common-2.12.0 >=app-text/gnome-doc-utils-0.9.1 app-text/docbook-xml-dtd:4.1.2 >=dev-util/gtk-doc-am-1.9 doc? ( >=dev-util/gtk-doc-1.9 ) || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 >=sys-devel/libtool-2.2.6b >=sys-apps/sed-4 >=app-admin/eselect-python-20091230'

(mail-client/evolution-2.30.2-r1, ebuild scheduled for merge)

>=dev-libs/glib-2.22 >=x11-libs/gtk+-2.18 >=gnome-extra/evolution-data-server-2.30 >=gnome-base/gnome-desktop-2.26.0 >=gnome-extra/gtkhtml-3.29.6 >=gnome-base/gconf-2 >=gnome-base/libgnomecanvas-2 dev-libs/atk >=dev-libs/dbus-glib-0.74 >=dev-libs/libunique-1.1.2 >=dev-libs/libxml2-2.7.3 >=dev-libs/libgweather-2.25.3 >=net-libs/libsoup-2.4 >=media-gfx/gtkimageview-1.6 media-libs/libcanberra[gtk] x11-libs/libnotify >=x11-misc/shared-mime-info-0.22 >=x11-themes/gnome-icon-theme-2.20 crypt? ( || ( ( >=app-crypt/gnupg-2.0.1-r2 || ( app-crypt/pinentry[gtk] app-crypt/pinentry[qt3] ) ) =app-crypt/gnupg-1.4* ) ) gstreamer? ( >=media-libs/gstreamer-0.10 >=media-libs/gst-plugins-base-0.10 ) kerberos? ( virtual/krb5 ) ldap? ( >=net-nds/openldap-2 ) networkmanager? ( >=net-misc/networkmanager-0.7 ) pda? ( >=app-pda/gnome-pilot-2.0.16 >=app-pda/gnome-pilot-conduits-2 ) python? ( >=dev-lang/python-2.4 ) ssl? ( >=dev-libs/nspr-4.6.1 >=dev-libs/nss-3.11 ) !<gnome-extra/evolution-exchange-2.30 >=dev-util/pkgconfig-0.16 >=dev-util/intltool-0.35.5 sys-devel/gettext sys-devel/bison app-text/scrollkeeper >=gnome-base/gnome-common-2.12.0 >=app-text/gnome-doc-utils-0.9.1 app-text/docbook-xml-dtd:4.1.2 >=dev-util/gtk-doc-am-1.9 doc? ( >=dev-util/gtk-doc-1.9 ) || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 >=sys-devel/libtool-2.2.6b >=sys-apps/sed-4 >=app-admin/eselect-python-20091230

This package can not be installed. Please notify the 'mail-
client/evolution-2.30.2-r1' package maintainer about this problem.
... done!
Traceback (most recent call last):
  File "/usr/bin/emerge", line 43, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1649, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 292, in action_build
    mydepgraph.display_problems()
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 5101, in display_problems
    self._display_problems()
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 5122, in _display_problems
    self._show_slot_collision_notice()
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 473, in _show_slot_collision_notice
    self._dynamic_config._slot_conflict_handler = slot_conflict_handler(self)
  File "/usr/lib64/portage/pym/_emerge/resolver/slot_collision.py", line 120, in __init__
    self._prepare_conflict_msg_and_check_for_specificity()
  File "/usr/lib64/portage/pym/_emerge/resolver/slot_collision.py", line 219, in _prepare_conflict_msg_and_check_for_specificity
    for flag in violated_atom.use.enabled.union(violated_atom.use.disabled):
AttributeError: 'NoneType' object has no attribute 'enabled'
Comment 1 Sebastian Luther (few) 2010-08-24 09:34:56 UTC
Your're seeing two different issues. One is the missing doc flag and the other is the trace back in the slot collision handler. Not sure if they are related. Could you please try with rc67 and show me it's output?
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-24 09:49:13 UTC
It might be so these are different issues but they _are_ dependent one on the other; after solving evolution:


flame@yamato ~ % emerge -avuDN @world @system --keep-going

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

Calculating dependencies... done!
[ebuild   R   ] media-libs/jpeg-8b  USE="-static-libs%" 0 kB [0]
[ebuild     U ] sys-kernel/linux-headers-2.6.35 [2.6.34] 0 kB [0]
[ebuild   R   ] media-libs/speex-1.2_rc1  USE="ogg sse -static-libs%" 0 kB [0]
[ebuild     U ] net-misc/openvpn-2.1.2 [2.1.0-r1] USE="-eurephia -examples -iproute2 ipv6 -minimal -pam -passwordsave -pkcs11 (-selinux) ssl -static (-threads%*)" 0 kB [0]
[ebuild   R   ] media-sound/lame-3.98.4  USE="-debug (-mmx) -mp3rtp -sndfile -static-libs%" 0 kB [0]
[ebuild     U ] dev-vcs/git-1.7.2.2 [1.7.2-r2] USE="-bash-completion blksha1 -cgi curl -cvs -doc -emacs gtk iconv perl (-ppcsha1) subversion threads -tk webdav -xinetd" 0 kB [0]
[ebuild     U ] net-misc/openssh-5.6_p1 [5.5_p1-r2] USE="-X -X509 -hpn -kerberos -ldap -libedit pam (-selinux) -skey -static -tcpd" 0 kB [0]
[ebuild     U ] app-crypt/signing-party-1.1.3-r3 [1.1.3-r2] 0 kB [0]
[ebuild   R   ] mail-client/evolution-2.30.2-r1  USE="crypt -doc% -gstreamer -kerberos -ldap -networkmanager -nntp% -pda -profile -python (-sound%) ssl" 0 kB [0]
[ebuild    FU ] dev-util/visual-paradigm-license-server-5.0.20100812 [4.1.20090923g] 0 kB [1]

Total: 10 packages (6 upgrades, 4 reinstalls), Size of downloads: 0 kB
Fetch Restriction: 1 package (1 unsatisfied)
Portage tree and overlays:
 [0] /media/repos/gentoo-x86-sync
 [1] /media/repos/flame/flame-overlay

!!! One or more updates have been skipped due to a dependency conflict:

dev-ruby/storable:0

  (dev-ruby/storable-0.8.1, ebuild scheduled for merge) conflicts with
    >=dev-ruby/storable-0.7.1[ruby_targets_ruby18] required by (app-admin/rudy-0.9.8.009, installed)
  (dev-ruby/storable-0.8.1, ebuild scheduled for merge) conflicts with
    dev-ruby/storable[ruby_targets_ruby18] required by (dev-ruby/sysinfo-0.7.3, installed)
  (dev-ruby/storable-0.8.1, ebuild scheduled for merge) conflicts with
    dev-ruby/storable required by @world

no traceback, everything looks fine...
Comment 3 Sebastian Luther (few) 2010-08-24 10:50:05 UTC
Created attachment 244385 [details, diff]
Atom.violated_conditionals: Always treat deps as violated if the flag is not in IUSE

I'm not able to reproduce it. Please reproduce it on your system, apply this patch and post the new output.
Comment 4 Sergey Morozov 2010-08-24 11:17:33 UTC
after eix-sync, all works for me
Comment 6 Zac Medico gentoo-dev 2010-08-24 23:43:45 UTC
This is fixed in 2.2_rc69.