From nobody@FreeBSD.org  Thu Dec 23 01:24:46 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 65BA4106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 23 Dec 2010 01:24:46 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 558BC8FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 23 Dec 2010 01:24:46 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oBN1Ok7O001470
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 23 Dec 2010 01:24:46 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id oBN1Okx9001469;
	Thu, 23 Dec 2010 01:24:46 GMT
	(envelope-from nobody)
Message-Id: <201012230124.oBN1Okx9001469@red.freebsd.org>
Date: Thu, 23 Dec 2010 01:24:46 GMT
From: Rob Farmer <rfarmer@predatorlabs.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] textproc/fop Java "Out of memory" error during build
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: geoff@sea-incorporated.com

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 23 01:30:10 UTC 2010
>Closed-Date:    Tue Dec 28 13:30:45 UTC 2010
>Last-Modified:  Tue Dec 28 13:30:45 UTC 2010
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Dec 23 01:30:17 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=153385 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: geoff@sea-incorporated.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/153385: [patch] textproc/fop Java "Out of memory" error during build
Date: Thu, 23 Dec 2010 01:30:14 UT

 Maintainer of textproc/fop,
 
 Please note that PR ports/153385 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/153385
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Geoff Speicher <geoff@sea-incorporated.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/153385: [patch] textproc/fop Java "Out of memory" error
 during build
Date: Thu, 23 Dec 2010 09:11:33 -0500

 --0016367fae17a6f9bd04981473f3
 Content-Type: text/plain; charset=ISO-8859-1
 
 Works for me.  Approved.  Thanks for the patch!
 
 --0016367fae17a6f9bd04981473f3
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 Works for me. =A0Approved. =A0Thanks for the patch!
 
 --0016367fae17a6f9bd04981473f3--
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Thu Dec 23 20:36:05 UTC 2010 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=153385 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/153385: commit references a PR
Date: Sat, 25 Dec 2010 14:02:06 +0000 (UTC)

 arved       2010-12-25 14:02:01 UTC
 
   FreeBSD ports repository
 
   Modified files:
     textproc/fop         Makefile 
   Log:
   Adjust Java Heap size
   
   PR:             153385
   Submitted by:   Rob Farmer
   Approved by:    maintainer
   
   Revision  Changes    Path
   1.23      +3 -0      ports/textproc/fop/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Tue Dec 28 13:30:32 UTC 2010 
State-Changed-Why:  
Committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=153385 
>Unformatted:
