Created attachment 4681 [details] Log excerpt of failure I'm currently seeing a repeatable "tar: file changed as we read it" failure in do_package_write_deb (log attached). Addition of logging "ls -l" before and after does not indicate any outward changes to the file, however when I did some searching I found that there was a patch added some time ago that should completely prevent this type of error from causing the task to fail: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=40731942515ec8d80c727ad561174986d4f05818 This patch was later renamed, and then the renamed patch was removed in the following commit: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=81b59a19ad6df490f1edbea70b2612d7a8e43164 The latter suggests that the patch was merged upstream in the following commit: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7a91341446851cd3594a8b752823b8c1f26d652a However, the indicated upstream commit appears to be a refactoring and does not specially handle a return of 1 from tar at all, so it seems to me that this patch possibly should have been rebased rather than removed. I could be missing something however, and it's possible that the patch is no longer needed in the general case.
I suspect we need to add the patch. Could you do that Paul?
Will do.
Fix merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=514494152a8c7c5373ea4c299f058246e88a7fb6