Your message dated Tue, 24 Mar 2026 11:49:27 +0000
with message-id <[email protected]>
and subject line Bug#1128754: fixed in termpaint 0.3.1-2
has caused the Debian Bug report #1128754,
regarding termpaint: 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.)


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

Dear maintainer(s),

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

| [13/51] cc -Ilibtermpaint.so.0a.p -I. -I.. -fdiagnostics-color=always 
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -fvisibility=hidden 
-DTERMPAINT_EXPORT_SYMBOLS -Wall -Wextra -Werror=strict-prototypes 
-Werror=incompatible-pointer-types -Werror=implicit-int 
-Werror=discarded-qualifiers -Werror=return-type 
-Werror=implicit-function-declaration -Werror=int-conversion 
-Werror=old-style-definition -DTERMPAINTP_VALGRIND -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/termpaint-0.3.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -DTERMPAINT_RESCUE_EMBEDDED 
'-DTERMPAINT_RESCUE_PATH="/usr/lib/aarch64-linux-gnu/termpaint0a/"' -MD -MQ 
libtermpaint.so.0a.p/termpaintx_ttyrescue.c.o -MF 
libtermpaint.so.0a.p/termpaintx_ttyrescue.c.o.d -o 
libtermpaint.so.0a.p/termpaintx_ttyrescue.c.o -c ../termpaintx_ttyrescue.c
| FAILED: [code=1] libtermpaint.so.0a.p/termpaintx_ttyrescue.c.o 
| cc -Ilibtermpaint.so.0a.p -I. -I.. -fdiagnostics-color=always 
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -fvisibility=hidden 
-DTERMPAINT_EXPORT_SYMBOLS -Wall -Wextra -Werror=strict-prototypes 
-Werror=incompatible-pointer-types -Werror=implicit-int 
-Werror=discarded-qualifiers -Werror=return-type 
-Werror=implicit-function-declaration -Werror=int-conversion 
-Werror=old-style-definition -DTERMPAINTP_VALGRIND -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/termpaint-0.3.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -DTERMPAINT_RESCUE_EMBEDDED 
'-DTERMPAINT_RESCUE_PATH="/usr/lib/aarch64-linux-gnu/termpaint0a/"' -MD -MQ 
libtermpaint.so.0a.p/termpaintx_ttyrescue.c.o -MF 
libtermpaint.so.0a.p/termpaintx_ttyrescue.c.o.d -o 
libtermpaint.so.0a.p/termpaintx_ttyrescue.c.o -c ../termpaintx_ttyrescue.c
| ../termpaintx_ttyrescue.c: In function 
‘termpaintx_ttyrescue_start_or_nullptr’:
| ../termpaintx_ttyrescue.c:321:25: error: initialization discards ‘const’ 
qualifier from pointer target type [-Werror=discarded-qualifiers]
|   321 |             char *end = strchr(item, ':');
|       |                         ^~~~~~
| cc1: some warnings being treated as errors

...

| ninja: build stopped: subcommand failed.
| dh_auto_build: error: cd obj-aarch64-linux-gnu && LC_ALL=C.UTF-8 ninja -j128 
-v returned exit code 1
| make: *** [debian/rules:8: binary] Error 25
| 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/termpaint_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: termpaint
Source-Version: 0.3.1-2
Done: Christoph Hueffelmann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
termpaint, 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.
Christoph Hueffelmann <[email protected]> (supplier of updated termpaint 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: Sun, 15 Mar 2026 18:21:56 +0000
Source: termpaint
Architecture: source
Version: 0.3.1-2
Distribution: unstable
Urgency: medium
Maintainer: Christoph Hueffelmann <[email protected]>
Changed-By: Christoph Hueffelmann <[email protected]>
Closes: 1128754
Changes:
 termpaint (0.3.1-2) unstable; urgency=medium
 .
   * Upstream patch to fix: FTBFS with glibc 2.43 due to ISO C23 const
     return types (Closes:#1128754)
Checksums-Sha1:
 e19ecbc21e040046514a1f7328700e2951194048 2055 termpaint_0.3.1-2.dsc
 db7e1c91bb3d05e0403ac355316494ab40520cf8 7260 termpaint_0.3.1-2.debian.tar.xz
 d0eb407f391b66d3189c4a084f11ae312eee6724 8560 
termpaint_0.3.1-2_source.buildinfo
Checksums-Sha256:
 2a55464a391222ce09f1fcf1ee24ccd0c81d886bacf368422a6473e730971f48 2055 
termpaint_0.3.1-2.dsc
 07f9d3007b2dedbd9643c0f6003b15d8cce221ab84d70db0177f4a3e42af96f8 7260 
termpaint_0.3.1-2.debian.tar.xz
 aa4c933f0b58f9a991f724737ed8929e495e17687aff4f48e6264253cb53d39f 8560 
termpaint_0.3.1-2_source.buildinfo
Files:
 9f85c7f30a8015bd2316b928d1453db0 2055 libs optional termpaint_0.3.1-2.dsc
 5845b4326a641809380b1ca4d6b153bf 7260 libs optional 
termpaint_0.3.1-2.debian.tar.xz
 edcdbffc273a824be0b7f4a16bf6eb47 8560 libs optional 
termpaint_0.3.1-2_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmnCdYQQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFD1XC/4lmN8V3esBJUH+FSAlkCyHRjdvHv8Ba4ZJ
4Y15h9TR+F6jDinlta6y+VZqovPhSCfEC3R6az/8WbCGxk1GzXb+8JRaGqyazbQA
Kyjk9F3WsHqciNFdF7R5qcVl0BBzbKL7nUwbSIgd7OUt3bDnSha4LNJA+0T8980U
oDTBUABiziR2sLkbx/GTdip3b1JeFtS/LUr1kJ5SMHf8X7jvDphVga9Eg8jU3A6y
nQwkSA5MdpzbTAUFnk40Mf2/LTU/GIuhr5o3959TWfNqZAfSLxueHhaBcp/6Yksv
tkOmMu2j57xWDex7iDyuHq8YdebOYL9kapar0Dt0Co3nXyKUaRopuDtUxOX4mtml
tjvmvbByrHbImpQ74QYd5iIWGU0KiaETxTiJbRyyb6/pVxyX863XAdWtlmgLqLIJ
2t+VGgGjtGzw71RM4oxyLuMwt4vxLMJR+221qAJBQl9d8jy0jIQAekBCfOBI3K/9
8ejWTMZymwZ1PRs6dEgXl3ZlgK+Vl/0=
=6Jn2
-----END PGP SIGNATURE-----

Attachment: pgpXe6_J3HUT6.pgp
Description: PGP signature


--- End Message ---

Reply via email to