Bug 11412 - Failing EXTERNALSRC and dangling symlinks
Summary: Failing EXTERNALSRC and dangling symlinks
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 2.1.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.1.3
Assignee: Armin Kuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-04-25 09:26 UTC by Christoph Settgast
Modified: 2017-07-06 15:31 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.