[libvirt] "make rpm" failing with git head on RHEL6

Hi guys, Just tried "make rpm" with git head, on RHEL 6.x. It gave the following failure: make[1]: Leaving directory `/home/jc/git_repos/libvirt' make[1]: Entering directory `/home/jc/git_repos/libvirt' { test ! -d "libvirt-0.9.6" || { find "libvirt-0.9.6" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "libvirt-0.9.6"; }; } test -d "libvirt-0.9.6" || mkdir "libvirt-0.9.6" cp: cannot stat `./NEWS': No such file or directory make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2 Anyone want to fix it prior to 0.9.7? :) Regards and best wishes, Justin Clift -- Aeolus Community Manager http://www.aeolusproject.org

On 08/11/2011, at 5:17 PM, Justin Clift wrote:
Hi guys,
Just tried "make rpm" with git head, on RHEL 6.x.
It gave the following failure:
make[1]: Leaving directory `/home/jc/git_repos/libvirt' make[1]: Entering directory `/home/jc/git_repos/libvirt' { test ! -d "libvirt-0.9.6" || { find "libvirt-0.9.6" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "libvirt-0.9.6"; }; } test -d "libvirt-0.9.6" || mkdir "libvirt-0.9.6" cp: cannot stat `./NEWS': No such file or directory make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2
Anyone want to fix it prior to 0.9.7? :)
As additional info, after doing a "touch NEWS" just to get it past this point, it then fails with: make[2]: Leaving directory `/home/jc/git_repos/libvirt/include' (cd src && make top_distdir=../libvirt-0.9.6 distdir=../libvirt-0.9.6/src \ am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir) make[2]: Entering directory `/home/jc/git_repos/libvirt/src' make[2]: *** No rule to make target `probes.h', needed by `distdir'. Stop. make[2]: Leaving directory `/home/jc/git_repos/libvirt/src' make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2 This is a newly setup RHEL 6.1 x64 VM, with the "Development Tools" yum package group installed, plus minimal -devel packages to let configure succeed. Any ideas? Regards and best wishes, Justin Clift -- Aeolus Community Manager http://www.aeolusproject.org

At 11/08/2011 02:22 PM, Justin Clift Write:
On 08/11/2011, at 5:17 PM, Justin Clift wrote:
Hi guys,
Just tried "make rpm" with git head, on RHEL 6.x.
It gave the following failure:
make[1]: Leaving directory `/home/jc/git_repos/libvirt' make[1]: Entering directory `/home/jc/git_repos/libvirt' { test ! -d "libvirt-0.9.6" || { find "libvirt-0.9.6" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "libvirt-0.9.6"; }; } test -d "libvirt-0.9.6" || mkdir "libvirt-0.9.6" cp: cannot stat `./NEWS': No such file or directory
I do not know why NEWS disappears.
make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2
Anyone want to fix it prior to 0.9.7? :)
As additional info, after doing a "touch NEWS" just to get it past this point, it then fails with:
make[2]: Leaving directory `/home/jc/git_repos/libvirt/include' (cd src && make top_distdir=../libvirt-0.9.6 distdir=../libvirt-0.9.6/src \ am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir) make[2]: Entering directory `/home/jc/git_repos/libvirt/src' make[2]: *** No rule to make target `probes.h', needed by `distdir'. Stop. make[2]: Leaving directory `/home/jc/git_repos/libvirt/src' make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2
This is a newly setup RHEL 6.1 x64 VM, with the "Development Tools" yum package group installed, plus minimal -devel packages to let configure succeed.
I use RHEL6.1 x64 too. But I do not meet this problem. I think you do not install this package: systemtap-sdt-devel. Thanks Wen Congyang
Any ideas?
Regards and best wishes,
Justin Clift
-- Aeolus Community Manager http://www.aeolusproject.org
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

