Summary: | app-emulation/virtualbox-4.3.32 fails to build with jdk:1.8 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Barnoid <barnoid> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | bkohler, mlspamcb, patrick |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=580552 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Barnoid
2015-11-18 03:20:51 UTC
workaround: using jdk instead of jre helps to workaround this issue. (In reply to Marc Lecuyer from comment #1) > workaround: > using jdk instead of jre helps to workaround this issue. Thank you for the hint. kmk is found and runs, but chokes on the JavaDoc comments. I suspect this is caused by DocLint. Maybe error checks should be disabled as suggested here http://mail.openjdk.java.net/pipermail/build-infra-dev/2013-January/002899.html. Here is what I get when trying to compile virtualbox: $ sudo java-config -L The following VMs are available for generation-2: 1) IcedTea JDK 7.2.6.2 [icedtea-bin-7] *) Oracle JDK 1.8.0.66 [oracle-jdk-bin-1.8] 3) Oracle JRE 1.8.0.66 [oracle-jre-bin-1.8] $ sudo emerge -u app-emulation/virtualbox ... kmk_builtin_mkdir -p /var/tmp/portage/app-emulation/virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/vboxjws-gen/jdest-doc Generating javadoc html documentation /opt/oracle-jdk-bin-1.8.0.66/bin/javadoc -encoding UTF-8 -quiet \ -sourcepath /var/tmp/portage/app-emulation/virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/vboxjws-gen/jwsgen/java org.virtualbox_4_3 \ -d /var/tmp/portage/app-emulation/virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/vboxjws-gen/jdest-doc /var/tmp/portage/app-emulation/virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/vboxjws-gen/jwsgen/java/org/virtualbox_4_3/GuestUserState.java:89: error: unknown tag: ms <pre>--vminfo-user-idle-threshold <ms></pre>, or by setting the per-VM guest property ^ /var/tmp/portage/app-emulation/virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/vboxjws-gen/jwsgen/java/org/virtualbox_4_3/GuestUserState.java:90: error: unknown tag: ms <pre>/VirtualBox/GuestAdd/VBoxService/--vminfo-user-idle-threshold <ms></pre>with the RDONLYGUEST flag on the host. In both cases VBoxService needs ^ /var/tmp/portage/app-emulation/virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/vboxjws-gen/jwsgen/java/org/virtualbox_4_3/IAppliance.java:125: error: unknown tag: String @return List<String> ^ [many more errors] /var/tmp/portage/app-emulation/virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/vboxjws-gen/jwsgen/java/org/virtualbox_4_3/IVirtualSystemDescription.java:212: warning: no @param for type public List<String> getValuesByType(org.virtualbox_4_3.VirtualSystemDescriptionType type, org.virtualbox_4_3.VirtualSystemDescriptionValueType which) ^ 100 errors 100 warnings kmk: *** [/var/tmp/portage/app-emulation/virtualbox-4.3.32/work/VirtualBox-4.3.32/out/linux.amd64/release/obj/VBoxJWs-inst-jar/vboxjws-doc.jar] Error 1 * ERROR: app-emulation/virtualbox-4.3.32::gentoo failed (compile phase): * emake failed (In reply to Barnoid from comment #2) > (In reply to Marc Lecuyer from comment #1) > > workaround: > > using jdk instead of jre helps to workaround this issue. > > $ sudo java-config -L The following VMs are available for generation-2: *) IcedTea JDK 7.2.6.2 [icedtea-bin-7] 2) Oracle JDK 1.8.0.66 [oracle-jdk-bin-1.8] 3) Oracle JRE 1.8.0.66 [oracle-jre-bin-1.8] Update: with icedtea-bin-7 as the system VM compilation succeeds. Only recent Oracle versions seem to cause problems. *** Bug 583644 has been marked as a duplicate of this bug. *** bug 580552 is also about jre not being enough, maybe we can go there for that issue and keep this for 1.8 problem Please reopen if this is still a problem on current versions |