Bug 3099 - LSB 4.1: perl test ../lib/Config.t 435 fails
Summary: LSB 4.1: perl test ../lib/Config.t 435 fails
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: Kai Kang
QA Contact:
URL:
Whiteboard: (Patch Merged)
Depends on:
Blocks:
 
Reported: 2012-09-13 06:50 UTC by Kai Kang
Modified: 2012-11-08 02:11 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Kang 2012-09-13 06:50:42 UTC
run single test
# ./single_test ../lib/Config.t
...
not ok 162 - Expect archlibexp '/usr/lib/perl/5.14.2/' to be in @INC
...

So check the @INC
# perl -V
...
  @INC:
    /etc/perl
    /usr/lib/perl/site_perl/5.14.2/
    /usr/lib/perl/site_perl/5.14.2
    /usr/lib/perl/vendor_perl/5.14.2/
    /usr/lib/perl/vendor_perl/5.14.2
    /mnt/sda10/poky-all-platform/build-ppc/tmp/sysroots/mpc8315e-rdb/usr/lib/perl/5.14.2/
    /usr/lib/perl/5.14.2
    /usr/local/lib/site_perl
    /usr/lib/perl/5.14.2
    .

It shows that host dir is involved in perl @INC, and revert 
Yocto commit aeca6512f3a5468b8f65e2986024ab07d2ce45b4 
perl: use @STAGINGDIR@ in config.sh

could fix this issue.
Comment 1 Kai Kang 2012-09-19 08:36:40 UTC
x86 is ok, fails on ppc.
Comment 2 Kai Kang 2012-10-11 02:07:16 UTC
Patch from Tom Zanussi is merged as Yocto commit d38325cbcad40d2fa0c60e2a7f2afd72bd97a455.
Comment 3 Stefan Stanacar 2012-11-07 13:44:45 UTC
Hi Kai

I can confirm this is Verified on x86, but can you verifiy on ppc? I don't have hw to test...
Comment 4 Yi Zhao 2012-11-08 02:11:11 UTC
Verified. Both on x86 and ppc.