From: "Daniel P. Berrange" <berrange@redhat.com>
To: Ian Campbell <ian.campbell@citrix.com>
Cc: libvir-list@redhat.com, xen-devel@lists.xensource.com,
ian.jackson@eu.citrix.com
Subject: Re: [libvirt] [Xen-devel] [libvirt test] 50401: regressions - FAIL
Date: Wed, 15 Apr 2015 14:16:53 +0100 [thread overview]
Message-ID: <20150415131653.GC29970@redhat.com> (raw)
In-Reply-To: <1429093049.15516.175.camel@citrix.com>
On Wed, Apr 15, 2015 at 11:17:29AM +0100, Ian Campbell wrote:
> On Tue, 2015-04-14 at 10:37 +0100, Daniel P. Berrange wrote:
> > On Tue, Apr 14, 2015 at 10:33:45AM +0100, Ian Campbell wrote:
> > > On Tue, 2015-04-14 at 02:27 +0000, osstest service user wrote:
> > > > flight 50401 libvirt real [real]
> > > > http://logs.test-lab.xenproject.org/osstest/logs/50401/
> > > >
> > > > Regressions :-(
> > > >
> > > > Tests which did not succeed and are blocking,
> > > > including tests which could not be run:
> > > > build-armhf-libvirt 5 libvirt-build fail REGR. vs. 50368
> > > [...]
> > > Per
> > > http://logs.test-lab.xenproject.org/osstest/logs/50401/build-armhf-libvirt/5.ts-libvirt-build.log this is:
> > >
> > > qemu/qemu_driver.c: In function 'qemuDomainAddCgroupForThread':
> > > qemu/qemu_driver.c:4641:34: error: declaration of 'index' shadows a global declaration [-Werror=shadow]
> > > qemu/qemu_driver.c: In function 'qemuDomainHotplugAddPin':
> > > qemu/qemu_driver.c:4674:29: error: declaration of 'index' shadows a global declaration [-Werror=shadow]
> > > qemu/qemu_driver.c: In function 'qemuDomainHotplugPinThread':
> > > qemu/qemu_driver.c:4702:32: error: declaration of 'index' shadows a global declaration [-Werror=shadow]
> > > qemu/qemu_driver.c: In function 'qemuDomainDelCgroupForThread':
> > > qemu/qemu_driver.c:4733:34: error: declaration of 'index' shadows a global declaration [-Werror=shadow]
> > > cc1: all warnings being treated as errors
> > >
> > >
> > > This seems to be a general issue unrelated to Xen.
> > >
> > > > version targeted for testing:
> > > > libvirt b487bb810ec95df862e7e80468c8e861ed80b0cb
> > > > baseline version:
> > > > libvirt 225aa80246d5e4a9e3a16ebd4c482525045da3db
> > >
> > > After a quick glance I don't see a fix post-b487bb810ec9 either in
> > > master or on the libvirt list.
> > >
> > > Looking at the range under test it looks like one or more of John's
> > > changes is adding parameters called index, shadowing index(3) from
> > > <strings.h>.
> >
> > Yeah, we've had this problem several times before - we usually just
> > do a s/index/idx/ or similar to address it.
>
> I see this is now fixed in libvirt.git#master, thanks.
>
> However, I would just comment that contrary to the commit message, I
> don't think there is anything the Xen build has done which caused this,
> I think it's down to the LIBVIRT_COMPILE_WARNINGS macro which ends up
> enabling Wshadow if it was available on the system which ran autogen and
> on the compiling system.
>
> Our builds run on Debian Wheezy, which IIRC uses gcc 4.4 which isn't
> unusual...
Yeah, there is nothing Xen specific about the problem - it is entirely
down to the build toolchain & compiler options.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
next prev parent reply other threads:[~2015-04-15 13:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-14 2:27 [libvirt test] 50401: regressions - FAIL osstest service user
2015-04-14 9:33 ` [libvirt] [Xen-devel] " Ian Campbell
2015-04-14 9:37 ` Daniel P. Berrange
2015-04-15 10:17 ` [libvirt] " Ian Campbell
2015-04-15 13:16 ` Daniel P. Berrange [this message]
2015-04-17 9:58 ` [libvirt] [Xen-devel] " Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150415131653.GC29970@redhat.com \
--to=berrange@redhat.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=libvir-list@redhat.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.