<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14878</bug_id>
          
          <creation_ts>2022-08-09 13:33:56 +0000</creation_ts>
          <short_desc>Rust SDK  Test ( RustCompileTest ) fails</short_desc>
          <delta_ts>2022-08-11 14:43:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>4.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>14874</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Randy MacLeod">randy.macleod</reporter>
          <assigned_to name="Sundeep KOKKONDA">sundeep.kokkonda</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93737</commentid>
    <comment_count>0</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-08-09 13:33:56 +0000</bug_when>
    <thetext>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 &quot;/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/sdk/cases/rust.py&quot;, line 33, in test_cargo_build
    self._run(&apos;cd %s/hello; cargo build&apos; % self.tc.sdk_dir)
  File &quot;/home/pokybuild/yocto-worker/qemuarm64-armhost/build/meta/lib/oeqa/sdk/case.py&quot;, line 16, in _run
    stderr=subprocess.STDOUT, universal_newlines=True)
  File &quot;/usr/lib/python3.6/subprocess.py&quot;, line 356, in check_output
    **kwargs).stdout
  File &quot;/usr/lib/python3.6/subprocess.py&quot;, line 438, in run
    output=stdout, stderr=stderr)
oeqa.utils.subprocesstweak.OETestCalledProcessError: Command &apos;. /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 &gt; /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;&apos; 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: &quot;target-rust-ccld&quot; &quot;/tmp/rustc0WRY1C/symbols.o&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;-Wl,--as-needed&quot; &quot;-L&quot; &quot;/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&quot; &quot;-L&quot; &quot;/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&quot; &quot;-L&quot; &quot;/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&quot; &quot;-Wl,--start-group&quot; &quot;-Wl,-Bstatic&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;-Wl,--end-group&quot; &quot;/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&quot; &quot;-Wl,-Bdynamic&quot; &quot;-lgcc_s&quot; &quot;-lutil&quot; &quot;-lrt&quot; &quot;-lpthread&quot; &quot;-lm&quot; &quot;-ldl&quot; &quot;-lc&quot; &quot;-Wl,--eh-frame-hdr&quot; &quot;-Wl,-znoexecstack&quot; &quot;-L&quot; &quot;/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&quot; &quot;-o&quot; &quot;/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&quot; &quot;-Wl,--gc-sections&quot; &quot;-pie&quot; &quot;-nodefaultlibs&quot; &quot;--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&quot;
  = 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 &quot;hello&quot;) generated 2 warnings (1 duplicate)
error: could not compile `hello` due to previous error; 2 warnings emitted



2. ------------------------------------------------------------------------------------------------------------

GalculatorTest class: SDK don&apos;t support gtk+3
No perl package in the SDK
No python3 package in the SDK
RustCompileTest class: SDK doesn&apos;t contain a Rust cross-canadian toolchain
No perl package in the SDK
No python3 package in the SDK
RustCompileTest class: SDK doesn&apos;t contain a Rust cross-canadian toolchain
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/meta/lib/oeqa/sdk/cases/rust.py&quot;, line 33, in test_cargo_build
    self._run(&apos;cd %s/hello; cargo build&apos; % self.tc.sdk_dir)
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/meta/lib/oeqa/sdk/case.py&quot;, line 14, in _run
    return subprocess.check_output(&quot;. %s &gt; /dev/null; %s;&quot; % \
  File &quot;/usr/lib/python3.9/subprocess.py&quot;, line 424, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File &quot;/usr/lib/python3.9/subprocess.py&quot;, line 528, in run
    raise CalledProcessError(retcode, process.args,
oeqa.utils.subprocesstweak.OETestCalledProcessError: Command &apos;. /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 &gt; /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;&apos; 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: &quot;target-rust-ccld&quot; &quot;/tmp/rustcLW8pzF/symbols.o&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;-Wl,--as-needed&quot; &quot;-L&quot; &quot;/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&quot; &quot;-L&quot; &quot;/home/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/testimage-sdk/hello/target/debug/deps&quot; &quot;-L&quot; &quot;/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&quot; &quot;-Wl,--start-group&quot; &quot;-Wl,-Bstatic&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;/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&quot; &quot;-Wl,--end-group&quot; &quot;/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&quot; &quot;-Wl,-Bdynamic&quot; &quot;-lgcc_s&quot; &quot;-lutil&quot; &quot;-lrt&quot; &quot;-lpthread&quot; &quot;-lm&quot; &quot;-ldl&quot; &quot;-lc&quot; &quot;-Wl,--eh-frame-hdr&quot; &quot;-Wl,-znoexecstack&quot; &quot;-L&quot; &quot;/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&quot; &quot;-o&quot; &quot;/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&quot; &quot;-Wl,--gc-sections&quot; &quot;-pie&quot; &quot;-nodefaultlibs&quot; &quot;--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&quot;
  = 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 &quot;hello&quot;) 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 &apos;1&apos;
RESULTS:
RESULTS - buildcpio.BuildCp
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93738</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-08-09 13:34:42 +0000</bug_when>
    <thetext>Sundeep, this one is more urgent than the MIPS n32 bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93739</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-08-09 14:05:53 +0000</bug_when>
    <thetext>Note that this was with master-next which did have an LD_LIBRARY_PATH tweak in it (I&apos;d posted patches on the mailing list).  I suspect this tweak is causing some different issues but without the patch, /bin/sh didn&apos;t work for other reasons.

This means that effectively we can&apos;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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93740</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-08-09 14:21:49 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93770</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-08-11 14:43:39 +0000</bug_when>
    <thetext>Duplicate of bug

*** This bug has been marked as a duplicate of bug 14874 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>