gethexporter icon indicating copy to clipboard operation
gethexporter copied to clipboard

Docker build fails on arm64

Open mchaker opened this issue 3 years ago • 0 comments

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)

mchaker avatar Feb 23 '22 12:02 mchaker