Skip to content
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: kitty #388238

Open
3 tasks done
i11010520 opened this issue Mar 8, 2025 · 11 comments
Open
3 tasks done

Build failure: kitty #388238

i11010520 opened this issue Mar 8, 2025 · 11 comments
Labels
0.kind: build failure A package fails to build

Comments

@i11010520
Copy link

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

With home-manager, after nix flake update:

  → 'github:nix-community/home-manager/26f6b862645ff281f3bada5d406e8c20de8d837c?narHash=sha256-iqRxCsRxE/Q/3W1RHxQMthPKEda0hhY65uxE
pE5TNk4%3D' (2025-03-08)

Then, home-manager switch will complain the following error.

Can Hydra reproduce this build failure?

Please select the Hydra Status.

Link to Hydra build job

No response

Relevant log output

error: builder for '/nix/store/k6iqxlmc9dk3s6qiimpmf6bcll8p0nk0-kitty-0.39.1.drv' failed with exit code 2;
       last 25 log lines:
       >     dirfd = 85
       >     func = <built-in function rmdir>
       >     name = 'generated_completions'
       >     onexc = <function rmtree.<locals>.onexc at 0x103842e80>
       >     orig_entry = <DirEntry 'generated_completions'>
       >     path = '/private/tmp/nix-build-kitty-0.39.1.drv-0/tmpfylwz76h/.cache/fish/generated_completions'
       >     stack = []
       >   File "/nix/store/wwqdmdr2f5wrjnsjs64bny8df471rh9b-python3-3.12.9/lib/python3.12/shutil.py", line 662, in _rmtree_safe_fd
       >     os.rmdir(name, dir_fd=dirfd)
       >     dirfd = 85
       >     func = <built-in function rmdir>
       >     name = 'generated_completions'
       >     onexc = <function rmtree.<locals>.onexc at 0x103842e80>
       >     orig_entry = <DirEntry 'generated_completions'>
       >     path = '/private/tmp/nix-build-kitty-0.39.1.drv-0/tmpfylwz76h/.cache/fish/generated_completions'
       >     stack = []
       > OSError: [Errno 66] Directory not empty: '/private/tmp/nix-build-kitty-0.39.1.drv-0/tmpfylwz76h/.cache/fish/generated_comp
letions'
       >
       > ----------------------------------------------------------------------
       > Ran 147 tests in 20.601s
       >
       > FAILED (errors=1, skipped=3)
       > All Go tests succeeded, ran in 21.3 seconds
       > Error: Some tests failed!
       > make: *** [Makefile:16: test] Error 1
       For full logs, run 'nix-store -l /nix/store/k6iqxlmc9dk3s6qiimpmf6bcll8p0nk0-kitty-0.39.1.drv'.
error: 1 dependencies of derivation '/nix/store/yxf6mizwwz812jaajc62ppz5z5p2vy5r-home-manager-applications.drv' failed to build
error: 1 dependencies of derivation '/nix/store/f31nz3jn8w2yx72pskc087547l9794sx-home-manager-fonts.drv' failed to build
error: 1 dependencies of derivation '/nix/store/5b0jablbgfqpvhc6n8ixid8y9rlf48jg-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/imb7ca32b2vwrflnvf03z94lj906j7xl-home-manager-generation.drv' failed to build

Additional context

No response

System metadata

❯ nix-shell -I nixpkgs=flake:nixpkgs -p nix-info --run "nix-info -m"
these 2 paths will be fetched (0.01 MiB download, 0.10 MiB unpacked):
  /nix/store/b6c4gr52pv5df2wpdi7b0gkiqsfjm0sr-DarwinTools-1
  /nix/store/920c6q654ang4h351jq5a6nsvr44d9xz-nix-info
