Wind River Support Network

HomeDefectsLIN1022-1616
Acknowledged

LIN1022-1616 : linux-yocto_5.15.bb: staging_package_populate_pkgdata_dir is not defined

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

Description

$./wrlinux-x/setup.sh --machines intel-x86-64 --distro wrlinux --accept-eula=yes --dl-layers

$ . environment-setup-x86_64-wrlinuxsdk-linux
$ . oe-init-build-env

$ bitbake -b linux-yocto_5.15.bb

 

ERROR: linux-yocto-5.15.63+gitAUTOINC+8fa8d5e477_95a6a2562e-r0 do_package: Error executing a python function in exec_func_python() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: <module> 0001: *** 0002:package_prepare_pkgdata(d) 0003: File: '/path/to/layers/oe-core/meta/classes/package_pkgdata.bbclass', lineno: 44, function: package_prepare_pkgdata 0040: 0041: # Detect bitbake -b usage 0042: nodeps = d.getVar("BB_LIMITEDDEPS") or False 0043: if nodeps: *** 0044: staging_package_populate_pkgdata_dir(pkgdatadir, d) 0045: return 0046: 0047: start = None 0048: configuredeps = [] Exception: NameError: name 'staging_package_populate_pkgdata_dir' is not defined 

 

Workaround:

$ bitbake linux-yocto

Steps to Reproduce

 /lpg-build/cdc/fast_prod/WRL10_22/WRL10_22_GIT/wrlinux-10/setup.sh --machines intel-x86-64 --distro wrlinux  --accept-eula=yes --dl-layers


. environment-setup-x86_64-wrlinuxsdk-linux 
. oe-init-build-env 

bitbake wrlinux-image-small

bitbake -b linux-yocto_5.15.bb
Live chat
Online