<?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>5151</bug_id>
          
          <creation_ts>2013-09-10 04:51:53 +0000</creation_ts>
          <short_desc>LSB Desktop Tests: desktop-xml failed</short_desc>
          <delta_ts>2013-09-18 01:40:22 +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>1.5</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.5 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hongxu Jia">hongxu.jia</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>hongxu.jia</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36452</commentid>
    <comment_count>0</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-09-10 04:51:53 +0000</bug_when>
    <thetext>LSB Desktop Tests: desktop-xml failed
...
XML_30 6 failed 
XML_31 6 failed 
XML_31 7 failed 
XML_31 8 failed 
XML_31 9 failed 
XML_31 10 failed 
XML_31 11 failed 
XML_31 12 failed 
XML_31 13 failed 
XML_31 14 failed 
XML_31 15 failed 
XML_31 17 failed 
XML_31 18 failed 
XML_32 1 failed 
XML_32 2 failed 
XML_32 3 failed 
XML_32 4 failed 
XML_32 5 failed 
XML_32 6 failed 
XML_32 7 failed 
XML_32 8 failed 
XML_32 9 failed 
XML_32 10 failed 
XML_32 11 failed 
XML_32 12 failed 
XML_32 13 failed 
XML_32 14 failed 
XML_32 15 failed 
XML_32 16 failed 
XML_32 17 failed 
XML_32 18 failed 
...

Each failed has the same journal:
...
220|31 6 1 16:02:49|FAIL
410|31 6 1 16:02:49|IC End
400|31 7 1 16:02:49|IC Start
200|31 7 16:02:49|./test/c14n/without-comments/merlin-c14n-two-00.xml
520|31 7 0 0 0|Error: unable to register NS with prefix=&quot;(null)&quot; and href=&quot;http://example.org/bar&quot;
520|31 7 0 0 0|Error: unable to evaluate xpath expression
520|31 7 0 0 0|File ./test/c14n/without-comments/merlin-c14n-two-00.xml generated an error
520|31 7 0 0 0|
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36746</commentid>
    <comment_count>1</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-09-16 11:06:35 +0000</bug_when>
    <thetext>The commit
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8780c5ddf2916bbd42fc67b79c286652aebb1546
add a patch to fix a security issue. It modify include file &apos;tree.h&apos;
to add &apos;const char *dummy_children&apos; for &apos;struct _xmlNs&apos;.

But lsb test suites didn&apos;t do this in his own include file, so the LSB
desktop-xml tests failed.

Disable this patch for linuxstdbase could fix this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36761</commentid>
    <comment_count>2</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-09-17 03:07:28 +0000</bug_when>
    <thetext>Hi Saul,

The upstream of libxml2 has not fixed this issue:
git clone git://git.gnome.org/libxml2

And I have filed a bug to them
https://bugzilla.gnome.org/show_bug.cgi?id=708205

After this is fixed and released, also need to report another
bug to LSB to update their libxml2 source code.

The time cycle is long, should we mark this bug as &quot;Waiting For Upstream&quot;
or accept this patch to workaround for LSB test.

Thanks,
Hongxu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36777</commentid>
    <comment_count>3</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-09-17 11:19:32 +0000</bug_when>
    <thetext>The libxml2-CVE-2012-2871.patch changes a public structure by adding
fields *in the middle*, so that broke the ABI. This patch was the quick
fix that Chromium did as they statically link to libxml2 so the API
breakage isn&apos;t an issue, the proper fix is already in libxslt.  As long
as we have libxml 2.9.0 and libxslt 1.1.27 onwards (which we do), the
issue is correctly fixed. 

The patch is obsolete, abandon it could fix the LSB desktop-xml tests
failure.

Ross has done the revert job.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36837</commentid>
    <comment_count>4</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-09-18 01:40:22 +0000</bug_when>
    <thetext>Merged into master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=06078af4cabefcd3a861821bd2f72b524a99c114</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>