copying path '/nix/store/b6c4gr52pv5df2wpdi7b0gkiqsfjm0sr-DarwinTools-1' from 'https://cache.nixos.org'...
copying path '/nix/store/920c6q654ang4h351jq5a6nsvr44d9xz-nix-info' from 'https://cache.nixos.org'...
 - system: `"aarch64-darwin"`
 - host os: `Darwin 24.3.0, macOS 15.3.1`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.11`
 - nixpkgs: `not found`

Notify maintainers


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.

@i11010520 i11010520 added the 0.kind: build failure A package fails to build label Mar 8, 2025
@gesker
Copy link

gesker commented Mar 8, 2025

Hey @i11010520

I also ran into a build issue for kitty but on nix-darwin.

I found a way to move past the kitty build error as described on #388020 comment #388020 (comment)

I am unsure if this is the expected behavior of a package build.

@Ben9986
Copy link
Contributor

Ben9986 commented Mar 8, 2025

Duplicate of #388020

Please post full logs on that bug report to make it easier for the maintainers to solve

@Ben9986 Ben9986 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 8, 2025
@i11010520
Copy link
Author

i11010520 commented Mar 9, 2025

Duplicate of #388020

Please post full logs on that bug report to make it easier for the maintainers to solve

@Ben9986
I've searched out the issue, but found that the error information not exactly the same.

The full log is as follows:

Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/7cidapnfz12ygj9jdn7lah2j4rgn2khf-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/update-on-ox"
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
applying patch /nix/store/f5aqar9b3852nwyyk9m6cgsmfzzxqj4s-fix-test_ssh_env_vars.patch
patching file kitty_tests/ssh.py
Hunk #1 succeeded at 255 with fuzz 2 (offset -17 lines).
applying patch /nix/store/xkh4vkpbd53i7vrmjslmznxghsi8qkfx-zsh-compinit.patch
patching file kitty_tests/ssh.py
Hunk #1 succeeded at 258 with fuzz 2 (offset -10 lines).
applying patch /nix/store/pq4w6nf0p1wrcwqmy1v4c1xybz2m11w4-disable-test_ssh_bootstrap_with_different_launchers.patch
patching file kitty_tests/ssh.py
Hunk #1 succeeded at 150 (offset -16 lines).
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }

�[K[1/83] Compiling �[32mkitty/screen.c�[39m ...
�[K[2/83] Compiling �[32m[cocoa] glfw/cocoa_window.m�[39m ...
�[K[3/83] Compiling �[32mkitty/glfw.c�[39m ...
�[K[4/83] Compiling �[32mkitty/graphics.c�[39m ...
�[K[5/83] Compiling �[32mkitty/fonts.c�[39m ...
�[K[6/83] Compiling �[32mkitty/child-monitor.c�[39m ...
�[K[7/83] Compiling �[32mkitty/shaders.c�[39m ...
�[K[8/83] Compiling �[32mkitty/core_text.m�[39m ...
�[K[9/83] Compiling �[32mkitty/state.c�[39m ...
�[K[10/83] Compiling �[32mkitty/unicode-data.c�[39m ...
�[K[11/83] Compiling �[32mkitty/vt-parser.c�[39m ...
�[K[12/83] Compiling �[32mkitty/vt-parser.c�[39m ...
�[K[13/83] Compiling �[32mkitty/cocoa_window.m�[39m ...
�[K[14/83] Compiling �[32m[cocoa] glfw/input.c�[39m ...
�[K[15/83] Compiling �[32m[cocoa] glfw/cocoa_init.m�[39m ...
�[K[16/83] Compiling �[32mkitty/mouse.c�[39m ...
�[K[17/83] Compiling �[32mkitty/line.c�[39m ...
�[K[18/83] Compiling �[32m[cocoa] glfw/window.c�[39m ...
�[K[19/83] Compiling �[32mkittens/transfer/algorithm.c�[39m ...
�[K[20/83] Compiling �[32mkitty/glfw-wrapper.c�[39m ...
�[K[21/83] Compiling �[32mkitty/colors.c�[39m ...
�[K[22/83] Compiling �[32mkitty/disk-cache.c�[39m ...
�[K[23/83] Compiling �[32mkitty/data-types.c�[39m ...
�[K[24/83] Compiling �[32mkitty/line-buf.c�[39m ...
�[K[25/83] Compiling �[32m[cocoa] glfw/egl_context.c�[39m ...
�[K[26/83] Compiling �[32mkitty/keys.c�[39m ...
�[K[27/83] Compiling �[32mkitty/history.c�[39m ...
�[K[28/83] Compiling �[32m[cocoa] glfw/cocoa_monitor.m�[39m ...
�[K[29/83] Compiling �[32mkitty/crypto.c�[39m ...
�[K[30/83] Compiling �[32m[cocoa] glfw/context.c�[39m ...
�[K[31/83] Compiling �[32mkitty/font-names.c�[39m ...
�[K[32/83] Compiling �[32mkitty/key_encoding.c�[39m ...
�[K[33/83] Compiling �[32mkitty/launcher/main.c�[39m ...
�[K[34/83] Compiling �[32m[cocoa] glfw/cocoa_joystick.m�[39m ...
�[K[35/83] Compiling �[32m[cocoa] glfw/monitor.c�[39m ...
�[K[36/83] Compiling �[32mkitty/charsets.c�[39m ...
�[K[37/83] Compiling �[32m[cocoa] glfw/init.c�[39m ...
�[K[38/83] Compiling �[32mkitty/launcher/single-instance.c�[39m ...
�[K[39/83] Compiling �[32mkitty/gl.c�[39m ...
�[K[40/83] Compiling �[32m[cocoa] glfw/vulkan.c�[39m ...
�[K[41/83] Compiling �[32m[cocoa] glfw/osmesa_context.c�[39m ...
�[K[42/83] Compiling �[32mkitty/cursor.c�[39m ...
�[K[43/83] Compiling �[32m[cocoa] glfw/nsgl_context.m�[39m ...
�[K[44/83] Compiling �[32mkitty/animation.c�[39m ...
�[K[45/83] Compiling �[32mkitty/loop-utils.c�[39m ...
�[K[46/83] Compiling �[32m3rdparty/ringbuf/ringbuf.c�[39m ...
�[K[47/83] Compiling �[32mkitty/simd-string.c�[39m ...
�[K[48/83] Compiling �[32mkitty/systemd.c�[39m ...
�[K[49/83] Compiling �[32mkitty/child.c�[39m ...
�[K[50/83] Compiling �[32mkitty/shlex.c�[39m ...
�[K[51/83] Compiling �[32mkitty/macos_process_info.c�[39m ...
�[K[52/83] Compiling �[32mkitty/kittens.c�[39m ...
�[K[53/83] Compiling �[32m3rdparty/base64/lib/codec_choose.c�[39m ...
�[K[54/83] Compiling �[32mkitty/hyperlink.c�[39m ...
�[K[55/83] Compiling �[32mkitty/cursor_trail.c�[39m ...
�[K[56/83] Compiling �[32m[cocoa] glfw/cocoa_displaylink.m�[39m ...
�[K[57/83] Compiling �[32mkitty/png-reader.c�[39m ...
�[K[58/83] Compiling �[32mkitty/rowcolumn-diacritics.c�[39m ...
�[K[59/83] Compiling �[32mkitty/wcswidth.c�[39m ...
�[K[60/83] Compiling �[32mkitty/text-cache.c�[39m ...
�[K[61/83] Compiling �[32mkitty/glyph-cache.c�[39m ...
�[K[62/83] Compiling �[32mkitty/window_logo.c�[39m ...
�[K[63/83] Compiling �[32mkitty/fast-file-copy.c�[39m ...
�[K[64/83] Compiling �[32m3rdparty/base64/lib/lib.c�[39m ...
�[K[65/83] Compiling �[32m[cocoa] glfw/posix_thread.c�[39m ...
�[K[66/83] Compiling �[32mkitty/logging.c�[39m ...
�[K[67/83] Compiling �[32m3rdparty/base64/lib/arch/neon64/codec.c�[39m ...
�[K[68/83] Compiling �[32m3rdparty/base64/lib/tables/tables.c�[39m ...
�[K[69/83] Compiling �[32m3rdparty/base64/lib/arch/neon32/codec.c�[39m ...
�[K[70/83] Compiling �[32m3rdparty/base64/lib/arch/avx/codec.c�[39m ...
�[K[71/83] Compiling �[32m3rdparty/base64/lib/arch/ssse3/codec.c�[39m ...
�[K[72/83] Compiling �[32m3rdparty/base64/lib/arch/sse41/codec.c�[39m ...
�[K[73/83] Compiling �[32m3rdparty/base64/lib/arch/sse42/codec.c�[39m ...
�[K[74/83] Compiling �[32m3rdparty/base64/lib/arch/avx2/codec.c�[39m ...
�[K[75/83] Compiling �[32mkitty/utmp.c�[39m ...
�[K[76/83] Compiling �[32m3rdparty/base64/lib/arch/avx512/codec.c�[39m ...
�[K[77/83] Compiling �[32m3rdparty/base64/lib/arch/generic/codec.c�[39m ...
�[K[78/83] Compiling �[32mkitty/cleanup.c�[39m ...
�[K[79/83] Compiling �[32m[cocoa] glfw/monotonic.c�[39m ...
�[K[80/83] Compiling �[32mkitty/monotonic.c�[39m ...
�[K[81/83] Compiling �[32mkitty/simd-string-128.c�[39m ...
�[K[82/83] Compiling �[32mkitty/simd-string-256.c�[39m ...
�[K[83/83] Compiling �[32mkitty/gl-wrapper.c�[39m ... done

�[K[1/4] Linking �[32mkitty/fast_data_types�[39m ...
�[K[2/4] Linking �[32m[cocoa] kitty/glfw-cocoa�[39m ...
�[K[3/4] Linking �[32mkittens/transfer/rsync�[39m ...
�[K[4/4] Linking �[32mlauncher�[39m ... done
encoding
unicode/utf16
kitty
container/list
crypto/internal/alias
crypto/subtle
crypto/internal/boring/sig
internal/nettrace
github.com/seancfoley/ipaddress-go/ipaddr/addrerr
github.com/seancfoley/ipaddress-go/ipaddr/addrstr
github.com/seancfoley/ipaddress-go/ipaddr/addrstrparam
hash
encoding/binary
bufio
crypto/cipher
os/user
github.com/bmatcuk/doublestar/v4
hash/crc32
archive/tar
golang.org/x/sys/unix
crypto
crypto/internal/randutil
compress/flate
compress/bzip2
crypto/internal/boring
encoding/base32
crypto/rand
encoding/base64
github.com/ALTree/bigfloat
crypto/md5
encoding/json
crypto/sha1
context
compress/gzip
encoding/hex
vendor/golang.org/x/net/dns/dnsmessage
vendor/golang.org/x/net/route
internal/singleflight
math/rand/v2
internal/weak
github.com/seancfoley/bintree/tree
internal/concurrent
database/sql/driver
github.com/shirou/gopsutil/v3/common
unique
net/url
os/exec
net/netip
github.com/shoenig/go-m1cpu
regexp/syntax
golang.org/x/exp/constraints
encoding/xml
io/ioutil
mime
crypto/aes
crypto/des
crypto/internal/edwards25519/field
crypto/internal/nistec/fiat
embed
crypto/internal/bigmod
crypto/internal/boring/bbig
crypto/sha512
net
encoding/asn1
regexp
vendor/golang.org/x/crypto/cryptobyte/asn1
crypto/internal/edwards25519
crypto/hmac
github.com/shirou/gopsutil/v3/internal/common
github.com/tklauser/go-sysconf
vendor/golang.org/x/crypto/internal/alias
vendor/golang.org/x/crypto/chacha20
crypto/ed25519
vendor/golang.org/x/crypto/internal/poly1305
vendor/golang.org/x/crypto/hkdf
vendor/golang.org/x/crypto/chacha20poly1305
github.com/shirou/gopsutil/v3/cpu
github.com/shirou/gopsutil/v3/mem
vendor/golang.org/x/sys/cpu
vendor/golang.org/x/crypto/cryptobyte
howett.net/plist
crypto/rc4
crypto/rsa
crypto/sha256
crypto/dsa
crypto/internal/nistec
vendor/golang.org/x/crypto/sha3
crypto/x509/internal/macos
crypto/x509/pkix
encoding/pem
vendor/golang.org/x/text/transform
crypto/internal/mlkem768
log/internal
vendor/golang.org/x/text/unicode/norm
log
vendor/golang.org/x/net/http2/hpack
maps
vendor/golang.org/x/text/unicode/bidi
mime/quotedprintable
net/http/internal
net/http/internal/ascii
os/signal
archive/zip
image/color
image
hash/adler32
compress/zlib
vendor/golang.org/x/text/secure/bidirule
crypto/ecdh
crypto/elliptic
golang.org/x/image/tiff/lzw
compress/lzw
image/color/palette
crypto/internal/hpke
github.com/rwcarlsen/goexif/tiff
golang.org/x/image/riff
golang.org/x/image/bmp
golang.org/x/image/ccitt
image/internal/imageutil
image/draw
image/jpeg
image/png
golang.org/x/image/tiff
crypto/ecdsa
image/gif
github.com/rwcarlsen/goexif/exif
golang.org/x/image/vp8
golang.org/x/image/vp8l
kitty/tools/utils/secrets
github.com/dlclark/regexp2/syntax
github.com/disintegration/imaging
github.com/kovidgoyal/imaging
github.com/zeebo/xxh3
golang.org/x/exp/slices
golang.org/x/image/webp
github.com/edwvee/exiffix
vendor/golang.org/x/net/idna
github.com/dlclark/regexp2
github.com/shirou/gopsutil/v3/net
vendor/golang.org/x/net/http/httpproxy
github.com/google/uuid
net/textproto
crypto/x509
github.com/seancfoley/ipaddress-go/ipaddr
github.com/shirou/gopsutil/v3/process
vendor/golang.org/x/net/http/httpguts
mime/multipart
github.com/alecthomas/chroma/v2
crypto/tls
github.com/alecthomas/chroma/v2/styles
github.com/alecthomas/chroma/v2/lexers
net/http/httptrace
net/http
kitty/tools/utils
kitty/tools/utils/paths
kitty/tools/utils/base85
kitty/tools/utils/shlex
kitty/tools/tty
kitty/tools/rsync
kitty/tools/wcswidth
kitty/tools/crypto
kitty/tools/tui/shell_integration
kitty/tools/utils/humanize
kitty/tools/utils/style
kitty/tools/cli/markup
kitty/tools/tui/sgr
kitty/tools/tui/loop
kitty/tools/cli
kitty/tools/cmd/mouse_demo
kitty/tools/config
kitty/tools/tui/shortcuts
kitty/kittens/hyperlinked_grep
kitty/kittens/notify
kitty/kittens/query_terminal
kitty/kittens/show_key
kitty/tools/utils/shm
kitty/tools/tui/readline
kitty/tools/tui
kitty/tools/cmd/atexit
kitty/tools/utils/images
kitty/tools/tui/subseq
kitty/tools/unicode_names
kitty/kittens/clipboard
kitty/tools/themes
kitty/tools/tui/graphics
kitty/kittens/hints
kitty/kittens/ask
kitty/tools/cmd/edit_in_kitty
kitty/tools/cmd/at
kitty/kittens/unicode_input
kitty/tools/cmd/run_shell
kitty/tools/cmd/show_error
kitty/tools/cmd/update_self
kitty/kittens/themes
kitty/kittens/ssh
kitty/kittens/choose_fonts
kitty/tools/cmd/benchmark
kitty/kittens/icat
kitty/kittens/transfer
kitty/tools/cmd/pytest
kitty/kittens/diff
kitty/tools/cmd/tool
kitty/tools/cmd/completion
kitty/tools/cmd
�[91miconutil not found�[39m, using png2icns (without retina support) to convert the logo
Using icns type 'is32', mask 's8mk' for '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/logo/kitty.iconset/icon_16x16.png'
Using icns type 'il32', mask 'l8mk' for '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/logo/kitty.iconset/icon_32x32.png'
Using icns type 'ic07' (ARGB) for '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/logo/kitty.iconset/icon_128x128.png'
Using icns type 'ic08' (ARGB) for '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/logo/kitty.iconset/icon_256x256.png'
Using icns type 'ic09' (ARGB) for '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/logo/kitty.iconset/icon_512x512.png'
Saved icns file to kitty/launcher/kitty.app/Contents/Resources/kitty.icns
make -C docs man
make[1]: Entering directory '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/docs'
sphinx-build -M man "." "_build" -n -q -j auto -T   
mkdir -p failed for path /homeless-shelter/.matplotlib: [Errno 30] Read-only file system: '/homeless-shelter'
Matplotlib created a temporary cache directory at /private/tmp/nix-build-kitty-0.39.1.drv-0/matplotlib-3sb5ublx because there was an issue with the default path (/homeless-shelter/.matplotlib); it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
Fontconfig error: Cannot load default config file: No such file: (null)

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig
�[31m/private/tmp/nix-build-kitty-0.39.1.drv-0/source/docs/changelog.rst:3668: ERROR: git commit id "8dea5b3" not recognized. [docutils]�[39;49;00m
�[31m/private/tmp/nix-build-kitty-0.39.1.drv-0/source/docs/changelog.rst:3783: ERROR: git commit id "ad1109b" not recognized. [docutils]�[39;49;00m
�[31m/private/tmp/nix-build-kitty-0.39.1.drv-0/source/docs/changelog.rst:3795: ERROR: git commit id "889ca77" not recognized. [docutils]�[39;49;00m
make[1]: Leaving directory '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/docs'
make -C docs html
make[1]: Entering directory '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/docs'
sphinx-build -M html "." "_build" -n -q -j auto -T   
mkdir -p failed for path /homeless-shelter/.matplotlib: [Errno 30] Read-only file system: '/homeless-shelter'
Matplotlib created a temporary cache directory at /private/tmp/nix-build-kitty-0.39.1.drv-0/matplotlib-dy81x0a6 because there was an issue with the default path (/homeless-shelter/.matplotlib); it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
Fontconfig error: Cannot load default config file: No such file: (null)

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig

Fontconfig error: No writable cache directories
	/var/cache/fontconfig
	/homeless-shelter/.cache/fontconfig
/nix/store/0z8pk6lb8ij6acq0yfi04hpldj6820d2-python3.12-sphinxext-opengraph-0.9.1/lib/python3.12/site-packages/sphinxext/opengraph/socialcards.py:168: UserWarning: Glyph 10084 (\N{HEAVY BLACK HEART}) missing from font(s) Roboto Flex.
  fig.savefig(path, facecolor=None)
/nix/store/0z8pk6lb8ij6acq0yfi04hpldj6820d2-python3.12-sphinxext-opengraph-0.9.1/lib/python3.12/site-packages/sphinxext/opengraph/socialcards.py:168: UserWarning: Glyph 65039 (\N{VARIATION SELECTOR-16}) missing from font(s) Roboto Flex.
  fig.savefig(path, facecolor=None)
make[1]: Leaving directory '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/docs'

�[K[1/2] Compiling �[32mkitty/launcher/main.c�[39m ...
�[K[2/2] Compiling �[32mkitty/launcher/single-instance.c�[39m ... done

�[K[1/1] Linking �[32mlauncher�[39m ... done
�[91miconutil not found�[39m, using png2icns (without retina support) to convert the logo
Using icns type 'is32', mask 's8mk' for '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/logo/kitty.iconset/icon_16x16.png'
Using icns type 'il32', mask 'l8mk' for '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/logo/kitty.iconset/icon_32x32.png'
Using icns type 'ic07' (ARGB) for '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/logo/kitty.iconset/icon_128x128.png'
Using icns type 'ic08' (ARGB) for '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/logo/kitty.iconset/icon_256x256.png'
Using icns type 'ic09' (ARGB) for '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/logo/kitty.iconset/icon_512x512.png'
Saved icns file to kitty.app/Contents/Resources/kitty.icns
kitty
kitty/tools/tui/shell_integration
kitty/tools/cli/markup
kitty/tools/tui/loop
kitty/tools/cli
kitty/tools/config
kitty/kittens/query_terminal
kitty/tools/tui
kitty/kittens/themes
kitty/tools/cmd/run_shell
kitty/kittens/hints
kitty/kittens/ssh
kitty/tools/cmd/update_self
kitty/kittens/icat
kitty/kittens/transfer
kitty/tools/cmd/at
kitty/kittens/diff
kitty/tools/cmd/completion
kitty.app successfully built!
buildPhase completed in 54 seconds
Running phase: installPhase
@nix { "action": "setPhase", "phase": "installPhase" }
Running phase: fixupPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
checking for references to /private/tmp/nix-build-kitty-0.39.1.drv-0/ in /nix/store/9rn06hav8acn6binp8fcg7xnaqkp8k1s-kitty-0.39.1...
gzipping man pages under /nix/store/9rn06hav8acn6binp8fcg7xnaqkp8k1s-kitty-0.39.1/share/man/
patching script interpreter paths in /nix/store/9rn06hav8acn6binp8fcg7xnaqkp8k1s-kitty-0.39.1
stripping (with command strip and flags -S) in  /nix/store/9rn06hav8acn6binp8fcg7xnaqkp8k1s-kitty-0.39.1/bin /nix/store/9rn06hav8acn6binp8fcg7xnaqkp8k1s-kitty-0.39.1/Applications
checking for references to /private/tmp/nix-build-kitty-0.39.1.drv-0/ in /nix/store/n83flsxfgadvyf0iym8jpcr1h0vz8gcx-kitty-0.39.1-terminfo...
patching script interpreter paths in /nix/store/n83flsxfgadvyf0iym8jpcr1h0vz8gcx-kitty-0.39.1-terminfo
checking for references to /private/tmp/nix-build-kitty-0.39.1.drv-0/ in /nix/store/dcjzdgif89kh8lg149ms9n2qqz7srv4g-kitty-0.39.1-shell_integration...
patching script interpreter paths in /nix/store/dcjzdgif89kh8lg149ms9n2qqz7srv4g-kitty-0.39.1-shell_integration
checking for references to /private/tmp/nix-build-kitty-0.39.1.drv-0/ in /nix/store/hxqc0ginv6xzjhb8am8x29v0pd764r27-kitty-0.39.1-kitten...
patching script interpreter paths in /nix/store/hxqc0ginv6xzjhb8am8x29v0pd764r27-kitty-0.39.1-kitten
stripping (with command strip and flags -S) in  /nix/store/hxqc0ginv6xzjhb8am8x29v0pd764r27-kitty-0.39.1-kitten/bin
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
signing /nix/store/9rn06hav8acn6binp8fcg7xnaqkp8k1s-kitty-0.39.1
signing /nix/store/n83flsxfgadvyf0iym8jpcr1h0vz8gcx-kitty-0.39.1-terminfo
signing /nix/store/dcjzdgif89kh8lg149ms9n2qqz7srv4g-kitty-0.39.1-shell_integration
signing /nix/store/hxqc0ginv6xzjhb8am8x29v0pd764r27-kitty-0.39.1-kitten
Running phase: installCheckPhase
@nix { "action": "setPhase", "phase": "installCheckPhase" }
substituteStream() in derivation kitty-0.39.1: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'kitty_tests/file_transmission.py')
python3 setup.py  test
Running under CI: False
Go packages being tested: tools/tui/graphics tools/cmd/at tools/wcswidth tools/utils kittens/hints tools/tui/loop tools/utils/base85 tools/tui/sgr tools/utils/shm kittens/diff tools/utils/humanize tools/tui/subseq tools/tui/shell_integration tools/utils/shlex tools/config tools/simdstring tools/cli kittens/hyperlinked_grep tools/unicode_names tools/tui/readline tools/rsync tools/tui kittens/transfer tools/utils/style kittens/ssh
test_backspace_wide_characters (kitty_tests.screen.TestScreen.test_backspace_wide_characters) ... ok
test_bottom_margin (kitty_tests.screen.TestScreen.test_bottom_margin) ... ok
test_char_manipulation (kitty_tests.screen.TestScreen.test_char_manipulation) ... ok
test_color_profile (kitty_tests.screen.TestScreen.test_color_profile) ... ok
test_color_stack (kitty_tests.screen.TestScreen.test_color_stack) ... ok
test_cursor_after_resize (kitty_tests.screen.TestScreen.test_cursor_after_resize) ... ok
test_cursor_hidden (kitty_tests.screen.TestScreen.test_cursor_hidden) ... ok
test_cursor_movement (kitty_tests.screen.TestScreen.test_cursor_movement) ... ok
test_detect_url (kitty_tests.screen.TestScreen.test_detect_url) ... ok
test_dirty_lines (kitty_tests.screen.TestScreen.test_dirty_lines) ... ok
test_draw_char (kitty_tests.screen.TestScreen.test_draw_char) ... ok
test_draw_fast (kitty_tests.screen.TestScreen.test_draw_fast) ... ok
test_emoji_skin_tone_modifiers (kitty_tests.screen.TestScreen.test_emoji_skin_tone_modifiers) ... ok
test_erase_in_screen (kitty_tests.screen.TestScreen.test_erase_in_screen) ... ok
test_hyperlinks (kitty_tests.screen.TestScreen.test_hyperlinks) ... ok
test_key_encoding_flags_stack (kitty_tests.screen.TestScreen.test_key_encoding_flags_stack) ... ok
test_margins (kitty_tests.screen.TestScreen.test_margins) ... ok
test_osc_52 (kitty_tests.screen.TestScreen.test_osc_52) ... ok
test_pagerhist (kitty_tests.screen.TestScreen.test_pagerhist) ... ok
test_pointer_shapes (kitty_tests.screen.TestScreen.test_pointer_shapes) ... ok
test_prompt_marking (kitty_tests.screen.TestScreen.test_prompt_marking) ... ok
test_regional_indicators (kitty_tests.screen.TestScreen.test_regional_indicators) ... ok
test_rep (kitty_tests.screen.TestScreen.test_rep) ... ok
test_resize (kitty_tests.screen.TestScreen.test_resize) ... ok
test_scrollback_fill_after_resize (kitty_tests.screen.TestScreen.test_scrollback_fill_after_resize) ... ok
test_selection_as_text (kitty_tests.screen.TestScreen.test_selection_as_text) ... ok
test_serialize (kitty_tests.screen.TestScreen.test_serialize) ... ok
test_sgr (kitty_tests.screen.TestScreen.test_sgr) ... ok
test_soft_hyphen (kitty_tests.screen.TestScreen.test_soft_hyphen) ... ok
test_tab_stops (kitty_tests.screen.TestScreen.test_tab_stops) ... ok
test_top_and_bottom_margin (kitty_tests.screen.TestScreen.test_top_and_bottom_margin) ... ok
test_top_margin (kitty_tests.screen.TestScreen.test_top_margin) ... ok
test_user_marking (kitty_tests.screen.TestScreen.test_user_marking) ... ok
test_variation_selectors (kitty_tests.screen.TestScreen.test_variation_selectors) ... ok
test_wrapping_serialization (kitty_tests.screen.TestScreen.test_wrapping_serialization) ... ok
test_writing_with_cursor_on_trailer_of_wide_character (kitty_tests.screen.TestScreen.test_writing_with_cursor_on_trailer_of_wide_character) ... ok
test_zwj (kitty_tests.screen.TestScreen.test_zwj) ... ok
test_conf_parsing (kitty_tests.options.TestConfParsing.test_conf_parsing) ... ok
test_animation_frame_loading (kitty_tests.graphics.TestGraphics.test_animation_frame_loading) ... ok
test_cached_rgba_conversion (kitty_tests.graphics.TestGraphics.test_cached_rgba_conversion) ... ok
test_disk_cache (kitty_tests.graphics.TestGraphics.test_disk_cache) ... ok
test_gr_delete (kitty_tests.graphics.TestGraphics.test_gr_delete) ... ok
test_gr_operations_with_numbers (kitty_tests.graphics.TestGraphics.test_gr_operations_with_numbers) ... ok
test_gr_reset (kitty_tests.graphics.TestGraphics.test_gr_reset) ... ok
test_gr_scroll (kitty_tests.graphics.TestGraphics.test_gr_scroll) ... ok
test_graphics_quota_enforcement (kitty_tests.graphics.TestGraphics.test_graphics_quota_enforcement) ... ok
test_image_layer_grouping (kitty_tests.graphics.TestGraphics.test_image_layer_grouping) ... ok
test_image_parents (kitty_tests.graphics.TestGraphics.test_image_parents) ... ok
test_image_put (kitty_tests.graphics.TestGraphics.test_image_put) ... ok
test_load_images (kitty_tests.graphics.TestGraphics.test_load_images) ... ok
test_load_png (kitty_tests.graphics.TestGraphics.test_load_png) ... ok
test_load_png_simple (kitty_tests.graphics.TestGraphics.test_load_png_simple) ... ok
test_suppressing_gr_command_responses (kitty_tests.graphics.TestGraphics.test_suppressing_gr_command_responses) ... ok
test_unicode_placeholders (kitty_tests.graphics.TestGraphics.test_unicode_placeholders) ... ok
test_unicode_placeholders_3rd_combining_char (kitty_tests.graphics.TestGraphics.test_unicode_placeholders_3rd_combining_char) ... ok
test_unicode_placeholders_multiple_placements (kitty_tests.graphics.TestGraphics.test_unicode_placeholders_multiple_placements) ... ok
test_unicode_placeholders_scroll (kitty_tests.graphics.TestGraphics.test_unicode_placeholders_scroll) ... ok
test_xor_data (kitty_tests.graphics.TestGraphics.test_xor_data) ... ok
test_shm_with_kitten (kitty_tests.shm.SHMTest.test_shm_with_kitten) ... ok
test_all_kitten_names (kitty_tests.check_build.TestBuild.test_all_kitten_names) ... ok
test_ca_certificates (kitty_tests.check_build.TestBuild.test_ca_certificates) ... skipped 'CA certificates are only tested on frozen builds'
test_docs_url (kitty_tests.check_build.TestBuild.test_docs_url) ... ok
test_exe (kitty_tests.check_build.TestBuild.test_exe) ... ok
test_filesystem_locations (kitty_tests.check_build.TestBuild.test_filesystem_locations) ... ok
test_glfw_modules (kitty_tests.check_build.TestBuild.test_glfw_modules) ... ok
test_launcher_ensures_stdio (kitty_tests.check_build.TestBuild.test_launcher_ensures_stdio) ... ok
test_loading_extensions (kitty_tests.check_build.TestBuild.test_loading_extensions) ... ok
test_loading_shaders (kitty_tests.check_build.TestBuild.test_loading_shaders) ... ok
test_completion (kitty_tests.completion.TestCompletion.test_completion) ... ok
test_layout_operations (kitty_tests.layout.TestLayout.test_layout_operations) ... ok
test_overlay_layout_operations (kitty_tests.layout.TestLayout.test_overlay_layout_operations) ... ok
test_splits (kitty_tests.layout.TestLayout.test_splits) ... ok
test_num_users (kitty_tests.utmp.UTMPTest.test_num_users) ... ok
test_file_get (kitty_tests.file_transmission.TestFileTransmission.test_file_get) ... ok
test_parse_ftc (kitty_tests.file_transmission.TestFileTransmission.test_parse_ftc) ... ok
test_rsync_hashers (kitty_tests.file_transmission.TestFileTransmission.test_rsync_hashers) ... ok
test_rsync_roundtrip (kitty_tests.file_transmission.TestFileTransmission.test_rsync_roundtrip) ... ok
test_transfer_receive (kitty_tests.file_transmission.TestFileTransmission.test_transfer_receive) ... ok
test_atexit (kitty_tests.atexit.Atexit.test_atexit) ... ok
test_encode_key_event (kitty_tests.keys.TestKeys.test_encode_key_event) ... ok
test_encode_mouse_event (kitty_tests.keys.TestKeys.test_encode_mouse_event) ... ok
test_mapping (kitty_tests.keys.TestKeys.test_mapping) ... ok
test_base64 (kitty_tests.parser.TestParser.test_base64) ... ok
test_charsets (kitty_tests.parser.TestParser.test_charsets) ... ok
test_csi_code_rep (kitty_tests.parser.TestParser.test_csi_code_rep) ... ok
test_csi_codes (kitty_tests.parser.TestParser.test_csi_codes) ... ok
test_dcs_codes (kitty_tests.parser.TestParser.test_dcs_codes) ... ok
test_deccara (kitty_tests.parser.TestParser.test_deccara) ... ok
test_esc_codes (kitty_tests.parser.TestParser.test_esc_codes) ... ok
test_find_either_of_two_bytes (kitty_tests.parser.TestParser.test_find_either_of_two_bytes) ... ok
test_graphics_command (kitty_tests.parser.TestParser.test_graphics_command) ... ok
test_osc_codes (kitty_tests.parser.TestParser.test_osc_codes) ... ok
test_oth_codes (kitty_tests.parser.TestParser.test_oth_codes) ... ok
test_parser_threading (kitty_tests.parser.TestParser.test_parser_threading) ... ok
test_simple_parsing (kitty_tests.parser.TestParser.test_simple_parsing) ... ok
test_utf8_parsing (kitty_tests.parser.TestParser.test_utf8_parsing) ... ok
test_utf8_simd_decode (kitty_tests.parser.TestParser.test_utf8_simd_decode) ... ok
test_ansi_repr (kitty_tests.datatypes.TestDataTypes.test_ansi_repr) ... ok
test_bracketed_paste_sanitizer (kitty_tests.datatypes.TestDataTypes.test_bracketed_paste_sanitizer) ... ok
test_expand_ansi_c_escapes (kitty_tests.datatypes.TestDataTypes.test_expand_ansi_c_escapes) ... ok
test_historybuf (kitty_tests.datatypes.TestDataTypes.test_historybuf) ... ok
test_line (kitty_tests.datatypes.TestDataTypes.test_line) ... ok
test_linebuf (kitty_tests.datatypes.TestDataTypes.test_linebuf) ... ok
test_notify_identifier_sanitization (kitty_tests.datatypes.TestDataTypes.test_notify_identifier_sanitization) ... ok
test_replace_c0_codes (kitty_tests.datatypes.TestDataTypes.test_replace_c0_codes) ... ok
test_rewrap_narrower (kitty_tests.datatypes.TestDataTypes.test_rewrap_narrower) ... ok
test_rewrap_simple (kitty_tests.datatypes.TestDataTypes.test_rewrap_simple) ... ok
test_rewrap_wider (kitty_tests.datatypes.TestDataTypes.test_rewrap_wider) ... ok
test_shlex_split (kitty_tests.datatypes.TestDataTypes.test_shlex_split) ... ok
test_single_key (kitty_tests.datatypes.TestDataTypes.test_single_key) ... ok
test_strip_csi (kitty_tests.datatypes.TestDataTypes.test_strip_csi) ... ok
test_to_color (kitty_tests.datatypes.TestDataTypes.test_to_color) ... ok
test_url_at (kitty_tests.datatypes.TestDataTypes.test_url_at) ... ok
test_utils (kitty_tests.datatypes.TestDataTypes.test_utils) ... ok
test_elliptic_curve_data_exchange (kitty_tests.crypto.TestCrypto.test_elliptic_curve_data_exchange) ... ok
test_search_query_parser (kitty_tests.search_query_parser.TestSQP.test_search_query_parser) ... ok
test_line_edit (kitty_tests.tui.TestTUI.test_line_edit) ... ok
test_multiprocessing_spawn (kitty_tests.tui.TestTUI.test_multiprocessing_spawn) ... ok
test_mouse_selection (kitty_tests.mouse.TestMouse.test_mouse_selection) ... ok
test_desktop_notify (kitty_tests.notifications.TestNotifications.test_desktop_notify) ... [4.656] Ignoring invalid base64 encoded data in notification request
[4.656] Ignoring invalid base64 encoded data in notification request
[4.657] Ignoring invalid base64 encoded data in notification request
[4.657] Ignoring invalid base64 encoded data in notification request
[4.657] Received incomplete encoded data for notification request
[4.657] Received incomplete encoded data for notification request
[4.658] Received incomplete encoded data for notification request
[4.658] Received incomplete encoded data for notification request
[4.658] Received incomplete encoded data for notification request
[4.658] Received incomplete encoded data for notification request
[4.658] Received incomplete encoded data for notification request
[4.658] Received incomplete encoded data for notification request
ok
test_parsing_of_open_actions (kitty_tests.open_actions.TestOpenActions.test_parsing_of_open_actions) ... ok
test_basic_pty_operations (kitty_tests.ssh.SSHKitten.test_basic_pty_operations) ... ok
test_ssh_bootstrap_with_different_launchers (kitty_tests.ssh.SSHKitten.test_ssh_bootstrap_with_different_launchers) ... ok
test_ssh_connection_data (kitty_tests.ssh.SSHKitten.test_ssh_connection_data) ... ok
test_ssh_copy (kitty_tests.ssh.SSHKitten.test_ssh_copy) ... ok
test_ssh_env_vars (kitty_tests.ssh.SSHKitten.test_ssh_env_vars) ... ok
test_ssh_leading_data (kitty_tests.ssh.SSHKitten.test_ssh_leading_data) ... ok
test_ssh_login_shell_detection (kitty_tests.ssh.SSHKitten.test_ssh_login_shell_detection) ... skipped 'Skipping login shell detection as login shell is set to nologin'
test_ssh_shell_integration (kitty_tests.ssh.SSHKitten.test_ssh_shell_integration) ... ok
test_base64_streaming_decoder (kitty_tests.clipboard.TestClipboard.test_base64_streaming_decoder) ... ok
test_clipboard_write_request (kitty_tests.clipboard.TestClipboard.test_clipboard_write_request) ... ok
test_box_drawing (kitty_tests.fonts.Rendering.test_box_drawing) ... ok
test_coalesce_symbol_maps (kitty_tests.fonts.Rendering.test_coalesce_symbol_maps) ... ok
test_emoji_presentation (kitty_tests.fonts.Rendering.test_emoji_presentation) ... ok
test_fallback_font_not_last_resort (kitty_tests.fonts.Rendering.test_fallback_font_not_last_resort) ... ok
test_font_rendering (kitty_tests.fonts.Rendering.test_font_rendering) ... ok
test_shaping (kitty_tests.fonts.Rendering.test_shaping) ... ok
test_sprite_map (kitty_tests.fonts.Rendering.test_sprite_map) ... ok
test_font_selection (kitty_tests.fonts.Selection.test_font_selection) ... ok
test_bash_integration (kitty_tests.shell_integration.ShellIntegration.test_bash_integration) ... ok
test_fish_integration (kitty_tests.shell_integration.ShellIntegration.test_fish_integration) ... ERROR
test_zsh_integration (kitty_tests.shell_integration.ShellIntegration.test_zsh_integration) ... ok
test_bash_integration (kitty_tests.shell_integration.ShellIntegrationWithKitten.test_bash_integration) ... ok
test_fish_integration (kitty_tests.shell_integration.ShellIntegrationWithKitten.test_fish_integration) ... ok
test_zsh_integration (kitty_tests.shell_integration.ShellIntegrationWithKitten.test_zsh_integration) ... ok
test_os_window_size_calculation (kitty_tests.glfw.TestGLFW.test_os_window_size_calculation) ... ok
test_utf_8_strndup (kitty_tests.glfw.TestGLFW.test_utf_8_strndup) ... skipped 'Skipping test on macOS because glfw-cocoa.so is not built with backend_utils'

======================================================================
ERROR: test_fish_integration (kitty_tests.shell_integration.ShellIntegration.test_fish_integration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/private/tmp/nix-build-kitty-0.39.1.drv-0/source/kitty/launcher/kitty.app/Contents/MacOS/../../../../../kitty_tests/shell_integration.py", line 180, in test_fish_integration
    with self.run_shell(
         ^^^^^^^^^^^^^^^
    cmd = 'string match -q -- "*/private/tmp/nix-build-kitty-0.39.1.drv-0/source/shell-integration*" "$XDG_DATA_DIRS" || echo "XDD_OK"'
    completions_dir = '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/shell-integration/fish/vendor_completions.d'
    fish_prompt = 'left>'
    pty = <kitty_tests.PTY object at 0x102823380>
    q = 'left>                             <right'
    redrawn = <function ShellIntegration.test_fish_integration.<locals>.redrawn at 0x103841d00>
    right_prompt = '<right'
    self = <kitty_tests.shell_integration.ShellIntegration testMethod=test_fish_integration>
  File "/nix/store/wwqdmdr2f5wrjnsjs64bny8df471rh9b-python3-3.12.9/lib/python3.12/contextlib.py", line 144, in __exit__
    next(self.gen)
    self = <contextlib._GeneratorContextManager object at 0x324993e60>
    traceback = None
    typ = None
    value = None
  File "/private/tmp/nix-build-kitty-0.39.1.drv-0/source/kitty/launcher/kitty.app/Contents/MacOS/../../../../../kitty_tests/shell_integration.py", line 105, in run_shell
    shutil.rmtree(home_dir)
    cmd = ['fish']
    env = {'PATH': '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/kitty_tests/kitty/launcher:/nix/store/x1wigzf0ag4ll8aalq7ka05r93ai6isx-pkg-config-wrapper-0.29.2/bin:/nix/store/wwqdmdr2f5wrjnsjs64bny8df471rh9b-python3-3.12.9/bin:/nix/store/fw908fh4lhcfv37c71q10xa35gqfzc1i-ncurses-6.5-dev/bin:/nix/store/6s5wq8phzamjca5lar2l6hsa69m2qc2s-ncurses-6.5/bin:/nix/store/ib95zxndsxsrbcpwvrvsvrkn9wm5a6hr-python3.12-sphinx-8.1.3/bin:/nix/store/gab8vfpww43lcl73ivsz01yxnra0x18j-python3.12-babel-2.16.0/bin:/nix/store/kv57dk97py1q8w71kibj0mgm4kh3xsfv-python3.12-docutils-0.21.2/bin:/nix/store/ijnffyi4q3pawk5a163l2b0jspl9al3g-python3.12-pygments-2.19.1/bin:/nix/store/aa071h1kwd9qy1n2x41lb1s4hrbg7pvl-python3.12-charset-normalizer-3.4.1/bin:/nix/store/g7dhzb5qkrwaa1d9qkg9incj6mrgq4ly-python3.12-chardet-5.2.0/bin:/nix/store/yjqrp3d93mxa2g80j57whyk55xwxgl7r-go-1.23.6/bin:/nix/store/5cg3csx4xid560bgljdzykxx98vqc771-freetype-2.13.3-dev/bin:/nix/store/2wdyvqj4fg13rzm3cjmvqnhn1h4n5rm4-bzip2-1.0.8-bin/bin:/nix/store/7bhh7j7ypd4cqfhl85qk3ij4k36flg7w-brotli-1.1.0/bin:/nix/store/xqb29snz2cskvyn7bprkbvypd55smah6-libpng-apng-1.6.46-dev/bin:/nix/store/b707z921kvz57i5cbjza2z93dfcss90m-fontconfig-2.16.0-bin/bin:/nix/store/rn2qbpd942ap5lyw6sf4lb3x9cw1wx7y-imagemagick-7.1.1-44-dev/bin:/nix/store/csqw5yhj3zpg03vqxlncw3c28kf8x1zs-curl-8.12.0-dev/bin:/nix/store/ibib7qinky535f2n3jvzny0zgggi0w9w-krb5-1.21.3-dev/bin:/nix/store/fqhfmhcq5ga9rla5464i30bbx5m5jdlh-krb5-1.21.3-lib/bin:/nix/store/4bz1rdncpw2c7kk6hiy5qfqg5473hlip-krb5-1.21.3/bin:/nix/store/fphy7fszy38sli91pma39y6pwkapng17-nghttp2-1.64.0/bin:/nix/store/w1fng4jb878zsa7v19li5sab5wv22ync-libidn2-2.3.7-bin/bin:/nix/store/yz54b1dkdyw33f62khb6117389hkszv6-openssl-3.4.1-bin/bin:/nix/store/zir3bxp5kc4hmh7yp16mj06bwrbgmgx6-libpsl-0.21.5/bin:/nix/store/28f9kj2xlb22larmzpxrl9m9xadlwlhc-zstd-1.5.6-bin/bin:/nix/store/z0p13hda9car5in5811z7wvi3fjgvl4a-zstd-1.5.6/bin:/nix/store/9myjd1zdkkax5jc3f3229j442miaq7kj-curl-8.12.0-bin/bin:/nix/store/jxx2ik8yc80fpvsv9xppj3dakrdsavfi-libjpeg-turbo-3.0.4-bin/bin:/nix/store/im6wdxc1s2alfya8jq5y5nwvdxm00qzm-lcms2-2.17-bin/bin:/nix/store/4578q07vpmh224vbq5nqb1xihsdwpvlc-libwebp-1.5.0/bin:/nix/store/4s3v7frj73rcvivbx1p37c0fw28pq1zg-fftw-double-3.3.10-dev/bin:/nix/store/2hmigm6blnbp9m49c3dkqiqqnywl3l39-imagemagick-7.1.1-44/bin:/nix/store/n923lr7212vaxa5p82b2zs0a9n4gicda-libicns-0.8.1-unstable-2022-04-10/bin:/nix/store/bp95if14388zp5s4xh1qhw94arc9rp7l-bash-interactive-5.2p37/bin:/nix/store/ygxds1yhw56046whxq36fkkx96fjy42s-zsh-5.9/bin:/nix/store/q6imnb40dc01hpn2wrlkyzg8mhw8b55r-fish-4.0.0/bin:/nix/store/fc3m1n18s3a5rs4fffaqhiykvdx7s32n-coreutils-9.6/bin:/nix/store/0hyrbiwq9v43bpd9qmysscjynz7jl3s0-gnugrep-3.11/bin:/nix/store/9kycqy5a6dcg236ahyl5n9g4ffq9hr5m-gnused-4.9/bin:/nix/store/6wmhzz0qbj65a50fkiamk511vfa8gchb-groff-1.23.0/bin:/nix/store/npbqs59h5fvs0sk0pgimaahvsg182lvw-gettext-0.22.5/bin:/nix/store/0jd4fjnnrfz0dfxbc5lgfyxjfay73i77-clang-wrapper-19.1.7/bin:/nix/store/c397xq3dql1js7q2my001jz51fwxk8f2-clang-19.1.7/bin:/nix/store/8v19r3366y400xmmsnpslpyddck2ma1m-cctools-binutils-darwin-wrapper-1010.6/bin:/nix/store/7y0vlsf6l8lr3vjsbrirqrsbx4mwqiwf-cctools-binutils-darwin-1010.6/bin:/nix/store/prpzadksziwxb1w7x9y57iqnai22ybbx-xcbuild-0.1.1-unstable-2019-11-20-xcrun/bin:/nix/store/fc3m1n18s3a5rs4fffaqhiykvdx7s32n-coreutils-9.6/bin:/nix/store/c15yf86kbhsms01nylmfrwqczks5jgpq-findutils-4.10.0/bin:/nix/store/p6b6jmbwx1khdalzfq3llq5lxwpdj5sd-diffutils-3.10/bin:/nix/store/9kycqy5a6dcg236ahyl5n9g4ffq9hr5m-gnused-4.9/bin:/nix/store/0hyrbiwq9v43bpd9qmysscjynz7jl3s0-gnugrep-3.11/bin:/nix/store/qrwd1gm74raf808mgxf7q64lcrcrd00k-gawk-5.3.1/bin:/nix/store/20p718g1snq888pm73xhgjc9wx9pdfad-gnutar-1.35/bin:/nix/store/yma338pjwzvfic09qrg21rappjbd2a5h-gzip-1.13/bin:/nix/store/2wdyvqj4fg13rzm3cjmvqnhn1h4n5rm4-bzip2-1.0.8-bin/bin:/nix/store/27xhi94aggy63f3dcf349cln833hjkd8-gnumake-4.4.1/bin:/nix/store/r6hp1dz7lhg07z4qq9db91xf532f7xk8-bash-5.2p37/bin:/nix/store/8f3i51k7g7gpq8d5ccxlsw3nz1k5fjyj-patch-2.7.6/bin:/nix/store/6h0ikxcgrcf81zrris7v4bidsw0763qz-xz-5.6.4-bin/bin:/nix/store/sqpjj3a0390ll3vacdjlybkikh135gz4-file-5.46/bin', 'HOME': '/private/tmp/nix-build-kitty-0.39.1.drv-0/tmpfylwz76h', 'TERM': 'xterm-kitty', 'TERMINFO': '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/terminfo', 'KITTY_SHELL_INTEGRATION': 'enabled', 'KITTY_INSTALLATION_DIR': '/private/tmp/nix-build-kitty-0.39.1.drv-0/source', 'BASH_SILENCE_DEPRECATION_WARNING': '1', 'PYTHONDONTWRITEBYTECODE': '1', 'WEZTERM_SHELL_SKIP_ALL': '1', 'LANG': 'en_US.UTF-8', 'KITTY_FISH_XDG_DATA_DIR': '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/shell-integration', 'XDG_DATA_DIRS': '/private/tmp/nix-build-kitty-0.39.1.drv-0/source/shell-integration', 'KITTY_RUNNING_SHELL_INTEGRATION_TEST': '1'}
    home_dir = '/private/tmp/nix-build-kitty-0.39.1.drv-0/tmpfylwz76h'
    i = 4
    pty = <kitty_tests.PTY object at 0x102823380>
    rc = '\nset -g fish_greeting\nfunction fish_prompt; echo -n "left>"; end\nfunction fish_right_prompt; echo -n "<right"; end\nfunction _test_comp_path; contains "/private/tmp/nix-build-kitty-0.39.1.drv-0/source/shell-integration/fish/vendor_completions.d" $fish_complete_path; and echo ok; end\nfunction _set_key; set -g fish_key_bindings fish_$argv[1]_key_bindings; end\nfunction _set_status_prompt; function fish_prompt; echo -n "$pipestatus $status left>"; end; end\n'
    self = <kitty_tests.shell_integration.ShellIntegration testMethod=test_fish_integration>
    setup_env = None
    shell = 'fish'
  File "/nix/store/wwqdmdr2f5wrjnsjs64bny8df471rh9b-python3-3.12.9/lib/python3.12/shutil.py", line 759, in rmtree
    _rmtree_safe_fd(stack, onexc)
    dir_fd = None
    entry = None
    fd = None
    func = <built-in function rmdir>
    ignore_errors = False
    onerror = None
    onexc = <function rmtree.<locals>.onexc at 0x103842e80>
    path = '/private/tmp/nix-build-kitty-0.39.1.drv-0/tmpfylwz76h'
    stack = []
  File "/nix/store/wwqdmdr2f5wrjnsjs64bny8df471rh9b-python3-3.12.9/lib/python3.12/shutil.py", line 703, in _rmtree_safe_fd
    onexc(func, path, err)
    dirfd = 85
    func = <built-in function rmdir>
    name = 'generated_completions'
    onexc = <function rmtree.<locals>.onexc at 0x103842e80>
    orig_entry = <DirEntry 'generated_completions'>
    path = '/private/tmp/nix-build-kitty-0.39.1.drv-0/tmpfylwz76h/.cache/fish/generated_completions'
    stack = []
  File "/nix/store/wwqdmdr2f5wrjnsjs64bny8df471rh9b-python3-3.12.9/lib/python3.12/shutil.py", line 662, in _rmtree_safe_fd
    os.rmdir(name, dir_fd=dirfd)
    dirfd = 85
    func = <built-in function rmdir>
    name = 'generated_completions'
    onexc = <function rmtree.<locals>.onexc at 0x103842e80>
    orig_entry = <DirEntry 'generated_completions'>
    path = '/private/tmp/nix-build-kitty-0.39.1.drv-0/tmpfylwz76h/.cache/fish/generated_completions'
    stack = []
OSError: [Errno 66] Directory not empty: '/private/tmp/nix-build-kitty-0.39.1.drv-0/tmpfylwz76h/.cache/fish/generated_completions'

----------------------------------------------------------------------
Ran 147 tests in 20.601s

FAILED (errors=1, skipped=3)
All Go tests succeeded, ran in 21.3 seconds
�[31mError�[39m: Some tests failed!
make: *** [Makefile:16: test] Error 1

@i11010520
Copy link
Author

Hey @i11010520

I also ran into a build issue for kitty but on nix-darwin.

I found a way to move past the kitty build error as described on #388020 comment #388020 (comment)

I am unsure if this is the expected behavior of a package build.

It was ok several weeks ago.

@i11010520
Copy link
Author

Ignoring doc/test targets temporarily to overcome kitty build error:

  programs.kitty = {
    enable = true;
    package = pkgs.kitty.overrideAttrs (oldAttrs: {
      makeFlags = [ "app" ];
    });

@Ben9986
Copy link
Contributor

Ben9986 commented Mar 9, 2025

Apologies you're right this does look slightly different, I'll reopen.

@Ben9986 Ben9986 reopened this Mar 9, 2025
@seh
Copy link

seh commented Mar 10, 2025

Ignoring doc/test targets temporarily to overcome kitty build error:

I found that even with that stanza in place, darwin-rebuild build --flake still fails for me in the same way.

@devusb devusb mentioned this issue Mar 11, 2025
13 tasks
@leiserfg
Copy link
Contributor

Guys, can you try this PR #388182 ? it should fix it.

@i11010520
Copy link
Author

Guys, can you try this PR #388182 ? it should fix it.

@leiserfg
Thanks for your work.
I'm not so familiar with home-manager/nixpkgs,
I'll wait for the merged release of nixpkgs' unstable.

@MicroBlueee
Copy link

same problem

@i11010520
Copy link
Author

i11010520 commented Mar 12, 2025

Ignoring doc/test targets temporarily to overcome kitty build error:

I found that even with that stanza in place, darwin-rebuild build --flake still fails for me in the same way.

That temporary trick(makeFlags = [ "app" ];) did not work for me anymore now:

'github:NixOS/nixpkgs/b62d2a95c72fb068aecd374a7262b37ed92df82b?narHash=sha256-cNRqdQD4sZpN7JLqxVOze4%2BWsWTmv2DGH0wNCOVwrWc%3D'
 (2025-03-11)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

6 participants