From owner-freebsd-java@FreeBSD.ORG Sat Dec 29 00:46:40 2012 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71B458A1; Sat, 29 Dec 2012 00:46:40 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 02E6C8FC0C; Sat, 29 Dec 2012 00:46:39 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.5/8.14.5) with ESMTP id qBT0kY4D089468; Fri, 28 Dec 2012 16:46:34 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.5/8.14.5/Submit) id qBT0kXRn088304; Fri, 28 Dec 2012 16:46:33 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 28 Dec 2012 16:46:33 -0800 From: Greg Lewis To: Eitan Adler Subject: Re: java/openjdk6 fails to build.. Message-ID: <20121229004633.GA90854@misty.eyesbeyond.com> References: <20121228202457.GA80033@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: David Demelier , java@freebsd.org, freebsd-ports@freebsd.org, Ronald Klop X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Dec 2012 00:46:40 -0000 On Fri, Dec 28, 2012 at 03:49:56PM -0500, Eitan Adler wrote: > On 28 December 2012 15:24, Greg Lewis wrote: > > On Fri, Dec 21, 2012 at 07:27:22PM -0500, Eitan Adler wrote: > >> On 21 December 2012 19:16, David Demelier wrote: > >> > Yes, I wanted to answser, but the man says that MAKE_JOBS are disabled by > >> > default, I tried to build with MAKE_JOBS=1 and it works, the problem did > >> > appear when MAKE_JOBS=6 was set. Can you reproduce the issue? > >> > >> I want to mark this MAKE_JOBS_UNSAFE=yes and remove the current hack > >> Any objection from java@ ? > >> > >> > I had MAKE_JOBS=6 in my /etc/make.conf instead of MAKE_JOBS_NUMBER though > >> > >> Exactly. MAKE_JOBS is not user-settable. MAKE_JOBS_NUMBER is. IMHO > >> MAKE_JOBS should start with an _. > > > > I think that's right. I have no objection. I think whats in openjdk7 > > is closer to what it should be. > > What is in openjdk7 seems bogus and it isn't clear why it is there: > MAKE_JOBS_UNSAFE= yes > is defined implying that MAKE_JOBS should always be 1 (and -j never set) > but it does some weird things with the global variables > MAKE_JOBS_NUMBER and DISABLE_MAKE_JOBS. > > Can the generic handling in b.p.m not work? > > IMHO MAKE_JOBS_SAFE=yes should be defined and either b.p.m or b.java.m > should be handling the special build code. MAKE_JOBS_SAFE=yes should not be defined since neither of the ports are safe for multiple make jobs. As an exception, the HotSpot portion of the build is and that is what the other portion handles. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org