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
zchunk: 1.1.6-> 1.1.8 & Add darwin support #107443
Conversation
@@ -0,0 +1,26 @@ | |||
diff --git a/meson.build b/meson.build |
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.
zchunk/zchunk#24 mentions that in theory they have osx. I wonder if we can contribute that.
(would still be required here until they merge)
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.
I am seeing both the endian and argp problems mentioned in that issue, but I don't see a fix in any commits. It looks like someone figured it out without making a pull request. So yes, it would make sense for me to make a pull request there too, and then eventually remove the patch here.
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.
I don't think that's a blocker, but I think that would be smart.
Otherwise we'll just have to adapt the patch for future updates when it would be easier to just have it done upstream.
Result of 1 package built:
|
e24a555
to
22f4f3a
Compare
Result of 8 packages built:
|
Result of 1 package built:
|
please update your nixpkgs-review. |
Result of 8 packages built:
|
Zchunk previously couldn't compile on macOS and had to be skipped for macOS on some packages.
22f4f3a
to
a847120
Compare
Motivation for this change
Zchunk previously did not compile on macOS, so it had to be disabled in librepo for macOS (#107104).
With this change, Zchunk will compile on macOS and we will be able to enable Zchunk for librepo.
Things done
-Updated version and hash from 1.1.6 to 1.1.8
-Added a patch to use the macOS location of endian if compiling on macOS
-Added argp-standalone as a build input for macOS
-Added a patch to find the arg library if compiling on macOS
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
Ran nixpkgs-review pr successfully but I didn't use that exact command./result/bin/
) https://pastebin.com/RDQwfGFVnix path-info -S
before and after)