-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Revert "atom: fix build on macOS 10.14" #2874
Conversation
The workaround introduced for macOS 10.14 is not necessary anymore as atom 1.31.2 builds fine on Mojave out of the box. Finding the upstream change that fixed this likely is not worth the effort since many nodejs packages are built during installation and we don't even know which one caused the issue in the first place. This reverts commit 08c7fb6.
Notifying maintainers: |
Alternatively we could also apply configure.*flags and macosx_deployment_target unconditionally as suggested by @ryandesign in 08c7fb6#r30826316. However it's not required anymore. |
I don't have Mojave so can't really comment on it. |
This change seems to have failed the CI system, btw. |
Merging this PR would cause the build to no longer use:
Don't we still want to use that?
MacPorts already sets the
It succeeded on Xcode 10 and Xcode 9. It failed on Xcode 8 because coreutils could not be extracted because xz was not in the path; see ticket 57457. It failed on Xcode 7 because the github.com SSL certificate allegedly could not be verified. |
Travis leaves a lot to be desired, and the lack of a really reliable CI system makes it harder to maintain MacPorts. Having our own might be a good thing someday. |
That's to decide. I added it at that time since it felt bad to override CFLAGS without applying the macports defaults.
To be honest: I don't know what node does. It seems to me like nearly every node module itself specifies the build flags again (i.e., target version and/or c++ standard library to use). My guess is that one of atom's dependencies now raised the version or added the flag to use libc++ and atom in version 1.32 updated to that. Originally I thought node itself applies a default (as suggested by https://github.com/nodejs/node/blob/master/common.gypi#L464 and nodejs/node-gyp#469) but I couldn't find that common.gypi in our installation. If it does, we should probably fix at right there. |
This PR is getting rather old. What do we need to do in order to resolve it? |
For me it would be fine to just close it. The additional code in the portfile does not hurt anybody. The main reason for this PR was just to simplify the portfile since the workaround is not required anymore. |
Okay, please do submit a PR to update at some point soon then, and if you want to re-open this PR we can also do that. |
Description
The workaround introduced for macOS 10.14 is not necessary anymore as atom 1.31.2 builds fine on Mojave out of the box.
Finding the upstream change that fixed this likely is not worth the effort since many nodejs packages are built during installation and we don't even know which one caused the issue in the first place.
This reverts commit 08c7fb6.
Type(s)
Tested on
macOS 10.14 18A391
Xcode 10.0 10A255
Verification
Have you
port lint
?sudo port -vst install
? (I did only without -t)