On 2011年11月08日 16:58, Wen Congyang wrote:
At 11/08/2011 02:22 PM, Justin Clift Write:
On 08/11/2011, at 5:17 PM, Justin Clift wrote:
Hi guys,
Just tried "make rpm" with git head, on RHEL 6.x.
It gave the following failure:
make[1]: Leaving directory `/home/jc/git_repos/libvirt' make[1]: Entering directory `/home/jc/git_repos/libvirt' { test ! -d "libvirt-0.9.6" || { find "libvirt-0.9.6" -type d ! -perm -200 -exec chmod u+w {} ';'&& rm -fr "libvirt-0.9.6"; }; } test -d "libvirt-0.9.6" || mkdir "libvirt-0.9.6" cp: cannot stat `./NEWS': No such file or directory I do not know why NEWS disappears.
make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2
Anyone want to fix it prior to 0.9.7? :) As additional info, after doing a "touch NEWS" just to get it past this point, it then fails with:
make[2]: Leaving directory `/home/jc/git_repos/libvirt/include' (cd src&& make top_distdir=../libvirt-0.9.6 distdir=../libvirt-0.9.6/src \ am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir) make[2]: Entering directory `/home/jc/git_repos/libvirt/src' make[2]: *** No rule to make target `probes.h', needed by `distdir'. Stop. make[2]: Leaving directory `/home/jc/git_repos/libvirt/src' make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2
This is a newly setup RHEL 6.1 x64 VM, with the "Development Tools" yum package group installed, plus minimal -devel packages to let configure succeed. I use RHEL6.1 x64 too. But I do not meet this problem.
I think you do not install this package: systemtap-sdt-devel.
Thanks Wen Congyang
Any ideas?
Regards and best wishes,
Justin Clift
-- Aeolus Community Manager http://www.aeolusproject.org
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
I also got the error on ubuntu 11.10 when run make distcheck libvirt$ make distcheck { test ! -d "libvirt-0.9.6" || { find "libvirt-0.9.6" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "libvirt-0.9.6"; }; } test -d "libvirt-0.9.6" || mkdir "libvirt-0.9.6" cp: cannot stat `./NEWS': No such file or directory make: *** [distdir] Error 1

At 11/08/2011 05:09 PM, Wenyi Gao Write:
On 2011年11月08日 16:58, Wen Congyang wrote:
At 11/08/2011 02:22 PM, Justin Clift Write:
On 08/11/2011, at 5:17 PM, Justin Clift wrote:
Hi guys,
Just tried "make rpm" with git head, on RHEL 6.x.
It gave the following failure:
make[1]: Leaving directory `/home/jc/git_repos/libvirt' make[1]: Entering directory `/home/jc/git_repos/libvirt' { test ! -d "libvirt-0.9.6" || { find "libvirt-0.9.6" -type d ! -perm -200 -exec chmod u+w {} ';'&& rm -fr "libvirt-0.9.6"; }; } test -d "libvirt-0.9.6" || mkdir "libvirt-0.9.6" cp: cannot stat `./NEWS': No such file or directory I do not know why NEWS disappears.
make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2
Anyone want to fix it prior to 0.9.7? :) As additional info, after doing a "touch NEWS" just to get it past this point, it then fails with:
make[2]: Leaving directory `/home/jc/git_repos/libvirt/include' (cd src&& make top_distdir=../libvirt-0.9.6 distdir=../libvirt-0.9.6/src \ am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir) make[2]: Entering directory `/home/jc/git_repos/libvirt/src' make[2]: *** No rule to make target `probes.h', needed by `distdir'. Stop. make[2]: Leaving directory `/home/jc/git_repos/libvirt/src' make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2
This is a newly setup RHEL 6.1 x64 VM, with the "Development Tools" yum package group installed, plus minimal -devel packages to let configure succeed. I use RHEL6.1 x64 too. But I do not meet this problem.
I think you do not install this package: systemtap-sdt-devel.
Thanks Wen Congyang
Any ideas?
Regards and best wishes,
Justin Clift
-- Aeolus Community Manager http://www.aeolusproject.org
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
I also got the error on ubuntu 11.10 when run make distcheck
libvirt$ make distcheck
{ test ! -d "libvirt-0.9.6" || { find "libvirt-0.9.6" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "libvirt-0.9.6"; }; } test -d "libvirt-0.9.6" || mkdir "libvirt-0.9.6" cp: cannot stat `./NEWS': No such file or directory make: *** [distdir] Error 1
I seems that NEWS is not included in dist on your machine. Here is my Makefile: DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/libvirt.pc.in $(srcdir)/libvirt.spec.in \ $(srcdir)/mingw32-libvirt.spec.in $(top_srcdir)/configure \ ABOUT-NLS AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS \ TODO build-aux/compile build-aux/config.guess \ build-aux/config.rpath build-aux/config.sub build-aux/depcomp \ build-aux/install-sh build-aux/ltmain.sh build-aux/mdate-sh \ build-aux/missing build-aux/mkinstalldirs \ build-aux/texinfo.tex The DIST_COMMON contains NEWS. Does DIST_COMMON contain NEWS in your Makefile? Thanks Wen Congyang

On 2011年11月08日 17:19, Wen Congyang wrote:
At 11/08/2011 05:09 PM, Wenyi Gao Write:
On 2011年11月08日 16:58, Wen Congyang wrote:
At 11/08/2011 02:22 PM, Justin Clift Write:
On 08/11/2011, at 5:17 PM, Justin Clift wrote:
Hi guys,
Just tried "make rpm" with git head, on RHEL 6.x.
It gave the following failure:
make[1]: Leaving directory `/home/jc/git_repos/libvirt' make[1]: Entering directory `/home/jc/git_repos/libvirt' { test ! -d "libvirt-0.9.6" || { find "libvirt-0.9.6" -type d ! -perm -200 -exec chmod u+w {} ';'&& rm -fr "libvirt-0.9.6"; }; } test -d "libvirt-0.9.6" || mkdir "libvirt-0.9.6" cp: cannot stat `./NEWS': No such file or directory I do not know why NEWS disappears.
make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2
Anyone want to fix it prior to 0.9.7? :) As additional info, after doing a "touch NEWS" just to get it past this point, it then fails with:
make[2]: Leaving directory `/home/jc/git_repos/libvirt/include' (cd src&& make top_distdir=../libvirt-0.9.6 distdir=../libvirt-0.9.6/src \ am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir) make[2]: Entering directory `/home/jc/git_repos/libvirt/src' make[2]: *** No rule to make target `probes.h', needed by `distdir'. Stop. make[2]: Leaving directory `/home/jc/git_repos/libvirt/src' make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2
This is a newly setup RHEL 6.1 x64 VM, with the "Development Tools" yum package group installed, plus minimal -devel packages to let configure succeed. I use RHEL6.1 x64 too. But I do not meet this problem.
I think you do not install this package: systemtap-sdt-devel.
Thanks Wen Congyang
Any ideas?
Regards and best wishes,
Justin Clift
-- Aeolus Community Manager http://www.aeolusproject.org
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
I also got the error on ubuntu 11.10 when run make distcheck
libvirt$ make distcheck
{ test ! -d "libvirt-0.9.6" || { find "libvirt-0.9.6" -type d ! -perm -200 -exec chmod u+w {} ';'&& rm -fr "libvirt-0.9.6"; }; } test -d "libvirt-0.9.6" || mkdir "libvirt-0.9.6" cp: cannot stat `./NEWS': No such file or directory make: *** [distdir] Error 1 I seems that NEWS is not included in dist on your machine.
Here is my Makefile:
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/libvirt.pc.in $(srcdir)/libvirt.spec.in \ $(srcdir)/mingw32-libvirt.spec.in $(top_srcdir)/configure \ ABOUT-NLS AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS \ TODO build-aux/compile build-aux/config.guess \ build-aux/config.rpath build-aux/config.sub build-aux/depcomp \ build-aux/install-sh build-aux/ltmain.sh build-aux/mdate-sh \ build-aux/missing build-aux/mkinstalldirs \ build-aux/texinfo.tex
The DIST_COMMON contains NEWS.
Does DIST_COMMON contain NEWS in your Makefile?
Thanks Wen Congyang
Yes, it also contain NEWS in my Makefile. DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/libvirt.pc.in $(srcdir)/libvirt.spec.in \ $(srcdir)/mingw32-libvirt.spec.in $(top_srcdir)/configure \ ABOUT-NLS AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS \ TODO build-aux/compile build-aux/config.guess \ build-aux/config.rpath build-aux/config.sub build-aux/depcomp \ build-aux/install-sh build-aux/ltmain.sh build-aux/missing

I believe it's due to missing xsltproc binary? Wenyi, same as your earlier "failed to load external entity api.html.tmp" warning. On 11/08/2011 05:23 PM, Wenyi Gao wrote:
I also got the error on ubuntu 11.10 when run make distcheck
libvirt$ make distcheck
{ test ! -d "libvirt-0.9.6" || { find "libvirt-0.9.6" -type d ! -perm -200 -exec chmod u+w {} ';'&& rm -fr "libvirt-0.9.6"; }; } test -d "libvirt-0.9.6" || mkdir "libvirt-0.9.6" cp: cannot stat `./NEWS': No such file or directory make: *** [distdir] Error 1 I seems that NEWS is not included in dist on your machine.
Here is my Makefile:
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/libvirt.pc.in $(srcdir)/libvirt.spec.in \ $(srcdir)/mingw32-libvirt.spec.in $(top_srcdir)/configure \ ABOUT-NLS AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS \ TODO build-aux/compile build-aux/config.guess \ build-aux/config.rpath build-aux/config.sub build-aux/depcomp \ build-aux/install-sh build-aux/ltmain.sh build-aux/mdate-sh \ build-aux/missing build-aux/mkinstalldirs \ build-aux/texinfo.tex
The DIST_COMMON contains NEWS.
Does DIST_COMMON contain NEWS in your Makefile?
Thanks Wen Congyang
Yes, it also contain NEWS in my Makefile.
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/libvirt.pc.in $(srcdir)/libvirt.spec.in \ $(srcdir)/mingw32-libvirt.spec.in $(top_srcdir)/configure \ ABOUT-NLS AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS \ TODO build-aux/compile build-aux/config.guess \ build-aux/config.rpath build-aux/config.sub build-aux/depcomp \ build-aux/install-sh build-aux/ltmain.sh build-aux/missing
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
-- Thanks. Hong Xiang

