| Summary: | LSB: A test case (lib/Config.t) failed during running perl test of LSB. | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Jingdong Lu <jingdong.lu> |
| Component: | devtools / tool chain | Assignee: | Nitin Kamble <nitin.a.kamble> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | jingdong.lu, meta.mr.watcher, meta.watcher, sgw |
| Version: | 1.0 | ||
| Target Milestone: | 1.0 M4 | ||
| Hardware: | x86 | ||
| OS: | x86 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
$Config(ccflags_nolargefiles) will find the argument and the value of "ccflags_nolargefiles" in Config_heavy.pl. ( /usr/lib/perl/5.12.2/Config_heavy.pl ) But the argument "ccflag_nolargefiles" and its value don't exist in the Config_heavy.pl. I give a proposed patch for this bug. --- perl_5.12.2.bb.orig 2011-03-03 16:27:02.545537393 +0800 +++ perl_5.12.2.bb 2011-03-03 16:27:18.735132810 +0800 @@ -93,7 +93,6 @@ sed -i -e "s,\(uselargefiles=\)'define',\1'undef',g" \ -e "s,\(d_readdir64_r=\)'define',\1'undef',g" \ -e "s,\(readdir64_r_proto=\)'\w+',\1'0',g" \ - -e "/ccflags_uselargefiles/d" \ -e "s/-Duselargefiles//" \ -e "s/-D_FILE_OFFSET_BITS=64//" \ -e "s/-D_LARGEFILE_SOURCE//" \ Jingdong Lu, Did you test the perl recipe with your proposed change. If nothing breaks with that change, I am ok with it. Thanks, Nitin |
When we run Perl test of LSB on qemux86 and qemuppc, we got a failure. Test environment: Platform: Qemu-x86, Qemu-ppc lsb image: poky-image-lsb-qemux86-test.ext3(Feb 26th, auto-build server) Perl test of LSB: 4.1.0-1 Test Cases Total 829 Tests Passed 828 Failures 1 ../lib/Config.t 443 Comment: Line 3106: The test case returned no result I write a test script just like Config.t: #!/usr/bin/perl -w use Config; if ($Config{ccflags_nolargefiles} eq "") { print "ccflags_nolargefiles doesn't exist.\n"; } print $Config{ccflags_nolargefiles}; Result: ... ccflags_nolargefiles doesn't exist. The result we expected is the value of 'ccflags_nolargefiles'.