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
libtorrentRasterbar: fix build, restructure #42409
Conversation
Sorry I don't follow what's wrong here? |
|
It didn't build, both because of the sha256 failure and then something to do with Boost. |
Hmm, I build it from my updated nixpkgs checkout like |
Not sure what to say, doesn't work for me. Now it does. |
Do you have the boost errors output? |
For the sha256 issue:
For the Boost issue:
|
Weird the patch has a different store path for me
|
Should be the same patch, all I did was change the sha256 sum. |
Perhaps this patch is was needed also. |
I'll try that out. |
I can reproduce the error you were getting with master now. |
Interesting. Must be some local thing. |
Is there even any benefit to making this build with latest boost and patching it? |
Perhaps. I'll include it if you write it. |
Ah, maybe you want me to include this? arvidn/libtorrent@64d6b49 |
Stable (1.1.7) builds now! (I have not included arvidn/libtorrent@64d6b49) |
Sorry I don't follow 🤣 |
I'm a little hesitant to include a numbered version here, maybe that's not such a good idea until it actually becomes a problem.
Oh, turns out I'm already applying both. |
Hah we're a mess. 🥇 @matthewbauer can you, with your powers, command the @GrahamcOfBorg to do the thing? |
Do the thing! Do the thing! |
@GrahamcOfBorg build libtorrent-rasterbar |
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: libtorrent-rasterbar 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: libtorrent-rasterbar Partial log (click to expand)
|
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: libtorrent-rasterbar Partial log (click to expand)
|
url = "https://github.com/arvidn/libtorrent/archive/libtorrent-${formattedVersion}.tar.gz"; | ||
sha256 = "0vbw7wcw8x9787rq5fwaibpvvspm3237l8ahbf20gjpzxhn4yfwc"; | ||
}; | ||
src = fetchFromGitHub { |
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.
Thanks for changing this to fetchFromGitHub
It was very ugly before.
Success on x86_64-darwin (full log) Attempted: libtorrentRasterbar Partial log (click to expand)
|
If you really really have to have that, I'll do it, but as far as I can see, this seems unecessary, especially since it's in the same PR. |
Also couldn't we change platforms to |
platforms.unix does include darwin.
It's good to have working webpages in the meta. |
I'm aware, it's based off of BSD after all. |
@GrahamcOfBorg build libtorrentRasterbar |
Failure on x86_64-darwin (full log) Attempted: libtorrentRasterbar Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: libtorrentRasterbar Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: libtorrentRasterbar Partial log (click to expand)
|
Why did Darwin fail? It worked before. |
This usually happens when you run out of file descriptors or the borg reached it's limit I think. @andir Could you run the darwin build again? |
Oh, that must be why my |
@GrahamcOfBorg build libtorrentRasterbar |
Success on x86_64-linux (full log) Attempted: libtorrentRasterbar Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: libtorrentRasterbar Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: libtorrentRasterbar Partial log (click to expand)
|
@Chiiruno Yay! ✋ |
Motivation for this change
9c0ebbe did not update the patch sha256 hash. (properly?)
Also fails to build anyway when updated.
Thus why I am opting for a temporary unstable version to take the place of 1.1.7
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)