Summary: | FEATURES=installsources installing sources to incorrect path | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Chetan Reddy <chetanreddy> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
change prepstrip_sources_dir to not include EPREFIX
disable setting of ${ED} to incorrect value emerge info |
Description
Chetan Reddy
2011-12-19 05:58:23 UTC
Created attachment 296345 [details, diff]
change prepstrip_sources_dir to not include EPREFIX
This patch to ebuild-helpers/prepstrip fixes the issue for me.
So, emerging htop works with the patch, but now rpm2targz fails with QA concerns. The problem seems to be that ${ED} is expanding to ${D} and not ${D}/${EPREFIX} in the prepstrip script when emerging rpm2targz. Whereas it expands correctly to ${D}/${EPREFIX} when emerging htop. Any ideas as to why this may be happening? Created attachment 296373 [details, diff]
disable setting of ${ED} to incorrect value
This additional patch fixes the problem for me.
can you please post your emerge --info? Created attachment 296375 [details] emerge info Attached. Also, my patch in comment #3 is for ebuild-helpers/prepall Yes, thanks, but without file and context, that patch is really close to unusable. Please use diff -u for patches. First you can update your portage to 2.2.01.19941, that already fixes the case with ED thing. Next I just committed a patch that does a similar thing to what you did in comment #1. Cool. Thank you. Can you also add dev-util/debugedit to the prefix tree to make installsources work without having to ecopy the script? If it needs a new ticket, i can do that. If it needs more than a straight import, then you'll have to file a new bug for that, please. Just doing an ecopy worked, without making any more modifications at all. If that doesn't count as a straight-forwad import, please close this ticket and i'll create a new one. can only close this one once I release a portage with a fix for this one ;) ok, fix released in 2.2.01.19981, thanks This commit makes the master branch compatible with prefix: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=b135c01eff4ea89d16ae711271cc215388d08d17 |