On 2011年11月08日 17:33, Hong Xiang wrote:
I believe it's due to missing xsltproc binary? Wenyi, same as your earlier "failed to load external entity api.html.tmp" warning.
On 11/08/2011 05:23 PM, Wenyi Gao wrote:
I also got the error on ubuntu 11.10 when run make distcheck
libvirt$ make distcheck
{ test ! -d "libvirt-0.9.6" || { find "libvirt-0.9.6" -type d ! -perm -200 -exec chmod u+w {} ';'&& rm -fr "libvirt-0.9.6"; }; } test -d "libvirt-0.9.6" || mkdir "libvirt-0.9.6" cp: cannot stat `./NEWS': No such file or directory make: *** [distdir] Error 1 I seems that NEWS is not included in dist on your machine.
Here is my Makefile:
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/libvirt.pc.in $(srcdir)/libvirt.spec.in \ $(srcdir)/mingw32-libvirt.spec.in $(top_srcdir)/configure \ ABOUT-NLS AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS \ TODO build-aux/compile build-aux/config.guess \ build-aux/config.rpath build-aux/config.sub build-aux/depcomp \ build-aux/install-sh build-aux/ltmain.sh build-aux/mdate-sh \ build-aux/missing build-aux/mkinstalldirs \ build-aux/texinfo.tex
The DIST_COMMON contains NEWS.
Does DIST_COMMON contain NEWS in your Makefile?
Thanks Wen Congyang
Yes, it also contain NEWS in my Makefile.
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/libvirt.pc.in $(srcdir)/libvirt.spec.in \ $(srcdir)/mingw32-libvirt.spec.in $(top_srcdir)/configure \ ABOUT-NLS AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS \ TODO build-aux/compile build-aux/config.guess \ build-aux/config.rpath build-aux/config.sub build-aux/depcomp \ build-aux/install-sh build-aux/ltmain.sh build-aux/missing
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list Yes, I installed xsltproc package, the error changed to make distcheck .... make[1]: Entering directory `/home/wayne/workspace/project/libvirt/src' make[1]: *** No rule to make target `probes.h', needed by `distdir'. Stop.

Please follow Congyang's suggestion to install systemtap-sdt-devel package and redo configure. On 11/08/2011 05:40 PM, Wenyi Gao wrote:
On 2011年11月08日 17:33, Hong Xiang wrote:
I believe it's due to missing xsltproc binary? Wenyi, same as your earlier "failed to load external entity api.html.tmp" warning.
On 11/08/2011 05:23 PM, Wenyi Gao wrote:
I also got the error on ubuntu 11.10 when run make distcheck
libvirt$ make distcheck
{ test ! -d "libvirt-0.9.6" || { find "libvirt-0.9.6" -type d ! -perm -200 -exec chmod u+w {} ';'&& rm -fr "libvirt-0.9.6"; }; } test -d "libvirt-0.9.6" || mkdir "libvirt-0.9.6" cp: cannot stat `./NEWS': No such file or directory make: *** [distdir] Error 1 I seems that NEWS is not included in dist on your machine.
Here is my Makefile:
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/libvirt.pc.in $(srcdir)/libvirt.spec.in \ $(srcdir)/mingw32-libvirt.spec.in $(top_srcdir)/configure \ ABOUT-NLS AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS \ TODO build-aux/compile build-aux/config.guess \ build-aux/config.rpath build-aux/config.sub build-aux/depcomp \ build-aux/install-sh build-aux/ltmain.sh build-aux/mdate-sh \ build-aux/missing build-aux/mkinstalldirs \ build-aux/texinfo.tex
The DIST_COMMON contains NEWS.
Does DIST_COMMON contain NEWS in your Makefile?
Thanks Wen Congyang
Yes, it also contain NEWS in my Makefile.
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/libvirt.pc.in $(srcdir)/libvirt.spec.in \ $(srcdir)/mingw32-libvirt.spec.in $(top_srcdir)/configure \ ABOUT-NLS AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS \ TODO build-aux/compile build-aux/config.guess \ build-aux/config.rpath build-aux/config.sub build-aux/depcomp \ build-aux/install-sh build-aux/ltmain.sh build-aux/missing
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list Yes, I installed xsltproc package, the error changed to make distcheck .... make[1]: Entering directory `/home/wayne/workspace/project/libvirt/src' make[1]: *** No rule to make target `probes.h', needed by `distdir'. Stop.
-- Thanks. Hong Xiang

