Summary: | use test && KMEXTRACTONLY="plasma/desktop/shell/data" as LAST LINE breaks repoman | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Andreas K. Hüttel <dilfridge> |
Component: | Core - Ebuild Support | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild
Output of emerge --info |
Description
Andreas K. Hüttel
2010-05-01 19:25:29 UTC
Created attachment 229929 [details]
ebuild
Created attachment 229931 [details]
Output of emerge --info
I don't think we can or want to ignore the return value from `source $EBUILD` so I guess you'll have to do something like add 'true' at the bottom of the ebuild. Ah I understand now... and I dont know either how to improve this. Maybe just a small note in the docs about useflags somewhere (since this is where the problem might turn up)? Anyway, resolving as cantfix for now. (In reply to comment #1) You also shouldn't call use() in global scope. (In reply to comment #5) > (In reply to comment #1) > > You also shouldn't call use() in global scope. > * where is that documented? * can you suggest a (similarly readable and simple) alternative? (In reply to comment #6) > * where is that documented? Well, it's common practice to call it in global scope, expecially in eclasses. In the future we might add a phase hook registration interface so that functions can be registered in global scope but then called later (before or after a normal ebuild phase). > * can you suggest a (similarly readable and simple) alternative? pkg_setup() { use test && KMEXTRACTONLY="plasma/desktop/shell/data" kde4-meta_pkg_setup } |