Gentoo Archives: gentoo-amd64

From: Paul Colquhoun <paulcol@×××××××××××××××××.au>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] xulrunner java problem.
Date: Sun, 19 Oct 2008 07:24:18
Message-Id: 200810191824.05279.paulcol@andor.dropbear.id.au
1 Has anybody else had problems compiling xulrunner-1.9.0.3 ?
2
3 It keeps failing on my system with a Java error. I can't find any
4 mention of this on bugzilla, or by doing a Google search.
5
6 Is there some way to increase the amount of memory assigned to the Java
7 VM on a global basis, without needing to fiddle with the ebuild?
8
9 I haven't created a bug report for this yet. I want to make sure it's
10 not something stuffed up on my system first.
11
12 My system has 2Gb of RAM, and is (of course) running 64 bit on AMD
13 processors.
14
15
16 ##################################################
17 Compiling Java interfaces
18 find ../../../../_javagen/default -name "*.java" ! -name "*nsIPref.java"
19 > java.files
20 /usr/bin/perl ./gen-nsError.pl < ../../../../xpcom/base/nsError.h >
21 org/mozilla/xpcom/IXPCOMError.java
22 "/opt/sun-jdk-1.6.0.10/bin/javac" -source 1.4 -classpath _ifaces
23 \
24 -d _ifaces -sourcepath ../../../../_javagen/default
25 @java.files
26 "/opt/sun-jdk-1.6.0.10/bin/jar" cf MozillaInterfaces.jar -C _ifaces org
27 "/opt/sun-jdk-1.6.0.10/bin/javac" -source
28 1.4 -classpath ".:MozillaInterfaces.jar" \
29 -sourcepath ".:." -d _java
30 org/mozilla/xpcom/Mozilla.java
31 "/opt/sun-jdk-1.6.0.10/bin/javac" -source
32 1.4 -classpath ".:MozillaInterfaces.jar" \
33 -sourcepath ".:." -d _java
34 org/mozilla/xpcom/GREVersionRange.java
35 Error occurred during initialization of VM
36 Could not reserve enough space for object heap
37 Could not create the Java virtual machine.
38 "/opt/sun-jdk-1.6.0.10/bin/javac" -source
39 1.4 -classpath ".:MozillaInterfaces.jar" \
40 -sourcepath ".:." -d _java
41 org/mozilla/xpcom/IMozilla.java
42 gmake[5]: *** [_java/org/mozilla/xpcom/GREVersionRange.class] Error 1
43 gmake[5]: *** Waiting for unfinished jobs....
44 Error occurred during initialization of VM
45 Could not reserve enough space for object heap
46 Could not create the Java virtual machine.
47 ##################################################
48
49
50 !!! When you file a bug report, please include the following
51 information:
52 GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.10"
53 JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
54 and of course, the output of emerge --info
55
56
57 # eselect java-vm list
58 Available Java Virtual Machines:
59 [1] emul-linux-x86-java-1.5
60 [2] emul-linux-x86-java-1.6 system-vm
61 [3] sun-jdk-1.5
62 [4] sun-jdk-1.6
63 [5] sun-jre-bin-1.5
64 [6] sun-jre-bin-1.6
65
66
67 ##################################################
68 # emerge --info
69 Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2,
70 glibc-2.8_p20080602-r0, 2.6.24-gentoo-r2 x86_64)
71 =================================================================
72 System uname:
73 Linux-2.6.24-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-glibc2.2.5
74 Timestamp of tree: Sat, 18 Oct 2008 16:19:02 +0000
75 ccache version 2.4 [disabled]
76 app-shells/bash: 3.2_p39
77 dev-java/java-config: 1.3.7, 2.1.6-r1
78 dev-lang/python: 2.5.2-r8
79 dev-python/pycrypto: 2.0.1-r6
80 dev-util/ccache: 2.4-r8
81 dev-util/cmake: 2.6.2
82 sys-apps/baselayout: 2.0.0
83 sys-apps/openrc: 0.3.0-r1
84 sys-apps/sandbox: 1.2.18.1-r3
85 sys-devel/autoconf: 2.13, 2.63
86 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
87 1.10.1-r1
88 sys-devel/binutils: 2.18-r3
89 sys-devel/gcc-config: 1.4.0-r4
90 sys-devel/libtool: 2.2.6a
91 virtual/os-headers: 2.6.26
92 ACCEPT_KEYWORDS="amd64 ~amd64"
93 CBUILD="x86_64-pc-linux-gnu"
94 CFLAGS="-march=athlon64 -O2 -pipe"
95 CHOST="x86_64-pc-linux-gnu"
96 CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
97 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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
98 CXXFLAGS="-O2 -pipe"
99 DISTDIR="/usr/portage/distfiles"
100 EMERGE_DEFAULT_OPTS="--with-bdeps y --buildpkg"
101 FEATURES="buildpkg distlocks metadata-transfer parallel-fetch
102 preserve-libs protect-owned sandbox sfperms strict unmerge-orphans
103 userfetch userpriv usersandbox"
104 GENTOO_MIRRORS="http://distfiles.gentoo.org
105 http://distro.ibiblio.org/pub/linux/distributions/gentoo"
106 LANG="en_AU.UTF-8"
107 LC_ALL="en_AU.UTF-8"
108 LDFLAGS="-Wl,-O1"
109 LINGUAS="en en_GB"
110 MAKEOPTS="-j3"
111 PKGDIR="/usr/portage/packages"
112 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
113 PORTAGE_TMPDIR="/var/tmp"
114 PORTDIR="/usr/portage"
115 PORTDIR_OVERLAY="/usr/local/portage"
116 SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
117 USE="3dnow 3dnowext X acl acpi aim aimextras alsa amd64 apache2 arts
118 artswrappersuid asf bash-completion berkdb branding buffysize bzip2
119 cairo cddb cdparanoia cdr cgi cli cpudetection cracklib crypt cups
120 custom-cflags dba dbus directfb dri dv dvd dvdr dvdread eds emboss
121 encode esd evo exif fam fat ffmpeg flac flv font-server fortran gcj gd
122 gdbm gif gimp gimpprint git gkrellm gphoto2 gpm gstreamer gtk hal iconv
123 idn ifp ipv6 isdnlog java javascript jbig jikes jpeg jpeg2k kde
124 kdeenablefinal libnotify libwww mad maildir mailwrapper mhash midi
125 mikmod mjpeg mmap mmx mng mono mozbranding mozsvg mp3 mpeg mplayer
126 mudflap multilib mysql mysqli ncurses nls no-old-linux nocd nodrm
127 nolvm1 nolvmstatic nptl nptlonly nsplugin nvidia offensive ogg opengl
128 openmp openntpd openssl pam pascal pcre pda pdf perl php png postfix
129 postgres ppds procmail python qt3 qt3support qt4 qtdbus qtdesigner
130 quicktime readline realmedia reflection sdl session sftplogging smp
131 speex spell spl sql sqlite sse sse2 ssl startup-notification subversion
132 svg swat sysfs tcltk tcpd theora threads tiff tk truetype type1 udev
133 underscores unicode usb uudeview vorbis wma wmf xface xine xinetd xml
134 xorg xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000
135 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938
136 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio
137 via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy
138 dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
139 linear meter mmap_emul mulaw multi null plug rate route share shm
140 softvol" APACHE2_MODULES="actions alias auth_basic auth_digest
141 authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm
142 authz_default authz_groupfile authz_host authz_owner authz_user
143 autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env
144 expires ext_filter file_cache filter headers ident imagemap include
145 info log_config logio mem_cache mime mime_magic negotiation proxy
146 proxy_ajp proxy_balancer proxy_connect proxy_http rewrite
147 setenvif so speling status unique_id userdir usertrack vhost_alias"
148 ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
149 LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
150 ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="vesa
151 nvidia"
152 Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS,
153 PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
154 ##################################################
155
156 --
157 Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
158 Asking for technical help in newsgroups? Read this first:
159 http://catb.org/~esr/faqs/smart-questions.html#intro

Replies

Subject Author
Re: [gentoo-amd64] xulrunner java problem. Paul Colquhoun <paulcol@×××××××××××××××××.au>