Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 389641

Summary: dev-java/icedtea-7.2.0-r1 fails compile phase with Unrecognised option: -XX:-PrintVMOptions
Product: Gentoo Linux Reporter: Kamen Dokov <polidevk.polidevk>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED OBSOLETE    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Kamen Dokov 2011-11-05 16:16:22 UTC
dev-java/icedtea-7.2.0-r1 fails compile phase with:

/bin/mkdir -p /var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk.build/corba


########################################################################
########################################################################
##### Entering corba for target(s) all                             #####
########################################################################

(cd  ./corba/make && \
 /usr/bin/make JDK_TOPDIR=/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk/jdk JDK_MAKE_SHARED_DIR=/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk/jdk/make/common/shared EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7 MILESTONE=fcs BUILD_NUMBER=b147 JDK_BUILD_NUMBER=b147 FULL_VERSION=1.7.0_147-icedtea-b147 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0_147 JDK_MKTG_VERSION=7u147 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=147 COOKED_BUILD_NUMBER=147 ANT_HOME="/usr/share/ant" ALT_OUTPUTDIR=/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk.build/corba ALT_BOOTDIR=/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/bootstrap/jdk1.6.0 ALT_JDK_IMPORT_PATH=/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/bootstrap/jdk1.6.0 ALT_LANGTOOLS_DIST=/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk.build/langtools/dist all)
