Bug 728020

Summary: libvirt-0.9.4 rpmbuild -ta fails: ID types already defined
Product: [Community] Virtualization Tools Reporter: Tom Robinson <tom.robinson>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: crobinso, jtomko, veillard, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-18 08:13:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom Robinson 2011-08-04 00:05:37 UTC
Description of problem:
On CentOS 5.6 I try to compile libvirt using rpmbuild -ta. It fails on what looks like a documentation issue using 'id="types"' which is reported as already defined

Version-Release number of selected component (if applicable):
0.9.4

How reproducible:


Steps to Reproduce:
1. wget http://libvirt.org/sources/libvirt-0.9.4.tar.gz
2. rpmbuild -ta libvirt-0.9.4.tar.gz --define 'rhel 5'
  
Actual results:
rpmbuild -ta libvirt-0.9.4.tar.gz --define 'rhel 5'
...8<...snip...8<...
Making all in docs
make[2]: Entering directory `/usr/src/redhat/BUILD/libvirt-0.9.4/docs'
  GEN    libvirt-api.xml
  GEN    html/index.html
  GEN    devhelp/index.html
./html/libvirt-virterror.html:627: element a: validity error : ID types already defined
></h3><pre>#define _virSchedParameter</pre><p></p><h3><a name="types" id="types"
                                                                               ^
./html/libvirt-virterror.html:847: element a: validity error : ID functions already defined
</pre></div><h3><a name="functions" id="functions">Functions</a></h3><h3><a name
                                                  ^
make[2]: *** [html/index.html] Error 4
make[2]: Leaving directory `/usr/src/redhat/BUILD/libvirt-0.9.4/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/libvirt-0.9.4'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.17248 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.17248 (%build)

Expected results:
expected RPM binaries to be made

Additional info:

Comment 1 Daniel Veillard 2011-08-04 01:35:40 UTC
You are hitting a libxslt bug, not deemed sufficient for an update in
RHEL-5 and hence in Centos5 either.

2 workaround:
  - make the doc checking non-fatal for the build (should be done
    upstream)
  - update to the latest libxslt (fetch the srpm from ftp://xmlsoft.org/xslt
    and rebuild it too)

Daniel