[OpenWrt-Devel] usign race?

Koen Vandeputte koen.vandeputte at ncentric.com
Thu Sep 13 03:47:35 EDT 2018


Hi All,

When I'm doing a lot of fresh builds for testing purposes, some of them 
tend to fail sometimes with following error:

make[3]: Entering directory 
'/mnt/ramdisk/koen/firmware/builds/generic_imx6/package/base-files'
rm -f 
/mnt/ramdisk/koen/firmware/builds/generic_imx6/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-imx6/base-files/.configured_*
rm -f 
/mnt/ramdisk/koen/firmware/builds/generic_imx6/staging_dir/target-arm_cortex-a9+neon_musl_eabi/stamp/.base-files_installed
[ -s /mnt/ramdisk/koen/firmware/builds/generic_imx6/key-build -a -s 
/mnt/ramdisk/koen/firmware/builds/generic_imx6/key-build.pub ] || 
/mnt/ramdisk/koen/firmware/builds/generic_imx6/staging_dir/host/bin/usign 
-G -s /mnt/ramdisk/koen/firmware/builds/generic_imx6/key-build -p 
/mnt/ramdisk/koen/firmware/builds/generic_imx6/key-build.pub -c "Local 
build key"
[ -s /mnt/ramdisk/koen/firmware/builds/generic_imx6/key-build.ucert ] || 
/mnt/ramdisk/koen/firmware/builds/generic_imx6/staging_dir/host/bin/ucert 
-I -c /mnt/ramdisk/koen/firmware/builds/generic_imx6/key-build.ucert -p 
/mnt/ramdisk/koen/firmware/builds/generic_imx6/key-build.pub -s 
/mnt/ramdisk/koen/firmware/builds/generic_imx6/key-build
Makefile:205: recipe for target 
'/mnt/ramdisk/koen/firmware/builds/generic_imx6/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-imx6/base-files/.configured_240bac709545f6c1a556fb40550492b4_8e081b74cf069e1e6800a5bbcbb282f0' 
failed
make[3]: *** 
[/mnt/ramdisk/koen/firmware/builds/generic_imx6/build_dir/target-arm_cortex-a9+neon_musl_eabi/linux-imx6/base-files/.configured_240bac709545f6c1a556fb40550492b4_8e081b74cf069e1e6800a5bbcbb282f0] 
Error 255
make[3]: Leaving directory 
'/mnt/ramdisk/koen/firmware/builds/generic_imx6/package/base-files'
time: package/base-files/compile#0.05#0.01#0.16
package/Makefile:107: recipe for target 'package/base-files/compile' failed
make[2]: *** [package/base-files/compile] Error 2
make[2]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_imx6'
package/Makefile:103: recipe for target 
'/mnt/ramdisk/koen/firmware/builds/generic_imx6/staging_dir/target-arm_cortex-a9+neon_musl_eabi/stamp/.package_compile' 
failed
make[1]: *** 
[/mnt/ramdisk/koen/firmware/builds/generic_imx6/staging_dir/target-arm_cortex-a9+neon_musl_eabi/stamp/.package_compile] 
Error 2
make[1]: Leaving directory '/mnt/ramdisk/koen/firmware/builds/generic_imx6'
/mnt/ramdisk/koen/firmware/builds/generic_imx6/include/toplevel.mk:216: 
recipe for target 'world' failed
make: *** [world] Error 2


running 'make dirclean' or 'make clean' doesn't help in solving this.
The only current way to avoid it is to wipe my local repo and start all 
over again.

As it mostly works, but only sometimes fail, it looks like a race condition.

Does anyone have any clue?

Thanks,

Koen


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list