Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418991 - sys-apps/portage: please provide ability to call 'ebuild ... unpack' with unsatisfied REQUIRED_USE
Summary: sys-apps/portage: please provide ability to call 'ebuild ... unpack' with uns...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-01 10:59 UTC by Michał Górny
Modified: 2023-09-01 11:55 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-06-01 10:59:38 UTC
$ ebuild bumblebee-3.0-r1.ebuild --force unpack

  The following REQUIRED_USE flag constraints are unsatisfied:
    || ( video_cards_nouveau video_cards_nvidia )


It would be great if it could just unpack the file with --force. It's unlikely that unsatisfied REQUIRED_USE would actually cause problems with that, esp. considering that 'ebuild' doesn't even check dependencies...
Comment 1 Zac Medico gentoo-dev 2012-06-01 11:11:11 UTC
Yeah, a warning message should be sufficient.
Comment 2 Zac Medico gentoo-dev 2012-06-01 11:14:36 UTC
Although, we should probably block commands like 'package' and 'merge', to prevent installation with invalid USE state.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-01 11:55:19 UTC
How would this work if there's conditional distfiles in SRC_URI? I guess we can let people shoot themselves in the foot, it's not a big deal here.