-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
qt514.qtbase build broken on darwin #95199
Comments
The few lines before that seem informative:
The |
I expect we could keep darwin default at 5.12 for now. We even still have an outdated comment about an earlier case # TODO bump to 5.12 on darwin once it's not broken |
|
@matthewbauer is the only person who's been steering the Apple SDK in nixpkgs ship for a while now, so I think it would be good to let him weigh in on whether or not we hold Qt back on darwin or push to update the SDK. I do not understand how the darwin bootstrapping works well enough to help with an SDK update. |
I've done some digging here to see if I can help get the channel unblocked. Unfortunately I don't have a Darwin system available, so I cant write/test a patch for this. First thing to note is that it looks like you can define the platform SDK version you want to build against according to the docs here. This may allow us to set the platform SDK version without breaking a bunch of other builds by trying to upgrade the platform SDK version. Digging through the logs, right before erroring out it seems that there are two things that blow up:
Specifically, the nixpkgs/pkgs/development/libraries/qt-5/5.14/qtbase.patch.d/0001-qtbase-mkspecs-mac.patch Lines 342 to 346 in f9d53e7
Where its defined here. I don't know the history here, so this may be a non-issue, but something to look at. The other thing of note in the logs is the line |
... until issue NixOS#95199 is fixed.
I had a go at fixing this, but they actually use SDKs that were added in 10.13. For example:
http://codeworkshop.net/objc-diff/sdkdiffs/macos/10.13/Metal.html For the curious eqyiel@50c2b5f |
I ran into this issue today when trying to compile |
For reference:
|
This fixes Qt 5.14 and Qt 5.15 builds NixOS#95199
@prusnak any updates on this? |
We need to update macOS SDK to 10.14+ first. |
Example log: https://hydra.nixos.org/build/125099625
On master this started to fail in the moment of update: #84232 – but it was merged at once with other staging changes, so I'm not 100% sure that MR was what triggered the failure. This blocks the
nixpkgs-unstable
channel.The text was updated successfully, but these errors were encountered: