Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318323 - batik-1.7-r2 fails with USE="doc"
Summary: batik-1.7-r2 fails with USE="doc"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-03 19:01 UTC by Andrew John Hughes
Modified: 2011-01-18 15:38 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,51.87 KB, text/plain)
2010-05-03 19:02 UTC, Andrew John Hughes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew John Hughes 2010-05-03 19:01:37 UTC
[javadoc] Loading source files for package org.w3c.dom.events...
  [javadoc] Constructing Javadoc information...
  [javadoc] 1 error
  [javadoc] javadoc: error - java.lang.OutOfMemoryError: Please increase memory.
  [javadoc] For example, on the Sun Classic or HotSpot VMs, add the option -J-Xmx
  [javadoc] such as -J-Xmx32m.

Further errors included in build.log


Reproducible: Always




Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.5.0, glibc-2.11.1-r0, 2.6.33-gentoo-r1.rivendell x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r1.rivendell-x86_64-Intel-R-_Xeon-R-_CPU_X5482_@_3.20GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 03 May 2010 01:15:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FSF-APPROVED-EXT @X11-LICENSES @PRESUMED-FOSS @CREATIVE-COMMONS TeX MOTIF popt"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -ggdb -mno-tls-direct-seg-refs"
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/X11/xkb /usr/share/config /var/yp/Makefile"
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="-O2 -pipe -march=core2 -ggdb -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo "
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB"
MAKEOPTS="-j9"
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/gentoo/xmmsroot2-overlay /usr/local/gentoo/java-overlay /usr/local/gentoo/fixes-overlay /var/lib/layman/kde-sunset"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo cddb cdparanoia cdr cli consolekit cracklib crypt cups curl cvs cxx dbus dga dirac djvu doc dri dts dv dvb dvd dvdr eds emacs emboss encode evo exif fam ffmpeg fftw firefox flac fontconfig fortran ftp fuse gcj gdbm gif gimp gnome gnutls gpm graphviz gstreamer gtk gtkhtml hal iconv idn ieee1394 imagemagick imap ipv6 java java5 java6 javascript jbig jpeg jpeg2k kde kerberos ladspa lame latex lcms libass libcaca libnotify libsamplerate lzma lzo mad mbox mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib musepack musicbrainz ncurses nis nls nntp nptl nptlonly ntp ogg openexr opengl openmp pam pango pch pcre pdf perl png policykit postgres ppds pppd pulseaudio python qt3 qt3support qt4 readline reflection sasl schroedinger sdl semantic-desktop session sndfile sox speex spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs taglib tcpd tga theora threads tiff truetype unicode usb vorbis wavpack wmf x264 xattr xcb xcomposite xft xml xmmsroot2 xorg xosd xprint xscreensaver xulrunner xv xvid zeroconf 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrew John Hughes 2010-05-03 19:02:00 UTC
Created attachment 230183 [details]
Build log
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-05-05 14:49:30 UTC
It works here. Tried changing the ANT_OPTS in the ebuild? The damn thing already has 1G heap set on amd64...
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-05-05 15:08:08 UTC
(In reply to comment #2)
> It works here.

OK it didn't, I just didn't notice...

> Tried changing the ANT_OPTS in the ebuild? The damn thing
> already has 1G heap set on amd64...

Wouldn't help as build.xml uses maxmemory attribute for <javadoc>. Raised that then, seems to work now.
Comment 4 Juergen Rose 2010-06-02 14:37:35 UTC
I have the same error here. What can I do? Change maxmemory attribute in build.xml?
Where is build.xml?

Thanks
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-06-04 12:23:46 UTC
(In reply to comment #4)
> I have the same error here. What can I do? Change maxmemory attribute in
> build.xml?
> Where is build.xml?
> 
> Thanks

It's line 35 in the batik-1.7-r2.ebuild file:
                java-ant_xml-rewrite -f ${file} -c -e javadoc -a failonerror -v yes -a maxmemory -v 512m

I noticed there was a mistake - 256g, which might have caused it to be ignored. I set 512m now, so if you wait a bit and sync, it should be there. Please report if it helped.
Comment 6 Miroslav Šulc gentoo-dev 2011-01-18 15:38:55 UTC
reopen if still not fixed