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:
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