From owner-freebsd-ports@FreeBSD.ORG Sat Oct 25 19:04:54 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9FC9A6D for ; Sat, 25 Oct 2014 19:04:54 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6457DBED for ; Sat, 25 Oct 2014 19:04:54 +0000 (UTC) Received: from [82.113.121.226] (helo=unixarea.DDR.dd) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1Xi6dP-0001F3-Gn; Sat, 25 Oct 2014 21:04:19 +0200 Received: from unixarea.DDR.dd (localhost [127.0.0.1]) by unixarea.DDR.dd (8.14.9/8.14.3) with ESMTP id s9PJ4GIM002092; Sat, 25 Oct 2014 21:04:16 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by unixarea.DDR.dd (8.14.9/8.14.3/Submit) id s9PJ4FYP002091; Sat, 25 Oct 2014 21:04:15 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: unixarea.DDR.dd: guru set sender to guru@unixarea.de using -f Date: Sat, 25 Oct 2014 21:04:15 +0200 From: Matthias Apitz To: freebsd-ports@freebsd.org Subject: Re: Fwd: building java/eclipse in HEAD w/ poudriere ... Message-ID: <20141025190414.GA2069@unixarea.DDR.dd> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-ports@freebsd.org, Jimmy Kelley References: <20140824145851.GA1966@tiny-r269739> <20140907184231.GA1092@tiny-r269739> <20140909141026.GA1217@jmobile.jimmy.localnet> <20141023103016.GA2470@unixarea.DDR.dd> <20141024173845.GA9673@jmobile.jimmy.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20141024173845.GA9673@jmobile.jimmy.localnet> X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.121.226 Cc: Jimmy Kelley X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2014 19:04:54 -0000 El día Friday, October 24, 2014 a las 12:38:45PM -0500, Jimmy Kelley escribió: > Matthias, > > I finally had the time to set up an environment to do the build in a -CURRENT i386 > poudriere environment. > > It built with no errors; see the bug you filed for details: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193479 > > Regards, > Jimmy I was able today to build java/eclipse with poudriere in an i386 VM with: 4 GByte RAM 6 GByte SWAP files and the following parameters. /boot/loader.conf: kern.maxdsiz="1073741824" # in bytes 1024*1024*1024 kern.maxssiz="671088640" # in bytes 65536*1024*10 kern.maxswzone="72351744" # double of default 36.175.872 /usr/local/etc/poudriere.conf: export MAVEN_OPTS='-Xmx1024m -XX:MaxPermSize=256m' export JAVA_OPTS='-Xms512m -Xmx1024m' It took around ~52 minutes to build and I think the essential is the memory/swap in the last phase of the building, and esp. to unlimit the JVM (per default it seems to be limited to 512 MByte). Maybe we should adjust the above *_OPTS value in the ports Makefile. I have closed the issue https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193479 matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign