Your message dated Wed, 06 May 2026 13:39:49 +0000
with message-id <[email protected]>
and subject line Bug#1128536: fixed in cowsql 1.15.9-2
has caused the Debian Bug report #1128536,
regarding cowsql: 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.)
--
1128536: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128536
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: cowsql
Version: 1.15.9-1
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.43
Dear maintainer(s),
cowsql fails to build from source with glibc 2.43, currently in
experimental. From the build log:
| /bin/bash ./libtool --tag=CC --mode=compile gcc
-DPACKAGE_NAME=\"libcowsql\" -DPACKAGE_TARNAME=\"libcowsql\"
-DPACKAGE_VERSION=\"1.15.9\" -DPACKAGE_STRING=\"libcowsql\ 1.15.9\"
-DPACKAGE_BUGREPORT=\"https://github.com/cowsql/cowsql\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"libcowsql\" -DVERSION=\"1.15.9\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1
-DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1
-D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1
-D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1
-D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1
-D__STDC_WANT_IEC_60559_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1
-D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1
-D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1
-DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_DLFCN_H=1
-DLT_OBJDIR=\".libs/\" -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STDINT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_UNISTD_H=1 -I.
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c11 -g --param=ssp-buffer-size=4 -pipe
-fno-strict-aliasing -fdiagnostics-color -fexceptions -fstack-clash-protection
-fstack-protector-strong -fasynchronous-unwind-tables -fdiagnostics-show-option
-Wall -Wextra -Wimplicit-fallthrough=5 -Wcast-align -Wstrict-prototypes
-Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Winit-self
-Wfloat-equal -Wsuggest-attribute=noreturn -Wformat=2 -Wshadow -Wendif-labels
-Wdate-time -Wnested-externs -Wconversion -Werror -pthread -O2
-fvisibility=hidden -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/cowsql-1.15.9=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o
src/libcowsql_la-server.lo `test -f 'src/server.c' || echo './'`src/server.c
...
| [01m[Ksrc/server.c:[m[K In function '[01m[KparseNodeStore[m[K':
| [01m[Ksrc/server.c:1020:12:[m[K [01;31m[Kerror: [m[Kassignment
discards '[01m[Kconst[m[K' qualifier from pointer target type
[[01;31m[K-Werror=discarded-qualifiers[m[K]
| 1020 | nl [01;31m[K=[m[K memchr(p, '\n', (size_t)(end -
version_str));
| | [01;31m[K^[m[K
| [01m[Ksrc/server.c:1032:20:[m[K [01;31m[Kerror: [m[Kassignment
discards '[01m[Kconst[m[K' qualifier from pointer target type
[[01;31m[K-Werror=discarded-qualifiers[m[K]
| 1032 | nl [01;31m[K=[m[K memchr(p, '\n', (size_t)(end -
addr));
| | [01;31m[K^[m[K
| [01m[Ksrc/server.c:1040:20:[m[K [01;31m[Kerror: [m[Kassignment
discards '[01m[Kconst[m[K' qualifier from pointer target type
[[01;31m[K-Werror=discarded-qualifiers[m[K]
| 1040 | nl [01;31m[K=[m[K memchr(p, '\n', (size_t)(end -
id_str));
| | [01;31m[K^[m[K
| [01m[Ksrc/server.c:1059:20:[m[K [01;31m[Kerror: [m[Kassignment
discards '[01m[Kconst[m[K' qualifier from pointer target type
[[01;31m[K-Werror=discarded-qualifiers[m[K]
| 1059 | nl [01;31m[K=[m[K memchr(p, '\n', (size_t)(end -
role_str));
| | [01;31m[K^[m[K
| [01m[Ksrc/server.c:[m[K In function '[01m[KparseLocalInfo[m[K':
| [01m[Ksrc/server.c:1156:12:[m[K [01;31m[Kerror: [m[Kassignment
discards '[01m[Kconst[m[K' qualifier from pointer target type
[[01;31m[K-Werror=discarded-qualifiers[m[K]
| 1156 | nl [01;31m[K=[m[K memchr(version_str, '\n', (size_t)(end
- version_str));
| | [01;31m[K^[m[K
| [01m[Ksrc/server.c:1167:12:[m[K [01;31m[Kerror: [m[Kassignment
discards '[01m[Kconst[m[K' qualifier from pointer target type
[[01;31m[K-Werror=discarded-qualifiers[m[K]
| 1167 | nl [01;31m[K=[m[K memchr(addr, '\n', (size_t)(end -
addr));
| | [01;31m[K^[m[K
| [01m[Ksrc/server.c:1175:12:[m[K [01;31m[Kerror: [m[Kassignment
discards '[01m[Kconst[m[K' qualifier from pointer target type
[[01;31m[K-Werror=discarded-qualifiers[m[K]
| 1175 | nl [01;31m[K=[m[K memchr(id_str, '\n', (size_t)(end -
id_str));
| | [01;31m[K^[m[K
...
| cc1: all warnings being treated as errors
| make[1]: *** [Makefile:1596: src/libcowsql_la-server.lo] Error 1
| make[1]: *** Waiting for unfinished jobs....
...
| make[1]: Leaving directory '/build/reproducible-path/cowsql-1.15.9'
| dh_auto_build: error: make -j128 returned exit code 2
| make: *** [debian/rules:19: 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/cowsql_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: cowsql
Source-Version: 1.15.9-2
Done: Mathias Gibbens <[email protected]>
We believe that the bug you reported is fixed in the latest version of
cowsql, 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.
Mathias Gibbens <[email protected]> (supplier of updated cowsql 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: Wed, 06 May 2026 12:53:14 +0000
Source: cowsql
Architecture: source
Version: 1.15.9-2
Distribution: unstable
Urgency: medium
Maintainer: Free Ekanayaka <[email protected]>
Changed-By: Mathias Gibbens <[email protected]>
Closes: 1128536
Changes:
cowsql (1.15.9-2) unstable; urgency=medium
.
* Cherry-pick upstream fix for building with glibc 2.43 (Closes: #1128536)
* d/control:
- Update Standards-Version to 4.7.4
- Drop redundant Priority and Rules-Requires-Root fields
Checksums-Sha1:
95efe6a0726e337f9c9b4bf169127410dfedb9c5 2040 cowsql_1.15.9-2.dsc
2eb3b1e8d6192cd245b5f42b01d8bbecae8b4306 364596 cowsql_1.15.9.orig.tar.gz
67334db105aee48c8d3b35987c80e7a2caeeefca 5020 cowsql_1.15.9-2.debian.tar.xz
f9a8be8969a77b450b32ae974de05c8a1db23c4d 6689 cowsql_1.15.9-2_amd64.buildinfo
Checksums-Sha256:
ad1dcc43faa5518779a432c5c04a747016e5442a0ac9bfdf13a544de74930337 2040
cowsql_1.15.9-2.dsc
0b554bc11097e6638141d7cf2deb3893b589178a6aa66c8f216d1f76aedfabad 364596
cowsql_1.15.9.orig.tar.gz
446e5f2361ad295c2350204ff5394e3e90814b91ab2861e88e573506dc76bb6a 5020
cowsql_1.15.9-2.debian.tar.xz
dbf313e0c24167a24e6cbd579c960fd10a7af10739702e528039de1528f8b98c 6689
cowsql_1.15.9-2_amd64.buildinfo
Files:
8ad53c057f5179af0624cae21125bb86 2040 devel optional cowsql_1.15.9-2.dsc
7d47cccf8aba37a8512624c88afccc9c 364596 devel optional
cowsql_1.15.9.orig.tar.gz
87ce7207109c9337461a3e960f6c0f41 5020 devel optional
cowsql_1.15.9-2.debian.tar.xz
690a43277d39b9a23aa02687ee58f5cc 6689 devel optional
cowsql_1.15.9-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEE1Bp60H32xfynSJ8cKe7i1uz0QvkFAmn7PdgSHGdpYm1hdEBk
ZWJpYW4ub3JnAAoJECnu4tbs9EL5MnsP/1T4rygs5tBtsWusYj78CqBS2MGd0HAD
dhoRNnAFr4gUv0dawqyc+LeLnWQarBrLmE+EOmUPyufotHW6DgpF+WInZguqenF6
yMrmQvEgw5qfx718xrfGPmXXkGtETHW5HzOVR7Dg7PXReEbjV/dtd9mxLrPYOAZc
LHCW+P84A5qPh8EQ2SkwLHxw7p8bjvsh1y3cpOB9wuj+771HkEOXreI6EIbei7Qr
wP4gGvwffRwY9q2lz1yo7DvXC1L8R5Onp1D+zkkimv3f8HMbV1+Q3asNt2zR1OlV
QUlwbFksYqb8zR5mmSWZQVajGfzocpT7Pf5hPijMvWrQLcWp2bzJ1c3t/Py2M5SY
MzBLnVyC8KuencU+/Gzp0oZYmCq0ffkUYbY40qFkngnn4RH1VDxge/KbirrpItpe
0v2P/NsJmdnBCB0ZH6bX2bjK485PyHGPLZYRh0L/+xIZ51nHemBFZbVSGeCbNljt
MgTKMIsm07IJb5lhph7UNu0NSw4A7GvpTVuKNv0NM9Kp0qZTQzyaNY8tTYf7OOtH
cpjbyk3YALJ2tSNKye0SmcEZ7GadjRkcKScgVNmx7Q87p3NdB2oZg0goiG9hlnJH
t9u+5I9OGuiVLfvLKVOy8XAIFkZd7oCbBc2Uku4M4YS7Rq2FddqmU51p/fYLo+gc
oKa/fPX3XH3f
=g+ME
-----END PGP SIGNATURE-----
pgp4pdiP8QAD_.pgp
Description: PGP signature
--- End Message ---