Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249956 - error compiling dev-java/batik-1.6 (initial heap size problem) with kaffe
Summary: error compiling dev-java/batik-1.6 (initial heap size problem) with kaffe
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 309459
  Show dependency tree
 
Reported: 2008-12-05 18:22 UTC by Lukasz Slonina
Modified: 2010-03-15 08:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukasz Slonina 2008-12-05 18:22:30 UTC
I'm trying to emerge freemind-0.9.0_beta16 and it requires batik. But batik doesn't want to emerge.

Reproducible: Always

Steps to Reproduce:
1. emerge batik

Actual Results:  
>>> Emerging (1 of 1) dev-java/batik-1.6-r4
 * batik-src-1.6.zip RMD160 SHA1 SHA256 size ;-) ...                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                       [ ok ]
/usr/lib64/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
/usr/lib64/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
/usr/lib64/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
 * Using: kaffe
>>> Unpacking source...
>>> Unpacking batik-src-1.6.zip to /var/tmp/portage/dev-java/batik-1.6-r4/work
 * Applying batik-1.6-jikes.patch ...                                                                                         [ ok ]
 * Applying batik-1.6-dont-copy-deps.patch ...                                                                                [ ok ]
Changing ignoresystemclasses to true for available tasks in build.xml
Rewriting build.xml
Adding gentoo.classpath to contrib/rasterizertask/build.xml
Rewriting contrib/rasterizertask/build.xml
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-java/batik-1.6-r4/work/xml-batik ...
/usr/lib64/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
/usr/lib64/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
Rewriting attributes
Rewriting ./contrib/rasterizertask/build.xml
Rewriting ./build.xml
 * Disabling all optional ANT_TASKS
Initial heap size (5120K) > Maximum heap size (0K)
 * 
 * ERROR: dev-java/batik-1.6-r4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4041:  Called eant 'jars' 'all-jar'
 *             environment, line  893:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *  The die message:
 *   eant failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-java/batik-1.6-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/batik-1.6-r4/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=kaffe  CLASSPATH="" JAVA_HOME="/opt/kaffe-1.1.7"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"


Expected Results:  
should be emerged

Portage 2.2_rc16 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Wed, 03 Dec 2008 16:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
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-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 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.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-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/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1"
LINGUAS="pl PL"
MAKEOPTS="-j5"
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/portage/local/layman/java-overlay /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/gnome"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac ace acl acpi admin alsa amd64 apache2 aspnet aspnetedit automount avahi beagle berkdb branding bzip2 c++ cairo cdr chm cli consolekit cracklib crypt cups dbus dedicated divx dmi dri dvd dvdr dvdread dvi eds ejb3 emboss encode esd evo exif fam fat fbcon fbcondecor ffmpeg firefox flac fortran gadu gcj gdbm gif glib glitz gmedia gmp gnome gnutls gpm graphviz gstreamer gtk gtkhtml hal iconv imagemagick inotify java jpeg kvm lame latex lcms libnotify mad meanwhile midi mikmod mmx mono moonlight motif mozdevelop mp3 mpeg mplayer mplayer-bin mudflap multilib multiuser musepack mysql nautilus ncurses newspr nls nptl nptlonly nsplugin ntfs ogg opengl openmp pam pango pcre pdf perl png postscript ppds pppd pulseaudio python qq qt3 qt3support qt4 quicktime readline realmedia reflection samba server session slang smp spell spl sql sqlite sqlite3 srvdir sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs tcpd threads tiff truetype unicode unsupported usb vorbis wifi wma wmf wmp wxwindows x86emu xcb xcomposite xforms xine xml xorg xpm xprint xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="hda-intel" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl PL" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Weissman 2009-01-04 01:23:32 UTC
can you try with sun-jdk?
Comment 2 Mike Weissman 2009-01-07 23:04:03 UTC
Also can you try the 1.7 ebuild from:

[java-experimental]

https://overlays.gentoo.org/svn/proj/java/java-experimental/dev-java/batik/


thanks,
weisso
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-05-20 16:14:21 UTC
Please try using different VM than kaffe for building. 
Comment 4 Alistair Bush (RETIRED) gentoo-dev 2010-03-15 08:23:35 UTC
kaffe is pacakge masked for removal.  closing as wontfix