bmake (installed as default make): make: illegal option -- J
Julian Stecklina
jsteckli at os.inf.tu-dresden.de
Wed May 22 11:25:10 UTC 2013
On 05/17/2013 09:45 PM, Florent Peterschmitt wrote:
> Hi,
>
> With the r250749 revision of head, rebuilt world with make -j4
> buildworld, all was fine.
>
> Then install new world, reboot and so:
>
> $ cd /usr/src
> $ make -j4 kernel
> --- buildkernel ---
> 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 ...]
> *** [buildkernel] Error code 2
>
> make: stopped in /usr/src
> 1 error
>
> make: stopped in /usr/src
This also affects building CURRENT from a 9.1 system. One workaround is
to build without -j, but this is quite painful on an 8-core box.
I tried using bmake from ports, but this fails, because the build system
seems to have PATH hardcoded and it doesn't include /usr/local/bin. With
`which bmake` -j8 buildworld it seems to work, though, but it is not
finished compiling yet.
Maybe a paragraph about the proper way to upgrade could be added to the
UPDATING entry?
Julian
More information about the freebsd-current
mailing list