Emerge failed with: xxx xxx # eselect java-vm list Available Java Virtual Machines: [1] icedtea-7 system-vm [2] sun-jdk-1.6 xxx xxx # with: xxx xxx # eselect java-vm list Available Java Virtual Machines: [1] icedtea-7 [2] sun-jdk-1.6 system-vm xxx xxx # all ok. Reproducible: Always Steps to Reproduce: 1. eselect java-vm set system 1 && emerge --update app-emulation/virtualbox 2. 3. Actual Results: app-emulation/virtualbox[java] not build with icedtea-7. Expected Results: Updated app-emulation/virtualbox from 4.1.6 to 4.1.8
Created attachment 297161 [details] info
Created attachment 297163 [details] pqv
Created attachment 297165 [details] build.log
Created attachment 297167 [details] environment
Also fails to compile with Oracle JDK 1.7.0.2
Confirmed for icedtea-bin-7. Still bites, same errors occur on ~amd64. Setting system-vm to sun-jdk-1.6 allows to build.
(In reply to comment #6) > Confirmed for icedtea-bin-7. Still bites, same errors occur on ~amd64. > > Setting system-vm to sun-jdk-1.6 allows to build. Ditto for me.
+ 14 Feb 2012; Lars Wendler <polynomial-c@gentoo.org> virtualbox-4.1.8.ebuild: + Use jre-1.6/jdk-1.6 for java bindings. This should fix bug #396271 and + similar ones. + Can you guys give this another try with virtualbox-4.1.8? I've tried to fix it and need some verification.
Setting icedtea-bin-7 as system-vm, then running emerge virtualbox: Builds fine, no errors.
I consider this bug being fixed. Feel free to add further comments if you think it's still not fixed.