<?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>9433</bug_id>
          
          <creation_ts>2016-04-11 18:09:10 +0000</creation_ts>
          <short_desc>archiver.bbclass: do_deploy_archives_setscene failures</short_desc>
          <delta_ts>2016-04-13 15:02:24 +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>deployment</component>
          <version>unspecified</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>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikko Ylinen">mikko.ylinen</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>richard.purdie</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>61028</commentid>
    <comment_count>0</comment_count>
    <who name="Mikko Ylinen">mikko.ylinen</who>
    <bug_when>2016-04-11 18:09:10 +0000</bug_when>
    <thetext>After 81db27c208468dc460e9d8f0063ad24b2b37dc97 we started seeing 

do_deploy_archives_setscene: Error executing a python function in exec_python_func() autogenerated:
07:50:58 
07:50:58 The stack trace of python calls that resulted in this exception/failure was:
07:50:58 File: &apos;exec_python_func() autogenerated&apos;, lineno: 2, function: &lt;module&gt;
07:50:58      0001:
07:50:58  *** 0002:do_deploy_archives_setscene(d)
07:50:58      0003:
07:50:58 File: &apos;/var/lib/jenkins/ostro-worker-11-slot-1-YZTV5/ostro-os/meta/classes/archiver.bbclass&apos;, lineno: 369, function: do_deploy_archives_setscene
07:50:58      0365:do_deploy_archives () {
07:50:58      0366:    echo &quot;Deploying source archive files ...&quot;
07:50:58      0367:}
07:50:58      0368:python do_deploy_archives_setscene () {
07:50:58  *** 0369:    sstate_setscene(d)
07:50:58      0370:}
07:50:58      0371:do_deploy_archives[sstate-inputdirs] = &quot;${ARCHIVER_TOPDIR}&quot;
07:50:58      0372:do_deploy_archives[sstate-outputdirs] = &quot;${DEPLOY_DIR_SRC}&quot;
07:50:58      0373:addtask do_deploy_archives_setscene
07:50:58 File: &apos;/var/lib/jenkins/ostro-worker-11-slot-1-YZTV5/ostro-os/meta/classes/sstate.bbclass&apos;, lineno: 648, function: sstate_setscene
07:50:58      0644:            break
07:50:58      0645:
07:50:58      0646:def sstate_setscene(d):
07:50:58      0647:    shared_state = sstate_state_fromvars(d)
07:50:58  *** 0648:    accelerate = sstate_installpkg(shared_state, d)
07:50:58      0649:    if not accelerate:
07:50:58      0650:        raise bb.build.FuncFailed(&quot;No suitable staging package found&quot;)
07:50:58      0651:
07:50:58      0652:python sstate_task_prefunc () {
07:50:58 File: &apos;/var/lib/jenkins/ostro-worker-11-slot-1-YZTV5/ostro-os/meta/classes/sstate.bbclass&apos;, lineno: 319, function: sstate_installpkg
07:50:58      0315:        bb.build.exec_func(f, d, (sstateinst,))
07:50:58      0316:
07:50:58      0317:    for state in ss[&apos;dirs&apos;]:
07:50:58      0318:        prepdir(state[1])
07:50:58  *** 0319:        os.rename(sstateinst + state[0], state[1])
07:50:58      0320:    sstate_install(ss, d)
07:50:58      0321:
07:50:58      0322:    for plain in ss[&apos;plaindirs&apos;]:
07:50:58      0323:        workdir = d.getVar(&apos;WORKDIR&apos;, True)
07:50:58 Exception: OSError: [Errno 2] No such file or directory


Richard fixed this for all ASSUME_PROVIDED recipes in 2279c6d20c2a33283ce9a8d1ef91a8acdad0a20e but now the errors show up with all gcc:

gcc-cross-x86_64-5.3.0-r0
gcc-runtime-5.3.0-r0
gcc-5.3.0-r0
libgcc-5.3.0-r0
libgcc-initial-5.3.0-r0 
gcc-cross-initial-x86_64-5.3.0-r0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61161</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-04-13 15:02:24 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=380004b8551d1992eec244928c524252c47f7970</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>