Skip to content

Failed to make erigon #4

@StephenMal

Description

@StephenMal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions