From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 21:22:33 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 157A111E; Thu, 25 Oct 2012 21:22:33 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3C7FC8FC0A; Thu, 25 Oct 2012 21:22:30 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1049134bkc.13 for ; Thu, 25 Oct 2012 14:22:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=mKFtmA6iC4Wa6Y13MSHjPadUUi9oonRzFXt/cXA78CI=; b=HgGo+V05BOlFLvgnKs4MCWi7EvGLkj99KcrON0UOKtT5KuKJmNennF2q8RoYocmJmC S9zTOLS0DfUBRbDsA2f9+Eqj5DYa93OWBcaJ/c4OZivsK1agNzKS1ecz20SoyJmQf2Lz MJsYoWTHapx2nnPOXSxPdRg7Rct5i7dW1oB4BljqKs4LGo8UwEnxLYcOxTF4Bz8zyiqo goVi2fEoPBRAvJyFdiUrApmoWuhWhAwaNmdN+JYQGHwvozpkI8QlCi7tIPAMxOT2aHka QfVhOv9PihtVkctw6ZLthjwGk657w1rJXzx+SBeuQG3vli+ObO/M5H9RTAWOmuOpiESk GbqA== Received: by 10.204.7.213 with SMTP id e21mr6348876bke.32.1351200149380; Thu, 25 Oct 2012 14:22:29 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.50.197 with HTTP; Thu, 25 Oct 2012 14:21:59 -0700 (PDT) In-Reply-To: <20121025211522.GA32636@dragon.NUXI.org> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> From: Chris Rees Date: Thu, 25 Oct 2012 22:21:59 +0100 X-Google-Sender-Auth: npWHCYKONeZwrEMw_SfUJWoCxHw Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program To: obrien@freebsd.org, Marcel Moolenaar , Garrett Cooper , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 21:22:33 -0000 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. > We really aren't going to have any luck yet... [crees@pegasus]/usr/ports% sudo make MAKE=/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 Looks like a few missing .if !target s, but the breakage is pretty big even for simple things :/ Chris