Skip to content

Docker build fails on arm64 #9

Description

@mchaker

OS: Ubuntu 21.10 arm64

Attempted steps:

  • clone repo
  • enter/cd into repo
  • docker build -t mytag

I get the following failure:

# github.com/ethereum/go-ethereum/common/math
../../ethereum/go-ethereum/common/math/integer.go:84:21: undefined: bits.Sub64
../../ethereum/go-ethereum/common/math/integer.go:90:19: undefined: bits.Add64
../../ethereum/go-ethereum/common/math/integer.go:96:12: undefined: bits.Mul64
# github.com/ethereum/go-ethereum/rlp
../../ethereum/go-ethereum/rlp/encode.go:353:43: val.Field(fields[lastField].index).IsZero undefined (type reflect.Value has no field or method IsZero)
# github.com/ethereum/go-ethereum/params
../../ethereum/go-ethereum/params/config.go:60:36: syntax error: unexpected _150_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:61:36: syntax error: unexpected _920_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:63:36: syntax error: unexpected _463_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:65:36: syntax error: unexpected _675_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:66:36: syntax error: unexpected _675_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:67:36: syntax error: unexpected _370_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:68:36: syntax error: unexpected _280_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:69:36: syntax error: unexpected _280_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:70:36: syntax error: unexpected _069_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:71:36: syntax error: unexpected _200_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:71:36: too many errors
# github.com/ethereum/go-ethereum/rpc
../../ethereum/go-ethereum/rpc/http.go:179:14: undefined: http.NewRequestWithContext
../../ethereum/go-ethereum/rpc/http.go:188:25: hc.headers.Clone undefined (type http.Header has no field or method Clone)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions