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

Bug 550056

Summary: sys-apps/portage: emerge slot conflict output should suggest solutions involving USE changes for conditional dependencies
Product: Portage Development Reporter: Pacho Ramos <pacho>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: esigra, kingjon3377
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=550002
https://bugs.gentoo.org/show_bug.cgi?id=791349
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 300071    

Description Pacho Ramos gentoo-dev 2015-05-21 14:48:14 UTC
Looking to reports like:
https://bugs.gentoo.org/show_bug.cgi?id=549978#c5
https://bugs.gentoo.org/show_bug.cgi?id=550002

Looks like the current output:
!!! Multiple package instances within a single package slot have been pulled                                                                                                                                                                       
!!! into the dependency graph, resulting in a slot conflict:                                                                                                                                                                                       
                                                                                                                                                                                                                                                   
media-libs/libvpx:0                                                                                                                                                                                                                                

  (media-libs/libvpx-1.3.0:0/0::gentoo, installed) pulled in by
    =media-libs/libvpx-1.3.0* required by (www-client/firefox-31.7.0:0/0::gentoo, installed)
    ^                  ^^^^^^

  (media-libs/libvpx-1.4.0:0/2::gentoo, ebuild scheduled for merge) pulled in by
    >=media-libs/libvpx-1.4.0:= required by (www-client/chromium-43.0.2357.65:0/0::gentoo, ebuild scheduled for merge)

Should point to the USE flag causing the blockers to allow people to guess they should switch it, in this case, the offending USE is "system-libvpx"

Thanks a lot :)
Comment 1 Zac Medico gentoo-dev 2015-05-21 17:55:49 UTC
The slot_conflict_handler checks for solutions to USE deps, but apparently it doesn't check for USE conditional solutions like this.