Error message as below: | dpkg-deb: building package `hostap-utils-dbg' in `/buildarea2/chenqi/poky/build-systemd/tmp/work/i586-poky-linux/hostap-utils/0.4.7-r4/deploy-debs/i586/hostap-utils-dbg_0.4.7-r4_i386.deb'. | tar: ./usr/src/debug/hostap-utils/0.4.7-r4/hostap-utils-0.4.7/util.c: file changed as we read it | dpkg-deb: error: subprocess tar -cf returned error exit status 1 It seems that this caused by sstate tasks changing hardlinks of files which dpkg-deb's subprocess tar is using them. //Chen Qi
Robert, maybe Rongqing can look at this?
Problem reproduced on autobuilder. https://autobuilder.yoctoproject.org/main/builders/nightly-multilib/builds/167/steps/BuildImages_2/logs/stdio
This bug has been fixed by Richard. Module: openembedded-core.git Branch: master Commit: 8ee36a5f2f9367550d28bf271afc53bca6ff3d5f URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8ee36a5f2f9367550d28bf271afc53bca6ff3d5f Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Sat Mar 28 08:50:27 2015 +0000 dpkg-native: Avoid 'file changed' errors from tar Hardlink count duing do_package_write_deb can change causing dpkg-deb failures. We don't care about this error case so avoid it by checking the tar exit code. [YOCTO #7529] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> //Chen Qi
Fixed by RP: http://cgit.openembedded.org/openembedded-core/commit/?id=8ee36a5f2f9367550d28bf271afc53bca6ff3d5f