Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2012 22:21:59 +0100
From:      Chris Rees <crees@FreeBSD.org>
To:        obrien@freebsd.org, Marcel Moolenaar <marcel@xcllnt.net>,  Garrett Cooper <yanegomi@gmail.com>, freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" <sjg@juniper.net>
Subject:   Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program
Message-ID:  <CADLo83_tto_UH76X8BhxDTbmrpPJF4gWa3qgrwZXT550qznJ3Q@mail.gmail.com>
In-Reply-To: <20121025211522.GA32636@dragon.NUXI.org>
References:  <CAGH67wRkOmy7rWLkxXnT2155PuSQpwOMyu7dTAKeO1WW2dju7g@mail.gmail.com> <201210020750.23358.jhb@freebsd.org> <CAGH67wTM1VDrpu7rS=VE1G_kVEOHhS4-OCy5FX_6eDGmiNTA8A@mail.gmail.com> <201210021037.27762.jhb@freebsd.org> <CAGH67wQffjVHqFw_eN=mfeg-Ac2Z6XBT5Hv72ev0kjjx7YH7SA@mail.gmail.com> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25 October 2012 22:15, David O'Brien <obrien@freebsd.org> 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



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