Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438834 - dev-java/icedtea-6.1.11.4 fails to build with java.lang.OutOfMemoryError
Summary: dev-java/icedtea-6.1.11.4 fails to build with java.lang.OutOfMemoryError
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-18 18:46 UTC by bryanvick
Modified: 2016-04-14 20:53 UTC (History)
3 users (show)

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


Attachments
emerge --info =dev-java/icedtea-6.1.11.4 (icedtea-info,4.43 KB, text/plain)
2012-10-18 18:48 UTC, bryanvick
Details
edited version of build.log (edited-build.log,54.27 KB, text/plain)
2012-10-18 18:57 UTC, bryanvick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bryanvick 2012-10-18 18:46:23 UTC
I've been trying to get a java development environment on an iBook G4.  Details
of all the problems I've run into and overcome with the community's help so far
can be found on this forum thread:
http://forums.gentoo.org/viewtopic-p-7163648.html#7163648

I finally got gcj installed, but icedtea fails to build with an
OutOfMemoryError.

There is not much ram on this machine, but I have setup a huge swap file,
originally needed to successfully build gcc.  /proc/meminfo shows:

  MemTotal:         251260 kB
  SwapTotal:       2526016 kB

I would gladly use icedtea-bin, but there isn't a version for ppc.

GENTOO_VM=gcj-jdk  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""

Result of emerge -pqv =dev-java/icedtea-6.1.11.4:
  [ebuild  N    ] dev-java/icedtea-6.1.11.4  USE="X jbootstrap nsplugin nss source webstart -alsa -cacao -cjk -cups -debug -doc -examples -javascript -pax_kernel -pulseaudio (-systemtap) -test" 
  [ebuild  N    ] dev-java/icedtea-web-1.3  USE="nsplugin -build -doc -gtk2 -gtk3 -javascript -test" 


Reproducible: Always

Steps to Reproduce:
Try to emerge icedtea-6.1.11.4 on an iBook G4 using gcj.
Actual Results:  
Fails with OutOfMemoryError


Portage 2.1.11.9 (default/linux/powerpc/ppc32/10.0, gcc-4.5.3, glibc-2.15-r2, 3.4.9-gentoo ppc)
=================================================================
System uname: Linux-3.4.9-gentoo-ppc-7447A,_altivec_supported-with-gentoo-2.1
Timestamp of tree: Fri, 12 Oct 2012 17:00:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
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.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apache2 bash-completion bzip2 cli cracklib crypt cxx dri fortran gdbm git gnuplot gnutls gpm gzip iconv ipv6 latex mbox modules mudflap mysql ncurses nls nptl openmp pam pcre ppc pppd python readline session ssh ssl tcpd threads unicode vim-syntax zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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="authn_core authz_core socache_shmcb unixd 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" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx trident dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 bryanvick 2012-10-18 18:48:11 UTC
Created attachment 326864 [details]
emerge --info =dev-java/icedtea-6.1.11.4
Comment 2 bryanvick 2012-10-18 18:57:31 UTC
Created attachment 326866 [details]
edited version of build.log

The original build.log is 6.4Mb, which is > 1000KB attachment limit, so I edited to include what I thought was important.  If another part of the log is needed, let me know.
Comment 3 James Le Cuirot gentoo-dev 2016-04-14 20:53:34 UTC
Java 6 has been dropped. You may find that later versions work except that we no longer support Java on ppc32.