NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.3k stars 12.81k forks source link

Build failure: kitty #312692

Open YaroKasear opened 1 month ago

YaroKasear commented 1 month ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build kitty from nixpkgs-unstable on aarch64-darwin

Build log

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
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/ky64zqsqgqmqicjzjbk4py7fh7pmby91-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/update-on-ox
@nix { "action": "setPhase", "phase": "patchPhase" }
Running 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).
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase

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

[1/4] Linking kitty/fast_data_types ...
[2/4] Linking [cocoa] kitty/glfw-cocoa ...
[3/4] Linking kittens/transfer/rsync ...
[4/4] Linking launcher ... done
encoding
unicode/utf16
golang.org/x/exp/maps
golang.org/x/exp/constraints
kitty
container/list
crypto/internal/alias
crypto/subtle
crypto/internal/boring/sig
golang.org/x/exp/slices
internal/nettrace
github.com/seancfoley/ipaddress-go/ipaddr/addrerr
github.com/seancfoley/ipaddress-go/ipaddr/addrstr
bufio
hash
encoding/base64
os/user
github.com/bmatcuk/doublestar/v4
crypto/cipher
golang.org/x/sys/unix
hash/crc32
crypto
encoding/json
compress/flate
archive/tar
compress/bzip2
crypto/internal/boring
crypto/internal/randutil
encoding/base32
github.com/ALTree/bigfloat
crypto/md5
crypto/rand
context
crypto/sha1
encoding/hex
vendor/golang.org/x/net/dns/dnsmessage
vendor/golang.org/x/net/route
internal/singleflight
database/sql/driver
internal/intern
compress/gzip
net/netip
github.com/seancfoley/ipaddress-go/ipaddr/addrstrparam
github.com/seancfoley/bintree/tree
encoding/xml
io/ioutil
net
math/rand/v2
mime
crypto/aes
crypto/des
crypto/internal/edwards25519/field
crypto/internal/nistec/fiat
embed
crypto/internal/bigmod
crypto/internal/boring/bbig
crypto/sha512
vendor/golang.org/x/crypto/cryptobyte/asn1
encoding/asn1
crypto/internal/edwards25519
crypto/hmac
crypto/rc4
crypto/rsa
crypto/sha256
crypto/dsa
howett.net/plist
crypto/ed25519
crypto/x509/internal/macos
encoding/pem
net/url
vendor/golang.org/x/crypto/cryptobyte
crypto/x509/pkix
vendor/golang.org/x/crypto/internal/alias
vendor/golang.org/x/crypto/chacha20
vendor/golang.org/x/crypto/internal/poly1305
vendor/golang.org/x/crypto/hkdf
vendor/golang.org/x/text/transform
log/internal
vendor/golang.org/x/net/http2/hpack
log
vendor/golang.org/x/crypto/chacha20poly1305
vendor/golang.org/x/text/unicode/norm
mime/quotedprintable
net/http/internal
vendor/golang.org/x/text/unicode/bidi
net/http/internal/ascii
os/exec
regexp/syntax
kitty/tools/utils/shlex
os/signal
crypto/internal/nistec
archive/zip
github.com/shirou/gopsutil/v3/common
github.com/shirou/gopsutil/v3/internal/common
vendor/golang.org/x/text/secure/bidirule
github.com/shoenig/go-m1cpu
github.com/tklauser/go-sysconf
image/color
github.com/shirou/gopsutil/v3/cpu
crypto/ecdh
crypto/elliptic
github.com/shirou/gopsutil/v3/mem
hash/adler32
image
golang.org/x/image/tiff/lzw
regexp
compress/lzw
compress/zlib
image/color/palette
github.com/rwcarlsen/goexif/tiff
golang.org/x/image/riff
kitty/tools/utils/secrets
github.com/zeebo/xxh3
github.com/dlclark/regexp2/syntax
github.com/rwcarlsen/goexif/exif
crypto/ecdsa
golang.org/x/image/bmp
golang.org/x/image/ccitt
golang.org/x/image/tiff
image/internal/imageutil
image/draw
image/jpeg
image/gif
image/png
golang.org/x/image/vp8
vendor/golang.org/x/net/idna
golang.org/x/image/vp8l
github.com/disintegration/imaging
github.com/kovidgoyal/imaging
golang.org/x/image/webp
github.com/edwvee/exiffix
github.com/dlclark/regexp2
github.com/google/uuid
github.com/shirou/gopsutil/v3/net
vendor/golang.org/x/net/http/httpproxy
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/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/tui/shortcuts
kitty/tools/config
kitty/kittens/hyperlinked_grep
kitty/kittens/show_key
kitty/tools/utils/shm
kitty/tools/tui/readline
kitty/tools/tui
kitty/tools/utils/images
kitty/tools/cmd/run_shell
kitty/tools/cmd/show_error
kitty/tools/cmd/update_self
kitty/tools/cmd/edit_in_kitty
kitty/kittens/hints
kitty/kittens/ask
kitty/tools/tui/subseq
kitty/tools/cmd/at
kitty/kittens/clipboard
kitty/tools/tui/graphics
kitty/tools/unicode_names
kitty/tools/themes
kitty/kittens/unicode_input
kitty/tools/cmd/benchmark
kitty/kittens/icat
kitty/kittens/ssh
kitty/kittens/themes
kitty/kittens/transfer
kitty/tools/cmd/pytest
kitty/kittens/diff
kitty/tools/cmd/tool
kitty/tools/cmd/completion
kitty/tools/cmd
iconutil not found, using png2icns (without retina support) to convert the logo
Using icns type 'is32', mask 's8mk' for '/private/tmp/nix-build-kitty-0.34.1.drv-0/source/logo/kitty.iconset/icon_16x16.png'
Using icns type 'il32', mask 'l8mk' for '/private/tmp/nix-build-kitty-0.34.1.drv-0/source/logo/kitty.iconset/icon_32x32.png'
Using icns type 'ic07' (ARGB) for '/private/tmp/nix-build-kitty-0.34.1.drv-0/source/logo/kitty.iconset/icon_128x128.png'
Using icns type 'ic08' (ARGB) for '/private/tmp/nix-build-kitty-0.34.1.drv-0/source/logo/kitty.iconset/icon_256x256.png'
Using icns type 'ic09' (ARGB) for '/private/tmp/nix-build-kitty-0.34.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.34.1.drv-0/source/docs'
sphinx-build -M man "." "_build" -n -q -j auto -T   
matplotlib is not installed, social cards will not be generated
/private/tmp/nix-build-kitty-0.34.1.drv-0/source/docs/changelog.rst:3313: ERROR: git commit id "8dea5b3" not recognized.
/private/tmp/nix-build-kitty-0.34.1.drv-0/source/docs/changelog.rst:3428: ERROR: git commit id "ad1109b" not recognized.
/private/tmp/nix-build-kitty-0.34.1.drv-0/source/docs/changelog.rst:3440: ERROR: git commit id "889ca77" not recognized.
make[1]: Leaving directory '/private/tmp/nix-build-kitty-0.34.1.drv-0/source/docs'
make -C docs html
make[1]: Entering directory '/private/tmp/nix-build-kitty-0.34.1.drv-0/source/docs'
sphinx-build -M html "." "_build" -n -q -j auto -T   
matplotlib is not installed, social cards will not be generated
make[1]: Leaving directory '/private/tmp/nix-build-kitty-0.34.1.drv-0/source/docs'