On 08/11/2011, at 8:19 PM, Wen Congyang wrote: <snip>
I seems that NEWS is not included in dist on your machine.
Here is my Makefile:
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/libvirt.pc.in $(srcdir)/libvirt.spec.in \ $(srcdir)/mingw32-libvirt.spec.in $(top_srcdir)/configure \ ABOUT-NLS AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS \ TODO build-aux/compile build-aux/config.guess \ build-aux/config.rpath build-aux/config.sub build-aux/depcomp \ build-aux/install-sh build-aux/ltmain.sh build-aux/mdate-sh \ build-aux/missing build-aux/mkinstalldirs \ build-aux/texinfo.tex
The DIST_COMMON contains NEWS.
Does DIST_COMMON contain NEWS in your Makefile?
Thanks. :) Found the problem with the NEWS file. It's because libxslt wasn't installed. Turns out the "NEWS" makefile target silently fails if it's missing. i.e. even "make NEWS" doesn't report an error Still haven't found out the problem with probes.h though. Now looking at that again. Regards and best wishes, Justin Clift -- Aeolus Community Manager http://www.aeolusproject.org

On 11/08/2011 02:37 AM, Justin Clift wrote:
Found the problem with the NEWS file. It's because libxslt wasn't installed.
Should we be adding libxslt as a maintainer's prereq in bootstrap.conf? That is, I think bootstrap.conf should require all packages necessary to create a functional tarball from libvirt.git, even if those packages are _not_ required to successfully build an already-available tarball.
Still haven't found out the problem with probes.h though. Now looking at that again.
On 11/08/2011 01:58 AM, Wen Congyang wrote:
I think you do not install this package: systemtap-sdt-devel.
So that sounds like systemtap is another maintainer prereq. On 11/08/2011 04:44 AM, Daniel Veillard wrote:
On Tue, Nov 08, 2011 at 04:33:15PM +0800, Wenyi Gao wrote:
I got the latest code and build it with following error on Ubuntu 11.10:
Validating api.html warning: failed to load external entity "api.html.tmp"
Try to get xsltproc and xmllint tools, they are in libxml2 and libxslt packages, dunno the exact name in Debian/Ubuntu, possibly some -bin package.
Sounds like xmllint should be yet another maintainer prereq in bootstrap.conf. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org

