Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417753 - extend REQUIRED_USE repoman check
Summary: extend REQUIRED_USE repoman check
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-27 12:38 UTC by Markus Meier
Modified: 2022-07-12 03:32 UTC (History)
3 users (show)

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 Markus Meier gentoo-dev 2012-05-27 12:38:31 UTC
repoman should complain, when REQUIRED_USE is not satisfiable. this is possible, when USE flags are masked on specific arches.

example net-libs/webkit-gtk:
REQUIRED_USE="introspection? ( geoloc gstreamer )"

USE=geoloc is only unmasked on amd64 and x86. on arm you get

# emerge -pv webkit-gtk

These are the packages that would be merged, in order:

Calculating dependencies -

!!! Problem resolving dependencies for net-libs/webkit-gtk                                                                                                                                                                                                                         ... done!

!!! The ebuild selected to satisfy "webkit-gtk" has unmet requirements.
- net-libs/webkit-gtk-1.8.1-r301::gentoo USE="gstreamer introspection jit spell test webgl (-aqua) -coverage -debug -doc (-geoloc) (-webkit2)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    introspection? ( geoloc )

  The above constraints are a subset of the following complete expression:
    introspection? ( geoloc gstreamer )
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:37 UTC
repoman support has been removed per bug 835013.

Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:32:45 UTC
pkgcheck has RequiredUseDefaults.