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
signature.asc
Description: OpenPGP digital signature