Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 345097

Summary: Useflag output of package conflicts slightly broken
Product: Portage Development Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: trivial Keywords: InVCS, REGRESSION
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 346909    

Description Dennis Schridde 2010-11-11 12:54:06 UTC
emerge e.g. outputs:
 ~x11-libs/qt-script-4.7.0aqua=,debug=] required by (x11-libs/qt-gui-4.7.0-r1::gentoo, ebuild scheduled for merge)

I assume there is an opening [ missing.

Reproducible: Always
Comment 1 Dennis Schridde 2010-11-11 12:56:18 UTC
A similar problem also seems to appear with non-useflag output:
~x11-libs/qt-test-4.7.04 required by (dev-util/qt-creator-2.0.1::gentoo, ebuild scheduled for merge)
The highlight (red) was "4.7.0", with the "4" being grey. So I assume something else (i.e. "4") got added after the version without any separator.
Comment 2 Dennis Schridde 2010-11-11 12:59:20 UTC
(In reply to comment #1)
> A similar problem also seems to appear with non-useflag output:
> ~x11-libs/qt-test-4.7.04 required by (dev-util/qt-creator-2.0.1::gentoo, ebuild
> scheduled for merge)
> The highlight (red) was "4.7.0", with the "4" being grey. So I assume something
> else (i.e. "4") got added after the version without any separator.
The "4" is probably the slot, hence should be ":4" instead.
Comment 3 Zac Medico gentoo-dev 2010-11-13 19:35:24 UTC
We have a few different messages like this, produced by different pieces of code. Can you post the entire message, so that we can see which piece of code is producing it?
Comment 4 Dennis Schridde 2010-11-14 01:14:28 UTC
ACCEPT_KEYWORDS=~amd64 and emerge -1uDNpv @world causes this message (qt-creator depends on a version of qt which is not the latest available, which in turn depends on certain useflags for cairo):

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-libs/qt-script:4

  (x11-libs/qt-script-4.7.0::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-script-4.7.0aqua=] required by (x11-libs/qt-declarative-4.7.0::gentoo, ebuild scheduled for merge)
    (and 2 more with the same problem)

  (x11-libs/qt-script-4.7.1::gentoo, installed) pulled in by
    >x11-libs/qt-script-4.7.04 required by (dev-util/qt-creator-2.0.1::gentoo, ebuild scheduled for merge)
    ~x11-libs/qt-script-4.7.1aqua=] required by (x11-libs/qt-declarative-4.7.1::gentoo, installed)
    (and 1 more with the same problems)

x11-libs/qt-multimedia:4

  (x11-libs/qt-multimedia-4.7.0::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-multimedia-4.7.0aqua=] required by (x11-libs/qt-declarative-4.7.0::gentoo, ebuild scheduled for merge)

  (x11-libs/qt-multimedia-4.7.1::gentoo, installed) pulled in by
    ~x11-libs/qt-multimedia-4.7.1aqua=] required by (x11-libs/qt-declarative-4.7.1::gentoo, installed)

x11-libs/qt-svg:4                                                                                                                                                                                                   
                                                                                                                                                                                                                    
  (x11-libs/qt-svg-4.7.1::gentoo, installed) pulled in by                                                                                                                                                           
    ~x11-libs/qt-svg-4.7.1aqua=] required by (x11-libs/qt-declarative-4.7.1::gentoo, installed)                                                                                                                     
                                                                                                                                                                                                                    
  (x11-libs/qt-svg-4.7.0::gentoo, ebuild scheduled for merge) pulled in by                                                                                                                                          
    ~x11-libs/qt-svg-4.7.0aqua=] required by (x11-libs/qt-declarative-4.7.0::gentoo, ebuild scheduled for merge)                                                                                                    
    (and 1 more with the same problem)                                                                                                                                                                              
                                                                                                                                                                                                                    
x11-libs/qt-xmlpatterns:4                                                                                                                                                                                           
                                                                                                                                                                                                                    
  (x11-libs/qt-xmlpatterns-4.7.0::gentoo, ebuild scheduled for merge) pulled in by                                                                                                                                  
    ~x11-libs/qt-xmlpatterns-4.7.0aqua=] required by (x11-libs/qt-declarative-4.7.0::gentoo, ebuild scheduled for merge)                                                                                            
    (and 1 more with the same problem)                                                                                                                                                                              

  (x11-libs/qt-xmlpatterns-4.7.1::gentoo, installed) pulled in by
    ~x11-libs/qt-xmlpatterns-4.7.1aqua=] required by (x11-libs/qt-declarative-4.7.1::gentoo, installed)
    (and 1 more with the same problem)

