{"action":"opened","issue":{"url":"https://api.github.com/repos/btcsuite/btcd/issues/1333","repository_url":"https://api.github.com/repos/btcsuite/btcd","labels_url":"https://api.github.com/repos/btcsuite/btcd/issues/1333/labels{/name}","comments_url":"https://api.github.com/repos/btcsuite/btcd/issues/1333/comments","events_url":"https://api.github.com/repos/btcsuite/btcd/issues/1333/events","html_url":"https://github.com/btcsuite/btcd/issues/1333","id":372412962,"node_id":"MDU6SXNzdWUzNzI0MTI5NjI=","number":1333,"title":"Failed to build forked repo","user":{"login":"lzl124631x","id":5824517,"node_id":"MDQ6VXNlcjU4MjQ1MTc=","avatar_url":"https://avatars3.githubusercontent.com/u/5824517?v=4","gravatar_id":"","url":"https://api.github.com/users/lzl124631x","html_url":"https://github.com/lzl124631x","followers_url":"https://api.github.com/users/lzl124631x/followers","following_url":"https://api.github.com/users/lzl124631x/following{/other_user}","gists_url":"https://api.github.com/users/lzl124631x/gists{/gist_id}","starred_url":"https://api.github.com/users/lzl124631x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzl124631x/subscriptions","organizations_url":"https://api.github.com/users/lzl124631x/orgs","repos_url":"https://api.github.com/users/lzl124631x/repos","events_url":"https://api.github.com/users/lzl124631x/events{/privacy}","received_events_url":"https://api.github.com/users/lzl124631x/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-22T07:00:02Z","updated_at":"2018-10-22T07:00:02Z","closed_at":null,"author_association":"NONE","body":"Note that I can run this original `btcd` project. However, I can't build my forked repo which is identical to this repo.\r\n\r\nI first tried `go get ./...`, but:\r\n```\r\nRichards-MacBook-Pro:btcd ricl$ go get ./...\r\ndatabase/ffldb/db.go:19:2: use of internal package not allowed\r\n```\r\n\r\nThen I tried to run `go install . ./cmd/...` but got these errors.\r\n\r\n```\r\nRichards-MacBook-Pro:btcd ricl$ go install . ./cmd/...\r\n# github.com/lzl124631x/btcd/cmd/addblock\r\ncmd/addblock/addblock.go:75:41: cannot use backendLogger.Logger(\"BCDB\") (type \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger) as type \"github.com/btcsuite/btclog\".Logger in argument to database.UseLogger:\r\n        \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger does not implement \"github.com/btcsuite/btclog\".Logger (wrong type for Level method)\r\n                have Level() \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Level\r\n                want Level() \"github.com/btcsuite/btclog\".Level\r\ncmd/addblock/addblock.go:76:43: cannot use backendLogger.Logger(\"CHAN\") (type \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger) as type \"github.com/btcsuite/btclog\".Logger in argument to blockchain.UseLogger:\r\n        \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger does not implement \"github.com/btcsuite/btclog\".Logger (wrong type for Level method)\r\n                have Level() \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Level\r\n                want Level() \"github.com/btcsuite/btclog\".Level\r\ncmd/addblock/addblock.go:77:41: cannot use backendLogger.Logger(\"INDX\") (type \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger) as type \"github.com/btcsuite/btclog\".Logger in argument to indexers.UseLogger:\r\n        \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger does not implement \"github.com/btcsuite/btclog\".Logger (wrong type for Level method)\r\n                have Level() \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Level\r\n                want Level() \"github.com/btcsuite/btclog\".Level\r\ncmd/addblock/import.go:132:53: cannot use block (type *\"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btcutil\".Block) as type *\"github.com/btcsuite/btcutil\".Block in argument to bi.chain.ProcessBlock\r\n# github.com/lzl124631x/btcd\r\n./log.go:76:19: cannot use amgrLog (type \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger) as type \"github.com/btcsuite/btclog\".Logger in argument to addrmgr.UseLogger:\r\n        \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger does not implement \"github.com/btcsuite/btclog\".Logger (wrong type for Level method)\r\n                have Level() \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Level\r\n                want Level() \"github.com/btcsuite/btclog\".Level\r\n./log.go:77:19: cannot use cmgrLog (type \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger) as type \"github.com/btcsuite/btclog\".Logger in argument to connmgr.UseLogger:\r\n        \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger does not implement \"github.com/btcsuite/btclog\".Logger (wrong type for Level method)\r\n                have Level() \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Level\r\n                want Level() \"github.com/btcsuite/btclog\".Level\r\n./log.go:78:20: cannot use bcdbLog (type \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger) as type \"github.com/btcsuite/btclog\".Logger in argument to database.UseLogger:\r\n        \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger does not implement \"github.com/btcsuite/btclog\".Logger (wrong type for Level method)\r\n                have Level() \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Level\r\n                want Level() \"github.com/btcsuite/btclog\".Level\r\n./log.go:79:22: cannot use chanLog (type \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger) as type \"github.com/btcsuite/btclog\".Logger in argument to blockchain.UseLogger:\r\n        \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger does not implement \"github.com/btcsuite/btclog\".Logger (wrong type for Level method)\r\n                have Level() \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Level\r\n                want Level() \"github.com/btcsuite/btclog\".Level\r\n./log.go:80:20: cannot use indxLog (type \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger) as type \"github.com/btcsuite/btclog\".Logger in argument to indexers.UseLogger:\r\n        \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger does not implement \"github.com/btcsuite/btclog\".Logger (wrong type for Level method)\r\n                have Level() \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Level\r\n                want Level() \"github.com/btcsuite/btclog\".Level\r\n./log.go:81:18: cannot use minrLog (type \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger) as type \"github.com/btcsuite/btclog\".Logger in argument to mining.UseLogger:\r\n        \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger does not implement \"github.com/btcsuite/btclog\".Logger (wrong type for Level method)\r\n                have Level() \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Level\r\n                want Level() \"github.com/btcsuite/btclog\".Level\r\n./log.go:82:20: cannot use minrLog (type \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger) as type \"github.com/btcsuite/btclog\".Logger in argument to cpuminer.UseLogger:\r\n        \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger does not implement \"github.com/btcsuite/btclog\".Logger (wrong type for Level method)\r\n                have Level() \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Level\r\n                want Level() \"github.com/btcsuite/btclog\".Level\r\n./log.go:83:16: cannot use peerLog (type \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger) as type \"github.com/btcsuite/btclog\".Logger in argument to peer.UseLogger:\r\n        \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger does not implement \"github.com/btcsuite/btclog\".Logger (wrong type for Level method)\r\n                have Level() \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Level\r\n                want Level() \"github.com/btcsuite/btclog\".Level\r\n./log.go:84:20: cannot use scrpLog (type \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger) as type \"github.com/btcsuite/btclog\".Logger in argument to txscript.UseLogger:\r\n        \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger does not implement \"github.com/btcsuite/btclog\".Logger (wrong type for Level method)\r\n                have Level() \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Level\r\n                want Level() \"github.com/btcsuite/btclog\".Level\r\n./log.go:85:19: cannot use syncLog (type \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger) as type \"github.com/btcsuite/btclog\".Logger in argument to netsync.UseLogger:\r\n        \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Logger does not implement \"github.com/btcsuite/btclog\".Logger (wrong type for Level method)\r\n                have Level() \"github.com/lzl124631x/btcd/vendor/github.com/btcsuite/btclog\".Level\r\n                want Level() \"github.com/btcsuite/btclog\".Level\r\n./log.go:85:19: too many errors\r\nRichards-MacBook-Pro:btcd ricl$\r\n```"}}
{"actor":{"display_login":"lzl124631x"}}