Wind River Support Network

HomeDefectsLIN8-2946
Fixed

LIN8-2946 : invalid path in /usr/bin/smicache

Created: Mar 4, 2016    Updated: Dec 3, 2018
Resolved Date: Mar 7, 2016
Found In Version: 8.0
Fix Version: 8.0.0.3
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

Problem Description
======================
invalid path in /usr/bin/smicache, the WGET is a host path.

WGET=/buildarea1/WRL8CGP_regression/build_dir/userspace/intel-x86-64/Wildcast_Pass_cgl_glibc_cgl_WR_systemd/lxbuilds/Wildcast_Pass_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/bitbake_build/buildtools/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/wget

log:
root@dell760-lxnetwork-vlan4:~# rpm -qf /usr/bin/smicache
libsmi-0.4.8-r0.0.corei7_64
root@dell760-lxnetwork-vlan4:~# cat /usr/bin/smicache | head -n20
#!/bin/sh
#
# smicache --
#
#    A simple caching method, used by the config file `cache' directive.
#
# Copyright (c) 2001 Frank Strauss, Technical University of Braunschweig.
#
# See the file "COPYING" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# $Id: smicache.in 8090 2008-04-18 12:56:29Z strauss $
#
# NOTE, that this script relies on wget and getopts
# (shell builtin like in bash or standalone).
#
# NOTE, that smicache has just been an experiment. It is NOT suggested
# to use it in a production environment.

WGET=/buildarea1/WRL8CGP_regression/build_dir/userspace/intel-x86-64/Wildcast_Pass_cgl_glibc_cgl_WR_systemd/lxbuilds/Wildcast_Pass_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/bitbake_build/buildtools/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/wget
root@dell760-lxnetwork-vlan4:~# rpm -qf /usr/bin/smicache
libsmi-0.4.8-r0.0.corei7_64
root@dell760-lxnetwork-vlan4:~#

Expected Behavior
======================
set a correct path

Observed Behavior
======================
see log 

Steps to Reproduce

1.
configure --enable-board=intel-x86-64 --enable-kernel=cgl --with-template=feature/valgrind,feature/libhugetlbfs,feature/acl,feature/nfsd,feature/oprofile,feature/mariadb,feature/mysql-odbc,feature/LAMP,feature/ipv6,feature/target-toolchain,feature/lttng,feature/gcc-sanitizers,feature/cut --enable-build=profiling --enable-test=yes --enable-internet-download=yes --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-reconfig=yes --with-rcpl-version=0
make -C build libsmi.addpkg
make fs

2, deploy and boot

3, run:
cat /usr/bin/smicache 

Other Downloads


Live chat
Online