Re: bmake (installed as default make): make: illegal option -- J

From: Julian Stecklina <jsteckli_at_os.inf.tu-dresden.de>
Date: Wed, 22 May 2013 13:05:05 +0200
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
Received on Wed May 22 2013 - 09:25:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:37 UTC