Your message dated Sun, 22 Feb 2026 20:23:19 +0000
with message-id <[email protected]>
and subject line Bug#1128552: fixed in kitty 0.45.0-2
has caused the Debian Bug report #1128552,
regarding kitty: FTBFS with glibc 2.43 due to ISO C23 const return types
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 [email protected]
immediately.)


-- 
1128552: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128552
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: kitty
Version: 0.45.0-1
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.43

Dear maintainer(s),

kitty fails to build from source with glibc 2.43, currently in
experimental. From the build log:

| gcc -MMD -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g 
-O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/kitty-0.45.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -DSIMDE_ENABLE_OPENMP 
-fopenmp-simd -O3 -fPIC -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/kitty-0.45.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -D_FORTIFY_SOURCE=2 -flto 
-Wno-packed-bitfield-compat -pthread -I/usr/include/libpng16 
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 
-I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 
-I/usr/include/libpng16 -I/usr/include/glib-2.0 
-I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 
-I/usr/include/python3.13 -c kitty/gl-wrapper.c -o 
build/fast_data_types-kitty-gl-wrapper.c.oIn file included from 
kitty/launcher/main.c:21:
| kitty/launcher/utils.h: In function ‘expand_tilde’:
| kitty/launcher/utils.h:60:23: error: initialization discards ‘const’ 
qualifier from pointer target type [-Wdiscarded-qualifiers]
|    60 |         char* slash = strchr(path, '/');
|       |                       ^~~~~~
| 
| Compiling kitty/launcher/main.c ...
| gcc -DWRAPPED_KITTENS=" ask choose-files clipboard diff hints 
hyperlinked_grep icat query_terminal show_key ssh themes transfer unicode_input 
" -DKITTY_LIB_PATH="../lib/kitty" -Wdate-time -D_FORTIFY_SOURCE=2 
-DKITTY_VERSION="0.45.0" -Wall -pedantic-errors -Werror -fpie -std=c11 -O3 
-I/usr/include/python3.13 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/kitty-0.45.0=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -c kitty/launcher/main.c 
-o build/kitty-launcher-main.o
| make[1]: *** [debian/rules:45: override_dh_auto_build] Error 1
| make[1]: Leaving directory '/build/reproducible-path/kitty-0.45.0'
| make: *** [debian/rules:32: binary] Error 2
| dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2

The full build log is available here [1].

The issue is due to ISO C23 declaration of bsearch, memchr, strchr,
strpbrk, strrchr, strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr,
which now returns a pointer to a const-qualified type when the input
argument is a pointer to a const-qualified type [2].

I would like to thanks Emanuele Rocca for doing the archive rebuild on
a fast arm64 server.

Regards
Aurelien

[1] 
https://people.debian.org/~ema/glibc-2.43-rebuilds/output-1/kitty_arm64.build
[2] 
https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=e271fb2e4d76903c77a302aaec1ca22ce31027d0;hb=f762ccf84f122d1354f103a151cba8bde797d521#l19

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
[email protected]                     http://aurel32.net

--- End Message ---
--- Begin Message ---
Source: kitty
Source-Version: 0.45.0-2
Done: Nilesh Patra <[email protected]>

We believe that the bug you reported is fixed in the latest version of
kitty, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nilesh Patra <[email protected]> (supplier of updated kitty package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 23 Feb 2026 01:05:06 +0530
Source: kitty
Architecture: source
Version: 0.45.0-2
Distribution: unstable
Urgency: medium
Maintainer: Nilesh Patra <[email protected]>
Changed-By: Nilesh Patra <[email protected]>
Closes: 1128552
Changes:
 kitty (0.45.0-2) unstable; urgency=medium
 .
   * Team Upload.
   * Bump Standards-Version to 4.7.3 (no changes needed)
   * Add upstream patch to fix FTBFS with glibc 2.43 (Closes: #1128552)
Checksums-Sha1:
 46558847452c109afd3f5ddbdc11912caa84d343 2750 kitty_0.45.0-2.dsc
 386c89291c0a86430fcc7ecb5ce1839c3c3dd00a 1279712 kitty_0.45.0-2.debian.tar.xz
 6f0eedf8a483d73572887e192da3477bd07b7b0f 16274 kitty_0.45.0-2_amd64.buildinfo
Checksums-Sha256:
 1c116c1808d536d2803af8b698d7d2ba3db0bc1244366b124e91a2d90bcb0886 2750 
kitty_0.45.0-2.dsc
 b6f6c94713a8442c40a8b21a8c0ed8a0ac8f28aead26a51d61873c8c2548004a 1279712 
kitty_0.45.0-2.debian.tar.xz
 56b25fb269e888324a99916e2848eeff54ced8fcf5bcf5d301fd2808f91c3d37 16274 
kitty_0.45.0-2_amd64.buildinfo
Files:
 7a6c7f708710f3f89dbf93e48aef2fee 2750 x11 optional kitty_0.45.0-2.dsc
 115afe1d33b4962dfa77cffc0103d63f 1279712 x11 optional 
kitty_0.45.0-2.debian.tar.xz
 93e18686dfed11f981e43329c44e45ff 16274 x11 optional 
kitty_0.45.0-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iIgEARYKADAWIQSglbZu4JAkvuai8HIqJ5BL1yQ+2gUCaZte2xIcbmlsZXNoQGRl
Ymlhbi5vcmcACgkQKieQS9ckPtpItgEApePLtYrMo8Ef39dIL7XeApJuFYKiT6Zf
E1deKQWRSxgA/A+9fbF6Xs6OnzWkHZjjQ0v/5iIz8va2AVnEtZh9SYMB
=DTsq
-----END PGP SIGNATURE-----

Attachment: pgpgCy9719x1h.pgp
Description: PGP signature


--- End Message ---

Reply via email to