-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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 libSystem and other libraries haven't been updated since macOS Sierra #86299
Comments
Ok, found maintainers - @copumpkin @gridaphobe |
We are intentionally behind on the base system libraries so that systems not on Catalina still work. This is the equivalent of setting MACOSX_DEPLOYMENT_TARGET=10.12 in XCode. I would consider this partly a bug in Zig or other software - they should be able to provide a fallback if futimens or other symbols don't exist. We might be able to update libSystem to macOS High Sierra (10.13), though. It's possible that futimens is included there. It looks like only about 5% of users are still on macOS Sierra: https://gs.statcounter.com/macos-version-market-share/desktop/worldwide |
I just ran into this too—upgrading libSystem to High Sierra would seem to fix this. |
Almost a year later it looks like the share of macos sierra dropped to 3.5%, Can we consider an upgrade? |
2.71% now |
From what I gathered from different places, I don't think anybody is against upgrading, the problem is making the actual upgrade. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
Is there a way to workaround this locally for the |
@arximboldi I think you're having a different issue, open a new one. |
@Atemu, I think I mean this one. I am developing some software for Linux and Mac where I am using Nix to create the development environment. I am bringing the compiler and MacOS frameworks via the nix shell (I use I think that this is caused by this issue. Plus the fact that somehow the CC wrapper is adding |
If it could be done with overrides, it'd be done upstream instead. The problem is actually packaging the newer versions which you'd have to do with overrides aswell and that's extremely hard. |
If you run |
Closed by #346043 |
Describe the bug
libSystem
used to build packages is highly outdated.To Reproduce
Build any package that is trying to call
futimens
function on macOS, for example Zig 0.6.Expected behavior
Such package should build.
Additional context
Apple published code for libraries for macOS up to 10.15.1 - https://opensource.apple.com
Notify maintainers
There is no
meta.maintainers
but @volth was last one that touched that file.Metadata
"x86_64-darwin"
Darwin 18.7.0, macOS 10.14.6
no
no
nix-env (Nix) 2.3.4
"darwin, nixpkgs-20.09pre221814.10100a97c89"
/Users/hauleth/.nix-defexpr/channels/nixpkgs
The text was updated successfully, but these errors were encountered: