[libvirt] make docs fails on EL5

Hi. I usually build all the latest libvirt version on EL5 (CentOS x86_64), and, up to libvirt 0.9.3, I could get it to build without major issue, but starting with libvirt 0.9.4, I cannot get the rpm to build (I'm using a quite simple plague/mock setup), I always have this error: make[2]: Entering directory `/builddir/build/BUILD/libvirt-0.9.7/docs' GEN libvirt-api.xml GEN html/index.html GEN devhelp/index.html ./html/libvirt-virterror.html:613: 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:843: 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 `/builddir/build/BUILD/libvirt-0.9.7/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/libvirt-0.9.7' make: *** [all] Error 2 Can anybody help me with this ? Regards, Daniel -- Daniel Berteaud FIREWALL-SERVICES SARL. Société de Services en Logiciels Libres Technopôle Montesquieu 33650 MARTILLAC Tel : 05 56 64 15 32 Fax : 05 56 64 15 32 Mail: daniel@firewall-services.com Web : http://www.firewall-services.com

It seems tit is he same issue as the thread below, the docs can not be generated in some Linux distros. It may be caused by the incompatibility of document tools in these distros. http://www.mail-archive.com/libvir-list@redhat.com/msg47624.html On 2011-11-16 1:27, Daniel Berteaud wrote:
Hi.
I usually build all the latest libvirt version on EL5 (CentOS x86_64), and, up to libvirt 0.9.3, I could get it to build without major issue, but starting with libvirt 0.9.4, I cannot get the rpm to build (I'm using a quite simple plague/mock setup), I always have this error:
make[2]: Entering directory `/builddir/build/BUILD/libvirt-0.9.7/docs' GEN libvirt-api.xml GEN html/index.html GEN devhelp/index.html ./html/libvirt-virterror.html:613: 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:843: 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 `/builddir/build/BUILD/libvirt-0.9.7/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/libvirt-0.9.7' make: *** [all] Error 2
Can anybody help me with this ?
Regards, Daniel

于 2011年11月16日 11:12, shu ming 写道:
It seems tit is he same issue as the thread below, the docs can not be generated in some Linux distros. It may be caused by the incompatibility of document tools in these distros.
http://www.mail-archive.com/libvir-list@redhat.com/msg47624.html
They are not the same problem if I'm correct, as it seems xhtml1-dtd is installed on Daniel's host, (the process broke during generating the html files). And it looks like the error is caused by there is some tags in the html is not campatible with W3C, though not sure why it comes. Regards, Osier

Le mercredi 16 novembre 2011 à 11:57 +0800, Osier Yang a écrit :
于 2011年11月16日 11:12, shu ming 写道:
It seems tit is he same issue as the thread below, the docs can not be generated in some Linux distros. It may be caused by the incompatibility of document tools in these distros.
http://www.mail-archive.com/libvir-list@redhat.com/msg47624.html
They are not the same problem if I'm correct, as it seems xhtml1-dtd is installed on Daniel's host, (the process broke during generating the html files).
And it looks like the error is caused by there is some tags in the html is not campatible with W3C, though not sure why it comes.
Not sure if it's relevant, I'm using xhtml1-dtds 1.0-7.1.1 (from the base CentOS 5.7 repo)
Regards, Osier
-- Daniel Berteaud FIREWALL-SERVICES SARL. Société de Services en Logiciels Libres Technopôle Montesquieu 33650 MARTILLAC Tel : 05 56 64 15 32 Fax : 05 56 64 15 32 Mail: daniel@firewall-services.com Web : http://www.firewall-services.com

Le mercredi 16 novembre 2011 à 09:12 +0100, Daniel Berteaud a écrit :
Le mercredi 16 novembre 2011 à 11:57 +0800, Osier Yang a écrit :
于 2011年11月16日 11:12, shu ming 写道:
It seems tit is he same issue as the thread below, the docs can not be generated in some Linux distros. It may be caused by the incompatibility of document tools in these distros.
http://www.mail-archive.com/libvir-list@redhat.com/msg47624.html
They are not the same problem if I'm correct, as it seems xhtml1-dtd is installed on Daniel's host, (the process broke during generating the html files).
And it looks like the error is caused by there is some tags in the html is not campatible with W3C, though not sure why it comes.
Not sure if it's relevant, I'm using xhtml1-dtds 1.0-7.1.1 (from the base CentOS 5.7 repo)
Nobody else has this error when building on EL5 ? (or maybe nobody builds latest release of libvirt on EL5). Could this be a problem in my mock setup ? Regards, Daniel
Regards, Osier
-- Daniel Berteaud FIREWALL-SERVICES SARL. Société de Services en Logiciels Libres Technopôle Montesquieu 33650 MARTILLAC Tel : 05 56 64 15 32 Fax : 05 56 64 15 32 Mail: daniel@firewall-services.com Web : http://www.firewall-services.com

On 11/17/2011 01:25 AM, Daniel Berteaud wrote:
And it looks like the error is caused by there is some tags in the html is not campatible with W3C, though not sure why it comes.
Not sure if it's relevant, I'm using xhtml1-dtds 1.0-7.1.1 (from the base CentOS 5.7 repo)
Nobody else has this error when building on EL5 ? (or maybe nobody builds latest release of libvirt on EL5). Could this be a problem in my mock setup ?
I've seen it as well, but haven't had time to investigate a fix for it. It may just be a matter of fixing the input files to use a different label name for the problematic line. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (4)
-
Daniel Berteaud
-
Eric Blake
-
Osier Yang
-
shu ming