rust sdk test failures: https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/5013/steps/16/logs/stdio and https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/5632/steps/16/logs/stdio (so affecting x86 and aarch64 hosts equally) 1. ------------------------------------------------------------------------------------------------------------ ... RESULTS - weston.WestonTest.test_weston_supports_xwayland: SKIPPED (0.00s) SUMMARY: core-image-sato-sdk () - Ran 69 tests in 242.631s core-image-sato-sdk - OK - All required tests passed (successes=49, skipped=20, failures=0, errors=0) NOTE: recipe core-image-sato-sdk-1.0-r0: task do_testimage: Succeeded Traceback (most recent call last): File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/sdk/cases/rust.py", line 33, in test_cargo_build self._run('cd %s/hello; cargo build' % self.tc.sdk_dir) File "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/sdk/case.py", line 16, in _run stderr=subprocess.STDOUT, universal_newlines=True) File "/usr/lib/python3.6/subprocess.py", line 356, in check_output **kwargs).stdout File "/usr/lib/python3.6/subprocess.py", line 438, in run output=stdout, stderr=stderr) oeqa.utils.subprocesstweak.OETestCalledProcessError: Command '. /home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/environment-setup-cortexa57-poky-linux > /dev/null; cd /home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk//hello; cargo build;' returned non-zero exit status 101 Standard Output: Compiling hello v0.1.0 (/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello) warning: target json file contains unused fields: has-elf-tls error: linking with `target-rust-ccld` failed: exit status: 127 | = note: "target-rust-ccld" "/tmp/rustc0WRY1C/symbols.o" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/aarch64-poky-linux-gnu/debug/deps/hello-8c68b5e90f5923b9.1guu26vba1gbo1p3.rcgu.o" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/aarch64-poky-linux-gnu/debug/deps/hello-8c68b5e90f5923b9.1ijznvf2hhcg2r6v.rcgu.o" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/aarch64-poky-linux-gnu/debug/deps/hello-8c68b5e90f5923b9.275eb2uzqpsmve16.rcgu.o" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/aarch64-poky-linux-gnu/debug/deps/hello-8c68b5e90f5923b9.2fjhxrubioundl44.rcgu.o" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/aarch64-poky-linux-gnu/debug/deps/hello-8c68b5e90f5923b9.2ymatd8lyext3pv6.rcgu.o" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/aarch64-poky-linux-gnu/debug/deps/hello-8c68b5e90f5923b9.3fm6p13eq7c2t57x.rcgu.o" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/aarch64-poky-linux-gnu/debug/deps/hello-8c68b5e90f5923b9.4vol5vn2mhp1nkgm.rcgu.o" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/aarch64-poky-linux-gnu/debug/deps/hello-8c68b5e90f5923b9.52mxdh2ekjbucwcw.rcgu.o" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/aarch64-poky-linux-gnu/debug/deps/hello-8c68b5e90f5923b9.5autjitmjysmtgjb.rcgu.o" "-Wl,--as-needed" "-L" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/aarch64-poky-linux-gnu/debug/deps" "-L" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/debug/deps" "-L" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/libstd.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/libpanic_unwind-ca6bee697768c0da.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/libobject-1302f99586a6b4b8.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/libmemchr-716f27faec79fc28.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/libaddr2line-b09afd982376e460.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/libgimli-d74fd04aa05c5cab.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/librustc_demangle-a661491ff1d41bf7.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/libstd_detect-b99307a5005c5d8f.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/libhashbrown-9b0ff0af25237d6e.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/libminiz_oxide-ba7cae91edb47367.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/libadler-cdbc411ed852422a.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/librustc_std_workspace_alloc-6ed08033a26d1bf5.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/libunwind-b49634f63fc4b845.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/libcfg_if-0d6d04ed052e08d4.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/liblibc-22ed15eddeced777.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/liballoc-b958dd040ea8f9db.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/librustc_std_workspace_core-5f721c10ac3d3c73.rlib" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/libcore-c3c630a651f696cb.rlib" "-Wl,--end-group" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib/libcompiler_builtins-1188ef133842eb64.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux/usr/lib/rustlib/aarch64-poky-linux-gnu/lib" "-o" "/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/aarch64-poky-linux-gnu/debug/deps/hello-8c68b5e90f5923b9" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "--sysroot=/home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/cortexa57-poky-linux" = note: /bin/sh: relocation error: /home/pokybuild/yocto-worker/qemuarm64-armhost/build/build/tmp/work/qemuarm64-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/aarch64-pokysdk-linux/usr/bin/../../lib/libc.so.6: symbol _dl_fatal_printf version GLIBC_PRIVATE not defined in file ld-linux-aarch64.so.1 with link time reference warning: `hello` (bin "hello") generated 2 warnings (1 duplicate) error: could not compile `hello` due to previous error; 2 warnings emitted 2. ------------------------------------------------------------------------------------------------------------ GalculatorTest class: SDK don't support gtk+3 No perl package in the SDK No python3 package in the SDK RustCompileTest class: SDK doesn't contain a Rust cross-canadian toolchain No perl package in the SDK No python3 package in the SDK RustCompileTest class: SDK doesn't contain a Rust cross-canadian toolchain Traceback (most recent call last): File "/home/pokybuild/yocto-worker/qemux86/build/meta/lib/oeqa/sdk/cases/rust.py", line 33, in test_cargo_build self._run('cd %s/hello; cargo build' % self.tc.sdk_dir) File "/home/pokybuild/yocto-worker/qemux86/build/meta/lib/oeqa/sdk/case.py", line 14, in _run return subprocess.check_output(". %s > /dev/null; %s;" % \ File "/usr/lib/python3.9/subprocess.py", line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, oeqa.utils.subprocesstweak.OETestCalledProcessError: Command '. /home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/environment-setup-core2-32-poky-linux > /dev/null; cd /home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk//hello; cargo build;' returned non-zero exit status 101 Standard Output: Compiling hello v0.1.0 (/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello) warning: target json file contains unused fields: has-elf-tls error: linking with `target-rust-ccld` failed: exit status: 127 | = note: "target-rust-ccld" "/tmp/rustcLW8pzF/symbols.o" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/i686-poky-linux-gnu/debug/deps/hello-9232fb5045419393.14vwdq92jka7msx8.rcgu.o" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/i686-poky-linux-gnu/debug/deps/hello-9232fb5045419393.1ahr1co3ykp25el8.rcgu.o" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/i686-poky-linux-gnu/debug/deps/hello-9232fb5045419393.1ieoho2h1llqruyq.rcgu.o" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/i686-poky-linux-gnu/debug/deps/hello-9232fb5045419393.2ac4uaih312jp57j.rcgu.o" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/i686-poky-linux-gnu/debug/deps/hello-9232fb5045419393.2u3w2a8fvd16ld2r.rcgu.o" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/i686-poky-linux-gnu/debug/deps/hello-9232fb5045419393.2uh1j5eqla5uu33n.rcgu.o" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/i686-poky-linux-gnu/debug/deps/hello-9232fb5045419393.4c4cnvc27ca18tph.rcgu.o" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/i686-poky-linux-gnu/debug/deps/hello-9232fb5045419393.ifh4wwwvt9f37r2.rcgu.o" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/i686-poky-linux-gnu/debug/deps/hello-9232fb5045419393.50fagfcaz9d4be46.rcgu.o" "-Wl,--as-needed" "-L" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/i686-poky-linux-gnu/debug/deps" "-L" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/debug/deps" "-L" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/libstd.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/libpanic_unwind-b77c35f8d521ee7a.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/libobject-bab1b751c4e940b5.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/libmemchr-a2e922532011690b.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/libaddr2line-840cc61cb7e6d3b2.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/libgimli-dea246e0b7d28084.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/librustc_demangle-1feb4bf535b2a01d.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/libstd_detect-86aa04e1c4bc7311.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/libhashbrown-741d631c81218811.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/libminiz_oxide-13818b7a3d115ae7.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/libadler-4ed151d4e067b2c1.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/librustc_std_workspace_alloc-94e7148fabe03715.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/libunwind-0fc67a014f824f3f.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/libcfg_if-3a56acf6f0ac8009.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/liblibc-1bade0eb6e8648e2.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/liballoc-c5abbfe4aca57b33.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/librustc_std_workspace_core-cd8961288abd564f.rlib" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/libcore-66b27ca65bb608a7.rlib" "-Wl,--end-group" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib/libcompiler_builtins-defe72e27f5a22f7.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux/usr/lib/rustlib/i686-poky-linux-gnu/lib" "-o" "/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/i686-poky-linux-gnu/debug/deps/hello-9232fb5045419393" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "--sysroot=/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/core2-32-poky-linux" = note: /bin/sh: symbol lookup error: /home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/../../lib/libc.so.6: undefined symbol: _dl_fatal_printf, version GLIBC_PRIVATE warning: `hello` (bin "hello") generated 2 warnings (1 duplicate) error: could not compile `hello` due to previous error; 2 warnings emitted RESULTS: RESULTS - assimp.BuildAssimp.test_assimp: PASSED (97.24s) ... RESULTS - python.Python3Test.test_python3: PASSED (0.02s) RESULTS - rust.RustCompileTest.test_cargo_build: ERROR (0.19s) SUMMARY: core-image-sato sdk (poky-glibc-x86_64-core-image-sato-core2-32-qemux86-toolchain-4.1+snapshot.sh:environment-setup-core2-32-poky-linux) - Ran 12 tests in 150.459s core-image-sato sdk - FAIL - Required tests failed (successes=11, skipped=0, failures=0, errors=1) ERROR: core-image-sato-1.0-r0 do_testsdk: core-image-sato - FAILED - check the task log and the commands log ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/temp/log.do_testsdk.4110403 NOTE: recipe core-image-sato-1.0-r0: task do_testsdk: Failed ERROR: Task (/home/pokybuild/yocto-worker/qemux86/build/meta/recipes-sato/images/core-image-sato.bb:do_testsdk) failed with exit code '1' RESULTS: RESULTS - buildcpio.BuildCp ...
Sundeep, this one is more urgent than the MIPS n32 bug.
Note that this was with master-next which did have an LD_LIBRARY_PATH tweak in it (I'd posted patches on the mailing list). I suspect this tweak is causing some different issues but without the patch, /bin/sh didn't work for other reasons. This means that effectively we can't have something here with /bin/sh or anything from the host system, we need to only use things within the SDK. I think what we're going to need to do is stop ccld being called with LD_LIBRARY_PATH being set, or put a wrapper in place which filters it out. How we do that without using anything from the host system is going to be tricky.
I tried an experiment on one of the failing builds and if we swap /bin/sh in the wrapper for a pointer to sh in the SDK (which is bash), it works correctly. That is probably the easiest fix for this given it is hard to change what rust is passing in the environment.
Duplicate of bug *** This bug has been marked as a duplicate of bug 14874 ***