-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
Build failure: python311Packages.keyutils #263482
Comments
Related: Failing Hydra job for udiskie |
Update: I was able to rebuild udiskie successfully by changing its |
Another comment 😆 looks like Arch re-generates the C code during the packaging process. I'm guessing we could do the same here. |
This fixes the build for keyutils on Python 3.11 and higher. It appears this package is affected by changes that were made to CPython that were causing code generated by certain earlier versions of Cython to fail. This update simply re-generates the relevant code with the up-to-date Cython 0.29.x series during the pre-build phase, allowing the build to succeed. Fixes NixOS#263482. Fixes NixOS#263506. Co-authored-by: Robert Schütz <[email protected]> Co-authored-by: Martin Weinelt <[email protected]>
Steps To Reproduce
Steps to reproduce the behavior:
'github:NixOS/nixpkgs/8efd5d1e283604f75a808a20e6cde0ef313d07d4'#python311Packages.keyutils
, or anything depending on it (my failure specifically was triggered by udiskie).Build log
Looks like the exact same issue that is being reported in Hydra, on the same hash: https://hydra.nixos.org/build/239103890/nixlog/1
Additional context
Seems similar to #239816. https://github.com/sassoftware/python-keyutils/blob/5e6d2af113f6f6d2f0278ba700be23c79a08ef4b/keyutils/_keyutils.c#L1 reports that it was generated with cython 0.29.3.
Unfortunately https://github.com/sassoftware/python-keyutils also seems to be archived and a cursory check does not seem to show a fork floating around.
Notify maintainers
@primeos
Metadata
The text was updated successfully, but these errors were encountered: