Closed gojimmypi closed 5 years ago
See also https://github.com/riscv/riscv-qemu/issues/189
These three settings may be helpful, for instance when building the @tinyfpga picosoc with a firewall that blocks git://
ports:
git config --global url.https://git.qemu.org/git/.insteadOf git://git.qemu-project.org/
git config --global url.https://anongit.freedesktop.org/git/.insteadOf git://anongit.freedesktop.org/
git config --global url.https://github.com/riscv.insteadOf git://github.com/riscv
Note settings can be undone like this:
git config --global --unset url.https://github.com/.insteadOf
I have some additional details on my blog here regarding RISC-V on the TinyFPGA in WSL.
Looks like this submodule isn't really needed by the build anyways, so I simply removed it now.
After getting this "connection refused" error 3 consecutive times when doing a
sudo make -j$(nproc) build-tools
in exactly the same place:I found this similar issue from years ago and sure enough, this resolved it for me:
git config --global url.https://github.com/.insteadOf git://github.com/
(Thanks @saftacatalinmihai)
I have no idea why it only fails on the 'riscv-qemu' - I've actually never before encountered this GitHub error.
Not sure if it is worthwhile or desired to update the Makefile (to not use
git://
) to ensure this problem is never encountered by others?