<?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>278</bug_id>
          
          <creation_ts>2010-09-06 18:32:02 +0000</creation_ts>
          <short_desc>POKY_NATIVE_SYSROOT error for sdk tarball</short_desc>
          <delta_ts>2010-12-21 06:09:41 +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>devtools / tool chain</component>
          <version>0.9</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>major</bug_severity>
          <target_milestone>0.9 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liping Ke">liping.ke</reporter>
          <assigned_to name="Joshua Lock - Disabled">josh</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>scott.a.garman</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9607</commentid>
    <comment_count>0</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-09-06 18:32:02 +0000</bug_when>
    <thetext>Saul, please help to assign this bug to Josh, I input josh&apos;s mail addr, but the bugzilla can&apos;t find him:) Thanks!

Hi, Josh
After I extract sdk toolchain tarball to /opt/poky, I found the environement-setup-XXX script contains POKY_NATIVE_SYSROOT=&quot;poky_tree/build_x86/tmp/sysroots/i686-linux&quot;, same as the one under the build_x86/tmp/environment-setupXXX script.
I guess it should be /opt/poky/sysroot/i586-pokysdk-linux instead? 

I modified manually, now poky-extract-sdk &lt;poky-sdk-tarball&gt; &lt;extract-dir&gt; could be run successfully. Otherwise, it will say can&apos;t find sysroot.

Thanks&amp; Regards,
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9619</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2010-09-07 03:23:43 +0000</bug_when>
    <thetext>Hi Criping,

Good catch - thanks!

I&apos;ve fixed this in my branch josh/master and will mark this bug as fixed when the changes are merged.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9620</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2010-09-07 04:03:41 +0000</bug_when>
    <thetext>Fixed with the merge of the branch into master:

c97f3a5df4f498ec663d0bde88ed2652dd4db181: toolchain-scripts: export extra variables for use by scripts

9b800fe261650e4300795ce9762422d93cd31251: scripts: use the exported POKY_NATIVE_SYSROOT variable</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9750</commentid>
    <comment_count>3</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-09-13 02:11:49 +0000</bug_when>
    <thetext>This bug is fixed and verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>