Summary: | sys-apps/portage-2.2.13: slot operator conflict due to unsatisfied REQUIRED_USE, observed for x11-base/xorg-server with USE="glamor -uxa" and unsatisfied REQUIRED_USE="glamor? ( uxa )" in x11-drivers/xf86-video-intel | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Arfrever Frehtes Taifersar Arahesis <arfrever.fta> |
Component: | Core - Dependencies | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=523064 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 155723 | ||
Attachments: | _backtrack_depgraph: fix bug #523048 |
Description
Arfrever Frehtes Taifersar Arahesis
2014-09-17 16:23:35 UTC
Problem does not occur with USE="glamor uxa". `USE="glamor -uxa" emerge -ptv x11-base/xorg-server` should print error message similar to error message in below command: $ USE="glamor -uxa" emerge -ptv x11-drivers/xf86-video-intel These are the packages that would be merged, in reverse order: Calculating dependencies | !!! Problem resolving dependencies for x11-drivers/xf86-video-intel ... done! !!! The ebuild selected to satisfy "x11-drivers/xf86-video-intel" has unmet requirements. - x11-drivers/xf86-video-intel-2.99.916::gentoo USE="dri glamor sna udev xvmc -debug -uxa" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" The following REQUIRED_USE flag constraints are unsatisfied: glamor? ( uxa ) The above constraints are a subset of the following complete expression: any-of ( sna uxa ) glamor? ( uxa ) Created attachment 385060 [details, diff] _backtrack_depgraph: fix bug #523048 This fixes _backtrack_depgraph to immediately report necessary REQUIRED_USE changes instead of discarding the graph. This is accomplished by replacing the depgraph.success_without_autounmask method with a new need_config_change method that accounts for both autounmask and REQUIRED_USE changes. I'll be maintaining this patch in the following branch: https://github.com/zmedico/portage/tree/bug_523048 This patch works, but some Portage internals are leaking in output: !!! Problem resolving dependencies for x11-drivers/xf86-video-intel:0 from @__auto_slot_operator_replace_installed__ (In reply to Arfrever Frehtes Taifersar Arahesis from comment #3) > This patch works, but some Portage internals are leaking in output: Great, thanks for testing. > !!! Problem resolving dependencies for x11-drivers/xf86-video-intel:0 from > @__auto_slot_operator_replace_installed__ I'm pretty sure those internal sets get displayed to the user in lots of cases already, so I think we should simply ignore that for now. This is in git now: https://github.com/gentoo/portage/commit/beecd610f21497609679a08f867fd88090c71fb7 This is in the portage-2.2.15 release. (In reply to Brian Dolbec from comment #6) > This is in the portage-2.2.15 release. It should be in 2.2.14 too: $ git describe --tags beecd610f21497609679a08f867fd88090c71fb7 v2.2.13-4-gbeecd61 |