NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.64k stars 13.8k forks source link

Build failure: pkgsStatic.python3 (only >= 3.12) #325302

Closed superherointj closed 1 month ago

superherointj commented 3 months ago

Steps To Reproduce

  1. nix build .#pkgsStatic.python3

Build log

logs: https://termbin.com/m9x0

Additional context

Notify maintainers

?

anmonteiro commented 3 months ago

likely a duplicate of https://github.com/NixOS/nixpkgs/pull/325218, fixed in https://github.com/NixOS/nixpkgs/pull/325218

superherointj commented 3 months ago

likely a duplicate of #325218, fixed in #325218

That PR is already merged and in master, and master fails the same. Thanks for suggesting though.

jcaesar commented 1 month ago

(Ran into the same issue, got a helpful comment from ghpzin:)

19:22:16 \ Saw it a while ago: [link to this issue] There was close to 0 info anywhere about whether it builds on non-nix at all, but iirc there was: https://discuss.python.org/t/static-python-build-errors/45919 with similar error, which suggest that most likely static python 3.12 just does not build anywhere at all without some additional hacks. Iirc there was also something very weird with logs it failed on. Because they were present on pkgsStatic.python311 too, but it was just moving past all of them and finished build.

t4ccer commented 1 month ago

Fixed by https://github.com/NixOS/nixpkgs/pull/335986 and builds on master as of now (b2b8d7ce72d51b55ee5903d50d6382705449f9c3)