Date: Thu, 23 Dec 2010 01:24:46 GMT From: Rob Farmer <rfarmer@predatorlabs.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/153385: [patch] textproc/fop Java "Out of memory" error during build Message-ID: <201012230124.oBN1Okx9001469@red.freebsd.org> Resent-Message-ID: <201012230130.oBN1UAEt015964@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 153385 >Category: ports >Synopsis: [patch] textproc/fop Java "Out of memory" error during build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Dec 23 01:30:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Rob Farmer >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD thinkpad.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r216634M: Tue Dec 21 20:13:42 PST 2010 rfarmer@thinkpad.predatorlabs.net:/usr/obj/usr/src/sys/THINKPAD amd64 >Description: Java memory limiter kills build due to low default limit. http://www.predatorlabs.net/dl/fop-1.0.log >How-To-Repeat: >Fix: Allow using up to 512 MB. Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/fop/Makefile,v retrieving revision 1.22 diff -u -r1.22 Makefile --- Makefile 16 Oct 2010 14:58:14 -0000 1.22 +++ Makefile 23 Dec 2010 01:15:48 -0000 @@ -27,6 +27,9 @@ JAVA_VERSION= 1.4+ USE_ANT= yes +# Prevent out of memory error during build +MAKE_ENV+= "ANT_OPTS=-Xmx512m" + post-extract: @cd ${WRKDIR} && ${UNZIP_CMD} ${DISTDIR}/offo-hyphenation.zip @${CP} ${WRKDIR}/offo-hyphenation/hyph/*.xml ${WRKSRC}/hyph >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012230124.oBN1Okx9001469>