Using a default local.conf running: bitbake uninative-tarball generates the following: DEBUG: Executing python function do_populate_sdk NOTE: Installing TARGET packages NOTE: configuring RPM platform settings NOTE: configuring RPM system provides NOTE: configuring RPM DB settings NOTE: configuring Smart settings NOTE: adding Smart RPM DB channel NOTE: Note: configuring RPM cross-install scriptlet_wrapper NOTE: Executing '/home/rewitt/builds/poky-builds/foo/tmp/sysroots/x86_64-linux/usr/bin/createrepo --dbpath /home/rewitt/builds/poky-builds/foo/tmp/work/i586-poky-linux/uninative-tarball/1.0-r0/rpmdb/x86_64_nativesdk --update -q /home/rewitt/builds/poky-builds/foo/tmp/deploy/rpm/x86_64_nativesdk' ... NOTE: Previous repo file missing: /home/rewitt/builds/poky-builds/foo/tmp/deploy/rpm/x86_64_nativesdk/repodata/primary.xml.gz NOTE: There are no packages to install NOTE: There are no packages to install NOTE: Installing complementary packages ... NOTE: Running ['/home/rewitt/src/poky/scripts/oe-pkgdata-util', '-p', '/home/rewitt/builds/poky-builds/foo/tmp/sysroots/qemux86/pkgdata', 'glob', '/home/rewitt/builds/poky-builds/foo/tmp/work/i586-poky-linux/uninative-tarball/1.0-r0/installed_pkgs.txt', '*-dev *-dbg'] ERROR: Could not compute complementary packages list. Command '/home/rewitt/src/poky/scripts/oe-pkgdata-util -p /home/rewitt/builds/poky-builds/foo/tmp/sysroots/qemux86/pkgdata glob /home/rewitt/builds/poky-builds/foo/tmp/work/i586-poky-linux/uninative-tarball/1.0-r0/installed_pkgs.txt *-dev *-dbg' returned 1: Traceback (most recent call last): File "/home/rewitt/src/poky/scripts/oe-pkgdata-util", line 508, in <module> main() File "/home/rewitt/src/poky/scripts/oe-pkgdata-util", line 499, in main logger.error('Unable to find pkgdata directory %s' % pkgdata_dir) NameError: global name 'pkgdata_dir' is not defined DEBUG: Python function do_populate_sdk finished ERROR: Function failed: do_populate_sdk
Fixed in oe-core a1202ed17e11400f08064c9065fdfa996554d4ad.
Verified on master: 8a0d8eee432924433c3e70198aaeab3161476c5f