-
-
Notifications
You must be signed in to change notification settings - Fork 15.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
handbrake: fix Darwin build #89674
handbrake: fix Darwin build #89674
Conversation
@Anton-Latukha I tried adding |
Ok. Thank you. I approve the pull request. Please, as you can - open a proper upstream bug report with according technical information. |
|
The reason there is no report about the issue the PR addresses - probably because their CI can just fail "optional" build, and they provide a set of prebuild packages, and for macOS also. So everyone probably uses those packages or dodges the bullet by using official package. If in 8 months nobody except us noticed, we may be the only one package management system that assembles and compiles the project directly on macOS. |
@Anton-Latukha It’s difficult for me to test a separate PR for the version bump because the package doesn’t build at all for me (on Darwin) without the changes in this current PR. |
No, man, I just notified you that I opened parallel PR, and that they are such that can merge in parallel in any order. Because I am quite aware of how parallel PRs can create all sorts of stuff. And so I inform you that there is a parallel PR, and they would merge, no rebases needed. I wish I could merge your PR myself, already 9 days. I used to snipe call the active maintainers, but for example |
Oh, I’m sorry, I misunderstood. I thought you were saying that I should open a new PR 🙂 Maybe I will mention this PR and #90302 on the NixOS Discourse to get some more visibility. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
I hope your PR gets merged faster. You somehow receive a huge timeouts on PRs merges. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just need some more clarity about those libxml2 patches?
Pinging, so we close the #99317 report. I see you were active recently. Two package maintainers reviewed this PR, changes were discussed and PR was fit into a proper form, and PR approved by those two package maintainers. We basically just wait for someone to come by and merge this. |
f850480
to
efc384a
Compare
@GrahamcOfBorg build handbrake |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, runs on x86_64-darwin
- Omit the numactl dependency under Darwin. - Prevent the configure script from checking for xcodebuild. This check always failed (because xcodebuild isn't available in the build context) but xcodebuild isn't actually needed for the build, which uses --disable-xcode. - Use the Nix-provided libxml2 under Darwin like we already do under Linux.
efc384a
to
bf0c032
Compare
@GrahamcOfBorg build handbrake |
This is (once again) ready to be merged. |
Thank you! |
Motivation for this change
The handbrake build had broken under Darwin. This PR fixes it by
--disable-xcode
.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)cc @Anton-Latukha @wmertens