Bug 847766

Summary: Regression in libxml2-2.9
Product: [Fedora] Fedora Reporter: Pavel Alexeev <pahan>
Component: libxml2Assignee: Daniel Veillard <veillard>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: c.david86, veillard
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-14 17:21:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Alexeev 2012-08-13 13:37:16 UTC
Description of problem:
On SIM build I have error in libxml2 internals:
xsl.cpp: In member function 'QString XSL::process(const QString&)':
xsl.cpp:126:59: error: invalid use of incomplete type 'xmlBuf {aka struct _xmlBuf}'
In file included from /usr/include/libxslt/xsltInternals.h:16:0,
                 from xsl.cpp:19:
/usr/include/libxml2/libxml/tree.h:104:16: error: forward declaration of 'xmlBuf {aka struct _xmlBuf}'

when try build with libxml2-2.9.

Build with 2.8 version was successful.

Version-Release number of selected component (if applicable):
$ rpm -q libxml2
libxml2-2.9.0-0rc1.fc19.x86_64

How reproducible:
Always

Full build log: http://kojipkgs.fedoraproject.org//work/tasks/286/4380286/build.log

Comment 1 Daniel Veillard 2012-08-14 10:08:35 UTC
Ah I didn't know that Qt was using libxml2 ! See
https://mail.gnome.org/archives/desktop-devel-list/2012-August/msg00007.html
and
http://lists.fedoraproject.org/pipermail/devel/2012-August/170710.html

Basically instead of directly fishing for the data in the output buffer
there are a accessors to do this on the new opaque structure. The mail gives
the context for the change.
If you need help with the patch, send me a version of  xsl.cpp
and I will make the patch for you,

Daniel

Comment 2 Pavel Alexeev 2012-08-14 17:21:01 UTC
Thank you very much!

By link I found detailed description and thought will be able fix that error himself.

I then close it as NOTABUG.