Summary: | make depend on split-ant and ANT_TASKS="none" the new default | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vlastimil Babka (Caster) (RETIRED) <caster> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 204625 | ||
Bug Blocks: | 177362 | ||
Attachments: |
patch for java eclasses to apply before testing
x86 list amd64 list ppc list ppc64 list |
Description
Vlastimil Babka (Caster) (RETIRED)
2007-12-30 11:14:34 UTC
Created attachment 139619 [details, diff]
patch for java eclasses to apply before testing
Created attachment 139626 [details]
x86 list
Created attachment 139641 [details]
amd64 list
Created attachment 139650 [details]
ppc list
Created attachment 139670 [details]
ppc64 list
have fun
To avoid breaking Netbeans amd64 and x86 need to do bug 204625 before this patch can be applied. I tested all mentioned packages, no problems (with newer netbeans stable). Removing x86. I hit a circular dep with FEATURES="test" on my packages. Check this out: baudequad ~ # FEATURES="test" emerge -pv `cat java.pkgs ` These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] www-servers/tomcat-6.0.14-r1 USE="test -doc -examples -source" [ebuild N ] dev-java/commons-dbcp-1.2.2 USE="test -doc -source" !!! Error: circular dependencies: ('ebuild', '/', 'dev-java/commons-dbcp-1.2.2', 'merge') depends on ('ebuild', '/', 'www-servers/tomcat-6.0.14-r1', 'merge') (hard) ('ebuild', '/', 'www-servers/tomcat-6.0.14-r1', 'merge') depends on ('ebuild', '/', 'dev-java/commons-dbcp-1.2.2', 'merge') (hard) !!! Note that circular dependencies can often be avoided by temporarily !!! disabling USE flags that trigger optional dependencies. baudequad ~ # This is for ppc64. Can the java herd peek at this? (In reply to comment #8) > I hit a circular dep with FEATURES="test" on my packages. Check this out: > Can the java herd peek at this? Created bug 205245 about it, thanks. But since it's unrelated to this bug, please proceed and workaround it by emerging commons-dbcp without FEATURES=test first. Thanks. works for ppc64 OK, Kenneth tested amd64 so that's enough coverage, and shouldn't be any different for ppc. Patch committed, thanks everyone. Reopening, as ant guide should reflect the changes. Also, I'm removing the WANT_SPLIT_ANT declaration from ebuilds in tree. There are also cases where ebuilds explicitly say ANT_TASKS="none" although it's now not needed, but I will probably not touch these, since ANT_TASKS is still supported variable, unlike WANT_SPLIT_ANT. OK, documentation updated. Also added links to ant guide in the java packaging guide. |