[libvirt] build failed with warning failed to load external entity api.html.tmp

2011-11-08 Thread Wenyi Gao

I got the latest code and build it with following error on Ubuntu 11.10:

..
make  all-am
make[3]: Entering directory `/home/wayne/workspace/project/libvirt/tools'
  CC virsh-console.o
  CC virsh-virsh.o
  CCLD   virsh
  GENvirt-xml-validate
  GENvirt-pki-validate
make[3]: Leaving directory `/home/wayne/workspace/project/libvirt/tools'
make[2]: Leaving directory `/home/wayne/workspace/project/libvirt/tools'
Making all in docs
make[2]: Entering directory `/home/wayne/workspace/project/libvirt/docs'
Validating api.html
warning: failed to load external entity api.html.tmp
make[2]: *** [api.html] Error 1
make[2]: Leaving directory `/home/wayne/workspace/project/libvirt/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wayne/workspace/project/libvirt'
make: *** [all] Error 2


I think some dependent packages are missed on my build environment. But 
the error information doesn't show some hint. Does anyone know the 
reason? Thanks.


Wenyi Gao

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] make rpm failing with git head on RHEL6

2011-11-08 Thread Wenyi Gao

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


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] make rpm failing with git head on RHEL6

2011-11-08 Thread Wenyi Gao

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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] make rpm failing with git head on RHEL6

2011-11-08 Thread Wenyi Gao

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.




--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] documentation: trivial spelling fix

2011-10-19 Thread Wenyi Gao
On Tue, 2011-10-18 at 16:53 +0200, Philipp Hahn wrote:
 Signed-off-by: Philipp Hahn h...@univention.de
 ---
  docs/formatdomain.html.in |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
 
 diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
 index c007dff..4a75026 100644
 --- a/docs/formatdomain.html.in
 +++ b/docs/formatdomain.html.in
 @@ -778,7 +778,7 @@
  The guest clock will have an arbitrary offset applied
  relative to UTC. The delta relative to UTC is specified
  in seconds, using the codeadjustment/code attribute.
 -The guest is free to adjust the RTC over time an expect
 +The guest is free to adjust the RTC over time and expect
  that it will be honoured at next reboot. This is in
  contrast to 'utc' mode, where the RTC adjustments are
  lost at each reboot. span class=sinceSince 0.7.7/span

Tested-by Wenyi Gao we...@linux.vnet.ibm.com

Wenyi Gao

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] build: fail to 'make distcheck'

2011-10-12 Thread Wenyi Gao
On Wed, 2011-10-12 at 14:02 +0800, Alex Jia wrote:
 On 10/12/2011 01:30 PM, Alex Jia wrote:
  On 10/12/2011 01:14 PM, Wenyi Gao wrote:
  Hi All,
 
  I failed to 'make distcheck' on Ubuntu 11.04 with the following
  information:
 
.33  OK
  PASS: nwfilterschematest
  TEST: domainsnapshotschematest
 ...  11  OK
  PASS: domainsnapshotschematest
  TEST: test_conf.sh
 ..   2   OK
  PASS: test_conf.sh
  PASS: cpuset
  TEST: daemon-conf
 .!!...!!!kill: 98: No such process
 
  !   34  FAILED
  FAIL: daemon-conf
  PASS: define-dev-segfault
  PASS: int-overflow
  PASS: libvirtd-fail
  PASS: libvirtd-pool
  PASS: read-bufsiz
  PASS: read-non-seekable
  PASS: start
  PASS: undefine
  PASS: vcpupin
  TEST: virsh-all
  40
  80
  120
  160
  172 OK
  PASS: virsh-all
  PASS: virsh-optparse
  PASS: virsh-schedinfo
  PASS: virsh-synopsis
  TEST: xml2sexprtest
  40
 .53  OK
  PASS: xml2sexprtest
  TEST: sexpr2xmltest
  40
 ..   50  OK
  PASS: sexpr2xmltest
  TEST: xmconfigtest
  40
 ..   66  OK
  PASS: xmconfigtest
  TEST: xencapstest
 ..   10  OK
  PASS: xencapstest
  TEST: reconnect
  SKIP: reconnect
  TEST: statstest
  SKIP: statstest
  TEST: qemuxml2argvtest
  40
  80
  120
  160
 .161 OK
  PASS: qemuxml2argvtest
  TEST: qemuxml2xmltest
  40
 ..   78  OK
  PASS: qemuxml2xmltest
  TEST: qemuargv2xmltest
  40
  64  OK
  PASS: qemuargv2xmltest
  TEST: qemuhelptest
  12  OK
  PASS: qemuhelptest
  TEST: nwfilterxml2xmltest
 .33  OK
  PASS: nwfilterxml2xmltest
  TEST: openvzutilstest
 ..   2   OK
  PASS: openvzutilstest
  TEST: vmx2xmltest
  40
 ..   46  OK
  PASS: vmx2xmltest
  TEST: xml2vmxtest
  40
 .41  OK
  PASS: xml2vmxtest
  TEST: eventtest
 ...  15  OK
  PASS: eventtest
  TEST: networkxml2xmltest
  12  OK
  PASS: networkxml2xmltest
  TEST: networkxml2argvtest
 ...  7   OK
  PASS: networkxml2argvtest
  TEST: storagevolxml2xmltest
 ..   6   OK
  PASS: storagevolxml2xmltest
  TEST: storagepoolxml2xmltest
  12  OK
  PASS: storagepoolxml2xmltest
  TEST: nodedevxml2xmltest
 .13  OK
  PASS: nodedevxml2xmltest
  TEST: interfacexml2xmltest
 ...  19  OK
  PASS: interfacexml2xmltest
  TEST: cputest
  40
 .57  OK
  PASS: cputest
  ===
  1 of 58 tests failed
  (2 tests were not run)
  Please report to libvir-list@redhat.com
  ===
 
 
 
  Does anyone experience the problem or do I miss some packages? Thanks.
  Yeah, I met this, you haven't missed any packages.
 
  Alex
 It's okay for me based on current upstream now, I'm not sure whether 
 you're missing some
 packages, you had better to install necessary devel packages such as 
 cyrus-sasl-devel,
 in addition, it may be helpful if you can rerun the following cmdline 
 and attach your log as
 a attachment:
 
 VIR_TEST_DEBUG=2 make -C tests check TESTS=daemon-conf
 
 Good Luck!
 Alex
  Regards
  Wenyi Gao
 
 

It's also okey for me now after installing cyrus-sasl-devel. Thank you
Alex.


Wenyi Gao

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] build: fail to 'make distcheck'

2011-10-11 Thread Wenyi Gao
Hi All,

I failed to 'make distcheck' on Ubuntu 11.04 with the following
information:

 .33  OK
PASS: nwfilterschematest
TEST: domainsnapshotschematest
  ...  11  OK
PASS: domainsnapshotschematest
TEST: test_conf.sh
  ..   2   OK
PASS: test_conf.sh
PASS: cpuset
TEST: daemon-conf
  .!!...!!!kill: 98: No such process

!   34  FAILED
FAIL: daemon-conf
PASS: define-dev-segfault
PASS: int-overflow
PASS: libvirtd-fail
PASS: libvirtd-pool
PASS: read-bufsiz
PASS: read-non-seekable
PASS: start
PASS: undefine
PASS: vcpupin
TEST: virsh-all
   40 
   80 
   120
   160
   172 OK
PASS: virsh-all
PASS: virsh-optparse
PASS: virsh-schedinfo
PASS: virsh-synopsis
TEST: xml2sexprtest
   40 
  .53  OK
PASS: xml2sexprtest
TEST: sexpr2xmltest
   40 
  ..   50  OK
PASS: sexpr2xmltest
TEST: xmconfigtest
   40 
  ..   66  OK
PASS: xmconfigtest
TEST: xencapstest
  ..   10  OK
PASS: xencapstest
TEST: reconnect
SKIP: reconnect
TEST: statstest
SKIP: statstest
TEST: qemuxml2argvtest
   40 
   80 
   120
   160
  .161 OK
PASS: qemuxml2argvtest
TEST: qemuxml2xmltest
   40 
  ..   78  OK
PASS: qemuxml2xmltest
TEST: qemuargv2xmltest
   40 
   64  OK
PASS: qemuargv2xmltest
TEST: qemuhelptest
   12  OK
PASS: qemuhelptest
TEST: nwfilterxml2xmltest
  .33  OK
PASS: nwfilterxml2xmltest
TEST: openvzutilstest
  ..   2   OK
PASS: openvzutilstest
TEST: vmx2xmltest
   40 
  ..   46  OK
PASS: vmx2xmltest
TEST: xml2vmxtest
   40 
  .41  OK
PASS: xml2vmxtest
TEST: eventtest
  ...  15  OK
PASS: eventtest
TEST: networkxml2xmltest
   12  OK
PASS: networkxml2xmltest
TEST: networkxml2argvtest
  ...  7   OK
PASS: networkxml2argvtest
TEST: storagevolxml2xmltest
  ..   6   OK
PASS: storagevolxml2xmltest
TEST: storagepoolxml2xmltest
   12  OK
PASS: storagepoolxml2xmltest
TEST: nodedevxml2xmltest
  .13  OK
PASS: nodedevxml2xmltest
TEST: interfacexml2xmltest
  ...  19  OK
PASS: interfacexml2xmltest
TEST: cputest
   40 
  .57  OK
PASS: cputest
===
1 of 58 tests failed
(2 tests were not run)
Please report to libvir-list@redhat.com
===



Does anyone experience the problem or do I miss some packages? Thanks.

Regards
Wenyi Gao 


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list