I upgrade virtualbox 4.1.2 to 4.1.4 with this uses flags : [ebuild U ] app-emulation/virtualbox-4.1.4 [4.1.2] USE="additions alsa extensions java opengl pulseaudio* python qt4 sdk vboxwebsrv vnc -doc -headless" 0 kB And compilation failed every time. Reproducible: Always Steps to Reproduce: 1. emerge -av app-emulation/virtualbox Actual Results: Compilation failed /var/tmp/portage/app-emulation/virtualbox-4.1.4/work/VirtualBox-4.1.4_OSE/out/linux.amd64/release/obj/vboxjxpcom-gen/jxpcomgen/java/glue/Helper.java:123: error: name clash: unwrap(List<Integer>) and unwrap(List<Short>) have the same erasure public static int[] unwrap(List<Integer> vals) { ^ /var/tmp/portage/app-emulation/virtualbox-4.1.4/work/VirtualBox-4.1.4_OSE/out/linux.amd64/release/obj/vboxjxpcom-gen/jxpcomgen/java/glue/Helper.java:135: error: name clash: unwrap(List<Long>) and unwrap(List<Short>) have the same erasure public static long[] unwrap(List<Long> vals) { ^ /var/tmp/portage/app-emulation/virtualbox-4.1.4/work/VirtualBox-4.1.4_OSE/out/linux.amd64/release/obj/vboxjxpcom-gen/jxpcomgen/java/glue/Helper.java:147: error: name clash: unwrap(List<Boolean>) and unwrap(List<Short>) have the same erasure public static boolean[] unwrap(List<Boolean> vals) { ^ /var/tmp/portage/app-emulation/virtualbox-4.1.4/work/VirtualBox-4.1.4_OSE/out/linux.amd64/release/obj/vboxjxpcom-gen/jxpcomgen/java/glue/Helper.java:159: error: name clash: unwrap(List<String>) and unwrap(List<Short>) have the same erasure public static String[] unwrap(List<String> vals) { ^ C VBox-xpcom-nspr - {C}/src/libs/xpcom18a4/nsprpub/pr/src/misc/prerr.c C VBox-xpcom-nspr - {C}/src/libs/xpcom18a4/nsprpub/pr/src/misc/prerror.c C VBox-xpcom-nspr - {C}/src/libs/xpcom18a4/nsprpub/pr/src/misc/prerrortable.c C VBox-xpcom-nspr - {C}/src/libs/xpcom18a4/nsprpub/pr/src/misc/prinit.c C VBox-xpcom-nspr - {C}/src/libs/xpcom18a4/nsprpub/pr/src/misc/prinrval.c C VBox-xpcom-nspr - {C}/src/libs/xpcom18a4/nsprpub/pr/src/misc/pripc.c C VBox-xpcom-nspr - {C}/src/libs/xpcom18a4/nsprpub/pr/src/misc/prlog2.c C VBox-xpcom-nspr - {C}/src/libs/xpcom18a4/nsprpub/pr/src/misc/prlong.c C VBox-xpcom-nspr - {C}/src/libs/xpcom18a4/nsprpub/pr/src/misc/prnetdb.c C VBox-xpcom-nspr - {C}/src/libs/xpcom18a4/nsprpub/pr/src/misc/prolock.c /var/tmp/portage/app-emulation/virtualbox-4.1.4/work/VirtualBox-4.1.4_OSE/src/libs/xpcom18a4/nsprpub/pr/src/misc/prnetdb.c: In function 'VBoxNsprPR_EnumerateAddrInfo': /var/tmp/portage/app-emulation/virtualbox-4.1.4/work/VirtualBox-4.1.4_OSE/src/libs/xpcom18a4/nsprpub/pr/src/misc/prnetdb.c:2138:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] /var/tmp/portage/app-emulation/virtualbox-4.1.4/work/VirtualBox-4.1.4_OSE/src/libs/xpcom18a4/nsprpub/pr/src/misc/prnetdb.c:2142:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] C VBox-xpcom-nspr - {C}/src/libs/xpcom18a4/nsprpub/pr/src/misc/prrng.c C VBox-xpcom-nspr - {C}/src/libs/xpcom18a4/nsprpub/pr/src/misc/prsystem.c C VBox-xpcom-nspr - {C}/src/libs/xpcom18a4/nsprpub/pr/src/misc/prtime.c C VBox-xpcom-nspr - {C}/src/libs/xpcom18a4/nsprpub/pr/src/misc/prthinfo.c 4 errors 1 warning kmk: *** [/var/tmp/portage/app-emulation/virtualbox-4.1.4/work/VirtualBox-4.1.4_OSE/out/linux.amd64/release/obj/VBoxJXpcom-inst-jar/vboxjxpcom.jar] Error 1 kmk: *** Waiting for unfinished jobs.... filesplitter: Created 165 files. GEN {T}/vboxjws-gen/jwsgen/jwsglue.list /opt/oracle-jdk-bin-1.7.0/bin/wsimport -Xnocompile -p org.virtualbox_4_1.jaxws -d /var/tmp/portage/app-emulation/virtualbox-4.1.4/work/VirtualBox-4.1.4_OSE/out/linux.amd64/release/obj/vboxjws-gen/jwsgen/java /var/tmp/portage/app-emulation/virtualbox-4.1.4/work/VirtualBox-4.1.4_OSE/out/linux.amd64/release/bin/sdk/bindings/webservice/vboxwebService.wsdl parsing WSDL... Generating code... kmk: *** Exiting with status 2 * ERROR: app-emulation/virtualbox-4.1.4 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =app-emulation/virtualbox-4.1.4', * the complete build log and the output of 'emerge -pqv =app-emulation/virtualbox-4.1.4'. * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-4.1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-4.1.4/temp/environment'. * S: '/var/tmp/portage/app-emulation/virtualbox-4.1.4/work/VirtualBox-4.1.4_OSE' !!! When you file a bug report, please include the following information: GENTOO_VM=oracle-jdk-bin-1.7 CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.7.0" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="" and of course, the output of emerge --info >>> Failed to emerge app-emulation/virtualbox-4.1.4, Log file:
# emerge --info =app-emulation/virtualbox-4.1.4 Portage 2.1.10.22 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.0.6-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.1 Timestamp of tree: Thu, 06 Oct 2011 19:15:01 +0000 app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/cmake: 2.8.5-r2 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.3-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r3 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo gnome ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 PUEL skype-eula dlj-1.1 Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/" LANG="fr_FR.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="fr" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/gnome" SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage" USE="64bit X a52 aac acl acpi alsa amd64 apache2 apng autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt css ctype cups curl cxx dbus dhcp dhcpcd dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gd gdbm gdu gif gimp gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk gtk3 gzip iconv introspection ipv6 jpeg jpeg2k lame lcms ldap libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql nautilus ncurses nls nptl nptlonly nsplugin nss nvidia ogg opengl openmp pam pango pcre pdf php pmu png policykit ppds pppd qt3support raw readline samba sdl sensord session simplexml smp spell sqlite sse sse2 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg symlink sysfs syslog tcl tcpd theora tiff tk truetype udev unicode usb v4l2 vim-syntax vorbis wifi win64 x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="cgid cgi actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" NETBEANS_MODULES="*" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="canon canon630u canon_dr canon_pp genesys" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please don't CC arch teams on your own
Problem solved. Java 7 is the problem. Solution: # eselect java-vm set system sun-jdk-1.6