Bug 11412

Summary: Failing EXTERNALSRC and dangling symlinks
Product: [Build System, Metadata & Runtime] BitBake Reporter: Christoph Settgast <christoph.settgast>
Component: bitbakeAssignee: Armin Kuster <akuster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher, richard.purdie
Version: 2.1.2   
Target Milestone: 2.1.3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Christoph Settgast 2017-04-25 09:26:02 UTC
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 'str' and 'NoneType' objects

Reproducibility
---------------
1/1
Comment 1 Armin Kuster 2017-05-11 15:28:25 UTC
back ported
Comment 3 Armin Kuster 2017-05-15 23:47:58 UTC
waiting for krogoth-next changes to be merge to krogoth.