From owner-freebsd-arch@FreeBSD.ORG Thu Oct 25 23:03:22 2012 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 033A6F76; Thu, 25 Oct 2012 23:03:22 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id CC90A8FC12; Thu, 25 Oct 2012 23:03:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9PN3Lxg014757; Thu, 25 Oct 2012 23:03:21 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9PN3L4x014756; Thu, 25 Oct 2012 23:03:21 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Fri, 26 Oct 2012 01:03:19 +0200 From: Baptiste Daroussin To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <20121025230319.GH3808@ithaqua.etoilebsd.net> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+Z7/5fzWRHDJ0o7Q" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Garrett Cooper , freebsd-hackers@FreeBSD.org, "Simon J. Gerraty" , freebsd-arch@FreeBSD.org, Marcel Moolenaar X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 23:03:22 -0000 --+Z7/5fzWRHDJ0o7Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 25, 2012 at 10:21:59PM +0100, Chris Rees wrote: > On 25 October 2012 22:15, David O'Brien wrote: > > On Mon, Oct 08, 2012 at 09:11:29AM -0700, Marcel Moolenaar wrote: > >> two independent efforts (ATF & bmake) and there was no indication that > >> one would be greatly benefitted from the other. At least not to the > >> point of creating a dependency. > > > > It seems we do have the situation where folks feel there is a dependency > > between the two. > > > >> Before we can switch permanently to bmake, we need to do the following > >> first: > >> 1. Request an EXP ports build with bmake as make(1). This should tell > >> us the "damage" of switching to bmake for ports. > >> 2. In parallel with 1: build www & docs with bmake and assess the > >> damage > >> 3. Fix all the damage > >> > >> It could be a while (many weeks) before we get to 4, so the question > > > > Given the time this will take, I feel we need to add another knob to the > > Bmake build so that 'make world' gives one both the FreeBSD make as > > /usr/bin/make and Bmake as /usr/bin/bmake. > > >=20 > We really aren't going to have any luck yet... >=20 > [crees@pegasus]/usr/ports% sudo make MAKE=3D/usr/bin/bmake index |& head > Generating INDEX-9 - please wait..bmake: "/usr/ports/Mk/bsd.port.mk" > line 5127: warning: duplicate script for target "-depends" ignored > bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous > script for "-depends" defined here > bmake: "/usr/ports/Mk/bsd.port.mk" line 5127: warning: duplicate > script for target "-depends" ignored > bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous > script for "-depends" defined here > bmake: "/usr/ports/Mk/bsd.port.mk" line 5127: warning: duplicate > script for target "-depends" ignored > bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous > script for "-depends" defined here > bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: duplicate > script for target "-depends" ignored > bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous > script for "-depends" defined here > bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: duplicate > script for target "-depends" ignored > bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous > script for "-depends" defined here >=20 > Looks like a few missing .if !target s, but the breakage is pretty big > even for simple things :/ >=20 Have you converted the :U to :tu and :L to :tl? regards, Bapt --+Z7/5fzWRHDJ0o7Q Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCJxTcACgkQ8kTtMUmk6EzQMwCcCrOzjGPAotGlZQBhjfXW/D8n dPYAoLXCnZmdzKm1VPrvAVsPpCoPs0gm =xhNQ -----END PGP SIGNATURE----- --+Z7/5fzWRHDJ0o7Q--