bfgminer icon indicating copy to clipboard operation
bfgminer copied to clipboard

Error during "./autogen" step of build on Linux: "fatal: unable to connect to git.ozlabs.org:"

Open amritabithi opened this issue 2 years ago • 3 comments

It seems that this respository for ccan-upstream is offline, here is my error below:

Cloning into '/home/bfgminer/ccan-upstream'...
fatal: unable to connect to git.ozlabs.org:
git.ozlabs.org[0: 150.107.74.76]: errno=Connection timed out
git.ozlabs.org[1: 2404:9400:2221:ea00::2]: errno=Network is unreachable

amritabithi avatar Aug 31 '22 12:08 amritabithi

I was able to build by changing the git:// URLs to https:// in the file /bfgminer/.git/config , I have pasted my version which is working for me below:

[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
[remote "origin"]
	url = https://github.com/luke-jr/bfgminer.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "bfgminer"]
	remote = origin
	merge = refs/heads/bfgminer
[submodule "ccan"]
	active = true
	url = https://git.ozlabs.org/~ccan/ccan
[submodule "knc-asic"]
	active = true
	url = https://github.com/KnCMiner/knc-asic
[submodule "libbase58"]
	active = true
	url = https://github.com/luke-jr/libbase58.git
[submodule "libblkmaker"]
	active = true
	url = https://github.com/bitcoin/libblkmaker.git

amritabithi avatar Oct 15 '22 12:10 amritabithi

I was able to build by changing the git:// URLs to https:// in the file /bfgminer/.git/config , I have pasted my version which is working for me below:

[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
[remote "origin"]
	url = https://github.com/luke-jr/bfgminer.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "bfgminer"]
	remote = origin
	merge = refs/heads/bfgminer
[submodule "ccan"]
	active = true
	url = https://git.ozlabs.org/~ccan/ccan
[submodule "knc-asic"]
	active = true
	url = https://github.com/KnCMiner/knc-asic
[submodule "libbase58"]
	active = true
	url = https://github.com/luke-jr/libbase58.git
[submodule "libblkmaker"]
	active = true
	url = https://github.com/bitcoin/libblkmaker.git

Also had this issue. This fixed it. Thank you!

JAG0991 avatar Feb 18 '23 15:02 JAG0991

Thank you, that also fixed it for me.

yhilgjff avatar Mar 17 '24 01:03 yhilgjff