Yes, I saw that patch, thank you !
Thanks, Fan -----Original Message----- From: Daniel P. Berrange [mailto:berra...@redhat.com] Sent: Monday, October 23, 2017 9:46 PM To: Chen, Farrah <farrah.c...@intel.com> Cc: Peter Maydell <peter.mayd...@linaro.org>; qemu-devel@nongnu.org; Hu, Robert <robert...@intel.com> Subject: Re: [Qemu-devel] qemu compile error On Mon, Oct 23, 2017 at 01:43:30PM +0000, Chen, Farrah wrote: > Thank you very much! > I removed "1>/dev/null 2>&1" in scripts/git-submodule.sh and found I > can't git clone git://git.qemu-project.org/dtc.git without tsocks. > I used Daniel's approach, created the wrapper script called 'git' that > runs 'exec tsocks /usr/bin/git "$@"', it succeeded. > Considering we still need to use bare 'git' to access our internal > repo, so, for the time being, I use tsocks to git clone > git://git.qemu-project.org/dtc.git and > git://git.qemu.org/keycodemapdb.git > first, then modified url in .gitmodules before compiling. It works. To avoid need to create the wrapper script, I copied you on a patch that would let you run ./configure --with-git="tsocks git" As a further alternative, I think it might also be possible to just run tsocks ./scripts/git-submodule.sh dtc ui/keycodemapdb immediately after configure, but before running make. 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 :|