Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2016 20:19:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215579] java/eclipse: Cannot build with poudriere
Message-ID:  <bug-215579-13-G02hr5bLgY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-215579-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215579-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215579

--- Comment #4 from Jimmy Kelley <ljboiler@gmail.com> ---
(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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215579-13-G02hr5bLgY>