Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504048 - Improve "unmet requirements" output by adding origin of USE-Flags (required use, unsatisfied)
Summary: Improve "unmet requirements" output by adding origin of USE-Flags (required u...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-10 07:39 UTC by Manuel Rüger (RETIRED)
Modified: 2022-10-20 02:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2014-03-10 07:39:58 UTC
Currently, the output is not very helpful, for example this:

!!! The ebuild selected to satisfy ">=net-libs/webkit-gtk-1.6.1:2" has unmet requirements.
- net-libs/webkit-gtk-2.2.5-r200::gentoo USE="egl geoloc gles2 gstreamer introspection jit opengl spell webgl (-aqua) -coverage -debug -libsecret -test"

  The following REQUIRED_USE flag constraints are unsatisfied:
    webgl? ( exactly-one-of ( gles2 opengl ) )

  The above constraints are a subset of the following complete expression:
    geoloc? ( introspection ) introspection? ( gstreamer ) gles2? ( egl ) webgl? ( exactly-one-of ( gles2 opengl ) ) !webgl? ( at-most-one-of ( gles2 opengl ) )



Maintainers are advised to resolve required_use by default with the base.profile.
I trust maintainers to set sane defaults for their package.

Improvement to the output could look like following:


!!! The ebuild selected to satisfy ">=net-libs/webkit-gtk-1.6.1:2" has unmet requirements.
- net-libs/webkit-gtk-2.2.5-r200::gentoo USE="egl geoloc gles2 gstreamer introspection jit opengl spell webgl (-aqua) -coverage -debug -libsecret -test"


Affected useflags, (de-)activated by:
    +webgl: base.profile 
    +gles2: ebuild
    +opengl: make.conf


  The following REQUIRED_USE flag constraints are unsatisfied:
    webgl? ( exactly-one-of ( gles2 opengl ) )

  The above constraints are a subset of the following complete expression:
    geoloc? ( introspection ) introspection? ( gstreamer ) gles2? ( egl ) webgl? ( exactly-one-of ( gles2 opengl ) ) !webgl? ( at-most-one-of ( gles2 opengl ) )



This improves user experience, because now a user know where the conflict results from and this makes it easier to resolve it.