From: "Daniel P. Berrange" <berrange@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Chen, Farrah" <farrah.chen@intel.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"Hu, Robert" <robert.hu@intel.com>
Subject: Re: [Qemu-devel] qemu compile error
Date: Fri, 20 Oct 2017 13:45:01 +0100 [thread overview]
Message-ID: <20171020124501.GL21172@redhat.com> (raw)
In-Reply-To: <CAFEAcA81-ht6tTc-nwiios3pjnWjNC49gZp8RQAOdNntM3tkUw@mail.gmail.com>
On Fri, Oct 20, 2017 at 01:41:59PM +0100, Peter Maydell wrote:
> On 20 October 2017 at 13:13, Chen, Farrah <farrah.chen@intel.com> wrote:
> > Hi,
> >
> > When I build qemu with commit from aef45d51d1204f3335fb99de6658e0c5612c2b67 to the latest one, the following error occurred:
> >
> > tsocks git clone git://git.qemu.org/qemu.git
> > cd qemu
> >
> > ./configure --target-list=x86_64-softmmu --enable-kvm --enable-vnc --disable-gtk --enable-libusb --enable-numa --disable-sdl
> > make
> > GEN config-host.h
> > GIT dtc
> > GEN trace/generated-tcg-tracers.h
> > GEN trace/generated-helpers-wrappers.h
> > GEN trace/generated-helpers.h
> > GEN module_block.h
> > GEN trace/generated-helpers.c
> > make: *** [git-submodule-update] Error 1
>
> Dan -- I thought we were going to not have the git-submodule.sh
> script throw away the errors from git, but the version in
> master still seems to do that...
Urgh, yes, we did fix that, but it seems it got lost in one of the
rebases somewhere along the way. I'll send a patch to fix it.
> (The fact you needed to say 'tsocks git clone...' on your
> original command suggests to me that the problem is that
> plain 'git submodule update' can't access the git repo.)
Yep, creating the wrapper script called 'git' that runs
'exec tsocks /usr/bin/git "$@"' is the way to deal with this for
QEMU, and indeed any project using git.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2017-10-20 12:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-20 12:13 [Qemu-devel] qemu compile error Chen, Farrah
2017-10-20 12:41 ` Daniel P. Berrange
2017-10-20 12:41 ` Peter Maydell
2017-10-20 12:45 ` Daniel P. Berrange [this message]
2017-10-20 14:42 ` Eric Blake
2017-10-23 13:43 ` Chen, Farrah
2017-10-23 13:46 ` Daniel P. Berrange
2017-10-24 2:17 ` Chen, Farrah
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=20171020124501.GL21172@redhat.com \
--to=berrange@redhat.com \
--cc=farrah.chen@intel.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=robert.hu@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).