This repository was archived by the owner on Apr 30, 2024. It is now read-only.
Description Cross compiling from amd64 to arm64 using --platform=$BUILDPLATFORM and RUN env GOOS=$TARGETOS GOARCH=$TARGETARCH make build no longer works
> [linux/amd64->arm64 build-env 7/7] RUN env GOOS=linux GOARCH=arm64 LEDGER_ENABLED=false make build:
Error: #30 148.2 /go/pkg/mod/gopkg.in/olebedev/[email protected] /dbgsockettransport.go:34:15: undefined: DebugDetachedFunc
Error: #30 148.2 /go/pkg/mod/gopkg.in/olebedev/[email protected] /timers.go:11:10: undefined: Context
Error: #30 148.2 /go/pkg/mod/gopkg.in/olebedev/[email protected] /timers.go:30:10: undefined: Context
Error: #30 148.2 /go/pkg/mod/gopkg.in/olebedev/[email protected] /timers.go:37:20: undefined: Context
Error: #30 148.2 /go/pkg/mod/gopkg.in/olebedev/[email protected] /timers.go:63:22: undefined: Context
Error: #30 148.2 /go/pkg/mod/gopkg.in/olebedev/[email protected] /timers.go:63:22: too many errors
#30 155.0 # github.com/tharsis/ethermint/app/ante
Error: #30 155.0 app/ante/eip712.go:238:26: undefined: secp256k1.RecoverPubkey
Error: #30 155.0 app/ante/eip712.go:264:7: undefined: secp256k1.VerifySignature
#30 196.5 make: *** [Makefile:116: build] Error 2
It last worked here https://github.com/celestiaorg/ethermint/blob/ab54a13d66688401393db06913e283842f952b99/docker/Dockerfile