<?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>602</bug_id>
          
          <creation_ts>2010-12-16 17:32:56 +0000</creation_ts>
          <short_desc>Copying sstate-cache to another system results in build error due to perl library path (autoconf-native build)</short_desc>
          <delta_ts>2011-01-18 06:02:06 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</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 M3</target_milestone>
          
          <blocked>507</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Scott Garman">scott.a.garman</reporter>
          <assigned_to name="Kevin Tian">kevin.tian</assigned_to>
          <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>11218</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2010-12-16 17:32:56 +0000</bug_when>
    <thetext>Using Poky master from today (ac4364698618a541624d1a00f27b638815e5a3f5):

I built poky-image-lsb for qemux86 on one computer, then copied sstate-cache to my laptop in a Poky tree of the same master release.

I then did a bitbake poky-image-lsb. Things appeared to go well, but then autoconf-native was rebuilt, and complation failed with:

make  all-recursive
make[1]: Entering directory `/data/poky_builds/poky/build/tmp/work/x86_64-linux/autoconf-native-2.65-r2/autoconf-2.65&apos;
Making all in bin
make[2]: Entering directory `/data/poky_builds/poky/build/tmp/work/x86_64-linux/autoconf-native-2.65-r2/autoconf-2.65/bin&apos;
autom4te_perllibdir=&apos;..&apos;/lib AUTOM4TE_CFG=&apos;../lib/autom4te.cfg&apos;         ../bin/autom4te -B &apos;..&apos;/lib -B &apos;..&apos;/lib         --language M4sh --cache &apos;&apos; --melt ./autoconf.   as -o autoconf.in
Can&apos;t locate Data/Dumper.pm in @INC (@INC contains: ../lib /toastssd/poky/build/tmp/sysroots/x86_64-linux/usr/lib/perl/5.8.8 /toastssd/poky/build/tmp/sysroots/x86_64-  linux/usr/lib/perl/5.8.8 /toastssd/poky/build/tmp/sysroots/x86_64-linux/usr/lib/perl/5.8.8 /toastssd/poky/build/tmp/sysroots/x86_64-linux/usr/lib/perl /toastssd/    poky/build/tmp/sysroots/x86_64-linux/usr/lib/perl/5.8.8 /toastssd/poky/build/tmp/sysroots/x86_64-linux/usr/lib/perl/5.8.8 /toastssd/poky/build/tmp/sysroots/x86_64-  linux/usr/lib/perl .) at ../lib/Autom4te/C4che.pm line 33.
BEGIN failed--compilation aborted at ../lib/Autom4te/C4che.pm line 33.
Compilation failed in require at ../bin/autom4te line 38.
BEGIN failed--compilation aborted at ../bin/autom4te line 38.
make[2]: *** [autoconf.in] Error 2
make[2]: Leaving directory `/data/poky_builds/poky/build/tmp/work/x86_64-linux/autoconf-native-2.65-r2/autoconf-2.65/bin&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/poky_builds/poky/build/tmp/work/x86_64-linux/autoconf-native-2.65-r2/autoconf-2.65&apos;
make: *** [all] Error 2
FATAL: oe_runmake failed
ERROR: Task failed: (&apos;function do_compile failed&apos;, &apos;/data/poky_builds/poky/build/tmp/work/x86_64-linux/autoconf-native-2.65-r2/temp/log.do_compile.18328&apos;)

The path /toastssd/poky/... was the path unique to the original build system.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11250</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2010-12-20 14:51:24 +0000</bug_when>
    <thetext>http://git.pokylinux.org/cgit.cgi/poky/commit/?h=master&amp;id=9975c00c1a6a9ae1c39678dec0986f4c62418c96 should at least work around this. Its probably worth keeping the bug open until perl is made relocatable though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11256</commentid>
    <comment_count>2</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2010-12-21 03:36:45 +0000</bug_when>
    <thetext>mark this as resolved after RP&apos;s commit. Now perl-native is always forced to rebuild in the new build dir. the list of impacted recipes on this change include:

perl-native -&gt; openssl-native -&gt; git-native -&gt; pseudo-native -&gt; libtool-cross
                              |             |&gt; prelink-native
                              |             |&gt; kern-tools-native
                              |&gt; python-native -&gt; libxml2-native -&gt; libxslt-native

So 10 native recipes require rebuild consequently</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11257</commentid>
    <comment_count>3</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2010-12-21 03:41:25 +0000</bug_when>
    <thetext>reopen as we want to track here for a better fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11513</commentid>
    <comment_count>4</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2011-01-18 06:02:06 +0000</bug_when>
    <thetext>fixed by fad5c8a33284902f66a05d1df5c7b7617eabfded by RP</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>