make[3]: Entering directory `/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk/corba/make'
make[4]: Entering directory `/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk/corba/make/tools'
make[5]: Entering directory `/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk/corba/make/tools/strip_properties'
/bin/echo -e "Main-Class: build.tools.stripproperties.StripProperties" > /var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk.build/corba/btclasses/stripproperties_manifest.mf
/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/bootstrap/jdk1.6.0/bin/javac  -J-XX:ThreadStackSize=1536 -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-Xmx512m -J-Xms512m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -encoding ascii -source 6 -target 6 -d /var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk.build/corba/btclasses \
    -sourcepath ../../tools/src ../../tools/src/build/tools/stripproperties/StripProperties.java
Unrecognised option: -XX:-PrintVMOptions
Could not create the Java virtual machine.
make[5]: *** [/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk.build/corba/btjars/stripproperties.jar] Error 1
make[5]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk/corba/make/tools/strip_properties'
make[4]: *** [build] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk/corba/make/tools'
make[3]: *** [build] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk/corba/make'
make[2]: *** [corba-build] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk'
make[1]: *** [build_product_image] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0/openjdk'
make: *** [stamps/icedtea.stamp] Error 2
 [31;01m*[0m ERROR: dev-java/icedtea-7.2.0-r1 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =dev-java/icedtea-7.2.0-r1',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =dev-java/icedtea-7.2.0-r1'.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-java/icedtea-7.2.0-r1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea-7.2.0-r1/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/dev-java/icedtea-7.2.0-r1/work/icedtea-2.0'

Reproducible: Always

Steps to Reproduce:
1.emerge '=dev-java/icedtea-7.2.0-r1'
2.
3.
Actual Results:  
Unrecognised option: -XX:-PrintVMOptions
Could not create the Java virtual machine.

Expected Results:  
to build and install fine

 emerge --info '=dev-java/icedtea-7.2.0-r1':

Portage 2.2.0_alpha39_p20 (default/linux/amd64/10.0/desktop, gcc-4.5.3,
glibc-2.13-r4, 2.6.39.1-zen-00003-g6d6d304 x86_64)
=================================================================
                         System Settings
=================================================================
System uname:
Linux-2.6.39.1-zen-00003-g6d6d304-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.1
Timestamp of tree: Fri, 04 Nov 2011 16:30:01 +0000
ccache version 3.1.6 [enabled]
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/ccache:          3.1.6
dev-util/cmake:           2.8.6-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
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-r4
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo repo_name-seti
Installed sets: @kde, @koffice
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize
-ftree-loop-linear"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config
/usr/share/config/kdm/ /usr/share/gnupg/qualified.txt
/usr/share/themes/oxygen-gtk/gtk-2.0 /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/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=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize
-ftree-loop-linear -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy ccache 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://gentoo.osuosl.org http://mirrors.ludost.net/gentoo/
ftp://mirrors.ludost.net/gentoo/ http://gentoo.osuosl.org
http://mirror.gentoo.no/ http://gentoo.ynet.sk/pub
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="bg_BG.UTF-8"
LC_ALL="bg_BG.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags"
LINGUAS="en"
MAKEOPTS="-j4"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 bash-completion bitmap-fonts bluray
branding cairo cdr cli consolekit cracklib crypt cups dbus dri dvd dvdr dvdread
encode esd evo exceptions fam fortran gcj gdbm gif gpm handbook html iconv ipv6
isdnlog jpeg kde4 ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib
ncurses nls nptl nptlonly nsplugin ocamlopt ogg opengl openmp oss pam pcre pdf
png policykit pppd pulseaudio python qt3support qt4 quicktime readline
reflection sdl session spell spl sqlite sse sse2 sse3 ssl ssse3 svg tcpd
threads tiff truetype truetype-fonts type1-fonts udev udisks unicode upower
vorbis xcomposite xml xorg xv zeroconf zlib zsh-completion"
ALSA_CARDS="hda-nvidia hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions
alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache cern_meta charset_lite dav dav_fs
dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache
filter headers ident imagemap include info log_config log_forensic logio
mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer
proxy_connect proxy_ftp proxy_http rewrite setenvif speling status substitute
unique_id userdir usertrack version vhost_alias cgid cgi" APACHE2_MPMS="worker"
CAMERAS="ptp2 canon" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech clientdebug
earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 navcom nmea
ntrip oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar timing tnt
tripmate tsip ubx" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en"
RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK,
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS


emerge -pv '=dev-java/icedtea-7.2.0-r1'

These are the packages that would be merged, in order:

Calculating dependencies              ... done!
[ebuild  NS    ] dev-java/icedtea-7.2.0-r1 [6.1.10.4] USE="jamvm javascript
nsplugin pulseaudio systemtap webstart zero -debug -doc -examples" 0 kB
[ebuild  NS    ] dev-java/icedtea-web-1.1.3-r7 [1.1.3] USE="nsplugin -build
-doc" 0 kB

Total: 2 packages (2 in new slots), Size of downloads: 0 kB
Comment 1 Kamen Dokov 2011-11-05 16:17:15 UTC
Created attachment 291757 [details]
build.log
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-11-06 21:40:01 UTC
Try disabling jamvm use flag.
Comment 3 Kamen Dokov 2011-11-06 22:27:05 UTC
(In reply to comment #2)
> Try disabling jamvm use flag.

It's disabled already but compile does not go further than this ;)
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-11-13 09:01:46 UTC
The problem is probably jamvm enabled on icedtea-6 (which gets used to build icedtea-7), actually. The easiest solution now would be emerging icedtea-bin-7, which will then be used to build icedtea-7.
Comment 5 Kamen Dokov 2011-11-13 14:29:40 UTC
(In reply to comment #4)
> The problem is probably jamvm enabled on icedtea-6 (which gets used to build
> icedtea-7), actually. The easiest solution now would be emerging icedtea-bin-7,
> which will then be used to build icedtea-7.

Finally i have icedtea-7, thank you!
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-11-13 14:36:20 UTC
Please do not mark this fixed as long as ebuild doesn't have the necessary blocker in DEPEND.
Comment 7 Kamen Dokov 2011-11-13 14:41:59 UTC
(In reply to comment #6)
> Please do not mark this fixed as long as ebuild doesn't have the necessary
> blocker in DEPEND.

OK :)
Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-11-18 21:11:36 UTC
jamvm USE flag was removed, please rebuild icedtea:6 using e.g --newuse emerge option and then it should work
Comment 9 Kamen Dokov 2011-11-18 21:37:06 UTC
(In reply to comment #8)
> jamvm USE flag was removed, please rebuild icedtea:6 using e.g --newuse emerge
> option and then it should work

Thank you!