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

Bug 538678

Summary: REQUIRED_USE errors do not mark masked flags appropriately
Product: Portage Development Reporter: Michał Górny <mgorny>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 300071    

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.