[1/1] Compiling kitty/launcher/main.c ... done

[1/1] Linking launcher ... done
iconutil not found, using png2icns (without retina support) to convert the logo
Using icns type 'is32', mask 's8mk' for '/private/tmp/nix-build-kitty-0.34.1.drv-0/source/logo/kitty.iconset/icon_16x16.png'
Using icns type 'il32', mask 'l8mk' for '/private/tmp/nix-build-kitty-0.34.1.drv-0/source/logo/kitty.iconset/icon_32x32.png'
Using icns type 'ic07' (ARGB) for '/private/tmp/nix-build-kitty-0.34.1.drv-0/source/logo/kitty.iconset/icon_128x128.png'
Using icns type 'ic08' (ARGB) for '/private/tmp/nix-build-kitty-0.34.1.drv-0/source/logo/kitty.iconset/icon_256x256.png'
Using icns type 'ic09' (ARGB) for '/private/tmp/nix-build-kitty-0.34.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/tui
kitty/tools/cmd/run_shell
kitty/kittens/hints
kitty/kittens/ssh
kitty/tools/cmd/update_self
kitty/kittens/transfer
kitty/kittens/icat
kitty/tools/cmd/at
kitty/kittens/diff
kitty/tools/cmd/completion
kitty.app successfully built!
buildPhase completed in 45 seconds
@nix { "action": "setPhase", "phase": "installPhase" }
Running phase: installPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
Running phase: fixupPhase
checking for references to /private/tmp/nix-build-kitty-0.34.1.drv-0/ in /nix/store/8a6vgpic686awbc2irnh1bi290g0pljb-kitty-0.34.1...
gzipping man pages under /nix/store/8a6vgpic686awbc2irnh1bi290g0pljb-kitty-0.34.1/share/man/
patching script interpreter paths in /nix/store/8a6vgpic686awbc2irnh1bi290g0pljb-kitty-0.34.1
stripping (with command strip and flags -S) in  /nix/store/8a6vgpic686awbc2irnh1bi290g0pljb-kitty-0.34.1/bin
checking for references to /private/tmp/nix-build-kitty-0.34.1.drv-0/ in /nix/store/2rvzjvszwzh9w6qpby3bsws6gmcnzisd-kitty-0.34.1-terminfo...
patching script interpreter paths in /nix/store/2rvzjvszwzh9w6qpby3bsws6gmcnzisd-kitty-0.34.1-terminfo
checking for references to /private/tmp/nix-build-kitty-0.34.1.drv-0/ in /nix/store/x8z77r1cx4hzzigg9vi8ah0dpmy8a5pi-kitty-0.34.1-shell_integration...
patching script interpreter paths in /nix/store/x8z77r1cx4hzzigg9vi8ah0dpmy8a5pi-kitty-0.34.1-shell_integration
checking for references to /private/tmp/nix-build-kitty-0.34.1.drv-0/ in /nix/store/xkp71s3kn16kn5gi31pkbg67w0b4yz1k-kitty-0.34.1-kitten...
patching script interpreter paths in /nix/store/xkp71s3kn16kn5gi31pkbg67w0b4yz1k-kitty-0.34.1-kitten
stripping (with command strip and flags -S) in  /nix/store/xkp71s3kn16kn5gi31pkbg67w0b4yz1k-kitty-0.34.1-kitten/bin
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
@nix { "action": "setPhase", "phase": "installCheckPhase" }
Running phase: installCheckPhase
substituteStream(): WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'kitty_tests/file_transmission.py')
substituteStream(): WARNING: pattern test_path_mapping_receive doesn't match anything in 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_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_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_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_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_desktop_notify (kitty_tests.parser.TestParser.test_desktop_notify) ... 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_color_profile (kitty_tests.datatypes.TestDataTypes.test_color_profile) ... 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_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_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) ... 
  test_ssh_leading_data (kitty_tests.ssh.SSHKitten.test_ssh_leading_data) (sh='zsh') ... FAIL
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_clipboard_write_request (kitty_tests.clipboard.TestClipboard.test_clipboard_write_request) ... ok
test_zsh_integration (kitty_tests.shell_integration.ShellIntegration.test_zsh_integration) ... ERROR
test_zsh_integration (kitty_tests.shell_integration.ShellIntegrationWithKitten.test_zsh_integration) ... ERROR
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_zsh_integration (kitty_tests.shell_integration.ShellIntegration.test_zsh_integration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/private/tmp/nix-build-kitty-0.34.1.drv-0/source/kitty/launcher/kitty.app/Contents/MacOS/../../../../../kitty_tests/shell_integration.py", line 120, in test_zsh_integration
    pty.wait_till(lambda: pty.screen_contents() == q)
    ps1 = 'left>'
    pty = <kitty_tests.PTY object at 0x103b80a10>
    q = 'left>                                                                     <right'
    rps1 = '<right'
    self = <kitty_tests.shell_integration.ShellIntegration testMethod=test_zsh_integration>
  File "/private/tmp/nix-build-kitty-0.34.1.drv-0/source/kitty/launcher/kitty.app/Contents/MacOS/../../../../../kitty_tests/__init__.py", line 368, in wait_till
    raise TimeoutError(f'The condition was not met. Screen contents: \n {repr(self.screen_contents())}')
    end_time = 745407.613614083
    q = <function ShellIntegration.test_zsh_integration.<locals>.<lambda> at 0x103b09f80>
    self = <kitty_tests.PTY object at 0x103b80a10>
    timeout = 10
TimeoutError: The condition was not met. Screen contents: 
 "gpg-connect-agent: failed to create temporary file '/private/tmp/nix-build-kitty\n-0.34.1.drv-0/tmp16ggrgly/.gnupg/.#lk0x000060000088c580.Gwyn.1926': No such file\n or directory\ngpg-connect-agent: can't connect to the gpg-agent: No such file or directory\ngpg-connect-agent: error sending standard options: No agent running\nleft>                                                                     <right"

======================================================================
ERROR: test_zsh_integration (kitty_tests.shell_integration.ShellIntegrationWithKitten.test_zsh_integration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/private/tmp/nix-build-kitty-0.34.1.drv-0/source/kitty/launcher/kitty.app/Contents/MacOS/../../../../../kitty_tests/shell_integration.py", line 120, in test_zsh_integration
    pty.wait_till(lambda: pty.screen_contents() == q)
    ps1 = 'left>'
    pty = <kitty_tests.PTY object at 0x103b672d0>
    q = 'left>                                                                     <right'
    rps1 = '<right'
    self = <kitty_tests.shell_integration.ShellIntegrationWithKitten testMethod=test_zsh_integration>
  File "/private/tmp/nix-build-kitty-0.34.1.drv-0/source/kitty/launcher/kitty.app/Contents/MacOS/../../../../../kitty_tests/__init__.py", line 368, in wait_till
    raise TimeoutError(f'The condition was not met. Screen contents: \n {repr(self.screen_contents())}')
    end_time = 745417.722705125
    q = <function ShellIntegration.test_zsh_integration.<locals>.<lambda> at 0x103b0ea20>
    self = <kitty_tests.PTY object at 0x103b672d0>
    timeout = 10
TimeoutError: The condition was not met. Screen contents: 
 "gpg-connect-agent: failed to create temporary file '/private/tmp/nix-build-kitty\n-0.34.1.drv-0/tmpyhkk9wr7/.gnupg/.#lk0x0000600000944400.Gwyn.1943': No such file\n or directory\ngpg-connect-agent: can't connect to the gpg-agent: No such file or directory\ngpg-connect-agent: error sending standard options: No agent running\nleft>                                                                     <right"

======================================================================
FAIL: test_ssh_leading_data (kitty_tests.ssh.SSHKitten.test_ssh_leading_data) (sh='zsh')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/private/tmp/nix-build-kitty-0.34.1.drv-0/source/kitty/launcher/kitty.app/Contents/MacOS/../../../../../kitty_tests/ssh.py", line 167, in test_ssh_leading_data
    self.ae(pty.screen_contents(), 'UNTAR_DONE\nld:before_tarfile')
    pty = <kitty_tests.PTY object at 0x103b80350>
    script = 'echo "ld:$leading_data"; exit 0'
    self = <kitty_tests.ssh.SSHKitten testMethod=test_ssh_leading_data>
    sh = 'zsh'
    tdir = '/private/tmp/nix-build-kitty-0.34.1.drv-0/tmpgq9psdjs'
AssertionError: "gpg-connect-agent: failed to create temp[310 chars]file" != 'UNTAR_DONE\nld:before_tarfile'
- gpg-connect-agent: failed to create temporary file '/private/tmp/nix-build-kitty
- -0.34.1.drv-0/tmpgq9psdjs/.gnupg/.#lk0x0000600000d88380.Gwyn.444': No such file 
- or directory
- gpg-connect-agent: can't connect to the gpg-agent: No such file or directory
- gpg-connect-agent: error sending standard options: No agent running
  UNTAR_DONE
  ld:before_tarfile

----------------------------------------------------------------------
Ran 129 tests in 36.913s

FAILED (failures=1, errors=2, skipped=3)
All Go tests succeeded, ran in 37.4 seconds
Error: Some tests failed!
make: *** [Makefile:16: test] Error 1

Notify maintainers

@tex @rvolosatovs @Luflosi @kashw2

Metadata

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

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

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

eclairevoyant commented 1 month ago

related to #311655 (?)

YaroKasear commented 4 weeks ago

related to #311655 (?)

Any way I can help make that determination?

YaroKasear commented 3 weeks ago

I'm still not able to install Kitty on my Mac, is there anything I can do about this?

Qyriad commented 3 weeks ago

@YaroKasear this seems to be fixed on master. What channel or commit of Nixpkgs are you on?

YaroKasear commented 3 weeks ago

I'll let you know once I can build. Some broken package (k5test Python module?) is blocking my Flake. I doubt it's related to Kitty, though.

imcom commented 3 weeks ago
 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.4.0, macOS 14.4.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.20.5`
 - nixpkgs: `/nix/store/0kl2p60mvnpscnza21p8583sz3f60jxf-source`

I believe it is not about Kitty. I cannot switch my home-manager now.

error: Package ‘python3.11-k5test-0.10.4’ in /nix/store/0kl2p60mvnpscnza21p8583sz3f60jxf-source/pkgs/development/python-modules/k5test/default.nix:45 is marked as broken, refusing to evaluate.

This is so frustrating ...