* [gentoo-amd64] xulrunner java problem.
@ 2008-10-19 7:24 Paul Colquhoun
2008-10-20 8:48 ` Paul Colquhoun
0 siblings, 1 reply; 2+ messages in thread
From: Paul Colquhoun @ 2008-10-19 7:24 UTC (permalink / raw
To: gentoo-amd64
Has anybody else had problems compiling xulrunner-1.9.0.3 ?
It keeps failing on my system with a Java error. I can't find any
mention of this on bugzilla, or by doing a Google search.
Is there some way to increase the amount of memory assigned to the Java
VM on a global basis, without needing to fiddle with the ebuild?
I haven't created a bug report for this yet. I want to make sure it's
not something stuffed up on my system first.
My system has 2Gb of RAM, and is (of course) running 64 bit on AMD
processors.
##################################################
Compiling Java interfaces
find ../../../../_javagen/default -name "*.java" ! -name "*nsIPref.java"
> java.files
/usr/bin/perl ./gen-nsError.pl < ../../../../xpcom/base/nsError.h >
org/mozilla/xpcom/IXPCOMError.java
"/opt/sun-jdk-1.6.0.10/bin/javac" -source 1.4 -classpath _ifaces
\
-d _ifaces -sourcepath ../../../../_javagen/default
@java.files
"/opt/sun-jdk-1.6.0.10/bin/jar" cf MozillaInterfaces.jar -C _ifaces org
"/opt/sun-jdk-1.6.0.10/bin/javac" -source
1.4 -classpath ".:MozillaInterfaces.jar" \
-sourcepath ".:." -d _java
org/mozilla/xpcom/Mozilla.java
"/opt/sun-jdk-1.6.0.10/bin/javac" -source
1.4 -classpath ".:MozillaInterfaces.jar" \
-sourcepath ".:." -d _java
org/mozilla/xpcom/GREVersionRange.java
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
"/opt/sun-jdk-1.6.0.10/bin/javac" -source
1.4 -classpath ".:MozillaInterfaces.jar" \
-sourcepath ".:." -d _java
org/mozilla/xpcom/IMozilla.java
gmake[5]: *** [_java/org/mozilla/xpcom/GREVersionRange.class] Error 1
gmake[5]: *** Waiting for unfinished jobs....
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
##################################################
!!! When you file a bug report, please include the following
information:
GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.10"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
# eselect java-vm list
Available Java Virtual Machines:
[1] emul-linux-x86-java-1.5
[2] emul-linux-x86-java-1.6 system-vm
[3] sun-jdk-1.5
[4] sun-jdk-1.6
[5] sun-jre-bin-1.5
[6] sun-jre-bin-1.6
##################################################
# emerge --info
Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2,
glibc-2.8_p20080602-r0, 2.6.24-gentoo-r2 x86_64)
=================================================================
System uname:
Linux-2.6.24-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-glibc2.2.5
Timestamp of tree: Sat, 18 Oct 2008 16:19:02 +0000
ccache version 2.4 [disabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python: 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.3.0-r1
sys-apps/sandbox: 1.2.18.1-r3
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
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"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --buildpkg"
FEATURES="buildpkg distlocks metadata-transfer parallel-fetch
preserve-libs protect-owned sandbox sfperms strict unmerge-orphans
userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_AU.UTF-8"
LC_ALL="en_AU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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.au.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi aim aimextras alsa amd64 apache2 arts
artswrappersuid asf bash-completion berkdb branding buffysize bzip2
cairo cddb cdparanoia cdr cgi cli cpudetection cracklib crypt cups
custom-cflags dba dbus directfb dri dv dvd dvdr dvdread eds emboss
encode esd evo exif fam fat ffmpeg flac flv font-server fortran gcj gd
gdbm gif gimp gimpprint git gkrellm gphoto2 gpm gstreamer gtk hal iconv
idn ifp ipv6 isdnlog java javascript jbig jikes jpeg jpeg2k kde
kdeenablefinal libnotify libwww mad maildir mailwrapper mhash midi
mikmod mjpeg mmap mmx mng mono mozbranding mozsvg mp3 mpeg mplayer
mudflap multilib mysql mysqli ncurses nls no-old-linux nocd nodrm
nolvm1 nolvmstatic nptl nptlonly nsplugin nvidia offensive ogg opengl
openmp openntpd openssl pam pascal pcre pda pdf perl php png postfix
postgres ppds procmail python qt3 qt3support qt4 qtdbus qtdesigner
quicktime readline realmedia reflection sdl session sftplogging smp
speex spell spl sql sqlite sse sse2 ssl startup-notification subversion
svg swat sysfs tcltk tcpd theora threads tiff tk truetype type1 udev
underscores unicode usb uudeview vorbis wma wmf xface xine xinetd xml
xorg xpm xulrunner xv xvid xvmc 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 auth_digest
authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user
autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env
expires ext_filter file_cache filter headers ident imagemap include
info log_config logio mem_cache mime mime_magic negotiation proxy
proxy_ajp proxy_balancer proxy_connect proxy_http rewrite
setenvif so speling status unique_id userdir usertrack vhost_alias"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="vesa
nvidia"
Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
##################################################
--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-amd64] xulrunner java problem.
2008-10-19 7:24 [gentoo-amd64] xulrunner java problem Paul Colquhoun
@ 2008-10-20 8:48 ` Paul Colquhoun
0 siblings, 0 replies; 2+ messages in thread
From: Paul Colquhoun @ 2008-10-20 8:48 UTC (permalink / raw
To: gentoo-amd64
On Sun, 19 Oct 2008, Paul Colquhoun wrote:
> Has anybody else had problems compiling xulrunner-1.9.0.3 ?
>
> It keeps failing on my system with a Java error. I can't find any
> mention of this on bugzilla, or by doing a Google search.
>
> Is there some way to increase the amount of memory assigned to the
> Java VM on a global basis, without needing to fiddle with the ebuild?
>
> I haven't created a bug report for this yet. I want to make sure it's
> not something stuffed up on my system first.
>
> My system has 2Gb of RAM, and is (of course) running 64 bit on AMD
> processors.
Well, it turns out it *was* my system. Seems like 2Gb of RAM + 2Gb of
swap is just not enough.
I ran the compile again, and this time got a slightly different error,
about being unable to allocate swap.
After adding another 4Gb of swap, the compile completed successfully.
--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-20 8:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-19 7:24 [gentoo-amd64] xulrunner java problem Paul Colquhoun
2008-10-20 8:48 ` Paul Colquhoun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox