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

macOS: Remove version check in configure script #2871

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

bjorng
Copy link
Contributor

@bjorng bjorng commented Nov 17, 2020

There is a version check in one of the configure scripts that
tests the version of macOS to ensure that the executables that
are built can be run on the same computer that built them.

The reason for this test has been lost in the mists of time.
Presumably there was a good reason for the test when it was
first added.

Since the test recently has become more complicated because of the
introduction of macOS 11.0 and 11.0.1, and is incorrect for some
versions of macOS, remove it. If there turns out that the version test
would be useful, it can be added back later (but in a less buggy way,
preferably using awk instead of sed to make the version parsing
simpler and more accurate).

There is a version check in one of the configure scripts that
tests the version of macOS to ensure that the executables that
are built can be run on the same computer that built them.

The reason for this test has been lost in the mists of time.
Presumably there was a good reason for the test when it was
first added.

Since the test recently has become more complicated because of the
introduction of macOS 11.0 and 11.0.1, and is incorrect for some
versions of macOS, remove it. If there turns out that the version test
would be useful, it can be added back later (but in a less buggy way,
preferably using `awk` instead of `sed` to make the version parsing
simpler and more accurate).
@bjorng bjorng added team:VM Assigned to OTP team VM fix testing currently being tested, tag is used by OTP internal CI labels Nov 17, 2020
@bjorng bjorng self-assigned this Nov 17, 2020
@bjorng bjorng merged commit d827997 into erlang:maint Nov 19, 2020
@bjorng bjorng deleted the bjorn/remove-macos-version-check branch November 19, 2020 05:06
@andyduong1920
Copy link

👍

@andyduong1920
Copy link

Thank you for your works @bjorng 🎉 . Might I know when will the next release for this one @bjorng ?

@bjorng
Copy link
Contributor Author

bjorng commented Nov 19, 2020

@andyduong1920 It will be included OTP 23.2 in December.

@andyduong1920
Copy link

@andyduong1920 It will be included OTP 23.2 in December.

Is there any chance to have this fix is released sooner @bjorng, maybe 23.1.4 as MasOS (Big Sur) users can't install 23.1.3 and before that including me 😃

fhunleth added a commit to fhunleth/kerl that referenced this pull request Dec 10, 2020
This applies
erlang/otp@f1044ef
which currently exists in `master` to fix an error when configuring the
build on OSX Big Sur.

See erlang/otp#2871 for details.

Fixes kerl#346.

Tested with this configuration.

  - OSX 11.0.1
  - OTP 23.1.5
fhunleth added a commit to fhunleth/kerl that referenced this pull request Dec 10, 2020
This applies
erlang/otp@f1044ef
which currently exists in `master` to fix an error when configuring the
build on OSX Big Sur.

See erlang/otp#2871 for details.

Fixes kerl#346.

Tested with this configuration.

  - OSX 11.0.1
  - OTP 23.1.4 and 23.1.5
@gromgit
Copy link

gromgit commented Jan 14, 2021

Will this be backported to earlier versions, like 22.x? Homebrew helpers like me would like to know. Thanks much!

vladdu pushed a commit to vladdu/kerl that referenced this pull request Jan 26, 2021
This applies
erlang/otp@f1044ef
which currently exists in `master` to fix an error when configuring the
build on OSX Big Sur.

See erlang/otp#2871 for details.

Fixes kerl#346.

Tested with this configuration.

  - OSX 11.0.1
  - OTP 23.1.4 and 23.1.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants