Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538678 - REQUIRED_USE errors do not mark masked flags appropriately
Summary: REQUIRED_USE errors do not mark masked flags appropriately
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 300071
  Show dependency tree
 
Reported: 2015-02-03 15:47 UTC by Michał Górny
Modified: 2015-02-07 22:18 UTC (History)
1 user (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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-02-03 15:47:52 UTC
# FFMPEG_IMPL=libav emerge -1vp --nodep unpaper

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



!!! Problem resolving dependencies for app-text/unpaper

!!! The ebuild selected to satisfy "unpaper" has unmet requirements.
- app-text/unpaper-6.1-r1::gentoo-cvs USE="-test" ABI_X86="64" FFMPEG_IMPL="-ffmpeg -libav"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( ffmpeg_impl_ffmpeg ffmpeg_impl_libav )

And user is liek.. wtf? Actually the output should look like:
- app-text/unpaper-6.1-r1::gentoo-cvs USE="-test" ABI_X86="64" FFMPEG_IMPL="-ffmpeg (-libav)"

since USE=libav is p.u.masked on that package. Maybe it should also more verbosely indicate that for REQUIRED_USE, to help users figure out what's happening.