qt5: build with Apple SDK 11.0, drop awful patches#181862
qt5: build with Apple SDK 11.0, drop awful patches#181862K900 wants to merge 2 commits intoNixOS:staging-nextfrom
Conversation
|
@ofborg build libsForQt5.qtbase libsForQt5.qtwidgets |
|
https://github.com/ofborg build libsForQt515.qtbase |
|
@ofborg build libsForQt515.qtbase |
|
https://github.com/ofborg build libsForQt515.qtbase |
|
@ofborg libsForQt515.qtbase |
|
@ofborg build libsForQt515.qtbase |
There was a problem hiding this comment.
Removing this one can't be right.
There was a problem hiding this comment.
We don't want to use impure XCode or Command Line Tools that provide xcodebuild (plus, those are not installed on Hydra and many users won't have them). Hence these patches are needed to fix the build system that is otherwise nailed to the Apple tools.
There was a problem hiding this comment.
I'm pretty sure QMAKE_MAC_SDK_VERSION should be set here though? This block will only be entered if it's not.
|
Not sure what is this supposed to achieve. The qt515 already works on darwin except for qtwebengine, but I assume you don't plan to fix the latter. |
|
@ofborg build libsForQt515.qtbase |
It doesn't after updating to the latest KDE patchsets, which fix a lot of Wayland issues on Linux. |
|
@ofborg build libsForQt515.qtbase |
|
@ofborg build libsForQt515.qtbase (sorry for the spam, I have no Darwin machine :( ) |
|
@ofborg build libsForQt515.qtbase |
How can one see the issue? It's not on Hydra: |
|
Check staging-next. |
|
Okay, I see https://hydra.nixos.org/build/183942941. There is no apparent SDK version issue, it will need corrected patches. |
|
I rebased the patches, but it doesn't build now. Someone in #macos:nixos.org suggested it might be easier to build with the SDK that's actually supported upstream. |
|
Yeah, for some reason it's a popular opinion in the community that the 10.12 SDK Frameworks are somehow deficient, and the potency of the newer version is exaggerated. In my experience, very few indispensable API's were added in the newer versions. |
|
That's something to bring up with upstream, really. I mostly just want to unblock staging-next right now and this whole thing is already very messy... |
|
There is no open-source upstream for Qt5. Would be strange to route macOS patches through KDE. This should be a simple fix. @NixOS/darwin-maintainers, anyone has time to look into fixing the |
|
See #182035 |
|
Going to close this for now, more stdenv changes seem to be required. |
Description of changes
Please work 🤞
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes