svn commit: r265581 - in head: . share/mk

Warner Losh imp at bsdimp.com
Thu May 8 02:09:09 UTC 2014


On May 8, 2014, at 3:04 PM, Glen Barber <gjb at freebsd.org> wrote:

> On Thu, May 08, 2014 at 05:57:20PM -0400, Glen Barber wrote:
>> On Wed, May 07, 2014 at 06:15:03PM +0000, Warner Losh wrote:
>>> Author: imp
>>> Date: Wed May  7 18:15:02 2014
>>> New Revision: 265581
>>> URL: http://svnweb.freebsd.org/changeset/base/265581
>>> 
>>> Log:
>>>  bsd.compiler.mk was implicitly included by bsd.own.mk in historical
>>>  versions. With its movement to src.opts.mk, bsd.prog.mk was testing
>>>  COMPILER_TYPE without including the bsd.compiler.mk anymore. In the
>>>  source tree, this caused no problems, for reasons that aren't clear,
>>>  but does cause problems outside of the source tree. Allow
>>>  bsd.compiler.mk to be included multiple times safely, and always
>>>  include bsd.compiler.mk at the top of bsd.prog.mk. Resist the urge to
>>>  put it in bsd.init.mk, since that would reintroduce the implicit
>>>  include.
>>> 
>>> Modified:
>>>  head/UPDATING
>>>  head/share/mk/bsd.compiler.mk
>>>  head/share/mk/bsd.prog.mk
>>> 
>> 
>> Something here is breaking head/ release builds.  I don't know if it is
>> this exact change set or not.
>> 
>> --------------------------------------------------------------
>>>>> Kernel build for GENERIC completed on Thu May  8 01:47:57 UTC 2014
>> --------------------------------------------------------------
>> make: "/usr/share/mk/bsd.obj.mk" line 43: Could not find bsd.own.mk
>> make: "/usr/share/mk/bsd.init.mk" line 15: Could not find bsd.own.mk
>> make: Fatal errors encountered -- cannot continue
>> make: stopped in /usr/src/release
>> 
> 
> The revision I'm building against is r265621, for what it is worth.

OK. That’s a weird error.  I haven’t deleted bsd.own.mk…

Any chance you can do some bisection to see if there’s a specific change you can narrow this down to? But /usr/share/mk suggests there’s some host contamination going on, which implies needing to have a synchronized host environment (I can’t recall if make release is fully virtualized or not).

But before all that, can you confirm you have a /usr/share/mk/bsd.own.mk?

Warner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20140507/85d117db/attachment.sig>


More information about the svn-src-all mailing list