Problems building FreeBSD 9.2 on FreeBSD 10

Simon J. Gerraty sjg at juniper.net
Tue Jun 17 22:07:49 UTC 2014


Sorry, I didn't speak to the problem you hit...

On Tue, 17 Jun 2014 11:35:42 -0700, Craig Rodrigues writes:
>> If I build like this:
>>
>> env TARGET=amd64 TARGET_ARCH=amd64 make -j 9 SRCCONF=/dev/null
>> __MAKE_CONF=/opt/local/branches/freenas/os-base/amd64/make.conf.build
>> NO_CLEAN=1 buildworld
>>
>> I get this error:
>>
>> --- upgrade_checks ---
>> A failure has been detected in another branch of the parallel make
>>

So earlier in your build there will be another error that is actual
issue, that's the more interesting thing to look at.

>> make[1]: stopped in /opt/local/branches/freenas/FreeBSD/src
>> *** [upgrade_checks] Error code 2
>>
>> make: stopped in /opt/local/branches/freenas/FreeBSD/src
>> 1 error

>> If I remove the "-j 9", then I can get the build to work properly.

That's a good indication of a race condition.

Note the recent work someone did to add .WAIT to subdir handling
which is an effort to reduce races.


More information about the freebsd-current mailing list