You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build dump_keys as the binary is no longer available (and would also need it for arm64: raspiblitz/raspiblitz#2897):
git clone https://github.com/rsbondi/clightning-go-plugin
cd clightning-go-plugin
go mod init dump_keys
go mod tidy
but fails with:
go: found github.com/mattn/go-sqlite3 in github.com/mattn/go-sqlite3 v1.14.11
go: dump_keys/dump_keys imports
github.com/btcsuite/btcd/chaincfg: github.com/btcsuite/[email protected]: parsing go.mod:
module declares its path as: github.com/gcash/bchd
but was required as: github.com/btcsuite/btcd
$ go build ./.. ./dump_keys
dump_keys/dump_keys.go:9:2: no required module provides package github.com/btcsuite/btcd/chaincfg; to add it:
go get github.com/btcsuite/btcd/chaincfg
dump_keys/dump_keys.go:10:2: no required module provides package github.com/btcsuite/btcutil/hdkeychain; to add it:
go get github.com/btcsuite/btcutil/hdkeychain
dump_keys/dump_keys.go:11:2: no required module provides package github.com/niftynei/glightning/glightning; to add it:
go get github.com/niftynei/glightning/glightning
dump_keys/dump_keys.go:12:2: no required module provides package github.com/niftynei/glightning/jrpc2; to add it:
go get github.com/niftynei/glightning/jrpc2
dump_keys/dump_keys.go:13:2: no required module provides package golang.org/x/crypto/hkdf; to add it:
go get golang.org/x/crypto/hkdf
$ go get github.com/btcsuite/btcd/chaincfg
go get: github.com/btcsuite/[email protected]: parsing go.mod:
module declares its path as: github.com/gcash/bchd
but was required as: github.com/btcsuite/btcd
You might consider making a go.mod (either in dump_keys or at the root of the repo), and use require github.com/btcsuite/btcd v0.22.0-beta to specify the right version.
Note that very soon you'll need to update your btcutil import from github.com/btcsuite/btcutil to github.com/btcsuite/btcd/btcutil. Both of those have their own module and would need require statements as well if you decide to start using modules to pin your deps.
Trying to build
dump_keys
as the binary is no longer available (and would also need it for arm64: raspiblitz/raspiblitz#2897):but fails with:
Likely related to: btcsuite/btcd#1791
Is there an acceptable way around until it is fixed?
The text was updated successfully, but these errors were encountered: