Build failure: python312Packages.webrtc-noise-gain during cross-compilation #375092
Closed
3 tasks done
Labels
0.kind: build failure
A package fails to build
Nixpkgs version
Steps to reproduce
Can Hydra reproduce this build failure?
No, Hydra cannot reproduce this build failure.
Link to Hydra build job
No response
Relevant log output
Additional context
The issue comes from the
setup.py
in the upstream package repository.It uses
platform.machine()
to determine what flags to use for compilation. However,platform.machine()
gives the host system arch. It should use the target system arch for the compiler flag.I don't know if it should be fixed on the upstream package or on the Nixpkgs side with a patch or something like that. I don't know if we can enforce the output of
platform.machine()
on the Nix side.System metadata
Notify maintainers
@mweinelt
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE
.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: