Your message dated Wed, 25 Feb 2026 11:42:09 +0000
with message-id
<ty3pr01mb10014acf104b55d6b1561c4dc81...@ty3pr01mb10014.jpnprd01.prod.outlook.com>
and subject line Closing bug #1128755
has caused the Debian Bug report #1128755,
regarding tinycbor: 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.)
--
1128755: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128755
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: tinycbor
Version: 0.6.1-1
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.43
Dear maintainer(s),
tinycbor fails to build from source with glibc 2.43, currently in
experimental. From the build log:
| cc -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -std=gnu99 -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/tinycbor-0.6.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard
-Werror=discarded-qualifiers -Werror=incompatible-pointer-types
-Werror=implicit-function-declaration -Werror=int-conversion -c -o
src/cbortojson.o src/cbortojson.c
| src/cbortojson.c: In function ‘escape_text_string’:
| src/cbortojson.c:343:21: error: initialization discards ‘const’ qualifier
from pointer target type [-Werror=discarded-qualifiers]
| 343 | char *esc = c > 0 ? strchr(escapeChars, c) : NULL;
| | ^
| cc1: some warnings being treated as errors
| make[2]: *** [Makefile:237: src/cbortojson.o] Error 1
| make[2]: Leaving directory '/build/reproducible-path/tinycbor-0.6.1'
| make[1]: *** [debian/rules:22: override_dh_auto_build] Error 2
| make[1]: Leaving directory '/build/reproducible-path/tinycbor-0.6.1'
| make: *** [debian/rules:13: 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/tinycbor_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 ---
fixed 1128755 7.0-1
bye
--- End Message ---