From owner-freebsd-ports-bugs@freebsd.org Wed Dec 28 20:19:40 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 353AFC94494 for ; Wed, 28 Dec 2016 20:19:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 04679151A for ; Wed, 28 Dec 2016 20:19:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uBSKJdD1061081 for ; Wed, 28 Dec 2016 20:19:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 215579] java/eclipse: Cannot build with poudriere Date: Wed, 28 Dec 2016 20:19:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ljboiler@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2016 20:19:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215579 --- Comment #4 from Jimmy Kelley --- (In reply to Du=C5=A1an Vejnovi=C4=8D from comment #3) Those settings won't work for building the i386 version (can't give the ent= ire machine memory space to the Java VM), and I would like to keep one setting = that works for everything. My setup for working on this port is a low-powered, 2-core machine with 2Gb= RAM and a 10Gb swap partition. I *don't* use ZFS, and in Poudriere I *don't* use tmpfs or mfs. Yes, it's = slow to build eclipse on it (2 hours). I start by getting the amd64 version building and tested on the base machine, then build the i386 and amd64 flav= ors for all the supported FreeBSD versions in Pourdiere several times from scra= tch (I mean *every* dependency), and as long as I don't have any other memory-eating application (X, Firefox) running, everything builds. And yes, this machine is busy for a week doing this. I believe that there are memory allocation issues with the combination of j= ails and tmpfs and the Java VM that are happening with Poudriere in that "standa= rd" configuration you are using. If something will build outside of Poudriere (have you tried that?), there should be no reason that it wouldn't build us= ing Poudriere other than having Poudriere configured incorrectly. Those lines = you added to your poudriere.conf are not configuring Poudriere itself, but just being given to the eclipse build process. So why should the Java VM need m= ore heap space running *inside* of Poudriere than *outside* of it? One thing I should note (and maybe have a message printed before the build actually starts) is that this port also needs *lots* of space in the working directory while building before it's done: nearly 8 Gb. I have wondered if that default TMPFS setting in Poudriere of just letting TMPFS grow as needed might be where the problem really is, but I don't have the hardware to do a= ny investigation. Regards, Jimmy --=20 You are receiving this mail because: You are the assignee for the bug.=