Summary: | $PORTAGE_CONFIGROOT + $ROOT + $host-DEPEND conflicts with itself | ||
---|---|---|---|
Product: | Portage Development | Reporter: | solar (RETIRED) <solar> |
Component: | Conceptual/Abstract Ideas | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ansla80, dlan, embedded, haubi, mduft |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 268228 | ||
Attachments: | new options: --root-deps[=rdeps] |
Description
solar (RETIRED)
2008-05-20 04:05:17 UTC
huh.... i'm just fighting with prefixed portage (so no embedded :)), to get it to behave the same with EPREFIX=/somepath as with ROOT=/somepath dependency resolution wise. I want to build into another prefix, but have DEPENDS resolved from the "main" prefix too, if they are there - just like ROOT=/blah does.... for me this makes a lot of sense. i even require it, or i'll have to deal with package.provided in my new prefix, since it's a platform where most of @system for example is not buildable. my case is this: i have an interix prefix (which uses the interix libc). i want a windows prefix (which uses the windows libc, and are executable on the build machine, just like the interix binaries). Compiler and linker for this task is in place an works, also merging with EPREFIX=/blah emerge -pv blah works perfectly, except that (of course) portage wants to emerge a whole bunch of deps. those deps (of course only DEPEND, not {R,P}DEPEND) have to be resolved from the interix prefix, otherwise i would have to put tons of packages in the package.provided, which clearly is no good solution... *** Bug 261109 has been marked as a duplicate of this bug. *** This is solved with svn r13245 with two new options --rdeps-only and --root-deps Created attachment 186932 [details, diff]
new options: --root-deps[=rdeps]
This is in svn r13267.
(In reply to comment #4) > Created an attachment (id=186932) [edit] > new options: --root-deps[=rdeps] > > This is in svn r13267. > Just tried this new option with portage-2.2_rc30, and it apears to work fine. It's also in portage-2.1.6.12 now. This feature has been working great. It's now become a time tested good feature. Not the ideal solution long run but till perl's build system along with a few others is resolved this prevents many headaches. It progressed embedded/gen2's ability to support projects such as chromium-os. |