• Bug#1099240: kitty: FTBFS: ERROR: test_fish_integration (kitty_tests.sh

    From Santiago Vila@21:1/5 to All on Sat Mar 1 22:10:02 2025
    Package: src:kitty
    Version: 0.39.1-1
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    dh clean --with python3 --with sphinxdoc
    debian/rules override_dh_auto_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    python3 setup.py --verbose clean
    dh_auto_clean --buildsystem=golang -O--builddirectory=_build
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_clean
    debian/rules binary
    dh binary --with python3 --with sphinxdoc
    dh_update_autotools_config
    dh_autoreconf
    debian/rules override_dh_auto_configure
    make[1]: Entering directory '/<<PKGBUILDDIR>>'

    [... snipped ...]

    hash/crc32
    compress/gzip
    encoding/base64
    encoding/json
    archive/tar
    github.com/bmatcuk/doublestar
    golang.org/x/sys/unix
    compress/bzip2
    crypto
    crypto/internal/fips140deps/godebug
    crypto/internal/fips140
    crypto/internal/impl
    crypto/internal/fips140/sha256
    crypto/internal/fips140/sha3
    crypto/internal/fips140/sha512
    crypto/internal/fips140/hmac
    crypto/internal/fips140/check
    crypto/internal/fips140/aes
    crypto/internal/sysrand
    crypto/internal/entropy
    math/rand/v2
    crypto/subtle
    crypto/internal/randutil
    math/rand
    crypto/internal/fips140/drbg
    crypto/internal/fips140/aes/gcm
    crypto/internal/fips140only
    math/big
    crypto/cipher
    crypto/internal/boring
    encoding/base32
    crypto/md5
    crypto/sha1
    context
    database/sql/driver
    encoding/hex
    vendor/golang.org/x/net/dns/dnsmessage
    crypto/rand
    github.com/ALTree/bigfloat
    internal/singleflight
    weak
    unique
    container/heap
    github.com/seancfoley/bintree/tree
    net/netip
    github.com/seancfoley/ipaddress-go/ipaddr/addrstrparam
    net/url
    os/exec
    github.com/shirou/gopsutil/internal/common
    net
    io/ioutil
    github.com/tklauser/numcpus
    github.com/tklauser/go-sysconf
    github.com/shirou/gopsutil/cpu
    github.com/shirou/gopsutil/mem
    encoding/xml
    howett.net/plist
    mime
    crypto/aes
    crypto/des
    crypto/internal/fips140/nistec/fiat
    crypto/internal/fips140/nistec
    github.com/google/uuid
    github.com/seancfoley/ipaddress-go/ipaddr
    github.com/shirou/gopsutil/net
    github.com/shirou/gopsutil/process
    crypto/internal/fips140/ecdh
    crypto/internal/fips140/edwards25519/field
    crypto/ecdh
    crypto/elliptic
    crypto/internal/boring/bbig
    crypto/internal/fips140/bigmod
    crypto/internal/fips140/ecdsa
    crypto/sha3
    crypto/internal/fips140hash
    crypto/sha512
    encoding/asn1
    vendor/golang.org/x/crypto/cryptobyte
    crypto/ecdsa
    crypto/internal/fips140/edwards25519
    crypto/internal/fips140/ed25519
    crypto/ed25519
    crypto/hmac
    crypto/internal/fips140/hkdf
    crypto/internal/fips140/mlkem
    crypto/internal/fips140/tls12
    crypto/internal/fips140/tls13
    vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305
    vendor/golang.org/x/sys/cpu
    vendor/golang.org/x/crypto/chacha20poly1305
    crypto/internal/hpke
    crypto/rc4
    crypto/internal/fips140/rsa
    crypto/rsa
    crypto/sha256
    crypto/tls/internal/fips140tls
    crypto/dsa
    crypto/x509/pkix
    encoding/pem
    crypto/x509
    crypto/tls
    vendor/golang.org/x/text/transform
    log
    vendor/golang.org/x/text/unicode/bidi
    vendor/golang.org/x/text/secure/bidirule
    vendor/golang.org/x/text/unicode/norm
    vendor/golang.org/x/net/idna
    net/textproto
    vendor/golang.org/x/net/http/httpguts
    vendor/golang.org/x/net/http/httpproxy
    vendor/golang.org/x/net/http2/hpack
    mime/quotedprintable
    mime/multipart
    net/http/httptrace
    net/http/internal
    net/http/internal/ascii
    net/http
    regexp/syntax
    regexp
    os/signal
    archive/zip
    image
    golang.org/x/image/bmp
    hash/adler32
    compress/zlib
    golang.org/x/image/ccitt
    golang.org/x/image/tiff/lzw
    golang.org/x/image/tiff
    image/internal/imageutil
    image/draw
    compress/lzw
    image/gif
    image/jpeg
    image/png
    github.com/disintegration/imaging
    github.com/rwcarlsen/goexif/tiff
    github.com/rwcarlsen/goexif/exif
    github.com/edwvee/exiffix
    kitty/vendor/github.com/kovidgoyal/imaging
    golang.org/x/image/riff
    golang.org/x/image/vp8
    golang.org/x/image/vp8l
    golang.org/x/image/webp
    embed
    kitty/tools/utils/secrets
    github.com/dlclark/regexp2/syntax
    github.com/dlclark/regexp2
    github.com/alecthomas/chroma/v2
    github.com/alecthomas/chroma/v2/lexers
    github.com/alecthomas/chroma/v2/styles
    flag
    github.com/klauspost/cpuid/v2
    github.com/zeebo/xxh3
    kitty/tools/utils
    kitty/tools/utils/shlex
    kitty/tools/wcswidth
    kitty/tools/tty
    kitty/tools/tui/shell_integration
    kitty/tools/utils/base85
    kitty/tools/utils/paths
    kitty/tools/crypto
    kitty/tools/rsync
    kitty/tools/utils/style
    kitty/tools/utils/humanize
    kitty/tools/cli/markup
    kitty/tools/tui/loop
    kitty/tools/cli
    kitty/tools/config
    kitty/tools/tui/shortcuts
    kitty/tools/tui/sgr
    kitty/tools/cmd/mouse_demo
    kitty/tools/utils/shm
    kitty/tools/tui
    kitty/tools/utils/images
    kitty/tools/tui/subseq
    kitty/tools/themes
    kitty/tools/tui/readline
    kitty/kittens/ssh
    kitty/tools/cmd/at
    kitty/kittens/ask
    kitty/tools/tui/graphics
    kitty/kittens/choose_fonts
    kitty/kittens/clipboard
    kitty/kittens/diff
    kitty/kittens/hints
    kitty/kittens/hyperlinked_grep
    kitty/kittens/icat
    kitty/kittens/notify
    kitty/kittens/query_terminal
    kitty/kittens/show_key
    kitty/kittens/themes
    kitty/tools/unicode_names
    kitty/kittens/unicode_input
    kitty/tools/cmd/atexit
    kitty/tools/cmd/benchmark
    kitty/kittens/transfer
    kitty/tools/cmd/edit_in_kitty
    kitty/tools/cmd/pytest
    kitty/tools/cmd/run_shell
    kitty/tools/cmd/show_error
    kitty/tools/cmd/update_self
    kitty/tools/cmd/tool
    kitty/tools/cmd/completion
    kitty/tools/cmd
    ln -s /<<PKGBUILDDIR>>/linux-package/bin/kitten /<<PKGBUILDDIR>>/kitty/launcher/kitten
    /usr/bin/make docs
    make[2]: Entering directory '/<<PKGBUILDDIR>>'
    /usr/bin/make -C docs man
    make[3]: Entering directory '/<<PKGBUILDDIR>>/docs'
    sphinx-build -M man "." "_build" -n -q -j auto -T /<<PKGBUILDDIR>>/docs/index.rst:6: WARNING: toctree contains reference to nonexisting document 'quickstart' [toc.not_readable]
    /<<PKGBUILDDIR>>/docs/kittens/diff.rst:34: WARNING: undefined label: 'quickstart' [ref.ref]
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/docs'
    /usr/bin/make -C docs html
    make[3]: Entering directory '/<<PKGBUILDDIR>>/docs'
    sphinx-build -M html "." "_build" -n -q -j auto -T /<<PKGBUILDDIR>>/docs/index.rst:6: WARNING: toctree contains reference to nonexisting document 'quickstart' [toc.not_readable]
    /<<PKGBUILDDIR>>/docs/changelog.rst:4: WARNING: unknown document: 'binary' [ref.doc]
    /<<PKGBUILDDIR>>/docs/changelog.rst:687: WARNING: unknown document: '/build' [ref.doc]
    /<<PKGBUILDDIR>>/docs/changelog.rst:1484: WARNING: undefined label: 'packagers' [ref.ref]
    /<<PKGBUILDDIR>>/docs/changelog.rst:3662: WARNING: unknown document: 'binary' [ref.doc]
    /<<PKGBUILDDIR>>/docs/index.rst:60: WARNING: unknown document: 'quickstart' [ref.doc]
    /<<PKGBUILDDIR>>/docs/kittens/diff.rst:34: WARNING: undefined label: 'quickstart' [ref.ref]
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/docs'
    make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    debian/rules override_dh_auto_test
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    mkdir -p "/<<PKGBUILDDIR>>/debian/fakehome"
    mkdir -p "/<<PKGBUILDDIR>>/debian/fakeruntime"
    # Run python tests
    GOPATH="/<<PKGBUILDDIR>>/_build" HOME="/<<PKGBUILDDIR>>/debian/fakehome" KITTY_RUNTIME_DIRECTORY="/<<PKGBUILDDIR>>/debian/fakeruntime" python3 setup.py --verbose build-launcher --skip-building-kitten --skip-code-generation
    CC: ['gcc'] (14, 0)
    gcc (Debian 14.2.0-17) 14.2.0
    Copyright (C) 2024 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected: CompilerType.gcc
    gcc -DWRAPPED_KITTENS=" ask clipboard diff hints hyperlinked_grep icat query_terminal show_key ssh themes transfer unicode_input " -DFROM_SOURCE -DKITTY_LIB_PATH="../.." -Wdate-time -D_FORTIFY_SOURCE=2 -DKITTY_CLI_BOOL_OPTIONS=" detach hold single-
    instance 1 wait-for-single-instance-window-close version v dump-commands debug-rendering debug-gl debug-input debug-keyboard debug-font-fallback execute e " -DKITTY_VERSION="0.39.1" -Wall -pedantic-errors -Werror -fpie -O3 -I/usr/include/python3.13 -g -
    O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c kitty/launcher/main.c -o build/kitty-launcher-main.o
    gcc -DWRAPPED_KITTENS=" ask clipboard diff hints hyperlinked_grep icat query_terminal show_key ssh themes transfer unicode_input " -DFROM_SOURCE -DKITTY_LIB_PATH="../.." -Wdate-time -D_FORTIFY_SOURCE=2 -DKITTY_CLI_BOOL_OPTIONS=" detach hold single-
    instance 1 wait-for-single-instance-window-close version v dump-commands debug-rendering debug-gl debug-input debug-keyboard debug-font-fallback execute e " -DKITTY_VERSION="0.39.1" -Wall -pedantic-errors -Werror -fpie -O3 -I/usr/include/python3.13 -g -
    O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c kitty/launcher/single-instance.c -o build/kitty-launcher-single-instance.o
    gcc -Wl,-z,relro -Wl,-z,now build/kitty-launcher-main.o build/kitty-launcher-single-instance.o -ldl -lm -L/usr/lib/x86_64-linux-gnu -lpython3.13 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -o kitty/launcher/kitty
    Skipping generation of Go files due to command line option
    Skipping building of the kitten binary because of a command line option. Build is incomplete
    LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 GOPATH="/<<PKGBUILDDIR>>/_build" HOME="/<<PKGBUILDDIR>>/debian/fakehome" KITTY_RUNTIME_DIRECTORY="/<<PKGBUILDDIR>>/debian/fakeruntime" python3 setup.py --verbose test
    Running under CI: False
    Go packages being tested: kittens/diff _build/src/kitty/tools/wcswidth _build/src/kitty/tools/config _build/src/kitty/tools/utils/style tools/themes tools/tui/subseq _build/src/kitty/tools/tui/sgr _build/src/kitty/tools/tui/loop tools/utils _build/src/
    kitty/tools/tui/subseq _build/src/kitty/tools/tui tools/cmd/at _build/src/kitty/tools/utils/shm _build/src/kitty/tools/utils/humanize _build/src/kitty/tools/tui/shell_integration tools/rsync _build/src/kitty/kittens/ssh kittens/transfer tools/simdstring
    tools/config _build/src/kitty/tools/rsync kittens/ssh _build/src/kitty/kittens/hints tools/tui/loop _build/src/kitty/kittens/hyperlinked_grep _build/src/kitty/tools/tui/graphics _build/src/kitty/tools/simdstring _build/src/kitty/kittens/diff tools/tui
    tools/tui/shell_integration _build/src/kitty/tools/utils tools/wcswidth tools/tui/readline _build/src/kitty/tools/unicode_names _build/src/kitty/tools/cli kittens/hints tools/utils/shlex tools/unicode_names _build/src/kitty/tools/utils/shle
    x tools/utils/shm _build/src/kitty/tools/themes _build/src/kitty/tools/cmd/at tools/utils/humanize .pc/0004-skip-TestHintMarking.patch/kittens/hints tools/tui/graphics tools/tui/sgr tools/utils/base85 _build/src/kitty/tools/utils/base85 .pc/0004-skip-
    TestHintMarking.patch/tools/utils kittens/hyperlinked_grep _build/src/kitty/kittens/transfer tools/utils/style _build/src/kitty/tools/tui/readline tools/cli
    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_atexit (kitty_tests.atexit.Atexit.test_atexit) ... 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) ... skipped 'Only macOS has a Last Resort font'
    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_search_query_parser (kitty_tests.search_query_parser.TestSQP.test_search_query_parser) ... ok
    test_shm_with_kitten (kitty_tests.shm.SHMTest.test_shm_with_kitten) ... 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_conf_parsing (kitty_tests.options.TestConfParsing.test_conf_parsing) ... ok
    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_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) ... ERROR
    test_zsh_integration (kitty_tests.shell_integration.ShellIntegrationWithKitten.test_zsh_integration) ... ok
    test_mouse_selection (kitty_tests.mouse.TestMouse.test_mouse_selection) ... 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) ... ok test_desktop_notify (kitty_tests.notifications.TestNotifications.test_desktop_notify) ... [22.320] Ignoring invalid base64 encoded data in notification request
    [22.321] Ignoring invalid base64 encoded data in notification request
    [22.321] Ignoring invalid base64 encoded data in notification request
    [22.321] Ignoring invalid base64 encoded data in notification request
    [22.322] Received incomplete encoded data for notification request
    [22.322] Received incomplete encoded data for notification request
    [22.322] Received incomplete encoded data for notification request
    [22.322] Received incomplete encoded data for notification request
    [22.322] Received incomplete encoded data for notification request
    [22.322] Received incomplete encoded data for notification request
    [22.323] Received incomplete encoded data for notification request
    [22.323] Received incomplete encoded data for notification request
    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_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_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_transfer_send (kitty_tests.file_transmission.TestFileTransmission.test_transfer_send) ... 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_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) ... ok
    test_ssh_shell_integration (kitty_tests.ssh.SSHKitten.test_ssh_shell_integration) ... 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_completion (kitty_tests.completion.TestCompletion.test_completion) ... ok test_line_edit (kitty_tests.tui.TestTUI.test_line_edit) ... ok test_multiprocessing_spawn (kitty_tests.tui.TestTUI.test_multiprocessing_spawn) ... ok
    test_parsing_of_open_actions (kitty_tests.open_actions.TestOpenActions.test_parsing_of_open_actions) ... 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_elliptic_curve_data_exchange (kitty_tests.crypto.TestCrypto.test_elliptic_curve_data_exchange) ... ok

    ======================================================================
    ERROR: test_fish_integration (kitty_tests.shell_integration.ShellIntegration.test_fish_integration)
    ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/kitty/launcher/../../kitty_tests/shell_integration.py", line 198, in test_fish_integration
    self.assert_command(pty, cmd)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
    cmd = 'string match -q -- "*/<<PKGBUILDDIR>>/shell-integration*" "$XDG_DATA_DIRS" || echo "XDD_OK"'
    completions_dir = '/<<PKGBUILDDIR>>/shell-integration/fish/vendor_completions.d'
    fish_prompt = 'left>'
    pty = <kitty_tests.PTY object at 0x7f3e91174050>
    q = 'left> <right'
    right_prompt = '<right'
    self = <kitty_tests.shell_integration.ShellIntegration testMethod=test_fish_integration>
    File "/<<PKGBUILDDIR>>/kitty/launcher/../../kitty_tests/shell_integration.py", line 269, in assert_command
    pty.wait_till(lambda: pty.callbacks.last_cmd_cmdline == cmd, timeout_msg=lambda: f'{pty.callbacks.last_cmd_cmdline=!r} != {cmd!r}')
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    cmd = 'string match -q -- "*/<<PKGBUILDDIR>>/shell-integration*" "$XDG_DATA_DIRS" || echo "XDD_OK"'
    exit_status = 0
    pty = <kitty_tests.PTY object at 0x7f3e91174050>
    self = <kitty_tests.shell_integration.ShellIntegration testMethod=test_fish_integration>
    File "/<<PKGBUILDDIR>>/kitty/launcher/../../kitty_tests/__init__.py", line 404, in wait_till
    raise TimeoutError(f'Timed out: {msg}. Screen contents: \n {repr(self.screen_contents())}')
    end_time = 1157.659276499
    msg = 'pty.callbacks.last_cmd_cmdline=\'\' != \'string match -q -- "*/<<PKGBUILDDIR>>/shell-integration*" "$XDG_DATA_DIRS" || echo "XDD_OK"\''
    q = <function ShellIntegration.assert_command.<locals>.<lambda> at 0x7f3e91c0ae80>
    self = <kitty_tests.PTY object at 0x7f3e91174050>
    timeout = 10
    timeout_msg = <function ShellIntegration.assert_command.<locals>.<lambda> at 0x7f3e91c0b880>
    TimeoutError: Timed out: pty.callbacks.last_cmd_cmdline='' != 'string match -q -- "*/<<PKGBUILDDIR>>/shell-integration*" "$XDG_DATA_DIRS" || echo "XDD_OK"'. Screen contents:
    'left>string match -q -- "*/<<PKGBUILDDIR>>/shell-integration*" "$XDG_DATA_DIRS" || echo "XDD_OK" <right\nXDD_OK\nleft>
    <right'

    ======================================================================
    ERROR: test_fish_integration (kitty_tests.shell_integration.ShellIntegrationWithKitten.test_fish_integration)
    ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/kitty/launcher/../../kitty_tests/shell_integration.py", line 198, in test_fish_integration
    self.assert_command(pty, cmd)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
    cmd = 'string match -q -- "*/<<PKGBUILDDIR>>/shell-integration*" "$XDG_DATA_DIRS" || echo "XDD_OK"'
    completions_dir = '/<<PKGBUILDDIR>>/shell-integration/fish/vendor_completions.d'
    fish_prompt = 'left>'
    pty = <kitty_tests.PTY object at 0x7f3e91175700>
    q = 'left> <right'
    right_prompt = '<right'
    self = <kitty_tests.shell_integration.ShellIntegrationWithKitten testMethod=test_fish_integration>
    File "/<<PKGBUILDDIR>>/kitty/launcher/../../kitty_tests/shell_integration.py", line 269, in assert_command
    pty.wait_till(lambda: pty.callbacks.last_cmd_cmdline == cmd, timeout_msg=lambda: f'{pty.callbacks.last_cmd_cmdline=!r} != {cmd!r}')
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    cmd = 'string match -q -- "*/<<PKGBUILDDIR>>/shell-integration*" "$XDG_DATA_DIRS" || echo "XDD_OK"'
    exit_status = 0
    pty = <kitty_tests.PTY object at 0x7f3e91175700>
    self = <kitty_tests.shell_integration.ShellIntegrationWithKitten testMethod=test_fish_integration>
    File "/<<PKGBUILDDIR>>/kitty/launcher/../../kitty_tests/__init__.py", line 404, in wait_till
    raise TimeoutError(f'Timed out: {msg}. Screen contents: \n {repr(self.screen_contents())}')
    end_time = 1168.280531515
    msg = 'pty.callbacks.last_cmd_cmdline=\'\' != \'string match -q -- "*/<<PKGBUILDDIR>>/shell-integration*" "$XDG_DATA_DIRS" || echo "XDD_OK"\''
    q = <function ShellIntegration.assert_command.<locals>.<lambda> at 0x7f3e91187920>
    self = <kitty_tests.PTY object at 0x7f3e91175700>
    timeout = 10
    timeout_msg = <function ShellIntegration.assert_command.<locals>.<lambda> at 0x7f3e911871a0>
    TimeoutError: Timed out: pty.callbacks.last_cmd_cmdline='' != 'string match -q -- "*/<<PKGBUILDDIR>>/shell-integration*" "$XDG_DATA_DIRS" || echo "XDD_OK"'. Screen contents:
    'left>string match -q -- "*/<<PKGBUILDDIR>>/shell-integration*" "$XDG_DATA_DIRS" || echo "XDD_OK" <right\nleft>
    <right'

    ----------------------------------------------------------------------
    Ran 148 tests in 29.892s

    FAILED (errors=2, skipped=2)
    Error: Some tests failed!
    make[1]: *** [debian/rules:61: override_dh_auto_test] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:32: binary] Error 2
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202503/

    About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and add an affects on src:kitty, so that this is still
    visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon Mar 3 14:50:01 2025
    Processing control commands:

    reassign -1 fish
    Bug #1099240 [src:kitty] kitty: FTBFS: ERROR: test_fish_integration (kitty_tests.shell_integration.ShellIntegrationWithKitten.test_fish_integration)
    Bug reassigned from package 'src:kitty' to 'fish'.
    No longer marked as found in versions kitty/0.39.1-1.
    Ignoring request to alter fixed versions of bug #1099240 to the same values previously set
    found -1 4.0.0-2
    Bug #1099240 [fish] kitty: FTBFS: ERROR: test_fish_integration (kitty_tests.shell_integration.ShellIntegrationWithKitten.test_fish_integration)
    Marked as found in versions fish/4.0.0-2.
    affects -1 kitty/0.39.1-1
    Bug #1099240 [fish] kitty: FTBFS: ERROR: test_fish_integration (kitty_tests.shell_integration.ShellIntegrationWithKitten.test_fish_integration)
    Added indication that 1099240 affects kitty/0.39.1-1
    forwarded -1 https://github.com/kovidgoyal/kitty/issues/8385
    Bug #1099240 [fish] kitty: FTBFS: ERROR: test_fish_integration (kitty_tests.shell_integration.ShellIntegrationWithKitten.test_fish_integration)
    Set Bug forwarded-to-address to 'https://github.com/kovidgoyal/kitty/issues/8385'.

    --
    1099240: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099240
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Mar 4 05:40:02 2025
    This is a multi-part message in MIME format...

    Your message dated Tue, 04 Mar 2025 04:34:18 +0000
    with message-id <E1tpJz0-000Hqr-2m@fasolo.debian.org>
    and subject line Bug#1099240: fixed in fish 4.0.0-3
    has caused the Debian Bug report #1099240,
    regarding kitty: FTBFS: ERROR: test_fish_integration (kitty_tests.shell_integration.ShellIntegrationWithKitten.test_fish_integration)
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1099240: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099240
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 1 Mar 2025 21:01:29 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-121.6 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,
    X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 795; hammy, 150; neutral, 590; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*sanvila Return-path: <sanvila@debian.org>
    Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3