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

Bug 421077

Summary: dev-java/icedtea-7.2.2 compilation fails with Unrecognised option: -XX:-PrintVMOptions
Product: Gentoo Linux Reporter: Mariusz Pękala <mariusz>
Component: [OLD] JavaAssignee: Andrew John Hughes <gnu_andrew>
Status: RESOLVED INVALID    
Severity: normal CC: caster, java, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Mariusz Pękala 2012-06-14 09:56:56 UTC
Similar problem as in bug #389641 :

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

(cd  ./corba/make && \
 /usr/bin/make JDK_TOPDIR=/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/openjdk/jdk JDK_MAKE_SHARED_DIR=/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/openjdk/jdk/make/common/shared EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7 MILESTONE=fcs BUILD_NUMBER=b21 JDK_BUILD_NUMBER=b21 FULL_VERSION=1.7.0_04-b21 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0_04 JDK_MKTG_VERSION=7u4 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=40 COOKED_BUILD_NUMBER=21 ANT_HOME="/usr/share/ant" ALT_OUTPUTDIR=/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/openjdk.build/corba ALT_BOOTDIR=/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/bootstrap/jdk1.6.0 ALT_JDK_IMPORT_PATH=/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/bootstrap/jdk1.6.0 ALT_LANGTOOLS_DIST=/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/openjdk.build/langtools/dist all)
make[3]: Entering directory `/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/openjdk/corba/make'
make[4]: Entering directory `/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/openjdk/corba/make/tools'
make[5]: Entering directory `/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/openjdk/corba/make/tools/strip_properties'
/bin/echo -e "Main-Class: build.tools.stripproperties.StripProperties" > /var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/openjdk.build/corba/btclasses/stripproperties_manifest.mf
/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/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.2/work/icedtea-2.2/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.2/work/icedtea-2.2/openjdk.build/corba/btjars/stripproperties.jar] Error 1
make[5]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/openjdk/corba/make/tools/strip_properties'
make[4]: *** [build] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/openjdk/corba/make/tools'
make[3]: *** [build] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/openjdk/corba/make'
make[2]: *** [corba-build] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/openjdk'
make[1]: *** [build_product_image] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2/openjdk'
make: *** [stamps/icedtea.stamp] Error 2
 * ERROR: dev-java/icedtea-7.2.2 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =dev-java/icedtea-7.2.2',
 * the complete build log and the output of 'emerge -pqv =dev-java/icedtea-7.2.2'.
 * The complete build log is located at '/var/log/portage/dev-java:icedtea-7.2.2:20120614-085805.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea-7.2.2/temp/environment'.
 * S: '/var/tmp/portage/dev-java/icedtea-7.2.2/work/icedtea-2.2'
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea6  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""


Reproducible: Always

Steps to Reproduce:
1. emerge '=dev-java/icedtea-7.2.2' (keyworded ~amd64)

Actual Results:  
Unrecognised option: -XX:-PrintVMOptions
Could not create the Java virtual machine.


Expected Results:  
compile and install

# emerge --info

Portage 2.1.10.49 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.1
Timestamp of tree: Wed, 13 Jun 2012 08:00:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage-distfiles"
EMERGE_DEFAULT_OPTS=" --with-bdeps=y --quiet-build "
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage-packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS=" --exclude-from=/etc/portage/rsync_excludes --progress "
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --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="X a52 aac acl acpi alsa amd64 arts berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli colord consolekit cracklib crypt cups cxx dbus doc dri dts dvd dvdr emboss encode evo examples exif fam firefox flac fontforge fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv idn imlib jpeg lcms ldap libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg mudflap multilib nas nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf pic png policykit ppds pppd pulseaudio qt3support qt4 readline sdl session smp socialweb source spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa radeon fbdev nouveau" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON


# emerge -va '=dev-java/icedtea-7.2.2':

[ebuild  NS   ~] dev-java/icedtea-7.2.2 [6.1.10.3] USE="X alsa cjk cups debug doc examples jbootstrap nss pulseaudio source -javascript -nsplugin -pax_kernel -systemtap -test -webstart" 0 kB

# eselect java-vm list

Available Java Virtual Machines:
  [1]   icedtea6  system-vm
  [2]   icedtea-bin-6
Comment 1 Mariusz Pękala 2012-06-14 09:59:57 UTC
Created attachment 315261 [details]
build log
Comment 2 Mariusz Pękala 2012-06-20 11:45:49 UTC
The bug also exists in dev-java/icedtea-7.2.2.1.
The bootstrap is the same: /var/tmp/portage/dev-java/icedtea-7.2.2.1/work/icedtea-2.2.1/bootstrap/jdk1.6.0/bin/javac
Comment 3 Ralph Sennhauser (RETIRED) gentoo-dev 2012-10-18 16:15:26 UTC
Do you still see this issue with icedtea-7.2.3.3? Your installed icedtea-6.1.10.4 is quite old, does updating to icedtea-6.1.11.5 first help?
Comment 4 James Le Cuirot gentoo-dev 2016-08-05 19:59:08 UTC
The build JVM was using jamvm, which isn't supported. Closing.