Wind River Support Network

HomeDefectsLIN8-4496
Fixed

LIN8-4496 : perl-ptest depends on /perl

Created: Aug 17, 2016    Updated: Dec 3, 2018
Resolved Date: Aug 30, 2016
Found In Version: 8.0.0.8
Fix Version: 8.0.0.9
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

Problem Description
======================
the bellow scripts depend on /perl,  it should be /usr/bin/perl
/usr/lib64/perl/ptest/t/porting/test_bootstrap.t
/usr/lib64/perl/ptest/lib/perl5db/t/filename-line-breakpoint
/usr/lib64/perl/ptest/t/porting/exec-bit.t
/usr/lib64/perl/ptest/t/porting/dual-life.t

logs:
root@super_micro-1:~# which perl
/usr/bin/perl
root@super_micro-1:~# rpm -qf /usr/lib64/perl/ptest/t/porting/dual-life.t
perl-ptest-5.22.1-r0.0.corei7_64
root@super_micro-1:~# head -n2 /usr/lib64/perl/ptest/t/porting/dual-life.t
#!/perl -w
use 5.010;
root@super_micro-1:~# ls /perl
ls: cannot access '/perl': No such file or directory

Expected Behavior
======================
Change to /usr/bin/perl 

Steps to Reproduce

1), configure
configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-std --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-test=yes --enable-reconfig --enable-build=profiling --enable-internet-download=yes --with-template=feature/ptest
make -C build perl.addpkg

make fs

2), boot and login

3), head -n1/usr/lib64/perl/ptest/t/porting/dual-life.t 

Other Downloads


Live chat
Online