<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8541</bug_id>
          
          <creation_ts>2015-10-19 18:11:22 +0000</creation_ts>
          <short_desc>uninative-tarball fails to build</short_desc>
          <delta_ts>2015-10-27 15:29:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>2.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Randy Witt">randy.e.witt</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>55452</commentid>
    <comment_count>0</comment_count>
    <who name="Randy Witt">randy.e.witt</who>
    <bug_when>2015-10-19 18:11:22 +0000</bug_when>
    <thetext>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 &apos;/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&apos; ...
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 [&apos;/home/rewitt/src/poky/scripts/oe-pkgdata-util&apos;, &apos;-p&apos;, &apos;/home/rewitt/builds/poky-builds/foo/tmp/sysroots/qemux86/pkgdata&apos;, &apos;glob&apos;, &apos;/home/rewitt/builds/poky-builds/foo/tmp/work/i586-poky-linux/uninative-tarball/1.0-r0/installed_pkgs.txt&apos;, &apos;*-dev *-dbg&apos;]
ERROR: Could not compute complementary packages list. Command &apos;/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&apos; returned 1:
Traceback (most recent call last):                                              
  File &quot;/home/rewitt/src/poky/scripts/oe-pkgdata-util&quot;, line 508, in &lt;module&gt;   
    main()                                                                      
  File &quot;/home/rewitt/src/poky/scripts/oe-pkgdata-util&quot;, line 499, in main       
    logger.error(&apos;Unable to find pkgdata directory %s&apos; % pkgdata_dir)           
NameError: global name &apos;pkgdata_dir&apos; is not defined                             
                                                                                
DEBUG: Python function do_populate_sdk finished                                 
ERROR: Function failed: do_populate_sdk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55829</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-10-27 13:57:40 +0000</bug_when>
    <thetext>Fixed in oe-core a1202ed17e11400f08064c9065fdfa996554d4ad.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55845</commentid>
    <comment_count>2</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-10-27 15:29:27 +0000</bug_when>
    <thetext>Verified on master: 8a0d8eee432924433c3e70198aaeab3161476c5f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>