<?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>247</bug_id>
          
          <creation_ts>2010-08-30 19:56:26 +0000</creation_ts>
          <short_desc>Meet sysroot not found error with scenario2: poky tree mode</short_desc>
          <delta_ts>2010-12-21 06:09:40 +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>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</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>0.9 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liping Ke">liping.ke</reporter>
          <assigned_to name="Scott Garman">scott.a.garman</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>josh</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>liping.ke</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>susie.li</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>9469</commentid>
    <comment_count>0</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-08-30 19:56:26 +0000</bug_when>
    <thetext>hi, scott, 
I am trying unfs scenario 2, poky tree mode with distro-master. I found when I source either poky_tree/poky-init-build-env or poky_tree/build_x86/tmp/environment-setup-XXXX, then runqemu-nfs &lt;kernel&gt; /home/lke/unfs, it will report:
Error: Unable to locate your native sysroot.
Did you forget to source the Poky environment script?

For scenario 1: /opt/poky mode, it works just fine.

Could you help to have a look ?

Thanks a lot!
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9477</commentid>
    <comment_count>1</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-08-31 02:16:41 +0000</bug_when>
    <thetext>This bug does not exist on top of poky master. 
I will disable this bug. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9487</commentid>
    <comment_count>2</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-08-31 20:23:42 +0000</bug_when>
    <thetext>I still continuously meet the problem with latest poky master. 
Scott, 
could you help to give me some clue on it?

Thanks a lot!

criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9489</commentid>
    <comment_count>3</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-08-31 23:21:26 +0000</bug_when>
    <thetext>Just got some information from Scott, now I can runqemu-nfs with poky mode by source poky-init-build-env build_x86. Thanks a lot!
Just have one another question for this, could it be possible that we also source build_x86/tmp/environment_setupXXX file, provide similar way as SDK_root mode (scenario 1)?

Thanks a lot!

criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9657</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2010-09-08 03:28:55 +0000</bug_when>
    <thetext>This was fixed with 9b800fe261650e4300795ce9762422d93cd31251:

scripts: use the exported POKY_NATIVE_SYSROOT variable

Rather than trying to determine things through guess-work use the newly
exported variables to determine where the native binaries reside and
whether we are running in a build directory or not.

Sorry, hand&apos;t realised there was a bug open for it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9740</commentid>
    <comment_count>5</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-09-12 21:56:42 +0000</bug_when>
    <thetext>This bug is verified fixed against my latest build on poky master (c01e8760, Sep 9, Joshua Lock).

Thanks&amp; Regards,
criping</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>