Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403207 - sys-apps/portage-2.2.0_alpha85: autounmask doesn't satisfy REQUIRED_USE
Summary: sys-apps/portage-2.2.0_alpha85: autounmask doesn't satisfy REQUIRED_USE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Portage team
: 407289 412599 432332 (view as bug list)
Depends on:
Blocks: autounmask
  Show dependency tree
Reported: 2012-02-11 19:46 UTC by Rafał Mużyło
Modified: 2013-07-15 18:57 UTC (History)
8 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2012-02-11 19:46:26 UTC
Perhaps it's not the correct term.

With 'Timestamp of tree: Mon, 06 Feb 2012 13:15:01 +0000' and ACCEPT_KEYWORDS="x86", 'emerge -1pv app-office/calligra' results in:
!!! Problem resolving dependencies for app-office/calligra
... done!

!!! All ebuilds that could satisfy "calligra" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-office/calligra-9999::gentoo (masked by: missing keyword)
- app-office/calligra-2.3.86::gentoo (masked by: ~x86 keyword)

'emerge -1pv =app-office/calligra-2.3.86' has a very similar result.
'ACCEPT_KEYWORDS=~x86 emerge -1pv app-office/calligra' results in:
!!! The ebuild selected to satisfy "app-office/calligra" has unmet requirements.
- app-office/calligra-2.3.86::gentoo USE="crypt eigen exif fontconfig gif glib gsf handbook iconv jpeg jpeg2k kdcraw lcms mso mysql okular opengl pdf semantic-desktop ssl threads tiff truetype wmf xml xslt (-aqua) -attica -fftw -freetds -glew -gsl -kdepim -marble -openctl -openexr -postgres -sybase -test -word-perfect -xbase" CALLIGRA_FEATURES="braindump flow karbon kexi krita plan stage tables words"

  The following REQUIRED_USE flag constraints are unsatisfied:
    calligra_features_plan? ( kdepim )

  The above constraints are a subset of the following complete expression:
    calligra_features_kexi? ( calligra_features_tables ) calligra_features_krita? ( eigen exif lcms ) calligra_features_plan? ( kdepim ) calligra_features_tables? ( eigen ) test? ( calligra_features_karbon )

So it seems that for whatever the reason autounmask isn't working in this case.
Comment 1 Zac Medico gentoo-dev 2012-02-11 20:11:43 UTC
The current autounmask code, located in depgraph._pkg_use_enabled(), only tries to satisfy USE dependencies from atoms (without violating REQUIRED_USE). We could enhance it to try pro-actively satisfy REQUIRED_USE.
Comment 2 Zac Medico gentoo-dev 2012-04-06 16:07:03 UTC
*** Bug 407289 has been marked as a duplicate of this bug. ***
Comment 3 Pacho Ramos gentoo-dev 2012-04-19 10:56:08 UTC
*** Bug 412599 has been marked as a duplicate of this bug. ***
Comment 4 Zac Medico gentoo-dev 2012-05-09 16:28:26 UTC
*** Bug 415125 has been marked as a duplicate of this bug. ***
Comment 5 Zac Medico gentoo-dev 2012-08-22 19:57:37 UTC
*** Bug 432332 has been marked as a duplicate of this bug. ***