HomeDefectsLIN1023-1234
Not to be fixed

LIN1023-1234 : gen-image: nativesdk-xxxx do_package_compare_rpm: Unable to map nativesdk-xxxx-x86_64_nativesdk.rpm back to package

Created: Jul 10, 2023    Updated: Apr 8, 2025
Resolved Date: Apr 8, 2025
Found In Version: 10.23.30.1
Severity: Standard
Applicable for: Wind River Linux LTS 23
Component/s: Build & Config, Userspace

Description

$ ./wrlinux-x/setup.sh --machines=bcm-2xxx-rpi4 --all-layers --dl-layers=1 --dl-layers=1 --distros=wrlinux

$ . environment-setup-x86_64-wrlinuxsdk-linux && . oe-init-build-env
$ ../layers/wrlinux/scripts/gen-image/gen-image -m bcm-2xxx-rpi4

You may see the warnigs such as:

WARNING: nativesdk-qemuwrapper-cross-1.0-r0 do_package_compare_rpm: Unable to map nativesdk-qemuwrapper-cross-1.0-r0.0.x86_64_nativesdk.rpm back to package

These warnings are harmless and can be ignored, the new nativesdk rpms will be copied when can't map back to old ones.

Steps to Reproduce

1) git clone --depth 1 --branch WRLINUX_10_23_LTS git://pek-git.wrs.com/wrlinux-x
2) ./wrlinux-x/setup.sh --machines=bcm-2xxx-rpi4 --all-layers --dl-layers=1 --dl-layers=1 --distros=wrlinux --accept-eula=yes --templates=feature/busybox
3)date local.conf: 
GPG_PATH = '/tmp/bstest-7FWCvP/tmp.ErOXuEwSOS'
PACKAGE_FEED_URIS = "http://128.224.153.156/buildarea1/SharedImage/LTS23/LTS23_STD_BINARY/bcm-2xxx-rpi4/20230710"
4)../layers/wrlinux/scripts/gen-image/gen-image -m bcm-2xxx-rpi4