[OE-core] [Patch 0/1] pigz: Add pigz to buildtools tarball

Konrad Scherer konrad.scherer at windriver.com
Mon Oct 21 20:13:10 UTC 2013


Over the last month I have been working with native sstate cache
reuse. I have had many issues, but have been able to resolve them. One
build failure happened when almost all of the native sstate files were
properly retrieved but zlib-native was not [1]. If
sstate_create_package in sstate.bbclass gets called before zlib-native
is built, tar in the buildtools executes the host gzip, which tries to
use libz.so in the buildtools and fails. By adding pigz to the
buildtools this race condition cannot happen.

[1]: The bug where native packages are found in the sstate cache but
get rebuilt anyways seems to have been fixed recently. This has made
reproducing the build failure more difficult, but the race condition
still exists.

---
Konrad Scherer, MTS, Linux Products Group, Wind River


More information about the Openembedded-core mailing list