Buildbot: something in buildslave env affects cortex-a9 build (master and 18.06)
Username: Hannu Nyman
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1558
I have noticed that the cortex-a9 phase1 builds in buildbot seem to be affected by the specific buildslave. This seems to affect one buildslave in master buldbot (tictex-02) and the sole slave in 18.06 phase1 buildbot. The two slaves continuously fail to build cortex-a9.
All other buildslaves in the main buildbot build cortex-a9 subtarget ok, but tictex-02 in master and the sole 18.06 buildslave fail in building target-specific packages.
http://phase1.builds.lede-project.org/builders/mvebu%2Fcortexa9
http://release-builds.lede-project.org/18.06/images/builders/mvebu%2Fcortexa9
Curiously, tictex-02 does build at least one of the other two mvebu subtargets (as does the 18.06 buildslave, too.)
To me this seems to indicate that something from the buildslave host libraries/packages seeps into the build.
The error message is similar in master and 18.06:
master:
/var/lib/buildbot/slaves/tictex-02/mvebu_cortexa9/build/staging_dir/host/lib/libcrypto.a(libcrypto_la-err.o): In function ERR_load_ERR_strings': err.c:(.text+0xb5b): undefined reference to
pthread_once'
/var/lib/buildbot/slaves/tictex-02/mvebu_cortexa9/build/staging_dir/host/lib/libcrypto.a(libcrypto_la-crypto_init.o): In function OPENSSL_init_crypto': crypto_init.c:(.text+0x59): undefined reference to
pthread_once'
/var/lib/buildbot/slaves/tictex-02/mvebu_cortexa9/build/staging_dir/host/lib/libcrypto.a(libcrypto_la-conf_sap.o): In function OpenSSL_config': conf_sap.c:(.text+0xbc): undefined reference to
pthread_once'
/var/lib/buildbot/slaves/tictex-02/mvebu_cortexa9/build/staging_dir/host/lib/libcrypto.a(libcrypto_la-conf_sap.o): In function OpenSSL_no_config': conf_sap.c:(.text+0xf3): undefined reference to
pthread_once'
/var/lib/buildbot/slaves/tictex-02/mvebu_cortexa9/build/staging_dir/host/lib/libcrypto.a(libcrypto_la-eng_all.o): In function ENGINE_load_builtin_engines': eng_all.c:(.text+0x30): undefined reference to
pthread_once'
/var/lib/buildbot/slaves/tictex-02/mvebu_cortexa9/build/staging_dir/host/lib/libcrypto.a(libcrypto_la-err_all.o):err_all.c:(.text+0x9f): more undefined references to `pthread_once' follow
collect2: error: ld returned 1 exit status
scripts/Makefile.host:108: recipe for target 'tools/dumpimage' failed
make[4]: *** [tools/dumpimage] Error 1
Makefile:1330: recipe for target 'tools' failed
make[3]: *** [tools] Error 2
make[3]: Leaving directory '/var/lib/buildbot/slaves/tictex-02/mvebu_cortexa9/build/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/u-boot-clearfog/u-boot-2018.03'
Makefile:47: recipe for target '/var/lib/buildbot/slaves/tictex-02/mvebu_cortexa9/build/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/u-boot-clearfog/u-boot-2018.03/.built' failed
make[2]: *** [/var/lib/buildbot/slaves/tictex-02/mvebu_cortexa9/build/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/u-boot-clearfog/u-boot-2018.03/.built] Error 2
make[2]: Leaving directory '/var/lib/buildbot/slaves/tictex-02/mvebu_cortexa9/build/package/boot/uboot-mvebu'
Command exited with non-zero status 2
time: package/boot/uboot-mvebu/clearfog/compile#16.00#1.96#40 (closed).40
package/Makefile:107: recipe for target 'package/boot/uboot-mvebu/compile' failed
make[1]: *** [package/boot/uboot-mvebu/compile] Error 2
make[1]: *** Waiting for unfinished jobs....