<?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>1298</bug_id>
          
          <creation_ts>2011-07-27 23:34:28 +0000</creation_ts>
          <short_desc>[deb]: &apos;do_rootfs&apos; failed: core-image-sato-sdk.bb - Can&apos;t locate Dpkg/Compression/FileHandle.pm in @INC</short_desc>
          <delta_ts>2011-08-10 20:00:32 +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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Plan for fix by end of August (03-Aug-2011)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          <blocked>1070</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Wenzong.Fan">wenzong.fan</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>dexuan.cui</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>15057</commentid>
    <comment_count>0</comment_count>
    <who name="Wenzong.Fan">wenzong.fan</who>
    <bug_when>2011-07-27 23:34:28 +0000</bug_when>
    <thetext>Can&apos;t locate Dpkg/Compression/FileHandle.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/wenzong/sdb2/builds/1070/tmp/sysroots/x86_64-linux/usr/bin/dpkg-scanpackages line 31.
BEGIN failed--compilation aborted at /home/wenzong/sdb2/builds/1070/tmp/sysroots/x86_64-linux/usr/bin/dpkg-scanpackages line 31.
Can&apos;t locate Dpkg/Compression/FileHandle.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/wenzong/sdb2/builds/1070/tmp/sysroots/x86_64-linux/usr/bin/dpkg-scanpackages line 31.
BEGIN failed--compilation aborted at /home/wenzong/sdb2/builds/1070/tmp/sysroots/x86_64-linux/usr/bin/dpkg-scanpackages line 31.
Can&apos;t locate Dpkg/Compression/FileHandle.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/wenzong/sdb2/builds/1070/tmp/sysroots/x86_64-linux/usr/bin/dpkg-scanpackages line 31.
BEGIN failed--compilation aborted at /home/wenzong/sdb2/builds/1070/tmp/sysroots/x86_64-linux/usr/bin/dpkg-scanpackages line 31.
Ign file: ./ Release.gpg
Ign file: ./ Release.gpg
Ign file: ./ Release.gpg
Get:1 file: ./ Release [15B]
Get:2 file: ./ Release [15B]
Get:3 file: ./ Release [11B]
Reading package lists...
Reading package lists...
Building dependency tree...
E: Couldn&apos;t find package glibc-localedata-i18n
ERROR: Function &apos;do_rootfs&apos; failed (see /home/wenzong/sdb2/builds/1070/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato-sdk-1.0-r0/temp/log.do_rootfs.21889 for further information)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15097</commentid>
    <comment_count>1</comment_count>
    <who name="Wenzong.Fan">wenzong.fan</who>
    <bug_when>2011-07-29 01:00:36 +0000</bug_when>
    <thetext>Two issues here:
1) dpkg-scanpackages was calling perl on local host instead of perl-native;
2) The perl module &apos;Dpkg&apos; is not in a searchable path for perl-native:
    .../tmp/sysroots/x86_64-linux/usr/share/perl5

This path should be added to $PERL5LIB and @INC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15386</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-08-10 20:00:32 +0000</bug_when>
    <thetext>Fixed, but I think I think hit 1070, which is being worked on.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3a0942ec51e537befb86c5e2fe771e771d54fe59</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>