Bug 8541 - uninative-tarball fails to build
Summary: uninative-tarball fails to build
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.0
Assignee: Richard Purdie
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-10-19 18:11 UTC by Randy Witt
Modified: 2015-10-27 15:29 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Witt 2015-10-19 18:11:22 UTC
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
Comment 1 Ross Burton 2015-10-27 13:57:40 UTC
Fixed in oe-core a1202ed17e11400f08064c9065fdfa996554d4ad.
Comment 2 Bogdan Alexandru Voiculescu 2015-10-27 15:29:27 UTC
Verified on master: 8a0d8eee432924433c3e70198aaeab3161476c5f