Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

[goxc] Failing build for Darwin on Go 1.15.x #121

Open
weldpua2008 opened this issue Oct 10, 2020 · 0 comments
Open

[goxc] Failing build for Darwin on Go 1.15.x #121

weldpua2008 opened this issue Oct 10, 2020 · 0 comments

Comments

@weldpua2008
Copy link

weldpua2008 commented Oct 10, 2020

Hey there,

I am using the following command
goxc -tasks 'xc archive' -bc 'darwin linux' -d "$RELEASES_PATH" -resources-include 'README*' -build-ldflags="-X github.com/weldpua2008/supraworker/cmd.GitCommit=${TRAVIS_TAG} "

And with Go 1.15.x where they removed Darwin/386 I am getting:

$ goxc -tasks 'xc archive' -bc 'darwin linux' -d "$RELEASES_PATH" -resources-include 'README*' -build-ldflags="-X github.com/weldpua2008/supraworker/cmd.GitCommit=${TRAVIS_TAG} "
[goxc:xc] 2020/10/10 11:50:57 Parallelizing xc for 5 platforms, using max 1 of 2 processors
[goxc:xc] 2020/10/10 11:50:57 WARNING: LdFlagsXVars is nil. Not passing package version into compiler
cmd/go: unsupported GOOS/GOARCH pair darwin/386
[goxc:xc] 2020/10/10 11:50:57 'go' returned error: Wait error: exit status 2: cmd/go: unsupported GOOS/GOARCH pair darwin/386
[goxc:xc] 2020/10/10 11:50:57 Error: Wait error: exit status 2: cmd/go: unsupported GOOS/GOARCH pair darwin/386
[goxc:xc] 2020/10/10 11:50:57 Have you run `goxc -t` for this platform (386,darwin)???
[goxc:xc] 2020/10/10 11:50:57 WARNING: LdFlagsXVars is nil. Not passing package version into compiler
[goxc:xc] 2020/10/10 11:51:28 WARNING: LdFlagsXVars is nil. Not passing package version into compiler
[goxc:xc] 2020/10/10 11:51:58 WARNING: LdFlagsXVars is nil. Not passing package version into compiler
[goxc:xc] 2020/10/10 11:51:59 WARNING: LdFlagsXVars is nil. Not passing package version into compiler
[goxc:xc] 2020/10/10 11:52:29 Multiple errors (returning first one): [Wait error: exit status 2: cmd/go: unsupported GOOS/GOARCH pair darwin/386]
[goxc:xc] 2020/10/10 11:52:29 Stopping after 'xc' failed with error 'Wait error: exit status 2: cmd/go: unsupported GOOS/GOARCH pair darwin/386'
[goxc] 2020/10/10 11:52:29 RunTasks error: Wait error: exit status 2: cmd/go: unsupported GOOS/GOARCH pair darwin/386
The command "goxc -tasks 'xc archive' -bc 'darwin linux' -d "$RELEASES_PATH" -resources-include 'README*' -build-ldflags="-X github.com/weldpua2008/supraworker/cmd.GitCommit=${TRAVIS_TAG} "" failed and exited with 1 during .

the temporary solution was to use 1.14.x

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant