{"action":"created","issue":{"url":"https://api.github.com/repos/luke-jr/bfgminer/issues/608","labels_url":"https://api.github.com/repos/luke-jr/bfgminer/issues/608/labels{/name}","comments_url":"https://api.github.com/repos/luke-jr/bfgminer/issues/608/comments","events_url":"https://api.github.com/repos/luke-jr/bfgminer/issues/608/events","html_url":"https://github.com/luke-jr/bfgminer/issues/608","id":60917079,"number":608,"title":"autogen.sh fails cloning libblkmaker","user":{"login":"wilson0x4d","id":3208827,"avatar_url":"https://avatars.githubusercontent.com/u/3208827?v=3","gravatar_id":"","url":"https://api.github.com/users/wilson0x4d","html_url":"https://github.com/wilson0x4d","followers_url":"https://api.github.com/users/wilson0x4d/followers","following_url":"https://api.github.com/users/wilson0x4d/following{/other_user}","gists_url":"https://api.github.com/users/wilson0x4d/gists{/gist_id}","starred_url":"https://api.github.com/users/wilson0x4d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilson0x4d/subscriptions","organizations_url":"https://api.github.com/users/wilson0x4d/orgs","repos_url":"https://api.github.com/users/wilson0x4d/repos","events_url":"https://api.github.com/users/wilson0x4d/events{/privacy}","received_events_url":"https://api.github.com/users/wilson0x4d/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-12T22:06:18Z","updated_at":"2015-03-23T04:15:07Z","closed_at":"2015-03-23T04:15:07Z","body":"I have tried this on three different machines now (x86 and ARM architectures) and get the same result.\r\n\r\nIt appears the remote for 'libblkmaker' refers to gitorious using the git: protocol (rather than HTTPS) and it may be that gitorious is fialing to authorize anonymous users. If I manually clone from the command-line I can only clone if I use 'HTTPS'.\r\n\r\nThis appears to work around the issue, but I wind up having to do this every time I clone bfgminer for build. Would be nice if the origin configured in the repo could be corrected so it works for the widest audience.\r\n\r\nThanks. \r\n\r\nHere are my commands and the output:\r\n```\r\nroot@buildsrv ~ $ rm -rf bfgminer\r\nroot@buildsrv ~ $ git clone https://github.com/luke-jr/bfgminer.git\r\nCloning into 'bfgminer'...\r\nremote: Counting objects: 46656, done.\r\nremote: Compressing objects: 100% (6/6), done.\r\nremote: Total 46656 (delta 2), reused 0 (delta 0), pack-reused 46650\r\nReceiving objects: 100% (46656/46656), 36.48 MiB | 712 KiB/s, done.\r\nResolving deltas: 100% (29723/29723), done.\r\nroot@buildsrv ~ $ cd bfgminer\r\nroot@buildsrv ~/bfgminer $ ./autogen.sh\r\nGetting submodules...\r\nSubmodule 'ccan' (git://git.ozlabs.org/~ccan/ccan) registered for path 'ccan-upstream'\r\nSubmodule 'knc-asic' (git://github.com/KnCMiner/knc-asic) registered for path 'knc-asic'\r\nSubmodule 'libbase58' (git://github.com/luke-jr/libbase58.git) registered for path 'libbase58'\r\nSubmodule 'libblkmaker' (git://gitorious.org/bitcoin/libblkmaker.git) registered for path 'libblkmaker'\r\nCloning into 'ccan-upstream'...\r\nremote: Counting objects: 16804, done.\r\nremote: Compressing objects: 100% (5225/5225), done.\r\nremote: Total 16804 (delta 12183), reused 15554 (delta 11341)\r\nReceiving objects: 100% (16804/16804), 12.74 MiB | 1.16 MiB/s, done.\r\nResolving deltas: 100% (12183/12183), done.\r\nSubmodule path 'ccan-upstream': checked out '8b0bdb090e2882aa431e89f4bc7aa4736e9e2838'\r\nCloning into 'knc-asic'...\r\nremote: Counting objects: 898, done.\r\nremote: Total 898 (delta 0), reused 0 (delta 0), pack-reused 898\r\nReceiving objects: 100% (898/898), 2.76 MiB | 1.53 MiB/s, done.\r\nResolving deltas: 100% (586/586), done.\r\nSubmodule path 'knc-asic': checked out 'e75c9ba362466546a83f1e705b62510a0e0afc6c'\r\nCloning into 'libbase58'...\r\nremote: Counting objects: 167, done.\r\nremote: Total 167 (delta 0), reused 0 (delta 0), pack-reused 167\r\nReceiving objects: 100% (167/167), 29.15 KiB, done.\r\nResolving deltas: 100% (95/95), done.\r\nSubmodule path 'libbase58': checked out 'b6adca8ebb12962374a9cd1f6b543186f0cf6a40'\r\nCloning into 'libblkmaker'...\r\nfatal: The remote end hung up unexpectedly\r\nClone of 'git://gitorious.org/bitcoin/libblkmaker.git' into submodule path 'libblkmaker' failed\r\n```\r\n\r\nAnd to highlight the problem/fix:\r\n```\r\nroot@buildsrv ~/bfgminer $ git clone git://gitorious.org/bitcoin/libblkmaker.git\r\nCloning into 'libblkmaker'...\r\nfatal: The remote end hung up unexpectedly\r\nroot@buildsrv ~/bfgminer $ git clone https://gitorious.org/bitcoin/libblkmaker.git\r\nCloning into 'libblkmaker'...\r\nremote: Counting objects: 687, done.\r\nremote: Compressing objects: 100% (683/683), done.\r\nremote: Total 687 (delta 427), reused 0 (delta 0)\r\nReceiving objects: 100% (687/687), 136.03 KiB | 119 KiB/s, done.\r\nResolving deltas: 100% (427/427), done.\r\nroot@buildsrv ~ $ git --version\r\ngit version 1.7.10.4\r\nroot@buildsrv ~ $ uname -a\r\nLinux buildsrv 3.12.35+ #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 armv6l GNU/Linux\r\n```\r\n\r\nI'm waiting for the build to complete at this point, but it looks to be working."},"comment":{"url":"https://api.github.com/repos/luke-jr/bfgminer/issues/comments/84790739","html_url":"https://github.com/luke-jr/bfgminer/issues/608#issuecomment-84790739","issue_url":"https://api.github.com/repos/luke-jr/bfgminer/issues/608","id":84790739,"user":{"login":"luke-jr","id":1095675,"avatar_url":"https://avatars.githubusercontent.com/u/1095675?v=3","gravatar_id":"","url":"https://api.github.com/users/luke-jr","html_url":"https://github.com/luke-jr","followers_url":"https://api.github.com/users/luke-jr/followers","following_url":"https://api.github.com/users/luke-jr/following{/other_user}","gists_url":"https://api.github.com/users/luke-jr/gists{/gist_id}","starred_url":"https://api.github.com/users/luke-jr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luke-jr/subscriptions","organizations_url":"https://api.github.com/users/luke-jr/orgs","repos_url":"https://api.github.com/users/luke-jr/repos","events_url":"https://api.github.com/users/luke-jr/events{/privacy}","received_events_url":"https://api.github.com/users/luke-jr/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T04:15:07Z","updated_at":"2015-03-23T04:15:07Z","body":"Actually, the git protocol only supports reading... writing/push generally is done over https or ssh. Gitorious is closing, so the submodule now uses GitHub."}}