Repository navigation
ceph: add patches for GCC 14 and Boost 1.86 - #370304
Conversation
There was a problem hiding this comment.
I've written a lot of code like this, and I've never used fetchpatch2 nor have I added this full_index=1 query param.
Could you teach me the benefits of this way?
There was a problem hiding this comment.
fetchpatch2 uses a newer patchutils version that can handle things like file renames but is worse in other respects. In particular, it doesn’t filter out the index f6ef9878daee7..a5d63c372977a 100644 lines as fetchpatch does, and these are actually nondeterministic because GitHub uses larger commit hash prefixes as the repository grows by default. So you can either use fetchpatch and renames don’t work, or use fetchpatch2 and you have to specify ?full_index=1 for determinism. It sucks. Upstream apparently doesn’t really care about the Git patch format. See #266556 for a bunch of issues; someone needs to write a new patch filter that actually gets all the details right so we can have a fetchpatch3 without compromises, but I’m procrastinating on the task.
I used to think fetchpatch2 was better but given the index issue fetchpatch is better unless you need the additional functionality. I stuck to fetchpatch2 here because the existing patch already used it.
There was a problem hiding this comment.
Ah, what a disappointing state of affairs 😢
Thanks for the infodump!
Currently this is the only package keeping Boost 1.82 around; upstream install 1.85 on the development branch and have merged patches for 1.86 compatibility, so let’s unpin it and deal with pinning again if we run into compilation errors in the future. All but one patch has already been merged upstream.
718a87e to
047670d
Compare
|
Whoops, meant to add the |
|
|
Was hoping to hear from a Ceph maintainer, but I think this has waited long enough given the downstream packages it unbreaks. |
Fixes the build and all the tests pass, yay. All but one patch has already been merged upstream. See commit messages for details.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.