From owner-freebsd-current@FreeBSD.ORG Wed May 22 11:25:10 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AA8F89F8 for ; Wed, 22 May 2013 11:25:10 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7083DF74 for ; Wed, 22 May 2013 11:25:10 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uf7AE-0007XC-Tt for freebsd-current@freebsd.org; Wed, 22 May 2013 13:25:02 +0200 Received: from august.inf.tu-dresden.de ([141.76.48.124]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 May 2013 13:25:02 +0200 Received: from jsteckli by august.inf.tu-dresden.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 May 2013 13:25:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Julian Stecklina Subject: Re: bmake (installed as default make): make: illegal option -- J Date: Wed, 22 May 2013 13:05:05 +0200 Lines: 36 Message-ID: References: <519688D6.4020309@peterschmitt.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: august.inf.tu-dresden.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 In-Reply-To: <519688D6.4020309@peterschmitt.fr> X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 11:25:10 -0000 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