From owner-freebsd-arm@FreeBSD.ORG Wed May 22 18:51:05 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D4EBFC2F for ; Wed, 22 May 2013 18:51:05 +0000 (UTC) (envelope-from werner@thieprojects.ch) Received: from newton.metanet.ch (newton2.metanet.ch [80.74.158.131]) by mx1.freebsd.org (Postfix) with ESMTP id 4C812E88 for ; Wed, 22 May 2013 18:51:04 +0000 (UTC) Received: (qmail 32759 invoked from network); 22 May 2013 20:50:57 +0200 Received: from 217-071-083-008.ip-tech.ch (HELO ?192.168.11.88?) (217.71.83.8) by newton.metanet.ch with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 22 May 2013 20:50:57 +0200 Message-ID: <519D1391.1000301@thieprojects.ch> Date: Wed, 22 May 2013 20:50:57 +0200 From: Werner Thie User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Tim Kientzle Subject: Re: crochet builds failing miserably for some day now with latest sources References: <519B9A79.8090404@thieprojects.ch> <9E715E2A-15DE-4623-B9B9-A09590D1307D@kientzle.com> <519C5633.2080003@thieprojects.ch> <69ACCDBA-2F05-4F97-9D10-821B97356BEE@kientzle.com> <1B8DF6DE-E7CA-4AAD-A131-2830D7120FA8@kientzle.com> In-Reply-To: <1B8DF6DE-E7CA-4AAD-A131-2830D7120FA8@kientzle.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 18:51:05 -0000 On 5/22/13 4:54 PM, Tim Kientzle wrote: > > On May 22, 2013, at 7:49 AM, Tim Kientzle wrote: > >> >> On May 21, 2013, at 10:22 PM, Werner Thie wrote: >> >>> On 5/22/13 4:24 AM, Tim Kientzle wrote: >>>> On May 21, 2013, at 9:02 AM, Werner Thie wrote: >>>> >>>>> Hi all >>>>> >>>>> My last image for the BBone is >>>>> >>>>> 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250696M: Thu May 16 14:18:30 CEST 2013 >>>>> >>>>> I'm not able to build a complete image since then with newer sources, the build is regularly failing with >>>>> >>>>> …. >>>>> make: illegal option -- J >>>> >>>> There's been some discussion of this on the >>>> freebsd-current@ mailing list. It seems to occur >>>> when you have an old 'make' binary in the 'obj' >>>> tree. >>>> >>>> First try removing just the old make binary: >>>> >>>> $ rm /home/wthie/proj/crochet-freebsd/work/obj/usr/local/src/make.i386/make >>>> >>>> and if that is insufficient, try deleting Crochet's >>>> 'work' directory and doing a completely clean build >>>> from scratch: >>>> >>>> $ rm -rf /home/wthie/proj/crochet-freebsd/work >>> >>> Hi Tim >>> >>> Sorry, this occurs WITH a completely clean crochet with the ./crochet-freebsd/work directory removed before >>> >>> /bin/sh crochet.sh -c config.sh >>> >>> I suspected a problem in the cross dev area and rebuild xdev with >>> >>> make xdev XDEV=arm XDEV_ARCH=armv6 >>> >>> which went through no problem, but as you stated, crochet uses the xdev tools only for uboot builds. >>> >>> From UPDATING in the source tree I see, that bmake is now favored over make as per 16th May. Is this the suspected change? >> >> I believe so. I have not had this problem here, but I'm running >> a relatively recent 10-CURRENT. >> >> You should ask on freebsd-current about this. I suspect the >> root problem affects people building 10-CURRENT on >> FreeBSD 9. > > A couple of folks on freebsd-current seem to have tied this > to the -j switch used when building. (Why use of -j eventually > leads to a complaint about -J is still a mystery.) > > Could you try editing lib/freebsd.sh to remove the > -j ${WORLDJOBS} > option from the buildworld command and see if that changes > anything? Hi Tim this is it, build world completed on FreeBSD 9.1-RELEASE-p3 with your suggested change. From all the input it seems, that the bmake switchover was the culprit. Thxs to all, Werner