######################################################################## ######################################################################## ##### Entering hotspot for target(s) all_product ##### ######################################################################## cd ./hotspot/make && \ /usr/bin/make JDK_TOPDIR=/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk/jdk JDK_MAKE_SHARED_DIR=/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk/jdk/make/common/shared |EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7 MILESTONE=fcs BUILD_NUMBER=b136 JDK_BUILD_NUMBER=b136 FULL_VERSION=1.7.0_136-icedtea-b136 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0_136 |JDK_MKTG_VERSION=7u136 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0 PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION=0 STATIC_CXX=false ARCH_DATA_MODEL=64 COOKED_JDK_UPDATE_VERSION=136 |COOKED_BUILD_NUMBER=136 ANT_HOME="/usr/share/ant" ALT_OUTPUTDIR=/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk.build/hotspot/outputdir ALT_EXPORT_PATH=/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/ |openjdk.build/hotspot/import ALT_SLASH_JAVA=/NOT-SET ALT_BOOTDIR=/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/bootstrap/jdk1.6.0 ALT_LANGTOOLS_DIST=/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk. |build/langtools/dist all_product make[3]: Entering directory `/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk/hotspot/make' Makefile:378: target `/Xusage.txt' given more than once in the same rule. cd /var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk/hotspot/make; \ /usr/bin/make VM_TARGET=product generic_build2 ALT_OUTPUTDIR=/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk.build/hotspot/outputdir make[4]: Entering directory `/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk/hotspot/make' Makefile:378: target `/Xusage.txt' given more than once in the same rule. mkdir -p /var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk.build/hotspot/outputdir cd /var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk.build/hotspot/outputdir; \ /usr/bin/make -f /var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk/hotspot/make/linux/Makefile \ LP64=1 JAVA_HOME=/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/bootstrap/jdk1.6.0 OUTPUTDIR=/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk.build/hotspot/outputdir GAMMADIR=/var/tmp/ |portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk/hotspot MAKE_VERBOSE=y HOTSPOT_RELEASE_VERSION=21.0-b07 JRE_RELEASE_VERSION=1.7.0_136-b136 HOTSPOT_BUILD_VERSION= product make[5]: Entering directory `/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk.build/hotspot/outputdir' /usr/bin/make -f /var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk/hotspot/make/linux/Makefile checks make[6]: Entering directory `/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk.build/hotspot/outputdir' >&2 echo "*** This OS is not supported:" `uname -a`; exit 1; *** This OS is not supported: Linux TuX 3.0.3-gentoo #3 SMP PREEMPT Thu Aug 18 10:35:47 CEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU P9700 @ 2.80GHz GenuineIntel GNU/Linux make[6]: *** [check_os_version] Error 1 make[6]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk.build/hotspot/outputdir' make[5]: *** [linux_amd64_compiler2/debug] Error 2 make[5]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk.build/hotspot/outputdir' make[4]: *** [generic_build2] Error 2 make[4]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk/hotspot/make' make[3]: *** [product] Error 2 make[3]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk/hotspot/make' make[2]: *** [hotspot-build] Error 2 make[2]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk' make[1]: *** [build_product_image] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14/openjdk' make: *** [stamps/icedtea.stamp] Error 2 emake failed * ERROR: dev-java/icedtea-7.1.14 failed (compile phase): * make failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 5327: Called die * The specific snippet of code: * emake -j 1 || die "make failed" * * If you need support, post the output of 'emerge --info =dev-java/icedtea-7.1.14', * the complete build log and the output of 'emerge -pqv =dev-java/icedtea-7.1.14'. * This ebuild is from a repository named 'java-overlay' !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea6 CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/log/portage/dev-java:icedtea-7.1.14:20110820-173241.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea-7.1.14/temp/environment'. * S: '/var/tmp/portage/dev-java/icedtea-7.1.14/work/icedtea-1.14' Reproducible: Always Portage 2.2.0_alpha51_p6 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.3-gentoo x86_64) ================================================================= System uname: Linux-3.0.3-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.3 Timestamp of tree: Mon, 22 Aug 2011 07:00:01 +0000 ccache version 3.1.6 [disabled] app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r2, 3.2-r2 dev-util/ccache: 3.1.6 dev-util/cmake: 2.8.5-r2 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.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-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo amielke-overlay emacs gnome lorelei-overlay java-overlay lxde mgorny nikai qting-edge roslin scarabeus_local_overlay science Techwolf bleeding-edge wirelay kde poly-c webapp-experimental mpd lokal Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/boot/grub/40_custom /etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/fstab /etc/grub.d/05_theme /etc/make.conf /etc/xdg/openbox/autostart.sh /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /usr/share/xsessions/openbox.desktop /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en vi" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages"
Created attachment 284207 [details] /var/log/portage/dev-java:icedtea-7.1.14:20110820-173241.log
Same issue here. I guess icedtea needs a patch to recognize linux-3.
As a temporary solution: echo "DISABLE_HOTSPOT_OS_VERSION_CHECK=ok" | sudo tee -a /etc/make.conf
I have the same error with 3.0.4-gentoo.
I think, that DISABLE_HOTSPOT_OS_VERSION_CHECK=ok emerge -uv1 icedtea is enough to emerge icedtea-7.1.14.
*** Bug 382741 has been marked as a duplicate of this bug. ***
The patch from bug #383737 comment #2 addresses this issue here as well, by having the ebuild export DISABLE_HOTSPOT_OS_VERSION_CHECK. No big deal, I know, but you might nevertheless consider applying one patch to fix two bugs.
please test with version 7.2.0 from overlay
This should be fixed in 7.2.0