Wind River Support Network


LIN5-18178 : crash fails to install correctly in multilib environment

Created: Feb 28, 2014    Updated: Dec 19, 2017
Resolved Date: Apr 24, 2014
Previous ID: LIN6-6847
Found In Version: 5.0.1
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace


When adding multilib support for crash (both (x32 and x64) it eventually at the installation stage with:
do_install/run.do_install.3479: line 113: 
[: /../bitbake_build/tmp/work/haswell64-wrs-linux/../haswell-wrsmllib32-linux/lib32-crash-6.1.4-r3.1/package/usr/bin/.debug: binary operator expected
cp: target `../bitbake_build/tmp/work/haswell64-wrs-linux/crash-6.1.4-r3.1/image/usr/bin/crash-lib32' is not a directory


The attached patches.

Steps to Reproduce

--enable-build=production --with-layer=wr-intel-support,meta-selinux,wr-security,cgp,/ae/wrl50_tools/layers/atlas_std_packages --with-template=feature/intel-support 

run :
$make -C build crash.addpkg;
$ make -C build lib32-addpkg;
$ make fs is performing the following sentence:
mlib_dir=`dirname ${WORKDIR}`/../*/${CRASH_MLIB}-`basename ${WORKDIR}`
in multilib config that directory has actually 2 files: the one for 64 bit and the other for 32.
Sentence should be more accurate and pick only one file. otherwise we got an error when using mlib_dir to perform copy.

Other Downloads

Live chat