| Summary: | dev-java/icu4j-4.4.2: icu4j-localespi.jar does not exist during install | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin von Gagern <Martin.vGagern> |
| Component: | [OLD] Java | Assignee: | Java team <java> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge --info
build log emerge --info |
||
|
Description
Martin von Gagern
2011-04-01 12:47:03 UTC
Created attachment 268121 [details]
build log
Created attachment 268371 [details]
emerge --info
I expirience the same bug atm.
Probably due to sun-jdk-1.5 as the VM. Forcing the VM to 1.6 should work around this problem: JAVA_PKG_FORCE_VM=sun-jdk-1.6 emerge -1 icu4j I've got debugging build logs (ant -d) from both 1.5 and 1.6 here, but as the order of many things is nondeterministic, its hard to find the significant changes. The logs are too big to attach in plain, and should be easy to reproduce: ebuild /usr/portage/dev-java/icu4j/icu4j-4.4.2.ebuild clean prepare cd /var/tmp/portage/dev-java/icu4j-4.4.2/work ANT_TASKS=none GENTOO_VM=sun-jdk-1.5 ant -d jar 2>&1 | tee /tmp/1.5.log cd ebuild /usr/portage/dev-java/icu4j/icu4j-4.4.2.ebuild clean prepare cd /var/tmp/portage/dev-java/icu4j-4.4.2/work ANT_TASKS=none GENTOO_VM=sun-jdk-1.6 ant -d jar 2>&1 | tee /tmp/1.6.log (In reply to comment #3) > I've got debugging build logs (ant -d) from both 1.5 and 1.6 here, but as the > order of many things is nondeterministic, its hard to find the significant > changes. Found it, in the 1.5 verbose build: localespi: Skipped because property 'is.java6.plus' not set. This corresponds to line 380 of the root build.xml: <target name="localespi" if="is.java6.plus" description="Build Locale SPI classes"> I guess it's safe to assume that the localespi feature is available only with a java6 vm. So you have two options: either depend on java6 unconditionally, or introduce a USE flag which will skip installation of the localespi jar if disabled, and will force java6 dependency when enabled. as java 5 is gone from gentoo tree, this issue should not appear anymore and so this report became obsolete |