ports/153385: [patch] textproc/fop Java "Out of memory" error during build
Rob Farmer
rfarmer at predatorlabs.net
Thu Dec 23 01:30:11 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list