Created attachment 268119 [details] emerge --info localespi: jar: [copy] Copying 1 file to /var/tmp/portage/dev-java/icu4j-4.4.2/work [copy] Warning: Could not find file /var/tmp/portage/dev-java/icu4j-4.4.2/work/main/classes/localespi/out/lib/icu4j-localespi.jar to copy. BUILD SUCCESSFUL Total time: 18 seconds >>> Source compiled. >>> Test phase [not enabled]: dev-java/icu4j-4.4.2 >>> Install icu4j-4.4.2 into /var/tmp/portage/dev-java/icu4j-4.4.2/image/ category dev-java * ERROR: dev-java/icu4j-4.4.2 failed (install phase): * icu4j-localespi.jar does not exist
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