Base-file package compile fails randomly

[2021-10-07T15:44:35.965Z] make[4]: Entering directory '/home/jenkins/agent/workspace/master/openwrtx86/package/base-files'

[2021-10-07T15:44:36.222Z] touch /home/jenkins/agent/workspace/master/openwrtx86/build_dir/target-x86_64_musl/linux-x86_64/base-files/.prepared_d46b4af5847aa1881fbc3255bf0fcb3f_6664517399ebbbc92a37c5bb081b5c53_check

[2021-10-07T15:44:36.222Z] mkdir -p /home/jenkins/agent/workspace/master/openwrtx86/build_dir/target-x86_64_musl/linux-x86_64/base-files

[2021-10-07T15:44:36.222Z] touch /home/jenkins/agent/workspace/master/openwrtx86/build_dir/target-x86_64_musl/linux-x86_64/base-files/.prepared_d46b4af5847aa1881fbc3255bf0fcb3f_6664517399ebbbc92a37c5bb081b5c53

[2021-10-07T15:44:36.222Z] rm -f /home/jenkins/agent/workspace/master/openwrtx86/build_dir/target-x86_64_musl/linux-x86_64/base-files/.configured_*

[2021-10-07T15:44:36.222Z] rm -f /home/jenkins/agent/workspace/master/openwrtx86/staging_dir/target-x86_64_musl/stamp/.base-files_installed

[2021-10-07T15:44:36.222Z] [ -s /home/jenkins/agent/workspace/master/openwrtx86/key-build -a -s /home/jenkins/agent/workspace/master/openwrtx86/key-build.pub ] || /home/jenkins/agent/workspace/master/openwrtx86/staging_dir/host/bin/usign -G -s /home/jenkins/agent/workspace/master/openwrtx86/key-build -p /home/jenkins/agent/workspace/master/openwrtx86/key-build.pub -c "Local build key"

[2021-10-07T15:44:36.222Z] [ -s /home/jenkins/agent/workspace/master/openwrtx86/key-build.ucert ] || /home/jenkins/agent/workspace/master/openwrtx86/staging_dir/host/bin/ucert -I -c /home/jenkins/agent/workspace/master/openwrtx86/key-build.ucert -p /home/jenkins/agent/workspace/master/openwrtx86/key-build.pub -s /home/jenkins/agent/workspace/master/openwrtx86/key-build

[2021-10-07T15:44:36.223Z] Makefile:207: recipe for target '/home/jenkins/agent/workspace/master/openwrtx86/build_dir/target-x86_64_musl/linux-x86_64/base-files/.configured_601e8195c8c17afc215687ae196b1205_8e081b74cf069e1e6800a5bbcbb282f0' failed

[2021-10-07T15:44:36.223Z] make[4]: *** [/home/jenkins/agent/workspace/master/openwrtx86/build_dir/target-x86_64_musl/linux-x86_64/base-files/.configured_601e8195c8c17afc215687ae196b1205_8e081b74cf069e1e6800a5bbcbb282f0] Error 255

[2021-10-07T15:44:36.223Z] make[4]: Leaving directory '/home/jenkins/agent/workspace/master/openwrtx86/package/base-files'

[2021-10-07T15:44:36.223Z] time: package/base-files/compile#0.15#0.06#0.20

[2021-10-07T15:44:36.223Z] package/Makefile:107: recipe for target 'package/base-files/compile' failed

[2021-10-07T15:44:36.223Z] make[3]: *** [package/base-files/compile] Error 2

I am seeing above error randomly. any idea why its happening.

Enable verbosity while compiling, to get additional info.

1 Like

I am compiling with V=sc. any more verbose I can add ?

Make a clean of the package…
Like :
make package/{clean,compile}/base-files

manual it works, I tried in loop multiple time. It happens randomly.