x11-libs/qt-test:4

  (x11-libs/qt-test-4.7.0::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-test-4.7.04 required by (dev-util/qt-creator-2.0.1::gentoo, ebuild scheduled for merge)

  (x11-libs/qt-test-4.7.1::gentoo, installed) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

x11-libs/qt-core:4

  (x11-libs/qt-core-4.7.0::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-core-4.7.04[private-headers] required by (dev-util/qt-creator-2.0.1::gentoo, ebuild scheduled for merge)
    (and 11 more with the same problem)

  (x11-libs/qt-core-4.7.1::gentoo, installed) pulled in by
    ~x11-libs/qt-core-4.7.1aqua=,debug=] required by (x11-libs/qt-script-4.7.1::gentoo, installed)
    (and 10 more with the same problem)

x11-libs/qt-assistant:4

  (x11-libs/qt-assistant-4.7.1::gentoo, installed) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (x11-libs/qt-assistant-4.7.0::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-assistant-4.7.04[doc?] required by (dev-util/qt-creator-2.0.1::gentoo, ebuild scheduled for merge)

x11-libs/qt-sql:4

  (x11-libs/qt-sql-4.7.0::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-sql-4.7.04 required by (dev-util/qt-creator-2.0.1::gentoo, ebuild scheduled for merge)
    (and 3 more with the same problem)

  (x11-libs/qt-sql-4.7.1::gentoo, installed) pulled in by
    ~x11-libs/qt-sql-4.7.1aqua=,qt3support=,sqlite] required by (x11-libs/qt-assistant-4.7.1::gentoo, installed)
    (and 2 more with the same problem)

x11-libs/qt-dbus:4

  (x11-libs/qt-dbus-4.7.1::gentoo, installed) pulled in by
    ~x11-libs/qt-dbus-4.7.1aqua=,debug=] required by (x11-libs/qt-webkit-4.7.1::gentoo, installed)
    (and 1 more with the same problem)

  (x11-libs/qt-dbus-4.7.0::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-dbus-4.7.0aqua=,debug=] required by (x11-libs/qt-gui-4.7.0-r1::gentoo, ebuild scheduled for merge)
    (and 1 more with the same problem)

x11-libs/qt-declarative:4

  (x11-libs/qt-declarative-4.7.1::gentoo, installed) pulled in by
    ~x11-libs/qt-declarative-4.7.1qt3support=] required by (x11-libs/qt-assistant-4.7.1::gentoo, installed)

  (x11-libs/qt-declarative-4.7.0::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-declarative-4.7.04[private-headers] required by (dev-util/qt-creator-2.0.1::gentoo, ebuild scheduled for merge)
    (and 1 more with the same problem)

x11-libs/qt-gui:4

  (x11-libs/qt-gui-4.7.1-r1::gentoo, installed) pulled in by
    ~x11-libs/qt-gui-4.7.1aqua=,debug=] required by (x11-libs/qt-svg-4.7.1::gentoo, installed)
    (and 7 more with the same problem)

  (x11-libs/qt-gui-4.7.0-r1::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-gui-4.7.0aqua=,qt3support=] required by (x11-libs/qt-declarative-4.7.0::gentoo, ebuild scheduled for merge)
    (and 8 more with the same problem)

x11-libs/qt-opengl:4

  (x11-libs/qt-opengl-4.7.0-r1::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-opengl-4.7.0aqua=,qt3support=] required by (x11-libs/qt-declarative-4.7.0::gentoo, ebuild scheduled for merge)

  (x11-libs/qt-opengl-4.7.1::gentoo, installed) pulled in by
    ~x11-libs/qt-opengl-4.7.1aqua=,qt3support=] required by (x11-libs/qt-declarative-4.7.1::gentoo, installed)

x11-libs/qt-webkit:4

  (x11-libs/qt-webkit-4.7.1::gentoo, installed) pulled in by
    ~x11-libs/qt-webkit-4.7.1aqua=] required by (x11-libs/qt-declarative-4.7.1::gentoo, installed)
    (and 1 more with the same problem)

  (x11-libs/qt-webkit-4.7.0-r1::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-webkit-4.7.0aqua=] required by (x11-libs/qt-declarative-4.7.0::gentoo, ebuild scheduled for merge)
    (and 2 more with the same problem)

x11-libs/qt-qt3support:4

  (x11-libs/qt-qt3support-4.7.0::gentoo, ebuild scheduled for merge) pulled in by
    ~x11-libs/qt-qt3support-4.7.0aqua=] required by (x11-libs/qt-declarative-4.7.0::gentoo, ebuild scheduled for merge)
    (and 1 more with the same problem)

  (x11-libs/qt-qt3support-4.7.1::gentoo, installed) pulled in by
    ~x11-libs/qt-qt3support-4.7.1aqua=,debug=] required by (x11-libs/qt-gui-4.7.1-r1::gentoo, installed)
    (and 1 more with the same problem)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


emerge: there are no ebuilds built with USE flags to satisfy ">=x11-libs/cairo-1.10.0[-qt4]".
!!! One of the following packages is required to complete your request:
- x11-libs/cairo-1.10.0-r3 (Change USE: -qt4)
(dependency required by "x11-libs/qt-gui-4.7.0-r1" [ebuild])
(dependency required by "x11-libs/qt-svg-4.7.0" [ebuild])
(dependency required by "dev-util/qt-creator-2.0.1" [ebuild])
(dependency required by "@selected")
(dependency required by "@world" [argument])
Comment 6 Zac Medico gentoo-dev 2010-11-25 06:18:11 UTC
The is in 2.2.0_alpha5, but I'll leave this bug open until it's in
an unmasked release.
Comment 7 Zac Medico gentoo-dev 2010-11-27 18:25:31 UTC
This is fixed in 2.1.9.25.