Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139618 - subversion-1.3.1 fails with OutOfMemoryException on amd64
Summary: subversion-1.3.1 fails with OutOfMemoryException on amd64
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-07 16:45 UTC by Maxi Combina
Modified: 2007-06-15 10:08 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 Maxi Combina 2006-07-07 16:45:12 UTC
I have gentoo stable, on amd64, "emerge --sync", and subversion-1.3.1 dos not compile. This situation has been like this for the last (aprox) 4 days. I have done "emerge --sync" every time, with the hope that it became fixed :D

This is the emerge command:
atenea filmes #  emerge -vaDN world
>>> --newuse implies --update... adding --update to options.

These are the packages that would be merged, in order:

[ebuild     U ] dev-util/subversion-1.3.1 [1.2.3-r2] USE="bash-completion berkdb java nls perl python zlib -apache2 -emacs -minimal -nowebdav -ruby%" 0 kB

and this is the error:
(more output)
org.tigris.subversion.javahl.SVNInputStream org.tigris.subversion.javahl.ScheduleKind org.tigris.subversion.javahl.PromptUserPassword org.tigris.subversion.javahl.RevisionKind org.tigris.subversion.javahl.SVNClientSynchronized org.tigris.subversion.javahl.SVNClient org.tigris.subversion.javahl.CommitItem org.tigris.subversion.javahl.Notify org.tigris.subversion.javahl.Info2 org.tigris.subversion.javahl.NotifyInformation org.tigris.subversion.javahl.SVNAdmin org.tigris.subversion.javahl.InputInterface org.tigris.subversion.javahl.NativeResources org.tigris.subversion.javahl.Status org.tigris.subversion.javahl.PromptUserPassword3 org.tigris.subversion.javahl.Notify2 org.tigris.subversion.javahl.NodeKind org.tigris.subversion.javahl.Info org.tigris.subversion.javahl.LockStatus org.tigris.subversion.javahl.ClientException org.tigris.subversion.javahl.Revision
Exception in thread "main" java.lang.OutOfMemoryError
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:111)
        at java.util.jar.JarFile.<init>(JarFile.java:127)
        at java.util.jar.JarFile.<init>(JarFile.java:65)
        at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:578)
        at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:545)
        at sun.misc.URLClassPath$3.run(URLClassPath.java:323)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.misc.URLClassPath.getLoader(URLClassPath.java:312)
        at sun.misc.URLClassPath.getLoader(URLClassPath.java:289)
        at sun.misc.URLClassPath.getResource(URLClassPath.java:159)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:191)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
make: *** [subversion/bindings/java/javahl/include/org_tigris_subversion_javahl_CommitMessage.h] Error 1

!!! ERROR: dev-util/subversion-1.3.1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  subversion-1.3.1.ebuild, line 145:   Called die

!!! Compilation failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


The info about emerge:
atenea ~ # emerge --info
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.15
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://gentoo.arcticnetwork.ca/ http://gentoo.mirrored.ca/ http://gentoo.osuosl.org/ "
LANG="en_US"
LC_ALL="en_US"
LINGUAS="en es pt it"
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib alsa arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr cli crypt cups curl directfb dlloader doc dri dvd dvdr dvdread eds emboss encode esd exif expat fbcon ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib isdnlog java jpeg kde lcms libcaca lm_sensors lzw lzw-tiff mad mng motif mozilla mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session slang spell spl ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb vorbis xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_es linguas_pt linguas_it userland_GNU video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-07-14 09:33:04 UTC
If you don't need/use the java bindings, the temporary workaround would be to the following bit to /etc/portage/package.use:

dev-util/subversion -java

Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2006-07-24 06:40:41 UTC
Which jdk do you use? And could you attach a full build log? The most likely thing I see is that it uses a jar file that is somehow corrupted and causes the unpacking algorithm to such up memory.
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2006-07-24 06:41:40 UTC
BTW. This error seems to be the java equivalent of Internal Compiler Error.
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2006-08-05 08:36:14 UTC
Is this reproducable with the latest revision, ie 1.3.2-r3? If so, please try adding the following ot DEPEND in the block for java:

amd64? ( =dev-java/eclipse-ecj-3.1* )

And in src_compile:

use amd64 && java-pkg_force-compiler ecj-3.1
(Note: this doesn't do anything except twiddle some variables, so is safe to do regardless of USE=java)
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-06-15 10:08:54 UTC
Please, test with 1.3.2-r3 (and 1.4.4 if it still fails) and get back to us.