Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in setup node #79

Closed
oggy95 opened this issue Mar 18, 2020 · 5 comments
Closed

Error in setup node #79

oggy95 opened this issue Mar 18, 2020 · 5 comments

Comments

@oggy95
Copy link

oggy95 commented Mar 18, 2020

Ubuntu 16.04
go version go1.12.1 linux/amd64

When trying to build a node on the master branch, there is an error:

make install
...
go: extracting github.com/btcsuite/btcd v0.0.0-20190523000118-16327141da8c
go: extracting github.com/herumi/bls-eth-go-binary v0.0.0-20200107021104-147ed25f233e
go: extracting golang.org/x/text v0.3.0
# github.com/herumi/bls-eth-go-binary/bls
/root/go/pkg/mod/github.com/herumi/[email protected]/bls/bls.go:718:153: cannot use _cgo2 (type *[40]_Ctype_uchar) as type unsafe.Pointer in argument to _Cfunc_blsVerifyAggregatedHashWithDomain
Makefile:22: recipe for target 'release' failed
make: *** [release] Error 2

When trying on v1.2.0 tag:

make install
...
go: finding google.golang.org/api v0.0.0-20181021000519-a2651947f503
go: error loading module requirements
Makefile:17: recipe for target 'install' failed
make: *** [install] Error 1

On release branch:

make install
...
go: extracting github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c
go: extracting github.com/yuin/gopher-lua v0.0.0-20180827083657-b942cacc89fe
go: extracting github.com/golang/protobuf v1.2.0
go: extracting golang.org/x/text v0.3.0
build github.com/thetatoken/theta/cmd/theta: cannot load github.com/thetatoken/theta/rpc/lib/rpc-codec/jsonrpc2: cannot find module providing package github.com/thetatoken/theta/rpc/lib/rpc-codec/jsonrpc2
Makefile:17: recipe for target 'install' failed
make: *** [install] Error 1
@jieyilong
Copy link
Member

Thanks for reporting the issue. Please try Ubuntu 18.04.4 LTS or higher versions. To compile the master branch, please set the GO111MODULE environment variable with export GO111MODULE=on

@oggy95
Copy link
Author

oggy95 commented Mar 18, 2020

Yep, successfully installed on ubuntu 18.04.
But after starting the node, it shows:

[2020-03-18 19:55:17]  WARN [p2pl] Failed to retrieve previously persisted peers
[2020-03-18 19:56:17]  WARN [p2pl] Failed to retrieve previously persisted peers
[2020-03-18 19:57:17]  WARN [p2pl] Failed to retrieve previously persisted peers
[2020-03-18 19:58:17]  WARN [p2pl] Failed to retrieve previously persisted peers

Is there are some theta mainnet nodes to connect and start sync?

@metacodebean
Copy link

[2020-03-18 19:55:17] WARN [p2pl] Failed to retrieve previously persisted peers

@metacodebean
Copy link

I encountered the same problem
[2020-03-18 19:55:17] WARN [p2pl] Failed to retrieve previously persisted peers

@oggy95
Copy link
Author

oggy95 commented Jun 5, 2020

all good, node start and synced

@oggy95 oggy95 closed this as completed Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants