On 20 October 2017 at 13:13, Chen, Farrah <farrah.c...@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... 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.) thanks -- PMM