At 11/09/2011 06:52 AM, Eric Blake Write:
On 11/08/2011 02:37 AM, Justin Clift wrote:
Found the problem with the NEWS file. It's because libxslt wasn't installed.
Should we be adding libxslt as a maintainer's prereq in bootstrap.conf?
That is, I think bootstrap.conf should require all packages necessary to
Agree with it. If some packages are not installed in my machine, I will take some time to find which package is missed. Sometimes I can find it, but sometimes I can not. It is very useful if bootstrap.conf requires all packages necessary. Thanks Wen Congyang
create a functional tarball from libvirt.git, even if those packages are _not_ required to successfully build an already-available tarball.
Still haven't found out the problem with probes.h though. Now looking at that again.
On 11/08/2011 01:58 AM, Wen Congyang wrote:
I think you do not install this package: systemtap-sdt-devel.
So that sounds like systemtap is another maintainer prereq.
On 11/08/2011 04:44 AM, Daniel Veillard wrote:
On Tue, Nov 08, 2011 at 04:33:15PM +0800, Wenyi Gao wrote:
I got the latest code and build it with following error on Ubuntu 11.10:
Validating api.html warning: failed to load external entity "api.html.tmp"
Try to get xsltproc and xmllint tools, they are in libxml2 and libxslt packages, dunno the exact name in Debian/Ubuntu, possibly some -bin package.
Sounds like xmllint should be yet another maintainer prereq in bootstrap.conf.

