conf/177845: WITH_BMAKE does not work on CURRENT

Garrett Cooper yaneurabeya at
Sun Apr 14 04:20:01 UTC 2013

>Number:         177845
>Category:       conf
>Synopsis:       WITH_BMAKE does not work on CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 14 04:20:00 UTC 2013
>Originator:     Garrett Cooper
>Release:        10-CURRENT
EMC Isilon
FreeBSD fuji-current.local 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r+83c6938-dirty: Sat Apr 13 18:55:03 PDT 2013     root at fuji-current.local:/usr/obj/usr/src/sys/FUJI  i386
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".
(cd usr.bin/bmake; make obj depend all install) && make buildworld -DWITH_BMAKE


More information about the freebsd-bugs mailing list