Fixed
Created: Aug 16, 2016
Updated: Sep 8, 2018
Resolved Date: Aug 17, 2016
Found In Version: 7.0.0.18
Fix Version: 7.0.0.19
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace
Problem Description
======================
the bellow scripts depend on /usr/local/perl, it should be /usr/bin/perl
/usr/lib64/perl/ptest/cpan/version/t/01base.t
/usr/lib64/perl/ptest/cpan/version/t/05sigdie.t
/usr/lib64/perl/ptest/cpan/version/t/07locale.t
/usr/lib64/perl/ptest/cpan/version/t/02derived.t
/usr/lib64/perl/ptest/cpan/version/t/06noop.t
/usr/lib64/perl/ptest/cpan/version/t/08_corelist.t
/usr/lib64/perl/ptest/cpan/version/t/03require.t
/usr/lib64/perl/ptest/cpan/version/t/coretests.pm
/usr/lib64/perl/ptest/cpan/version/t/00impl-pp.t
/usr/lib64/perl/ptest/cpan/version/t/04strict_lax.t
logs:
root@super_micro-1:~# which perl
/usr/bin/perl
root@super_micro-1:~# rpm -qf /usr/lib64/perl/ptest/cpan/version/t/01base.t
perl-ptest-5.22.1-r0.0.corei7_64
root@super_micro-1:~# head -n1 /usr/lib64/perl/ptest/cpan/version/t/01base.t
#! /usr/local/perl -w
root@super_micro-1:~# ls /usr/local/perl
ls: cannot access '/usr/local/perl': No such file or directory
root@super_micro-1:~#
Expected Behavior
======================
Change to /usr/bin/perl
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/cpan/version/t/01base.t