[oe] nspr-4.7.1: race condition causing occasional build failure

Graham Gower graham.gower at gmail.com
Wed Oct 20 05:43:02 UTC 2010


On 10/20/2010 10:06 AM, Graham Gower wrote:
> The failure looks like this:
> 
> make[3]: Entering directory `/mnt/oe/tmp/work/mipsel-oe-linux/nspr-4.7.1-r1/nspr-4.7.1/mozilla/nsprpub/pr/include/md'
> ../../../config/./nsinstall -R -m 444 ./_aix32.cfg ./_aix64.cfg ./_beos.cfg ./_bsdi.cfg ./_darwin.cfg ./_dgux.cfg ./_freebsd.cfg ./_hpux32.cfg ./_hpux64.cfg ./_irix32.cfg ./_irix64.cfg ./_linux.cfg ./_ncr.cfg ./_nec.cfg ./_netbsd.cfg ./_nextstep.cfg ./_nto.cfg ./_openbsd.cfg ./_openvms.cfg ./_os2.cfg ./_osf1.cfg ./_qnx.cfg ./_reliantunix.cfg ./_riscos.cfg ./_scoos.cfg ./_solaris.cfg ./_sony.cfg ./_sunos4.cfg ./_unixware.cfg ./_unixware7.cfg ./_win16.cfg ./_win95.cfg ./_winnt.cfg ../../../dist/include/nspr/md
> ../../../config/./nsinstall: ../../../config/./nsinstall: cannot execute binary file
> make[3]: *** [export] Error 126
> 

Even with PARALLEL_MAKE and BB_NUMBER_THREADS commented out in my local.conf
I can reproduce the failure within a few minutes using the following loop.

while :; do
	./bitbake.sh -b openembedded/recipes/mozilla/nspr_4.7.1.bb -c clean
	./bitbake.sh -b openembedded/recipes/mozilla/nspr_4.7.1.bb -c compile || break
done




More information about the Openembedded-devel mailing list