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
ktorrent: fix build with CMake 3.11 #41944
Conversation
@GrahamcOfBorg build ktorrent |
Failure on aarch64-linux (full log) Attempted: ktorrent Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: ktorrent Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: ktorrent Partial log (click to expand)
|
# Fix build with CMake 3.11 | ||
(fetchpatch { | ||
url = "https://cgit.kde.org/ktorrent.git/patch/?id=672c5076de7e3a526d9bdbb484a69e9386bc49f8"; | ||
sha256 = "10pvs8wnlv1f1bgd3zys40a6lrrw2m0swancv7gj4pwpb9p28qwy"; |
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.
incorrect hash sum:
fixed-output derivation produced path '/nix/store/dn9w2hdcwcihwdj62ymwprxfn0nq73li-?id=672c5076de7e3a526d9bdbb484a69e9386bc49f8' with sha256 hash '1cn4rnbhadrsxqx50fawpd747azskavbjraygr6s11rh1wbfrxid' instead of the expected hash '10pvs8wnlv1f1bgd3zys40a6lrrw2m0swancv7gj4pwpb9p28qwy'
8145ca5
to
0b8e92a
Compare
Fixed. Didn't know nix-prefetch-url doesn't work with fetchpatch. |
@GrahamcOfBorg build ktorrent |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: ktorrent Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: ktorrent Partial log (click to expand)
|
Now libktorrent seems to be broken? |
Failure on aarch64-linux (full log) Attempted: ktorrent Partial log (click to expand)
|
Motivation for this change
KTorrent 5.1.0 fails to build with CMake 3.11. This PR backports a fix from upstream.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)