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 #312692

Closed
YaroKasear opened this issue May 18, 2024 · 13 comments
Closed

Build failure: kitty #312692

YaroKasear opened this issue May 18, 2024 · 13 comments
Labels
0.kind: build failure 6.topic: darwin Running or building packages on Darwin

Comments

@YaroKasear
Copy link

YaroKasear commented May 18, 2024

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

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

�[K[1/1] Compiling �[32mkitty/launcher/main.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.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
�[31mError�[39m: 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 👍 reaction to issues you find important.

@eclairevoyant
Copy link
Contributor

related to #311655 (?)

@eclairevoyant eclairevoyant added the 6.topic: darwin Running or building packages on Darwin label May 18, 2024
@YaroKasear
Copy link
Author

related to #311655 (?)

Any way I can help make that determination?

@YaroKasear
Copy link
Author

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

@Qyriad
Copy link
Member

Qyriad commented May 23, 2024

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

@YaroKasear
Copy link
Author

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
Copy link

imcom commented May 24, 2024

 - 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 ...

@donovanglover
Copy link
Member

Is this fixed now? If so, we can close the issue.

@imcom
Copy link

imcom commented Jul 1, 2024

my end is OK now, thx

@yzx9
Copy link
Contributor

yzx9 commented Jul 5, 2024

Works on my aarch64_darwin.

@kashw2
Copy link
Contributor

kashw2 commented Jul 5, 2024

I too am not able to reproduce this on aarch64-darwin. Likely no longer an issue.

@kashw2 kashw2 closed this as completed Jul 5, 2024
@booxter booxter mentioned this issue Aug 28, 2024
13 tasks
@booxter
Copy link
Contributor

booxter commented Aug 28, 2024

I was trying to validate a fix for darwin kitty and got this error:

test_backspace_wide_characters (kitty_tests.screen.TestScreen.test_backspace_wide_characters) ... o
k
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) ... o
k
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_w
ith_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) ... o
k
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_comman
d_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_placeh
olders_3rd_combining_char) ... ok
test_unicode_placeholders_multiple_placements (kitty_tests.graphics.TestGraphics.test_unicode_place
holders_multiple_placements) ... ok
test_unicode_placeholders_scroll (kitty_tests.graphics.TestGraphics.test_unicode_placeholders_scrol
l) ... 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 certi
ficates 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) ... o
k
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_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_san
itization) ... 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) ... 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_diff
erent_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) ... skipp
ed '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_font_selection (kitty_tests.fonts.Selection.test_font_selection) ... ok
test_zsh_integration (kitty_tests.shell_integration.ShellIntegration.test_zsh_integration) ... ERRO
R
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 mac
OS 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.36.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 0x1045c9640>
    q = 'left>                                                                     <right'
    rps1 = '<right'
    self = <kitty_tests.shell_integration.ShellIntegration testMethod=test_zsh_integration>
  File "/private/tmp/nix-build-kitty-0.36.1.drv-0/source/kitty/launcher/kitty.app/Contents/MacOS/..
/../../../../kitty_tests/__init__.py", line 397, in wait_till
    raise TimeoutError(f'Timed out: {msg}. Screen contents: \n {repr(self.screen_contents())}')
    end_time = 273600.930448416
    msg = 'The condition was not met'
    q = <function ShellIntegration.test_zsh_integration.<locals>.<lambda> at 0x106414fe0>
    self = <kitty_tests.PTY object at 0x1045c9640>
    timeout = 10
    timeout_msg = None
TimeoutError: Timed out: The condition was not met. Screen contents: 
 "gpg-connect-agent: failed to create temporary file '/private/tmp/nix-build-kitty\n-0.36.1.drv-0/t
mpwaj0mg0d/.gnupg/.#lk0x00006000005dc4c0.ihrachys-macpro.60995': \nNo such file or directory\ngpg-c
onnect-agent: can't connect to the gpg-agent: No such file or directory\ngpg-connect-agent: error s
ending standard options: No agent running\nleft>                                                   
                  <right"

======================================================================
ERROR: test_zsh_integration (kitty_tests.shell_integration.ShellIntegrationWithKitten.test_zsh_inte
gration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/private/tmp/nix-build-kitty-0.36.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 0x10634e690>
    q = 'left>                                                                     <right'
    rps1 = '<right'
    self = <kitty_tests.shell_integration.ShellIntegrationWithKitten testMethod=test_zsh_integratio
n>
  File "/private/tmp/nix-build-kitty-0.36.1.drv-0/source/kitty/launcher/kitty.app/Contents/MacOS/..
/../../../../kitty_tests/__init__.py", line 397, in wait_till
    raise TimeoutError(f'Timed out: {msg}. Screen contents: \n {repr(self.screen_contents())}')
    end_time = 273611.08255825
    msg = 'The condition was not met'
    q = <function ShellIntegration.test_zsh_integration.<locals>.<lambda> at 0x106416e80>
    self = <kitty_tests.PTY object at 0x10634e690>
    timeout = 10
    timeout_msg = None
TimeoutError: Timed out: The condition was not met. Screen contents: 
 "gpg-connect-agent: failed to create temporary file '/private/tmp/nix-build-kitty\n-0.36.1.drv-0/t
mphrhw2vbn/.gnupg/.#lk0x0000600003174540.ihrachys-macpro.61044': \nNo such file or directory\ngpg-c
onnect-agent: can't connect to the gpg-agent: No such file or directory\ngpg-connect-agent: error s
ending 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.36.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 0x107bc7d40>
    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.36.1.drv-0/tmpx923ka4u'
AssertionError: "gpg-connect-agent: failed to create temp[323 chars]file" != 'UNTAR_DONE\nld:before
_tarfile'
- gpg-connect-agent: failed to create temporary file '/private/tmp/nix-build-kitty
- -0.36.1.drv-0/tmpx923ka4u/.gnupg/.#lk0x00006000002c0440.ihrachys-macpro.59696': 
- 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 131 tests in 42.731s

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

Wonder if this is still not fixed.

@booxter
Copy link
Contributor

booxter commented Aug 28, 2024

FYI this solved the issue for me: ac82f35

I don't know if it's a good idea to proliferate these test skips though.

@booxter
Copy link
Contributor

booxter commented Aug 28, 2024

@kashw2 this is still an issue it seems. Can we reopen the issue?

This is no longer an issue after nix-darwin was fixed to not produce spurious output on some setups.

booxter added a commit to booxter/kitty that referenced this issue Aug 29, 2024
This helps isolating system-wide zsh instance running in tests from the
broader system shell initialization for limited nix environments.

This fixes failures as reported here:
NixOS/nixpkgs#312692

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
booxter added a commit to booxter/nixpkgs that referenced this issue Oct 4, 2024
These tests were disabled because of failures on nix-darwin systems due
to zshenv producing spurious output in some scenarios:

LnL7/nix-darwin#1051

The linked bug is fixed in nix-darwin, and it should be now possible to
run the tests on a fresh nix-darwin system.

Related: NixOS#312692
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure 6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

8 participants