Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201803 - dev-util/weka-3.5.6 fails to merge due to heap size
Summary: dev-util/weka-3.5.6 fails to merge due to heap size
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-09 21:01 UTC by Patrizio Bassi
Modified: 2009-03-28 06:29 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 Patrizio Bassi 2007-12-09 21:01:19 UTC
>>> Emerging (1 of 1) dev-util/weka-3.5.6 to /
 * weka-3-5-6.zip RMD160 SHA1 SHA256 size ;-) ...                                                                                                              [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                         [ ok ]
 * checking weka-3-5-6.zip ;-) ...                                                                                                                             [ ok ]
 * Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking weka-3-5-6.zip to /mnt/Dati/Gentoo/tmp/portage/dev-util/weka-3.5.6/work
removed `remoteExperimentServer.jar'
removed `weka-src.jar'
removed `weka.jar'
>>> Source unpacked.
>>> Compiling source in /mnt/Dati/Gentoo/tmp/portage/dev-util/weka-3.5.6/work/weka-3-5-6 ...
Compiling sources
src/weka/gui/visualize/JPEGWriter.java:35: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release
import com.sun.image.codec.jpeg.JPEGCodec;
                               ^
src/weka/gui/visualize/JPEGWriter.java:36: warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release
import com.sun.image.codec.jpeg.JPEGEncodeParam;
                               ^
src/weka/gui/visualize/JPEGWriter.java:37: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release
import com.sun.image.codec.jpeg.JPEGImageEncoder;
                               ^
src/weka/gui/boundaryvisualizer/BoundaryPanel.java:54: warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a future release
import com.sun.image.codec.jpeg.JPEGCodec;
                               ^
src/weka/gui/boundaryvisualizer/BoundaryPanel.java:55: warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed in a future release
import com.sun.image.codec.jpeg.JPEGEncodeParam;
                               ^
src/weka/gui/boundaryvisualizer/BoundaryPanel.java:56: warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed in a future release
import com.sun.image.codec.jpeg.JPEGImageEncoder;
                               ^
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at com.sun.tools.javac.util.ListBuffer.clear(ListBuffer.java:55)
        at com.sun.tools.javac.main.JavaCompiler.close(JavaCompiler.java:1406)
        at com.sun.tools.javac.main.JavaCompiler.close(JavaCompiler.java:1396)
        at com.sun.tools.javac.main.Main.compile(Main.java:390)
        at com.sun.tools.javac.main.Main.compile(Main.java:279)
        at com.sun.tools.javac.main.Main.compile(Main.java:270)
        at com.sun.tools.javac.Main.compile(Main.java:69)
        at com.sun.tools.javac.Main.main(Main.java:54)
 *
 * ERROR: dev-util/weka-3.5.6 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 3806:  Called die
 * The specific snippet of code:
 *       find src/ -name "*.java" | xargs javac -J-Xmx128m -d build $(java-pkg_javac-args) -sourcepath src/ -nowarn || diefunc "$FUNCNAME" "$LINENO" "$?" "Failed to compile sources";
 *  The die message:
 *   Failed to compile sources
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/Dati/Gentoo/tmp/portage/dev-util/weka-3.5.6/temp/build.log'.
 * The ebuild environment file is located at '/mnt/Dati/Gentoo/tmp/portage/dev-util/weka-3.5.6/temp/environment'.
 *
!!! 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.03"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info

 * Messages for package dev-util/weka-3.5.6:

 *
 * ERROR: dev-util/weka-3.5.6 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 3806:  Called die
 * The specific snippet of code:
 *       find src/ -name "*.java" | xargs javac -J-Xmx128m -d build $(java-pkg_javac-args) -sourcepath src/ -nowarn || diefunc "$FUNCNAME" "$LINENO" "$?" "Failed to compile sources";
 *  The die message:
 *   Failed to compile sources
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/Dati/Gentoo/tmp/portage/dev-util/weka-3.5.6/temp/build.log'.
 * The ebuild environment file is located at '/mnt/Dati/Gentoo/tmp/portage/dev-util/weka-3.5.6/temp/environment'.
 *


Portage 2.1.4_rc9 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r0, 2.6.23.8 x86_64)
=================================================================
System uname: 2.6.23.8 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Timestamp of tree: Sat, 08 Dec 2007 16:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config /var/run/dspam"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
INSTALL_MASK="/media"
LANG="39"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=both"
LINGUAS="it"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/mnt/Dati/Gentoo/tmp/"
PORTDIR="/mnt/Dati/Gentoo/portage/"
PORTDIR_OVERLAY="/usr/local/portage/myportage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit 7zip X X509 Xaw3d a52 aac aalib accessibility ace acl acpi activefilter adns aiglx aio alsa amd amd64 amr amrr amuled ao aoss apache2 arj asf aspnet2 async atk audacious audiofile authfile automount bash-completion berkdb bidi binary-drivers bitmap-fonts bittorrent blas bootsplash browserplugin bzip2 cairo calendar caps cdda cddb cdio cdparanoia cdr cgi charconv chardet chroot ciao clamav clearcase cli client codecs corba cracklib crypt cscope css ctype cups curl cvs daemon dar64 dba dbus depth32 dga dhcp dio directfb diskio divx djbfft dmi dri dvd dvdr dvdread edl encode ethereal exif expat extraengine faac faad fam fastbuild fbcon ffmpeg fftw firefox flac flash foreign-package fortran ftp gcj gd gdbm geometry ggi gif gimp gimpprint glibc-omitfp glitz glut glx gnokii gnome gnutls gphoto2 gpm graphviz gs gtk gtk2 gtkhtml guile h264 hal hddtemp iconv idea idn imagemagick imap innodb ipod ipv6 irda irmc isdnlog jack java java5 javamail javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal kdehiddenvisibility kerberos kqemu lame lapack lcd lcms ldap libcaca libclamav libgda libusb lirc live lm_sensors lua lzo mad mailwrapper matroska md5sum mdb mhash midi mikmod mime mmx mmx2 mmxext mng mono mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer mpm-prefork msn msnextras mudflap musepack mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network ngui nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin nv nvidia oav odbc ogg openal opengl openmp openssl operanom2 pam pcre pda pdf pdo pear perl php pmu png pnp postgres pppd pthreads pulseaudio python qemu-fast qhull qt3 qt3support qt4 quicktime quotas readline reflection rrdtool rtc ruby samba scanner sdl server session sftplogging sguil slang slp smp snortsam soap sockets socks5 softmmu softquota spamassassin speex spell spl sqlite3 sse sse2 sse3 ssl ssse3 subject-rewrite svg tao tcltk tcpd tetex tga theora tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb userlocales vorbis wma wmf wmv wsconvert wxwindows x264 xanim xchatdccserver xchattext xcomposite xine xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid xvm xvmc 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 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="it" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Patrizio Bassi 2007-12-09 21:03:36 UTC
 i changed to mem 512 and merges fine.

can you increase?
Comment 2 Evil Compile Person 2008-01-16 23:16:49 UTC
Yay!
Comment 3 Patrizio Bassi 2008-03-01 13:43:56 UTC
3.5.7 has exactly the same issue.

can you change the ebuild please?
Comment 4 Patrizio Bassi 2008-05-17 11:45:01 UTC
ping here
Comment 5 Patrizio Bassi 2008-08-03 08:19:06 UTC
i don't understand the blocking point, we have the solution why it's not applied to portage? long time bug...
Comment 6 Patrizio Bassi 2008-09-21 10:22:17 UTC
any progress here? fix in the ebuild is so easy i can't understand what's up..
Comment 7 Serkan Kaba (RETIRED) gentoo-dev 2009-01-25 09:18:30 UTC
(In reply to comment #6)
> any progress here? fix in the ebuild is so easy i can't understand what's up..
> 

Is this still a problem with newer versions in tree?
Comment 8 Serkan Kaba (RETIRED) gentoo-dev 2009-03-28 06:29:21 UTC
This fix made its way into 3.6.0 ebuild. Thanks for reporting