Wind River Support Network

HomeDefectsLIN1022-453
Acknowledged

LIN1022-453 : Build failure on creating SDK with gcc-9-sdk feature and sstate enabled

Created: May 4, 2022    Updated: Aug 22, 2022
Found In Version: 10.22.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Build & Config

Description

1. Create project on intel-x86-64
2. Build project
   $bitbake wrlinux-image-core
   $bitbake wrlinux-image-core -c do_populate_sdk
3.  Create new build with "feature/gcc-9-sdk" enabled
4.  Set the same sstate of step1 build and run Step2 again

...
ERROR: wrlinux-image-std-sato-1.0-r1 do_populate_sdk: Could not invoke dnf. Command '/xxx/build/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-std-sato/1.0-r1/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /xxx/build/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-std-sato/1.0-r1/sdk/image/etc/dnf/dnf.conf --setopt=reposdir=/xxx/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-std-sato/1.0-r1/sdk/image/etc/yum.repos.d --installroot=/xxx/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-std-sato/1.0-r1/sdk/image --setopt=logdir=/xxx/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-std-sato/1.0-r1/temp --repofrompath=oe-repo,/xxx/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-std-sato/1.0-r1/oe-sdk-repo --nogpgcheck install nativesdk-packagegroup-sdk-host packagegroup-cross-canadian-intel-x86-64' returned 1:
DNF version: 4.10.0
cachedir: /xxx/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-std-sato/1.0-r1/sdk/image/var/cache/dnf
Added oe-repo repo from /xxx/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-std-sato/1.0-r1/oe-sdk-repo
User-Agent: constructed: 'libdnf (CentOS Linux 8; generic; Linux.x86_64)'
repo: using cache for: oe-repo
oe-repo: using metadata from Mon 28 Feb 2022 09:00:46 AM UTC.
Last metadata expiration check: 0:00:01 ago on Mon 28 Feb 2022 09:04:33 AM UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error:
 Problem: conflicting requests
  - nothing provides binutils-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk
  - nothing provides gcc-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk
  - nothing provides gdb-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk
(try to add '--skip-broken' to skip uninstallable packages)

Steps to Reproduce

1. Create project on intel-x86-64
2. Build project 
   $bitbake wrlinux-image-core
   $bitbake wrlinux-image-core -c do_populate_sdk
3.  Create new build with "feature/gcc-9-sdk" enabled 
4.  Set the same sstate of step1 build and run Step2 again
Live chat
Online