[libvirt] make check error

Peter Krempa pkrempa at redhat.com
Tue Sep 17 11:43:02 UTC 2013


On 09/17/13 13:31, hzguanqiang at corp.netease.com wrote:
> Hi guys,
> I made a automated test for the libvirt code in git source repository right now, It reported a check error.
> 
> The operation steps and error info are as following:
> 
> ubuntu at ubuntu:~/github/libvirt.git$ ./autogen.sh
> ubuntu at ubuntu:~/github/libvirt.git$ ./configure --enable-werror
> ubuntu at ubuntu:~/github/libvirt.git$ make check
> ............
> make  check-local
> make[3]: Entering directory `/home/ubuntu/github/libvirt.git/daemon'
>   GEN    check-augeas
> make[3]: Leaving directory `/home/ubuntu/github/libvirt.git/daemon'
> make[2]: Leaving directory `/home/ubuntu/github/libvirt.git/daemon'
> make[1]: Leaving directory `/home/ubuntu/github/libvirt.git/daemon'
> Making check in tools
> make[1]: Entering directory `/home/ubuntu/github/libvirt.git/tools'
>   GEN    libvirt-guests.sh
> make  check-am
> make[2]: Entering directory `/home/ubuntu/github/libvirt.git/tools'
>   CC     virsh-virsh.o
>   CC     virsh-virsh-console.o
>   CC     virsh-virsh-domain.o
> virsh-domain.c: In function 'cmdMetadata':
> virsh-domain.c:6857:10: error: declaration of 'remove' shadows a global declaration [-Werror=shadow]

Your system is apparently polluting the global namespace with a symbol
named remove. I'll post patches soon.

> cc1: all warnings being treated as errors
> make[2]: *** [virsh-virsh-domain.o] Error 1
> make[2]: Leaving directory `/home/ubuntu/github/libvirt.git/tools'
> make[1]: *** [check] Error 2
> make[1]: Leaving directory `/home/ubuntu/github/libvirt.git/tools'
> make: *** [check-recursive] Error 1

Peter


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130917/ea3eb4c6/attachment-0001.sig>


More information about the libvir-list mailing list