From nobody@FreeBSD.org  Sun Apr 14 04:11:51 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 133F6B84
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 14 Apr 2013 04:11:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id F0C8E1FFD
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 14 Apr 2013 04:11:50 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r3E4BoWI072761
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 14 Apr 2013 04:11:50 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r3E4BohN072758;
	Sun, 14 Apr 2013 04:11:50 GMT
	(envelope-from nobody)
Message-Id: <201304140411.r3E4BohN072758@red.freebsd.org>
Date: Sun, 14 Apr 2013 04:11:50 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: WITH_BMAKE does not work on CURRENT
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         177845
>Category:       conf
>Synopsis:       WITH_BMAKE does not work on CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 14 04:20:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Sat May 18 12:40:00 UTC 2013
>Originator:     Garrett Cooper
>Release:        10-CURRENT
>Organization:
EMC Isilon
>Environment:
FreeBSD fuji-current.local 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r+83c6938-dirty: Sat Apr 13 18:55:03 PDT 2013     root@fuji-current.local:/usr/obj/usr/src/sys/FUJI  i386
>Description:
I have several systems where I have WITH_BMAKE= set in src.conf, and unfortunately this no longer works in later revisions; I have to compile usr.bin/make as make and call it instead of usr.bin/bmake, as make errors out now, with the following message:

--- buildworld ---
make: illegal option -- J
usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable]
        [-d flags] [-E variable] [-f makefile] [-I directory]
        [-j max_jobs] [-m directory] [-V variable]
        [variable=value] [target ...]
*** [buildworld] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src

This is because -J is not supported in "usr.bin/make", but is passed on with "usr.bin/bmake".
>How-To-Repeat:
(cd usr.bin/bmake; make obj depend all install) && make buildworld -DWITH_BMAKE
>Fix:


>Release-Note:
>Audit-Trail:

From: Florent Peterschmitt <florent@peterschmitt.fr>
To: bug-followup@FreeBSD.org, yaneurabeya@gmail.com
Cc:  
Subject: Re: conf/177845: WITH_BMAKE does not work on CURRENT
Date: Sat, 18 May 2013 14:36:55 +0200

 I confirm this. I posted yesterday on freebsd-current about this 
 problem. Since bmake is now default make, I build and used "legacy" make 
 (cd /usr/src/make && make && make install && cd /usr/src && fmake -jx 
 kernel for example).
 
 
>Unformatted:
