Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380205 - [java-overlay] dev-java/icedtea-7.1.14 failed on compile
Summary: [java-overlay] dev-java/icedtea-7.1.14 failed on compile
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords:
: 382741 (view as bug list)
Depends on:
Blocks: 382485
  Show dependency tree
 
Reported: 2011-08-22 09:24 UTC by tman
Modified: 2011-10-24 13:25 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/portage/dev-java:icedtea-7.1.14:20110820-173241.log (dev-java:icedtea-7.1.14:20110820-173241.log,427.75 KB, text/plain)
2011-08-22 09:24 UTC, tman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2011-08-22 09:24:26 UTC
########################################################################
########################################################################
##### 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"
Comment 1 tman 2011-08-22 09:24:56 UTC
Created attachment 284207 [details]
/var/log/portage/dev-java:icedtea-7.1.14:20110820-173241.log
Comment 2 R Bar-On 2011-09-10 14:25:47 UTC
Same issue here.  I guess icedtea needs a patch to recognize linux-3.
Comment 3 dexon 2011-09-10 17:42:35 UTC
As a temporary solution:
echo "DISABLE_HOTSPOT_OS_VERSION_CHECK=ok" | sudo tee -a /etc/make.conf
Comment 4 Juergen Rose 2011-09-11 13:57:11 UTC
I have the same error with 3.0.4-gentoo.
Comment 5 Juergen Rose 2011-09-11 20:12:54 UTC
I think, that

DISABLE_HOTSPOT_OS_VERSION_CHECK=ok emerge -uv1 icedtea

is enough to emerge icedtea-7.1.14.
Comment 6 Serkan Kaba (RETIRED) gentoo-dev 2011-09-27 17:38:04 UTC
*** Bug 382741 has been marked as a duplicate of this bug. ***
Comment 7 Martin von Gagern 2011-09-27 21:22:09 UTC
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.
Comment 8 Miroslav Šulc gentoo-dev 2011-10-19 12:42:22 UTC
please test with version 7.2.0 from overlay
Comment 9 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-10-24 13:25:49 UTC
This should be fixed in 7.2.0