<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>794</bug_id>
          
          <creation_ts>2011-03-03 00:18:54 +0000</creation_ts>
          <short_desc>LSB: A test case (lib/Config.t) failed during running perl test of LSB.</short_desc>
          <delta_ts>2011-04-18 10:57:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jingdong Lu">jingdong.lu</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>jingdong.lu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12226</commentid>
    <comment_count>0</comment_count>
    <who name="Jingdong Lu">jingdong.lu</who>
    <bug_when>2011-03-03 00:18:54 +0000</bug_when>
    <thetext>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 &quot;&quot;) {
        print &quot;ccflags_nolargefiles doesn&apos;t exist.\n&quot;;
}
print $Config{ccflags_nolargefiles};

Result:
...
ccflags_nolargefiles doesn&apos;t exist.

The result we expected is the value of &apos;ccflags_nolargefiles&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12227</commentid>
    <comment_count>1</comment_count>
    <who name="Jingdong Lu">jingdong.lu</who>
    <bug_when>2011-03-03 00:29:31 +0000</bug_when>
    <thetext>$Config(ccflags_nolargefiles) will find the argument and the value of &quot;ccflags_nolargefiles&quot; in Config_heavy.pl.
( /usr/lib/perl/5.12.2/Config_heavy.pl )

But the argument &quot;ccflag_nolargefiles&quot; and its value don&apos;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 &quot;s,\(uselargefiles=\)&apos;define&apos;,\1&apos;undef&apos;,g&quot; \
 		-e &quot;s,\(d_readdir64_r=\)&apos;define&apos;,\1&apos;undef&apos;,g&quot; \
 		-e &quot;s,\(readdir64_r_proto=\)&apos;\w+&apos;,\1&apos;0&apos;,g&quot; \
-		-e &quot;/ccflags_uselargefiles/d&quot; \
 		-e &quot;s/-Duselargefiles//&quot; \
 		-e &quot;s/-D_FILE_OFFSET_BITS=64//&quot; \
 		-e &quot;s/-D_LARGEFILE_SOURCE//&quot; \</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12295</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-03-04 09:09:30 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13330</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-04-18 10:57:58 +0000</bug_when>
    <thetext>http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=feeb3a41cbd37b86d67620fc01d3bdcf0f5b8a51</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>