<?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>11412</bug_id>
          
          <creation_ts>2017-04-25 09:26:02 +0000</creation_ts>
          <short_desc>Failing EXTERNALSRC and dangling symlinks</short_desc>
          <delta_ts>2017-07-06 15:31:13 +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>BitBake</product>
          <component>bitbake</component>
          <version>2.1.2</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.1.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christoph Settgast">christoph.settgast</reporter>
          <assigned_to name="Armin Kuster">akuster</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <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>72818</commentid>
    <comment_count>0</comment_count>
    <who name="Christoph Settgast">christoph.settgast</who>
    <bug_when>2017-04-25 09:26:02 +0000</bug_when>
    <thetext>Description
-------------------------
Using EXTERNALSRC, after deleting tmp the build fails on dangling oe-logs and oe-workdir symlinks.

This was reported to the mailing list here: https://lists.yoctoproject.org/pipermail/yocto/2016-August/031672.html

With a suggested fix: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2a849e7e9be6040bd76b76c24263f63f8f693753

I cherry-picked the fix locally onto poky krogoth and can confirm that this resolves the issue. 

Could 2a849e7e9be6040bd76b76c24263f63f8f693753 be backported to krogoth?


Expectation
-----------
Build should succeed.

Actual Result
-------------
Build fails with:

548, in calc_taskhash
     data = data + c[1]
TypeError: cannot concatenate &apos;str&apos; and &apos;NoneType&apos; objects

Reproducibility
---------------
1/1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73201</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2017-05-11 15:28:25 +0000</bug_when>
    <thetext>back ported</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73267</commentid>
    <comment_count>2</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2017-05-15 23:47:13 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=akuster/krogoth-next&amp;id=1ed9ce1440c50f3994830a5913f93a12c72327a9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73268</commentid>
    <comment_count>3</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2017-05-15 23:47:58 +0000</bug_when>
    <thetext>waiting for krogoth-next changes to be merge to krogoth.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74829</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-07-06 15:31:13 +0000</bug_when>
    <thetext>Backported into krogoth: http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=krogoth&amp;id=95dae8b59854633aa66a9377c493a6bffcdf49a6</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>