Fixed
Created: Mar 6, 2017
Updated: Dec 3, 2018
Resolved Date: Mar 26, 2017
Found In Version: 6.0
Fix Version: 6.0.0.33
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace
When building the package libarchive in WRL5 the build is non-deterministic and dependent if e2fsprogs is build before or not.
Sometimes also encountered a race condition where the build of libarchive fails because of missing ext2_fs.h file in the sysroot.
Testcase:
configure a wrl5 RCPL38 project based on:
--enable-board=qemux86-64 --enable-build=production --enable-kernel=standard --enable-rootfs=glibc_small --enable-jobs=10 --enable-parallel-pkgbuilds=16 --enable-reconfig --enable-rm-work=yes --with-rcpl-version=auto
make bbs
bitbake libarchive -c configure
cat tmp/work/x86_64-wrs-linux/libarchive-2.8.5-r14/temp/log.do_configure | grep ext2_fs.h
checking ext2fs/ext2_fs.h usability... no
checking ext2fs/ext2_fs.h presence... no
checking for ext2fs/ext2_fs.h... no
bitbake e2fsprogs
bitbake libarchive -c cleansstate && bitbake libarchive -c configure
cat tmp/work/x86_64-wrs-linux/libarchive-2.8.5-r3/temp/do_configure/log.do_configure.519605 | grep ext2_fs.h
cat tmp/work/x86_64-wrs-linux/libarchive-2.8.5-r14/temp/do_configure/log.do_configure.118687 | grep ext2_fs.h
checking ext2fs/ext2_fs.h usability... yes
checking ext2fs/ext2_fs.h presence... yes
checking for ext2fs/ext2_fs.h... yes