Bug 177845 - WITH_BMAKE does not work on CURRENT
Summary: WITH_BMAKE does not work on CURRENT
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-14 05:20 UTC by Enji Cooper
Modified: 2014-06-15 07:34 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2013-04-14 05:20:00 UTC
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
Comment 1 Florent Peterschmitt 2013-05-18 13:36:55 UTC
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).
Comment 2 Enji Cooper freebsd_committer freebsd_triage 2014-06-15 07:33:20 UTC
This hasn't been an issue for some time; please close this bug.
Comment 3 Enji Cooper freebsd_committer freebsd_triage 2014-06-15 07:34:02 UTC
Aha.. I didn't realize I could close it... Closed :D!