Closed pylasnier closed 3 months ago
I'm sorry but failures in non-nixpkgs packages aren't really on topic here.
If you can find a packaging bug in a specific library, of course open a bug for that specific package but from over here your issue does not look like it's caused by any of our doing as it fails to find a library produced by the package itself.
If you can find a packaging bug in a specific library, of course open a bug for that specific package but from over here your issue does not look like it's caused by any of our doing as it fails to find a library produced by the package itself.
Thank you for the quick reply. Perhaps I opened an issue in the wrong topic, but this feels like a nixpkgs issue because there's a change in behaviour of the build system; it used to find its library but with unstable it no longer can. That feels like a nix build system bug.
Do you have any suggestions on where to go next?
this feels like a nixpkgs issue because there's a change in behaviour of the build system
Sure but this issue is way too vague to do anything about and the only error I can see is package-internal.
Do you have any suggestions on where to go next?
I'd recommend you create a post in the NixOS discourse. If you'd discover the root cause to be in Nixpkgs, you can open an issue with specific info of course.
I've dug a little bit more and found where the problem is. The Rust update from 1.78 to 1.79 broke the CMake build, where the hyphens and underscores of the library file/module name have been swapped (this feels like an inevitable sort of bug with Cargo's crate naming schemes). As far as I can tell there is no change in nixpkgs other than the version bump that breaks this, so you're right that it is not nixpkgs. I'll have to open an issue elsewhere. I appreciate the guidance!
I had suspected something like that. Glad you were able to figure it out.
This is not a nixpkgs package, but I'm building the Ishiiruka dolphin-emu fork from project-slippi. It was previously building but doesn't anymore on unstable.
Steps To Reproduce
slippi.nix:
default.nix:
Steps:
Run
nix-build
onnixos-unstable
Build log
libslippi_rust_extensions.so
is built by the Rust submodule from the Ishiiruka repo. Fails with:Full log
Additional context
The build breaks after the staging-next 2024-07-20 merge. I'm new to this so I don't know if I've got this right, but I believe it is commit
146dfa0d0fbcfc03d002fa12204dfb8eaebb6f2d
in the staging-next merge which initially breaks the build, but with a different error in the raptor2 package which later gets patched ince2b619afbb13e14abc60e6b8001cbfa8e14b246
leading to the final error.Notify maintainers
@reckenrode @vcunat for those specific commits (sorry if you aren't the right people to notify, I believe these are the changes which broke it?)
Metadata
Add a :+1: reaction to issues you find important.