Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ship 0.36.0 #37925

Closed
wants to merge 5 commits into from
Closed

ship 0.36.0 #37925

wants to merge 5 commits into from

Conversation

laverya
Copy link
Contributor

@laverya laverya commented Mar 14, 2019

Created with brew bump-formula-pr.

@laverya laverya mentioned this pull request Mar 14, 2019
@SMillerDev
Copy link
Member

@BrewTestBot test this please

@laverya
Copy link
Contributor Author

laverya commented Mar 18, 2019

I'm going to add go version and go env to the bottle temporarily so I can submit a bug report to Golang for this:

/usr/local/Cellar/go/1.12/libexec/pkg/tool/darwin_amd64/link: running dsymutil failed: signal: segmentation fault

@laverya
Copy link
Contributor Author

laverya commented Mar 18, 2019

@BrewTestBot test this please

@laverya
Copy link
Contributor Author

laverya commented Mar 18, 2019

A golang issue has been opened for this compilation segfault: golang/go#30908

this avoids issues building on with 1.12 on Sierra
@laverya
Copy link
Contributor Author

laverya commented Mar 18, 2019

Once #38018 is merged I'll update this to depend on go@1.11 - obviously building with the latest golang release would be preferable but that's not really possible until that dsymutil segfault is fixed

Edit: It's probably better to just require High Sierra for now

@@ -15,6 +15,8 @@ class Ship < Formula
depends_on "node" => :build
depends_on "yarn" => :build

depends_on :macos => :high_sierra # Ship fails to build with Golang 1.12 on Sierra
Copy link
Member

@fxcoudert fxcoudert Mar 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Easier but wrong :(
Unless it is explicitly not supported by upstream

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I maintain the upstream, can I say it's not supported?

In all seriousness, there seems to be a compiler bug causing failures with Go 1.12 and MacOS Sierra. I could have builds depend on old versions of Golang, but that has other issues, and it feels wrong to degrade performance on the most commonly used platforms in order to help the least commonly used.

Unless there's a way to conditionally add build dependencies based on the OS?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fxcoudert would you prefer for me to just require Go 1.10 until the compiler issue is fixed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to merge as-is, please try in the next release to remove this requirement :)

Copy link
Contributor Author

@laverya laverya Mar 20, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure the compiler issue will be fixed by then (in fact, I'm sure it won't since I just opened a PR for the next release) but I'll remove the requirement as soon as I can!

@fxcoudert fxcoudert closed this in 3670143 Mar 20, 2019
@laverya laverya deleted the ship-0.36.0 branch March 21, 2019 01:49
@lock lock bot added the outdated PR was locked due to age label Apr 20, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Apr 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants