Nixpkgs version
Steps to reproduce
Reporting this against ceph because I believe it'd be better to update the package and switch to python 3.12 and avoid the python311Packages.tkinter failure entirely (it's not even cached on Hydra) and since python 3.11 isn't realistically supported anyway.
Also seems like 20.1.0 is available per https://download.ceph.com/tarballs/
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/build/307075051
Relevant log output
https://discourse.nixos.org/t/error-after-update-flake-about-python3-11-tkinter/69328
error: builder for '/nix/store/zdi06d8rz9wbsn8hg4dd7k7l6qrhv5zw-python3.11-tkinter-3.11.13.drv' failed with exit code 1;
last 25 log lines:
> copying tkinter/filedialog.py -> build/lib.linux-x86_64-cpython-311/tkinter
> copying tkinter/font.py -> build/lib.linux-x86_64-cpython-311/tkinter
> copying tkinter/messagebox.py -> build/lib.linux-x86_64-cpython-311/tkinter
> copying tkinter/scrolledtext.py -> build/lib.linux-x86_64-cpython-311/tkinter
> copying tkinter/simpledialog.py -> build/lib.linux-x86_64-cpython-311/tkinter
> copying tkinter/tix.py -> build/lib.linux-x86_64-cpython-311/tkinter
> copying tkinter/ttk.py -> build/lib.linux-x86_64-cpython-311/tkinter
> running egg_info
> writing tkinter.egg-info/PKG-INFO
> writing dependency_links to tkinter.egg-info/dependency_links.txt
> writing top-level names to tkinter.egg-info/top_level.txt
> reading manifest file 'tkinter.egg-info/SOURCES.txt'
> writing manifest file 'tkinter.egg-info/SOURCES.txt'
> running build_ext
> building '_tkinter' extension
> creating build/temp.linux-x86_64-cpython-311
> gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/bcsfx7baf00f6bldlpshfsd6fnaxi8xx-libxcrypt-4.4.38/include -fPIC -I/nix/store/gf7b5x6vh2g3bq054lm5pj7zqzfx7vjc-python3-3.11.13/include/python3.11/internal/ -I/nix/store/gf7b5x6vh2g3bq054lm5pj7zqzfx7vjc-python3-3.11.13/include/python3.11 -c _tkinter.c -o build/temp.linux-x86_64-cpython-311/_tkinter.o
> In file included from _tkinter.c:61:
> /nix/store/zkvp5mrs2x620labv8gy506rrqdd9r35-tcl-9.0.1/include/tclTomMath.h:45:13: fatal error: tommath.h: No such file or directory
> 45 | # include "tommath.h"
> | ^~~~~~~~~~~
> compilation terminated.
> error: command '/nix/store/95k9rsn1zsw1yvir8mj824ldhf90i4qw-gcc-wrapper-14.3.0/bin/gcc' failed with exit code 1
>
> ERROR Backend subprocess exited when trying to invoke build_wheel
For full logs, run:
nix log /nix/store/zdi06d8rz9wbsn8hg4dd7k7l6qrhv5zw-python3.11-tkinter-3.11.13.drv
error: 1 dependencies of derivation '/nix/store/w8him1vqr57hfyv9y0crj50pdr1fs9ag-python3.11-matplotlib-3.10.5.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rd3a9nif9wqlii8awdp8aj70fbnbnf6k-python3.11-pytest-regressions-2.8.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/pf604y0wrzzbkbgcrza69j2iqwdc23by-python3.11-markdown-it-py-3.0.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1xd4fwfjz834n74hycjqs0kpa23nl4c7-python3.11-myst-parser-4.0.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4jy5aik1pmxdhjyby7kgcg58clnrb9nb-python3-3.11.13-env.drv' failed to build
error (ignored): error: cannot unlink "/tmp/nix-build-arrow-cpp-19.0.1.drv-13/build/source": Directory not empty
error: 1 dependencies of derivation '/nix/store/id7r6iampjy90avv7k8yhjs01s0ac9aw-ceph-19.2.3.drv' failed to build
Additional context
No response
System metadata
x86_64-linux
Notify maintainers
@adevress @alexanderkjeldaas @johanot @krav @nh2 @benaryorg
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.
Nixpkgs version
Steps to reproduce
Reporting this against
cephbecause I believe it'd be better to update the package and switch to python 3.12 and avoid the python311Packages.tkinter failure entirely (it's not even cached on Hydra) and since python 3.11 isn't realistically supported anyway.Also seems like 20.1.0 is available per https://download.ceph.com/tarballs/
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/build/307075051
Relevant log output
https://discourse.nixos.org/t/error-after-update-flake-about-python3-11-tkinter/69328
Additional context
No response
System metadata
x86_64-linux
Notify maintainers
@adevress @alexanderkjeldaas @johanot @krav @nh2 @benaryorg
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.