HomeDefectsLIN1022-5638
Fixed

LIN1022-5638 : Build fails with "packagefeed-stability" enabled

Created: Oct 13, 2023    Updated: Jan 9, 2024
Resolved Date: Dec 22, 2023
Found In Version: 10.22.33.12
Fix Version: 10.22.33.14
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Build & Config

Description

Configure and build a platform project with package management support according to the following documents.
[https://docs.windriver.com/bundle/Wind_River_Linux_Tutorial_Managing_Packages_at_Run_Time_LTS_22/page/pwn1676058304450.html]

Following error message occurred when build:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'gcc-cross-i686'. Close matches:
gcc-cross-x86_64
lib32-gcc-9-cross-i686
lib32-gcc-cross-i686
NOTE: Runtime target 'lib32-wrlinux-image-std' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lib32-wrlinux-image-std', 'wrlinux-image-std', 'lib32-meta-extsdk-toolchain', 'gcc-cross-i686']
ERROR: Required build target 'wrlinux-image-std' has no buildable providers.
Missing or unbuildable dependency chain was: ['wrlinux-image-std', 'lib32-meta-extsdk-toolchain', 'gcc-cross-i686']

I guess this is the same issue with LIN1023-1568, but the customer hit this problem on wrlinux-image-std image, and wrlinux-image-small can finishing building without this error.
Please help us to fix it.

Thanks.

Steps to Reproduce

1. $ git clone --branch WRLINUX_10_22_LTS https://gateway.delivers.windriver.com/git/linux-lts/release/wrlinux-lts.22/WRLinux-lts-22-Core/wrlinux-x

2. $ ./wrlinux-x/setup.sh --machines intel-x86-64 --distro=wrlinux --dl-layers --templates feature/ostree feature/lat

3. Add the following to the local.conf file:
PRSERV_HOST = "localhost:0"
INHERIT += "packagefeed-stability"
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"
WRTEMPLATE ?= "feature/package-management"
EXTRA_IMAGE_FEATURES = "package-management"

4. bitbake wrlinux-image-std