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

Wenyi Gao wenyi at linux.vnet.ibm.com
Tue Nov 8 09:40:21 UTC 2011


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 at 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.







More information about the libvir-list mailing list