0xPolygonZero / erigon

Ethereum implementation on the efficiency frontier
GNU Lesser General Public License v3.0
0 stars 4 forks source link

Failed to `make erigon` #4

Open StephenMal opened 4 months ago

StephenMal commented 4 months ago

System information

Erigon version: N/A (feat/zero

OS & Version: Linux Pop Os

Commit hash: f0efcac

Erigon Command (with flags/config): N/A

Concensus Layer: N/A

Concensus Layer Command (with flags/config): N/A

Chain/Network: N/A

Expected behaviour

Make

Actual behaviour

Runs into several errors

Steps to reproduce the behaviour

Clone the feat/zero branch, run make erigon

Backtrace

fatal: No names found, cannot describe anything.
Building erigon
# github.com/quic-go/quic-go/internal/qtls
/home/stphn/go/pkg/mod/github.com/quic-go/quic-go@v0.33.0/internal/qtls/go121.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.21 yet. For more details, please see https://github.com/quic-go/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.21 yet. F...) as int value in variable declaration
# github.com/anacrolix/go-libutp
/home/stphn/go/pkg/mod/github.com/anacrolix/go-libutp@v1.3.0/callbacks.go:18:10: cannot define new methods on non-local type *C.utp_callback_arguments
/home/stphn/go/pkg/mod/github.com/anacrolix/go-libutp@v1.3.0/callbacks.go:26:10: cannot define new methods on non-local type *C.utp_callback_arguments
/home/stphn/go/pkg/mod/github.com/anacrolix/go-libutp@v1.3.0/callbacks.go:30:10: cannot define new methods on non-local type *C.utp_callback_arguments
/home/stphn/go/pkg/mod/github.com/anacrolix/go-libutp@v1.3.0/callbacks.go:34:10: cannot define new methods on non-local type *C.utp_callback_arguments
/home/stphn/go/pkg/mod/github.com/anacrolix/go-libutp@v1.3.0/callbacks.go:38:10: cannot define new methods on non-local type *C.utp_callback_arguments
/home/stphn/go/pkg/mod/github.com/anacrolix/go-libutp@v1.3.0/utp.go:29:12: cannot define new methods on non-local type *C.utp_context
/home/stphn/go/pkg/mod/github.com/anacrolix/go-libutp@v1.3.0/utp.go:40:12: cannot define new methods on non-local type *C.utp_context
make: *** [Makefile:97: erigon.cmd] Error 1
cffls commented 3 months ago

Sorry about the delayed response. What version of go are you using?