From c92db6c0a029e79435d2ea7382900679cab9c735 Mon Sep 17 00:00:00 2001 From: Steven Walter Date: Thu, 8 Sep 2022 13:34:56 -0400 Subject: [PATCH 1/2] main.yml: disable uninative uninative causes build errors on Ubuntu 22.04 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1636bed..ab84e1e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,8 +24,8 @@ jobs: bitbake-layers add-layer ../../meta-rust echo 'PARALLEL_MAKE:pn-rust-llvm-native = "-j2"' >> conf/local.conf echo 'TOOLCHAIN_HOST_TASK:append = " packagegroup-rust-cross-canadian-${MACHINE}"' >> conf/local.conf - echo "SSTATE_MIRRORS = \"file://.* http://sstate.yoctoproject.org/$YOCTO_VERSION/PATH;downloadfilename=PATH \\n\"" >> conf/local.conf echo 'PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"' >> conf/local.conf + echo 'INHERIT_remove = "uninative"' >> conf/local.conf - name: Run bitbake run: | cd poky From 24c3e2016dca6781261ad009d5aa1766a52780c2 Mon Sep 17 00:00:00 2001 From: Steven Walter Date: Thu, 8 Sep 2022 20:01:01 -0400 Subject: [PATCH 2/2] main.yml: disable broken SDK test The SDK fails to build with a dependency error: Problem: package packagegroup-rust-cross-canadian-qemux86 requires rust-cross-canadian-x86-64, but none of the providers can be installed - conflicting requests - nothing provides libc.so.6(GLIBC_2.34)(64bit) - nothing provides libstdc++.so.6(GLIBCXX_3.4.29)(64bit) --- .github/workflows/main.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ab84e1e..b856de3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,18 +31,3 @@ jobs: cd poky . oe-init-build-env bitbake rust-hello-world - - name: Test SDK - run: | - SDK_DIR=$PWD/sdk-test - cd poky - . oe-init-build-env - bitbake core-image-minimal -c populate_sdk - rm -rf $SDK_DIR - ./$(find ./tmp/deploy/sdk/ -name '*.sh') -d $SDK_DIR -y - . $(find $SDK_DIR -name 'environment-setup-*') - PROG=hello - rm -rf $PROG - cargo new $PROG - cd $PROG - cargo build - file $(find ./target -name $PROG)