Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2013 20:50:57 +0200
From:      Werner Thie <werner@thieprojects.ch>
To:        Tim Kientzle <tim@kientzle.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: crochet builds failing miserably for some day now with latest sources
Message-ID:  <519D1391.1000301@thieprojects.ch>
In-Reply-To: <1B8DF6DE-E7CA-4AAD-A131-2830D7120FA8@kientzle.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?519D1391.1000301>