Ondřej Kupka

Results 44 comments of Ondřej Kupka

Hmm, works locally, I will close this before I can prove it's not just CircleCI env setup error...

Yeah, something weird. When I do everything locally and try the cross-compiled executable, it works. When I SSH into a CircleCI container and do the same thing manually, I get...

Thanks for the hints. What is weird for me is that it has always been working just fine, it just broke for some reason recently. I did refactor the build...

Well, the good part is that I changed the scripts to work locally as well and the executables are broken even when run locally, so the scripts are simply wrong...

Actually I am getting the same error locally when using the commands as in README examples, i.e. ``` bash $ go get -u github.com/mitchellh/gox $ $ cd /your/project $ gonative...

Actually it doesn't work even when I use system Go 1.5.2 like ``` gox -osarch=darwin/amd64 ``` It starts working when I add `-cgo`...

Seems like a `gox` issue to me, somehow...

I basically don't understand why the following command rebuilds the standard library... ``` bash $ GOROOT_BOOTSTRAP="..." gonative build --platforms 'darwin_amd64 linux_amd64 windows_amd64' ... $ PATH="`pwd`/go/bin:$PATH" GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build...

Yeah, confirmed that the same thing totally works when using `--version 1.4.3` with `gonative`. Forwarded to golang-nuts mailing list...

Dunno. I actually asked on the mailing list, but no one replied. I ended up downgrading to Go 1.4.3 actually...