From: Eric Blake <eblake@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
"Chen, Farrah" <farrah.chen@intel.com>
Cc: "Hu, Robert" <robert.hu@intel.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] qemu compile error
Date: Fri, 20 Oct 2017 09:42:25 -0500 [thread overview]
Message-ID: <df45c8eb-320b-8a5b-fd96-4645a436c9d0@redhat.com> (raw)
In-Reply-To: <CAFEAcA81-ht6tTc-nwiios3pjnWjNC49gZp8RQAOdNntM3tkUw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1355 bytes --]
On 10/20/2017 07:41 AM, Peter Maydell wrote:
> Fan: this happens because we tried to run a 'git submodule'
> command and it failed. If you edit scripts/git-submodule.sh
> to remove the "1>/dev/null 2>&1" part of the 'git submodule
> update' command line then rerun make it should print the
> error messages from git which will tell you what the
> problem is.
>
> (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.)
It is also possible to use 'git config' to set up rewrite rules; if you
can't use git to access a git:// repo, but CAN use it to access an
http[s]:// repo, then setting up:
[url "http://server-of-http-clone/..."]
insteadof = git://git.qemu-project.org/
I haven't personally tried it for git (it's been a while since I've been
a machine where I had to use rewriting rules to get past inability to
access git://), but have used the trick in other projects in the past.
I'm also fairly certain we have at least a github clone of all qemu
projects involved in qemu submodules, so that you can rewrite all of
your URLs to point to the github http:// service.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 619 bytes --]
next prev parent reply other threads:[~2017-10-20 14:42 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
2017-10-20 14:42 ` Eric Blake [this message]
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=df45c8eb-320b-8a5b-fd96-4645a436c9d0@redhat.com \
--to=eblake@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).