paloma
paloma copied to clipboard
bug: wasmd is stopping the release
What is happening?
Section description
Provide as much context as you can. Provide relevant software versions, screenshots, copy & paste error messages and so on. Give as much context as you can to make it easier for the developers to figure what is happening.When trying to do cross OS compilation, this error is returned:
╰─$ GOOS=darwin go build -a -o bla.out ./cmd/palomad 6ms
# github.com/CosmWasm/wasmvm/api
../../go/pkg/mod/github.com/!cosm!wasm/[email protected]/api/mocks.go:192:2: undefined: GasMeter
../../go/pkg/mod/github.com/!cosm!wasm/[email protected]/api/mocks.go:193:20: undefined: Gas
../../go/pkg/mod/github.com/!cosm!wasm/[email protected]/api/mocks.go:197:11: undefined: Gas
../../go/pkg/mod/github.com/!cosm!wasm/[email protected]/api/mocks.go:198:11: undefined: Gas
../../go/pkg/mod/github.com/!cosm!wasm/[email protected]/api/mocks.go:202:28: undefined: Gas
../../go/pkg/mod/github.com/!cosm!wasm/[email protected]/api/mocks.go:209:38: undefined: Gas
../../go/pkg/mod/github.com/!cosm!wasm/[email protected]/api/mocks.go:213:32: undefined: Gas
../../go/pkg/mod/github.com/!cosm!wasm/[email protected]/api/mocks.go:227:42: undefined: Gas
../../go/pkg/mod/github.com/!cosm!wasm/[email protected]/api/mocks.go:326:7: undefined: KVStore
../../go/pkg/mod/github.com/!cosm!wasm/[email protected]/api/mock_failure.go:15:27: undefined: GoAPI
../../go/pkg/mod/github.com/!cosm!wasm/[email protected]/api/mocks.go:326:7: too many errors
How to reproduce?
Section description
Please write detailed steps of what you were doing for this bug to appear.If you are on linux try compile it for darwin:
GOOS=darwin go build -o bla.out ./cmd/palomad
If you are on darwin (mac) compile it for linux:
GOOS=darwin go build -o bla.out ./cmd/palomad
What is the expected behaviour?
Section description
If you know, please write down what is the expected behaviour. If you don't know, that's ok. We can have a discussion in comments.It should hopefully do a cross OS build.
This was fixed but the issue is that we can only build the for the OS=linux. I'll leave this open and come back to this in near future once we figure out if we need this for other OSes or not.
@measure-fi has shared that we can get a wasmd binary for mac. What about windows?
This might help with this Please note https://github.com/CosmWasm/wasmvm#builds-of-libwasmvm . maybe interesting: https://github.com/CosmWasm/wasmd/pull/845
Passing on other OS demand for now. Closing until need comes again.