<?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>11710</bug_id>
          
          <creation_ts>2017-06-23 12:10:16 +0000</creation_ts>
          <short_desc>Fetching from recipetool no longer works with memres</short_desc>
          <delta_ts>2017-07-21 08:32:58 +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>Scripts and Tools</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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.4 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>ross.burton</cc>
          
          
          <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>74511</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-06-23 12:10:16 +0000</bug_when>
    <thetext>Unfortunately http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=415fbfb0cd1bc5129179596ba27ae2362b7de2a4 has caused a regression - it can&apos;t work with memory resident bitbake, since it attempts to call functions defined in the metadata on the UI side instead of in the bitbake server with the following result:

------------ snip ------------
$ recipetool create -V 2.4.2 -N mbedtls https://tls.mbed.org/download/start/mbedtls-2.4.2-apache.tgz
NOTE: Fetching https://tls.mbed.org/download/start/mbedtls-2.4.2-apache.tgz...
ERROR: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: &apos;exec_python_func() autogenerated&apos;, lineno: 2, function: &lt;module&gt;
     0001:
 *** 0002:extend_recipe_sysroot(d)
     0003:
File: &apos;/home/paul/poky/poky/meta/classes/staging.bbclass&apos;, lineno: 350, function: extend_recipe_sysroot
     0346:    # Detect bitbake -b usage
     0347:    nodeps = d.getVar(&quot;BB_LIMITEDDEPS&quot;) or False
     0348:    if nodeps:
     0349:        lock = bb.utils.lockfile(recipesysroot + &quot;/sysroot.lock&quot;)
 *** 0350:        staging_populate_sysroot_dir(recipesysroot, recipesysrootnative, True, d)
     0351:        staging_populate_sysroot_dir(recipesysroot, recipesysrootnative, False, d)
     0352:        bb.utils.unlockfile(lock)
     0353:        return
     0354:
Exception: NameError: name &apos;staging_populate_sysroot_dir&apos; is not defined
...

------------ snip ------------

It could be that we should fix this at the same time as bug 11198 as executing this as more traditional do_fetch + do_unpack tasks would bypass the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75218</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-07-21 08:32:58 +0000</bug_when>
    <thetext>Fix merged to master (requires a number of the patches around it, too many to list here):

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e4346e8be5f451d5cfe0b68a272abd15b0951831</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>