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

Bug 460816

Summary: sys-apps/portage-2.2.0_alpha166 aborts dependency resolution due to one issue, but reports unrelated issues to the user
Product: Portage Development Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: Core - DependenciesAssignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: normal CC: civil, esigra, nicolasbock, njsg, pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=478368
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 300071    

Description Dennis Schridde 2013-03-08 19:03:03 UTC
When emerge finds a problem during dependency resolution, it will eventually abort. However, it will report the unsolved problems it found to the user, and very often these problems might have been solved later during dependency resolution and are also entirely unrelated and confusing.

For example, the primary issue below is ("<net-im/ktp-text-ui-0.5.80" is blocking net-im/ktp-common-internals-0.5.80). But portage reports something about xorg-server ("no parents that aren't satisfied by other packages in this slot" - weird enough), instead of the actual problem. Due to the amount of noise, and the seemingly nonsense messages, the user will be confused.

So instead of reporting "random" problems to the user, portage should only report those which lead to it aborting dependency resolution.

Example:
[ebuild     U  ] x11-base/xorg-server-1.13.3 [1.13.2.902]
[ebuild     U  ] dev-qt/qt-creator-2.7.0_rc [2.6.2] USE="{-test%}" LINGUAS="-es% -it% -uk% -zh_TW%" 
[ebuild     U  ] www-client/google-chrome-26.0.1410.28_beta186335 [26.0.1410.19_beta185128]
[ebuild     U  ] net-im/ktp-common-internals-0.5.80 [0.5.2]
[ebuild     U  ] net-im/ktp-filetransfer-handler-0.5.80 [0.5.2]
[ebuild     U  ] net-im/ktp-accounts-kcm-0.5.80 [0.5.2]
[ebuild     U  ] net-im/ktp-contact-runner-0.5.80 [0.5.2]
[ebuild     U  ] net-im/ktp-kded-module-0.5.80 [0.5.2.1]
[ebuild     U  ] net-im/ktp-auth-handler-0.5.80 [0.5.2]
[ebuild     U  ] net-im/ktp-contact-list-0.5.80 [0.5.2]
[ebuild     U  ] net-im/ktp-call-ui-0.5.80 [0.5.2]
[ebuild     U  ] net-im/ktp-send-file-0.5.80 [0.5.2]
[ebuild  N     ] net-im/ktp-desktop-applets-0.5.80  USE="(-aqua) -debug" LINGUAS="de -ca -cs -da -el -es -et -fi -fr -ga -gl -hu -it -ja -km -lt -nb -nds -nl -pl -pt -pt_BR -ru -sk -sr -sr@ijekavian -sr@ijekavianlatin -sr@latin -sv -uk -zh_CN -zh_TW" 
[ebuild     U  ] net-im/ktp-text-ui-0.5.80 [0.5.2]
[ebuild     U  ] net-im/ktp-approver-0.5.80 [0.5.2]
[ebuild     U  ] net-im/kde-telepathy-meta-0.5.80 [0.5.2]
[blocks B      ] net-im/ktp-contact-applet ("net-im/ktp-contact-applet" is blocking net-im/ktp-desktop-applets-0.5.80)
[blocks B      ] <net-im/ktp-text-ui-0.5.80 ("<net-im/ktp-text-ui-0.5.80" is blocking net-im/ktp-common-internals-0.5.80)
[blocks B      ] net-im/ktp-presence-applet ("net-im/ktp-presence-applet" is blocking net-im/ktp-desktop-applets-0.5.80)
 
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
 
x11-base/xorg-server:0
 
  (x11-base/xorg-server-1.13.3::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)
 
  (x11-base/xorg-server-1.13.2.902::gentoo, installed) pulled in by
    x11-base/xorg-server:0/1.13.2.902= required by (x11-drivers/xf86-input-evdev-2.7.3-r1::gentoo, installed)
    x11-base/xorg-server:0/1.13.2.902= required by (x11-drivers/xf86-video-ati-7.1.0::gentoo, installed)


Reproducible: Always
Comment 1 Dennis Schridde 2013-03-08 19:04:45 UTC
See bug #250286 comment #11 for more details about the actual problem leading portage to abort.
Comment 2 Zac Medico gentoo-dev 2013-04-23 00:00:03 UTC
*** Bug 466848 has been marked as a duplicate of this bug. ***
Comment 3 Zac Medico gentoo-dev 2013-07-28 18:26:20 UTC
*** Bug 478456 has been marked as a duplicate of this bug. ***