Wind River Support Network

HomeDefectsLIN6-12300
Fixed

LIN6-12300 : CLONE - wrlinux 5 - Non deterministic build of ltrace

Created: Feb 7, 2017    Updated: Dec 3, 2018
Resolved Date: Feb 8, 2017
Found In Version: 6.0
Fix Version: 6.0.0.33
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

The build and configuration of the package ltrace in WRL5 is non deterministic. If the package libunwind is built before ltrace and is present in sysroot the ltrace package will depend on libunwind. The recipe of ltrace do not have any dependency to libunwind nor any PACKAGECONFIG option for it. The error that we have seen is that when we are trying to share a sstate cache between two builds where both builds have ltrace but only one of them have libunwind there will be an error when creating the rootfs. 

Steps to Reproduce

mkdir wrl5_1 && cd wrl5_1

--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-sstate-dir=../sstate-cache5_1 --with-package=libunwind,ltrace --with-rcpl-version=auto  && make 

 cd .. && mkdir wrl5_2 && cd wrl5_2 

--enable-board=qemux86-64 --enable-build=production --enable-kernel=standard --enable-rootfs=glibc_small --enable-jobs=10 --enable-reconfig --enable-rm-work=yes --with-sstate-dir=../sstate-cache5_1 --with-package=ltrace --with-rcpl-version=auto && make

Other Downloads


Live chat
Online