NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.46k stars 13.66k forks source link

Build failure: python312Packages.pyuv #331474

Open mudrii opened 1 month ago

mudrii commented 1 month ago

Describe the bug

Failed to build post system update

darwin-rebuild switch --flake ~/src/system-config/.# --show-trace

Steps To Reproduce

Steps to reproduce the behavior:

  1. run darwin-rebuild switch --flake ~/src/system-config/.# --show-trace
  2. ...
  3. ...

Expected behavior

System to update with the lated changes to python3.13 from python3.11 Error during update process.

warning: Git tree '/Users/mudrii/src/system-config' is dirty
building the system configuration...
warning: Git tree '/Users/mudrii/src/system-config' is dirty
error: builder for '/nix/store/x3vpgadlb8vc908pd2gyl4ld1mxmyg9x-python3.12-pyuv-1.4.0.drv' failed with exit code 1;
       last 10 log lines:
       > clang-16: warning: argument unused during compilation: '-fno-strict-overflow' [-Wunused-command-line-argument]
       > clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -I/nix/store/y4jnf1smcbpw5sb2pnj1yih65jqbak7z-libxcrypt-4.4.36/include -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -D_DARWIN_UNLIMITED_SELECT=1 -I/nix/store/1sgajx2r3bkriyxzwsahhva63p08pmac-python3-3.12.4/include/python3.12 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/darwin-proctitle.c -o build/temp.macosx-11.0-arm64-cpython-312/deps/libuv/src/unix/darwin-proctitle.o
       > clang-16: warning: argument unused during compilation: '-fno-strict-overflow' [-Wunused-command-line-argument]
       > deps/libuv/src/unix/darwin-proctitle.c:30:11: fatal error: 'ApplicationServices/ApplicationServices.h' file not found
       > # include <ApplicationServices/ApplicationServices.h>
       >           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       > 1 error generated.
       > error: command '/nix/store/wsgvg07q93xmaqp6ln58kzr75rg6jm40-clang-wrapper-16.0.6/bin/clang' failed with exit code 1
       >
       > ERROR Backend subprocess exited when trying to invoke build_wheel
       For full logs, run 'nix log /nix/store/x3vpgadlb8vc908pd2gyl4ld1mxmyg9x-python3.12-pyuv-1.4.0.drv'.
error: 1 dependencies of derivation '/nix/store/f67fs4igajb35pjifhw81rrdf8x7madi-python3.12-powerline-2.8.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/mjj4mfhiz9w1r2jnnghyl2j2m19b8f05-hm_tmuxtmux.conf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/k9s7zp5qhbf40jb4qm18v7gjx0cbk2i2-home-manager-files.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hl80vyvisy4xx51kxbdai2804h7sdwcf-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/zlhd8gwmqdi5cz4haqfr4gpkbhwq5x0p-activation-mudrii.drv' failed to build
error (ignored): error: cannot unlink '/private/tmp/nix-build-typescript-language-server-4.3.3.drv-2/tmp.JqW1nfR2Bk/Library/Caches/Yarn/v6/npm-@typescript-eslint-scope-manager-6.21.0-ea8a9bfc8f1504a6ac5d59a6df308d3a0630a2b1/node_modules/@typescript-eslint/scope-manager/dist': Directory not empty
error (ignored): error: cannot unlink '/private/tmp/nix-build-tlrc-1.9.3.drv-3/tlrc-1.9.3-vendor.tar.gz/winapi-x86_64-pc-windows-gnu/lib': Directory not empty
error: 1 dependencies of derivation '/nix/store/hx11sksnn6xdni64rajaxydb2f4wl1n7-darwin-system-24.11.20240731.c3392ad+darwin4.7e08a9d.drv' failed to build

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Notify maintainers

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.5.0, macOS 14.5`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.18.4`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

mudrii commented 1 month ago

The issues seems persistent

 darwin-rebuild switch --flake ~/src/system-config/.# --show-trace
warning: Git tree '/Users/mudrii/src/system-config' is dirty
building the system configuration...
warning: Git tree '/Users/mudrii/src/system-config' is dirty
error: builder for '/nix/store/zjjmcjb21dj7mdlrvv5qxvyzqkwhad0g-python3.12-pynput-1.7.6.drv' failed with exit code 1;
       last 10 log lines:
       > removing build/bdist.macosx-11.0-arm64/wheel
       > Successfully built pynput-1.7.6-py2.py3-none-any.whl
       > Finished creating a wheel...
       > Finished executing pypaBuildPhase
       > Running phase: pythonRuntimeDepsCheckHook
       > install: skipping file '/dev/fd/63', as it was replaced while being copied
       > Executing pythonRuntimeDepsCheck
       > Checking runtime dependencies for pynput-1.7.6-py2.py3-none-any.whl
       >   - pyobjc-framework-applicationservices not installed
       >   - pyobjc-framework-quartz not installed
       For full logs, run 'nix log /nix/store/zjjmcjb21dj7mdlrvv5qxvyzqkwhad0g-python3.12-pynput-1.7.6.drv'.
error: 1 dependencies of derivation '/nix/store/vnlx47bm6pg3s4s0zlpd36y5wif0pxhf-python3-3.12.4-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1ksfh6d0bvkx6g94bnlchal8h9sgrc2d-home-manager-applications.drv' failed to build
error (ignored): error: cannot unlink '/private/tmp/nix-build-pulumi-3.122.0.drv-9/pulumi/pkg/vendor/github.com': Directory not empty
error: 1 dependencies of derivation '/nix/store/b9337925bqzpck7v5yc9s5075jn432yf-home-manager-fonts.drv' failed to build
error: 1 dependencies of derivation '/nix/store/c82bmp061c2jb08rd8k6ky0j9g4kw7m3-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/lgydnryr15m68p0jr0ln53kfdvihdd3j-man-paths.drv' failed to build
error: 1 dependencies of derivation '/nix/store/2slh5dksyjl7020h8xrsw27naa4dv75w-python3-3.12.4-env-fish-completions.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4yh82cfgpjv931qdrw1nhsb3ngzjvswr-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/x13024v0s6py3zhvi886lh3fyjzjflbh-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/h9h41c39sffr86dxa7a0ha398v4ii0pa-activation-mudrii.drv' failed to build
error: 1 dependencies of derivation '/nix/store/daa6lslav4kmy6bs0s2h8lmj33hrfc1i-darwin-system-24.11.20240818.9aa35ef+darwin4.076b9a9.drv' failed to build