Bug 728020 - libvirt-0.9.4 rpmbuild -ta fails: ID types already defined
Summary: libvirt-0.9.4 rpmbuild -ta fails: ID types already defined
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-04 00:05 UTC by Tom Robinson
Modified: 2015-03-18 08:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-18 08:13:06 UTC


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.