On 09/11/2011, at 9:52 AM, Eric Blake wrote:
On 11/08/2011 02:37 AM, Justin Clift wrote:
Found the problem with the NEWS file. It's because libxslt wasn't installed.
Should we be adding libxslt as a maintainer's prereq in bootstrap.conf?
That is, I think bootstrap.conf should require all packages necessary to create a functional tarball from libvirt.git, even if those packages are _not_ required to successfully build an already-available tarball.
That sounds like it will fix the problem, pretty much permanently (until further requirements happen). Definitely in favour of that. :)
Still haven't found out the problem with probes.h though. Now looking at that again.
On 11/08/2011 01:58 AM, Wen Congyang wrote:
I think you do not install this package: systemtap-sdt-devel.
So that sounds like systemtap is another maintainer prereq.
It's not the problem. For me anyway. To clarify, systemtap-sdt-devel is already installed. Doing a brand new autogen.sh, then compiling normally with: make -j 3 Goes through to successful completion. All good. It's only "make rpm" which is having the problem: make[2]: Entering directory `/home/jc/git_repos/libvirt/src' make[2]: *** No rule to make target `probes.h', needed by `distdir'. Stop. make[2]: Leaving directory `/home/jc/git_repos/libvirt/src' make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2 So, it sounds like there's something rpm specific which needs kicking into shape. Attaching the full session log file, showing the autogen run, the normal make run, and the make rpm run. Hopefully it helps. :) <snip>
Validating api.html warning: failed to load external entity "api.html.tmp"
Try to get xsltproc and xmllint tools, they are in libxml2 and libxslt packages, dunno the exact name in Debian/Ubuntu, possibly some -bin package.
Sounds like xmllint should be yet another maintainer prereq in bootstrap.conf.
Yep, sounds like it. :) Regards and best wishes, Justin Clift -- Aeolus Community Manager http://www.aeolusproject.org

At 11/09/2011 03:01 PM, Justin Clift Write:
On 09/11/2011, at 9:52 AM, Eric Blake wrote:
On 11/08/2011 02:37 AM, Justin Clift wrote:
Found the problem with the NEWS file. It's because libxslt wasn't installed.
Should we be adding libxslt as a maintainer's prereq in bootstrap.conf?
That is, I think bootstrap.conf should require all packages necessary to create a functional tarball from libvirt.git, even if those packages are _not_ required to successfully build an already-available tarball.
That sounds like it will fix the problem, pretty much permanently (until further requirements happen).
Definitely in favour of that. :)
Still haven't found out the problem with probes.h though. Now looking at that again.
On 11/08/2011 01:58 AM, Wen Congyang wrote:
I think you do not install this package: systemtap-sdt-devel.
So that sounds like systemtap is another maintainer prereq.
It's not the problem. For me anyway.
To clarify, systemtap-sdt-devel is already installed. Doing a brand new autogen.sh, then compiling normally with:
I find the following messages from autogen.sh's output: running CONFIG_SHELL=/bin/sh /bin/sh ./configure --with-dtrace=no --no-create --no-recursion checking for a BSD-compatible install... /usr/bin/install -c You have disabled dtrace, so make -j 3 does not fail. Please run ./configure again, and check whether dtrace is enabled. Thanks Wen Congyang
make -j 3
Goes through to successful completion. All good.
It's only "make rpm" which is having the problem:
make[2]: Entering directory `/home/jc/git_repos/libvirt/src' make[2]: *** No rule to make target `probes.h', needed by `distdir'. Stop. make[2]: Leaving directory `/home/jc/git_repos/libvirt/src' make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2
So, it sounds like there's something rpm specific which needs kicking into shape.
Attaching the full session log file, showing the autogen run, the normal make run, and the make rpm run. Hopefully it helps. :)
<snip>
Validating api.html warning: failed to load external entity "api.html.tmp"
Try to get xsltproc and xmllint tools, they are in libxml2 and libxslt packages, dunno the exact name in Debian/Ubuntu, possibly some -bin package.
Sounds like xmllint should be yet another maintainer prereq in bootstrap.conf.
Yep, sounds like it. :)
Regards and best wishes,
Justin Clift
-- Aeolus Community Manager http://www.aeolusproject.org

