Summary: | sys-apps/portage: No automation for EAPI=2 USE block resolution | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Walter <walter> |
Component: | [OLD] Core system | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | esigra, pacho, vmatare+gbug |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Walter
2009-11-23 11:50:23 UTC
PS: Extra pledge - if a developer can help me add this feature in portage before Friday I will write a detailed document for other organisations who may wish to use gentoo ebuilds+svn+vservers for highly automated software development / revision management / testing / deployment, which should help to increase gentoo's profile. I'll make sure that document is done before Friday next week. *** Bug 250286 has been marked as a duplicate of this bug. *** Just FYI: while waiting for this my current workaround is to add a new setting 'EXTRA_USE="..."' to the ebuild files, extract those USE flags prior to running emerge and append them to /etc/make.conf Obviously less than ideal, but sufficient until this gets sorted out. *** This bug has been marked as a duplicate of bug 258371 *** Wrote hacky workaround. (In reply to comment #5) > Wrote hacky workaround. > Why don't you deploy a custom overlay/profile that sets your USE flags correctly via package.use? Packages with changed USE-flags will be rebuilt by the -N option and you have no need for any hacking whatsoever. Because in the use case described, the required USE flags are unknown. ie: They are only spat out of one or more piecemeal attempts at running emerge. This is emerge's main use case, however the alternate use case of 'install all dependencies, including requisite USE flags please' is not presently met. In automated environments this is a significant use case that makes emerge and the gentoo platform as a whole appear immature, IMHO. (In reply to comment #7) > This is emerge's main use case, however the alternate use case of 'install all > dependencies, including requisite USE flags please' is not presently met. Maybe --autounmask (from bug 280097) would suit your needs? It's supported in >=portage-2.1.9. |