<?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>1132</bug_id>
          
          <creation_ts>2011-06-01 00:54:16 +0000</creation_ts>
          <short_desc>libxml-simple-perl do_configure Failed if being built after libxml-sax-perl</short_desc>
          <delta_ts>2011-06-26 18:50:41 +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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dexuan Cui">dexuan.cui</reporter>
          <assigned_to name="Kai Kang">kai.kang</assigned_to>
          <cc>jiajun.xu</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>14110</commentid>
    <comment_count>0</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-06-01 00:54:16 +0000</bug_when>
    <thetext>I happened to find such a bug that was confirmed by Jiajun:

Running 
&quot;bitbake libxml-sax-perl  libxml-sax-perl-native -c populate_sysroot; bitbake  libxml-simple-perl  -c populate_sysroot&apos; can reproduce the issue.

NOTE: Running task 270 of 273 (ID: 5, /home/jxu49/osel/poky/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb, do_configure)
NOTE: package libxml-simple-perl-2.18-r1: task do_configure: Started
ERROR: &apos;/home/jxu49/osel/poky/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb&apos; failed
ERROR: Logfile of failure stored in: /home/jxu49/osel/poky/build/tmp/work/i586-poky-linux/libxml-simple-perl-2.18-r1/temp/log.do_configure.5541
Log data follows:
| could not find ParserDetails.ini in /home/jxu49/osel/poky/build/tmp/sysroots/i686-linux/usr/lib/perl/5.12.3/XML/SAX
| Errno architecture (i686-linux-thread-multi-2.6.32-21-generic-pae) does not match executable architecture (i586-linux-2.6.37-rc5-yocto-standard+) at /home/jxu49/osel/poky/build/tmp/sysroots/i686-linux/usr/lib/perl/5.12.3/Errno.pm line 11.
| Compilation failed in require at /home/jxu49/osel/poky/build/tmp/sysroots/i686-linux/usr/lib/perl/5.12.3/File/Temp.pm line 148.
| BEGIN failed--compilation aborted at /home/jxu49/osel/poky/build/tmp/sysroots/i686-linux/usr/lib/perl/5.12.3/File/Temp.pm line 148.
| Compilation failed in require at /home/jxu49/osel/poky/build/tmp/sysroots/i686-linux/usr/lib/perl/5.12.3/XML/SAX/PurePerl/Reader/URI.pm line 8.
| BEGIN failed--compilation aborted at /home/jxu49/osel/poky/build/tmp/sysroots/i686-linux/usr/lib/perl/5.12.3/XML/SAX/PurePerl/Reader/URI.pm line 8.
| Compilation failed in require at /home/jxu49/osel/poky/build/tmp/sysroots/i686-linux/usr/lib/perl/5.12.3/XML/SAX/PurePerl/Reader.pm line 6.
| BEGIN failed--compilation aborted at /home/jxu49/osel/poky/build/tmp/sysroots/i686-linux/usr/lib/perl/5.12.3/XML/SAX/PurePerl/Reader.pm line 6.
| Compilation failed in require at /home/jxu49/osel/poky/build/tmp/sysroots/i686-linux/usr/lib/perl/5.12.3/XML/SAX/PurePerl.pm line 11.
| BEGIN failed--compilation aborted at /home/jxu49/osel/poky/build/tmp/sysroots/i686-linux/usr/lib/perl/5.12.3/XML/SAX/PurePerl.pm line 11.
| Compilation failed in require at (eval 16) line 1.
| Checking installed modules ...
| ERROR: Function &apos;do_configure&apos; failed (see /home/jxu49/osel/poky/build/tmp/work/i586-poky-linux/libxml-simple-perl-2.18-r1/temp/log.do_configure.5541 for further information)
| ERROR: Function &apos;do_configure&apos; failed (see /home/jxu49/osel/poky/build/tmp/work/i586-poky-linux/libxml-simple-perl-2.18-r1/temp/log.do_configure.5541 for further information)
NOTE: package libxml-simple-perl-2.18-r1: task do_configure: Failed
ERROR: Task 5 (/home/jxu49/osel/poky/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb, do_configure) failed with exit code &apos;1&apos;

Kai added the recipe libxml-sax-perl recently, so let&apos;s assign this bug to him at present. :-)
The bug reveals some kind of dependency we need to address.

BTW, Jiajun reproduce the bug using
commit 4ff7af11ef69849ef9c16f585eae58ac920b222b
Date:   Fri May 27 14:11:20 2011 -0700
    machine confs: Add xserver-kdrive as PREFERRED_PROVIDER

But I believe the latest poky master has the same issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14220</commentid>
    <comment_count>1</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-06-08 03:05:26 +0000</bug_when>
    <thetext>libxml-simple-perl using ${STAGING_LIBDIR_NATIVE} as its module include path, and that cause the failure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14417</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-06-24 15:03:10 +0000</bug_when>
    <thetext>Can you confirm that this is still a problem?  There was a fix pending, and I wonder if the perlnative work fixes this issue more correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14419</commentid>
    <comment_count>3</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-06-26 18:50:41 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Can you confirm that this is still a problem?  There was a fix pending, and I
&gt; wonder if the perlnative work fixes this issue more correctly.

Yes, it could be built now and I guess Dexuan&apos;s patch (a74e428e34d80bdb1bff33ddd8c97709bb08b0ba) works.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>