On 09/11/2011, at 6:22 PM, Wen Congyang wrote: <snip>
To clarify, systemtap-sdt-devel is already installed. Doing a brand new autogen.sh, then compiling normally with:
I find the following messages from autogen.sh's output: running CONFIG_SHELL=/bin/sh /bin/sh ./configure --with-dtrace=no --no-create --no-recursion checking for a BSD-compatible install... /usr/bin/install -c
You have disabled dtrace, so make -j 3 does not fail.
Please run ./configure again, and check whether dtrace is enabled.
Thanks, well spotted! :) Looks like I needed to run "make distclean" first, to get rid of old preferences. Things worked fine after that (both normal make, and make rpm). On another note, Eric, do you reckon it's possible to add the XHTML1 DTDs to maintainer requirements? Without them, generation of the html docs fails at the validation stage. i.e. for make rpm: ... missing XHTML1 DTD missing XHTML1 DTD cp: cannot stat `./api.html': No such file or directory make[2]: *** [distdir] Error 1 rm news.html.tmp goals.html.tmp archnetwork.html.tmp formatsecret.html.tmp drvopenvz.html.tmp windows.html.tmp testtck.html.tmp drvlxc.html.tmp apps.html.tmp docs.html.tmp formatstorageencryption.html.tmp drvvbox.html.tmp formatdomain.html.tmp php.html.tmp drvhyperv.html.tmp errors.html.tmp hacking.html.tmp format.html.tmp hooks.html.tmp api.html.tmp storage.html.tmp formatcaps.html.tmp relatedlinks.html.tmp compiling.html.tmp index.html.tmp archdomain.html.tmp downloads.html.tmp auth.html.tmp archnode.html.tmp hvsupport.html.tmp bugs.html.tmp java.html.tmp locking.html.tmp logging.html.tmp testapi.html.tmp formatnetwork.html.tmp bindings.html.tmp uri.html.tmp drvtest.html.tmp sitemap.html.tmp drvqemu.html.tmp contact.html.tmp formatnwfilter.html.tmp intro.html.tmp drvxen.html.tmp drvesx.html.tmp drvvmware.html.tmp testsuites.html.tmp devguide.html.tmp firewall.html.tmp architecture.html.tmp migration.html.tmp todo.html.tmp formatsnapshot.html.tmp formatstorage.html.tmp internals.html.tmp deployment.html.tmp api_extension.html.tmp drvuml.html.tmp virshcmdref.html.tmp csharp.html.tmp python.html.tmp drvremote.html.tmp archstorage.html.tmp remote.html.tmp drivers.html.tmp formatnode.html.tmp make[2]: Leaving directory `/home/jc/git_repos/libvirt/docs' make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/jc/git_repos/libvirt' make: *** [rpm] Error 2 In Fedora/RHEL it's the "xhtml1-dtds" (noarch) package. Regards and best wishes, Justin Clift
Thanks Wen Congyang
-- Aeolus Community Manager http://www.aeolusproject.org

On 11/09/2011 05:12 AM, Justin Clift wrote:
On another note, Eric, do you reckon it's possible to add the XHTML1 DTDs to maintainer requirements?
Without them, generation of the html docs fails at the validation stage.
Good idea, but I'm not quite sure how, yet. Requiring xmllint is easy (one line addition on bootstrap.conf), because bootstrap can check if 'xmllint --version' succeeds; but I think the only way to know if XHTML1 DTDs are present is to run the non-trivial: xmlcatalog /etc/xml/catalog "-//W3C//DTD XHTML 1.0 Strict//EN" at any rate, that's how docs/Makefile.am is testing, and it boils down to the fact that DTDs are data files referenced by an existing executable, rather than something that you can tell by mere presence of probing --version of an executable. But I think I can come up with something. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (5)
-
Eric Blake
-
Hong Xiang
-
Justin Clift
-
Wen Congyang
-
Wenyi Gao