Wind River Support Network

HomeDefectsLIN5-19012
Fixed

LIN5-19012 : WRL5: Project build directory paths referenced in scripts/binaries/etc in target rootfs

Created: Jul 1, 2014    Updated: Dec 19, 2017
Resolved Date: Jul 17, 2014
Found In Version: 5.0.1.15
Fix Version: 5.0.1.17
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Build & Config

Description

In wrlinux 5.0.1, paths form the build host are encountered on the target rootfs, referenced in a number of scripts.
For example in the /usr/bin/isc-config.sh script, I have found:
if test x"$libdns" = x"true" ; then
		libs="$libs -ldns  -L/workspace/eri_rcpl15/bitbake_build/tmp/sysroots/intel-xeon-core/usr/lib64/../lib -lcrypto"
	fi
	if test x"$libisccfg" = x"true" ; then
		libs="$libs -lisccfg"

Steps to Reproduce

1. configure and build a wrlinux 5.0.1 project based on:

--enable-board=intel_xeon_core --enable-build=production --enable-kernel=cgl --enable-rootfs=glibc_cgl --enable-ccache=no --enable-jobs=9 --enable-parallel-pkgbuilds=9 --enable-reconfig --enable-rm-work=yes --with-sstate-dir=../sstate_cache --with-template=feature/openssl101e, --without-template=wr-cgp/cgp/templates/feature/cgp-full/template.conf,wr-cgp/cgp/templates/feature/cgp-full/image.inc,wr-dpdk/templates/default/template.conf,wr-dpdk/templates/default/image.inc --enable-doc-pages=target --enable-addons=wr-rcfl --with-layer=rcfl --with-rcpl-version=0015

2. workspace/eri_rcpl15_2/export/dist$ find -name \*.sh -exec grep rcpl15 {} \; -print
cc="x86-64-wrswrap-linux-gnu-gcc   -m64 --sysroot=/workspace/eri_rcpl15/bitbake_build/tmp/sysroots/intel-xeon-core"
ccname="x86-64-wrswrap-linux-gnu-gcc   -m64 --sysroot=/workspace/eri_rcpl15/bitbake_build/tmp/sysroots/intel-xeon-core"
cpprun="x86-64-wrswrap-linux-gnu-gcc   -m64 --sysroot=/workspace/eri_rcpl15/bitbake_build/tmp/sysroots/intel-xeon-core -E"
cppstdin="x86-64-wrswrap-linux-gnu-gcc   -m64 --sysroot=/workspace/eri_rcpl15/bitbake_build/tmp/sysroots/intel-xeon-core -E"
ld="x86-64-wrswrap-linux-gnu-gcc   -m64 --sysroot=/workspace/eri_rcpl15/bitbake_build/tmp/sysroots/intel-xeon-core"
./usr/lib64/perl/config.sh
TCL_CC='x86-64-wrswrap-linux-gnu-gcc   -m64 --sysroot=/workspace/eri_rcpl15/bitbake_build/tmp/sysroots/intel-xeon-core'
TCL_BUILD_LIB_SPEC='-L/workspace/eri_rcpl15/bitbake_build/tmp/sysroots/intel-xeon-core/usr/include/tcl8.5.11/unix -ltcl8.5'
TCL_SRC_DIR='/workspace/eri_rcpl15/bitbake_build/tmp/sysroots/intel-xeon-core/usr/include/tcl8.5.11'
TCL_BUILD_STUB_LIB_SPEC='-L/workspace/eri_rcpl15/bitbake_build/tmp/sysroots/intel-xeon-core/usr/include/tcl8.5.11/unix -ltclstub8.5'
TCL_BUILD_STUB_LIB_PATH='/workspace/eri_rcpl15/bitbake_build/tmp/sysroots/intel-xeon-core/usr/include/tcl8.5.11/unix/libtclstub8.5.a'
./usr/bin/crossscripts/tclConfig.sh
		libs="$libs -ldns  -L/workspace/eri_rcpl15/bitbake_build/tmp/sysroots/intel-xeon-core/usr/lib64/../lib -lcrypto"
./usr/bin/isc-config.sh

(please note that I have grepped for "rcpl15" as this was only a part of the directory's name. please adjust this accordingly, to your environment)

Other Downloads


Live chat
Online