<?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>1157</bug_id>
          
          <creation_ts>2011-06-09 23:11:41 +0000</creation_ts>
          <short_desc>perl-native is not relocatable with sstate</short_desc>
          <delta_ts>2011-08-29 20:31:45 +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>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dexuan Cui">dexuan.cui</reporter>
          <assigned_to name="Wenzong.Fan">wenzong.fan</assigned_to>
          <cc>kevin.tian</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>nitin.a.kamble</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>14250</commentid>
    <comment_count>0</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-06-09 23:11:41 +0000</bug_when>
    <thetext>I found this issue when I used 
commit 7f34cd1eb2a459709006ae985a14decd4d2152e6
Date:   Fri Jun 3 14:57:17 2011 -0700
(so the perl-native change is not there)

How to reproduce the issue:
1) I &quot;bitbake perl-native&quot; in /poky.git/build/;
2) mv /poky.git/build /poky.git/build.bak;
3) in /poky.git/build2/, modify the conf/local.conf to set SSTATE_MIRRORS to point to /poky.git/build.bak/sstate-cache/, and &quot;bitbake sgmlspl-native&quot; would fail in do_compile:
&quot;Can&apos;t locate ExtUtils/Command.pm in @INC (@INC contains: /poky.git/build/tmp/sysroots/i686-linux/usr/lib/perl/5.12.3 /poky.git/build/tmp/sysroots/i686-linux/usr/lib/perl/5.12.3 /poky.git/build/tmp/sysroots/i686-&quot;linux/usr/lib/perl/5.12.3&quot;

Is this an existing bug? 

[Comments from RP]:
Looks like it. This did work but it looks like its been broken
somehow :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14346</commentid>
    <comment_count>1</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-06-19 19:06:05 +0000</bug_when>
    <thetext>looks this is a duplicate of bug 829.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15353</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-08-09 17:23:46 +0000</bug_when>
    <thetext>Assigning it to wenzong.fan@windriver.com as he is the owner of 829, which is duplicate of this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15435</commentid>
    <comment_count>3</comment_count>
    <who name="Wenzong.Fan">wenzong.fan</who>
    <bug_when>2011-08-12 00:50:18 +0000</bug_when>
    <thetext>This is a common issue to the packages which using &apos;MakeMaker.pm&apos; to generate their Makefiles. The function &apos;find_perl()&apos; in &apos;MM_Unix.pm&apos; will be used to figure out the path of &apos;PERL/FULLPERL&apos;, but it always find the &apos;perl.real&apos; instead of perl wrapper. Patch to &apos;find_perl()&apos; would fix this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15609</commentid>
    <comment_count>4</comment_count>
    <who name="Wenzong.Fan">wenzong.fan</who>
    <bug_when>2011-08-20 01:54:17 +0000</bug_when>
    <thetext>Fix has been merged</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15611</commentid>
    <comment_count>5</comment_count>
    <who name="Wenzong.Fan">wenzong.fan</who>
    <bug_when>2011-08-20 01:56:15 +0000</bug_when>
    <thetext>*** Bug 829 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15858</commentid>
    <comment_count>6</comment_count>
    <who name="Wenzong.Fan">wenzong.fan</who>
    <bug_when>2011-08-29 19:59:51 +0000</bug_when>
    <thetext>The commit id for this fix is:
    d66c0672a4a9fef298d52d9ce2eac70caefbf685</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15861</commentid>
    <comment_count>7</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-08-29 20:31:45 +0000</bug_when>
    <thetext>Verified with latest master branch.
git info: 6c2b7beac3cd23ed44bd3e195c6360a0932876bf</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>