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
gnash: fix compilation with libgif 5.2 #73040
Conversation
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.
Without the hydra notifications I don't have an easy way to track builds failures.
Anyway, it builds and looks all right. Thank you!
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
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.
Please add a short comment that explains why the patch is necessary and ideally also links to an upstream issue.
@timokau There isn't an upstream issue (I will create one), and the patch is mandatory, because the version detection does not work fine. |
Why doesn't it work fine? Are you sure it wasn't intended to check for 5.1? In any case, please add a comment explaining this (and a link to the upstream issue after creating it) to the file. |
@timokau I did that |
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.
The build fails for me because of a hash mismatch when trying to fetch the patch.
@timokau that work for me: [0.0 MiB DL] path is '/nix/store/zib4ckh512pm5366ab0zg0q2ggp0wc7q-download.php?file_id=47859' 1bwi50qr7wlf8dm3bf7clnly0l69v3nk8gh9h8pdlnhsb52d311j |
Can confirm hash mismatch:
@marius851000: Keep in mind that if you used |
I get the same hash as @marius851000. This is pretty strange. |
@rnhmjoj: With
While with nix-prefetch-url, I get the hash you are expecting - but as outlined, this is the hash before fetchpatch applies its normalizations, but it will still work for you, because nix-prefetch-url adds it to the local store and then fetchpatch never even gets executed;
(Edit: added nix-prefetch-url paste, for clarification) |
@timokau I fixed that. At least, I now know what fetchpath does. |
@d-goldin You were right, I was using prefetch-url. |
@GrahamcOfBorg build gnash |
Seems to still be the old/wrong hash and fails the checks: https://github.com/NixOS/nixpkgs/pull/73040/checks?check_run_id=311777285 |
@timokau You're right, sorry. I just haven't added my change to git. |
Thanks! |
Motivation for this change
gnash doesn't compile
Things done
Added a patch to gnash that correct the verification for libgif, after it's 5.2 update.
I will try to send the patch upstream.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @rnhmjoj