Your message dated Sat, 14 Mar 2026 07:18:44 +0000
with message-id <[email protected]>
and subject line Bug#1128683: fixed in libwebsockets 4.3.5-4
has caused the Debian Bug report #1128683,
regarding libwebsockets: 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.)
--
1128683: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128683
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libwebsockets
Version: 4.3.5-3
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.43
Dear maintainer(s),
libwebsockets fails to build from source with glibc 2.43, currently in
experimental. From the build log:
| /build/reproducible-path/libwebsockets-4.3.5/lib/plat/unix/unix-caps.c: In
function ‘lws_plat_user_colon_group_to_ids’:
| /build/reproducible-path/libwebsockets-4.3.5/lib/plat/unix/unix-caps.c:54:23:
error: initialization discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
| 54 | char *colon = strchr(u_colon_g, ':'), u[33];
| | ^~~~~~
...
| /build/reproducible-path/libwebsockets-4.3.5/lib/core-net/client/client.c: In
function ‘lws_set_proxy’:
|
/build/reproducible-path/libwebsockets-4.3.5/lib/core-net/client/client.c:43:11:
error: assignment discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
| 43 | p = strrchr(proxy, '@');
| | ^
...
| [ 76%] Building C object
lib/CMakeFiles/websockets_shared.dir/roles/h2/http2.c.o
| /build/reproducible-path/libwebsockets-4.3.5/lib/core-net/client/client.c: In
function ‘lws_set_proxy’:
|
/build/reproducible-path/libwebsockets-4.3.5/lib/core-net/client/client.c:43:11:
error: assignment discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
| 43 | p = strrchr(proxy, '@');
| | ^
...
| /build/reproducible-path/libwebsockets-4.3.5/lib/plat/unix/unix-caps.c: In
function ‘lws_plat_user_colon_group_to_ids’:
| /build/reproducible-path/libwebsockets-4.3.5/lib/plat/unix/unix-caps.c:54:23:
error: initialization discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
| 54 | char *colon = strchr(u_colon_g, ':'), u[33];
| | ^~~~~~
| cc1: all warnings being treated as errors
| make[3]: *** [lib/CMakeFiles/websockets_shared.dir/build.make:82:
lib/CMakeFiles/websockets_shared.dir/plat/unix/unix-caps.c.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| make[3]: *** [lib/CMakeFiles/websockets_shared.dir/build.make:866:
lib/CMakeFiles/websockets_shared.dir/core-net/client/client.c.o] Error 1
| cc1: all warnings being treated as errors
| make[3]: *** [lib/CMakeFiles/websockets.dir/build.make:82:
lib/CMakeFiles/websockets.dir/plat/unix/unix-caps.c.o] Error 1
| /build/reproducible-path/libwebsockets-4.3.5/lib/roles/http/cookie.c: In
function ‘lws_cookie_write_nsc’:
| /build/reproducible-path/libwebsockets-4.3.5/lib/roles/http/cookie.c:338:20:
error: assignment discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
| 338 | dl = memchr(c->f[CE_PATH], '?', c->l[CE_PATH]);
| | ^
| /build/reproducible-path/libwebsockets-4.3.5/lib/roles/http/server/server.c:
In function ‘lws_handshake_server’:
|
/build/reproducible-path/libwebsockets-4.3.5/lib/roles/http/server/server.c:2307:45:
error: assignment discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
| 2307 | msg = strchr(rej->value, ' ');
| | ^
| /build/reproducible-path/libwebsockets-4.3.5/lib/roles/http/cookie.c: In
function ‘lws_cookie_write_nsc’:
| /build/reproducible-path/libwebsockets-4.3.5/lib/roles/http/cookie.c:338:20:
error: assignment discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
| 338 | dl = memchr(c->f[CE_PATH], '?', c->l[CE_PATH]);
| | ^
| /build/reproducible-path/libwebsockets-4.3.5/lib/roles/http/server/server.c:
In function ‘lws_handshake_server’:
|
/build/reproducible-path/libwebsockets-4.3.5/lib/roles/http/server/server.c:2307:45:
error: assignment discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
| 2307 | msg = strchr(rej->value, ' ');
| | ^
| cc1: all warnings being treated as errors
| make[3]: *** [lib/CMakeFiles/websockets.dir/build.make:1034:
lib/CMakeFiles/websockets.dir/roles/http/cookie.c.o] Error 1
| cc1: all warnings being treated as errors
| make[3]: *** [lib/CMakeFiles/websockets_shared.dir/build.make:1034:
lib/CMakeFiles/websockets_shared.dir/roles/http/cookie.c.o] Error 1
| cc1: all warnings being treated as errors
| make[3]: *** [lib/CMakeFiles/websockets_shared.dir/build.make:1006:
lib/CMakeFiles/websockets_shared.dir/roles/http/server/server.c.o] Error 1
| make[3]: Leaving directory
'/build/reproducible-path/libwebsockets-4.3.5/obj-aarch64-linux-gnu'
| make[2]: *** [CMakeFiles/Makefile2:1682:
lib/CMakeFiles/websockets_shared.dir/all] Error 2
| make[2]: *** Waiting for unfinished jobs....
| cc1: all warnings being treated as errors
| make[3]: *** [lib/CMakeFiles/websockets.dir/build.make:1006:
lib/CMakeFiles/websockets.dir/roles/http/server/server.c.o] Error 1
| make[3]: Leaving directory
'/build/reproducible-path/libwebsockets-4.3.5/obj-aarch64-linux-gnu'
| make[2]: *** [CMakeFiles/Makefile2:1650: lib/CMakeFiles/websockets.dir/all]
Error 2
| make[2]: Leaving directory
'/build/reproducible-path/libwebsockets-4.3.5/obj-aarch64-linux-gnu'
| make[1]: *** [Makefile:169: all] Error 2
| make[1]: Leaving directory
'/build/reproducible-path/libwebsockets-4.3.5/obj-aarch64-linux-gnu'
| dh_auto_build: error: cd obj-aarch64-linux-gnu && make -j128 INSTALL="install
--strip-program=true" VERBOSE=1 returned exit code 2
| make: *** [debian/rules:16: binary] Error 25
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/libwebsockets_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: libwebsockets
Source-Version: 4.3.5-4
Done: Laszlo Boszormenyi (GCS) <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libwebsockets, 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.
Laszlo Boszormenyi (GCS) <[email protected]> (supplier of updated libwebsockets
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: Sat, 14 Mar 2026 07:45:04 +0100
Source: libwebsockets
Architecture: source
Version: 4.3.5-4
Distribution: unstable
Urgency: medium
Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
Changed-By: Laszlo Boszormenyi (GCS) <[email protected]>
Closes: 1128683
Changes:
libwebsockets (4.3.5-4) unstable; urgency=medium
.
[ Ural Tunaboyu <[email protected]> ]
* Fix FTBFS with glibc 2.43 due to ISO C23 const return types
(closes: #1128683).
.
[ Laszlo Boszormenyi (GCS) ]
* Switch pkg-config dependency to pkgconf in self-testing.
Checksums-Sha1:
484bf261584881951e320bf1116698c93b774f24 2547 libwebsockets_4.3.5-4.dsc
1f01a9e4b8516d2706ae10d5b281be81e80b79af 23904
libwebsockets_4.3.5-4.debian.tar.xz
Checksums-Sha256:
2664a0f4deb2c3812c3a93ee0a06d5c4dae622ec0c802fd5d9a9de81512f635c 2547
libwebsockets_4.3.5-4.dsc
74157358cbf37d3964e43db6d1e1ac0b3a52135c853bbde5abe5c9868ee9d644 23904
libwebsockets_4.3.5-4.debian.tar.xz
Files:
bc631013eb7e76c19ac8c46ca60c3804 2547 libs optional libwebsockets_4.3.5-4.dsc
832a3aa81b5b31327b06b4ae04615dc7 23904 libs optional
libwebsockets_4.3.5-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAmm1CXEACgkQ3OMQ54ZM
yL+8YhAApkkyKxNu6EBudojf14Qy/ewtm6LvS1S2dYr+3KascibjxPbj4L22hxBm
hBwENKXcqI6I/HAopU9mJ+JQwpkHqklJq2RA/BRJcwLu2cD0FxdVDEHzviJDhOC3
s9mhnLnR18MYVbHhOoc9lbVMuvfliWLNW/aalhgg85Apeh1afqO/ctz0dzl8B+wH
wmBIHLL9o8lljLMo+fMiuZmZeaqvx3VmgVp/2JE/8eTzyyO24agVEr5sdxUxJKtT
EtTCWZFYBAwnoCGunllcn6xWI4N7+4f4z55WNTRuLbry5x1u1Ms+VB0CG0NYljxw
2mn+hm1DTiJloJEtsKrge5vEvaDrBi9gJJplMA8eggRwdh75BX4hpdbxxAS4gvLI
4q/czI4q6A1HyHAem+QLv3coHSYiyy7uQ9JaHYnd3F0KsR4cOo6CC62i3ZFPGR4W
2dHwT8sqPcilKDWtRi5aj4lhGV8/2G8aTT6OCy1E2v+b1Nvarn0Di2WcdehKPPcI
7UiJjIODMULizP7mdXH6Ch2hC3jymYTv+exTaxjJJLvW+EaqJuoj3XNvdzcWd6Ri
k38wDzj/GAE47YmvwoNUJQAfGqdqk/MfIZ6jQdE0Pi3TmWllZmd9ccjs4JvCy99O
anKPKsvpIa++++3Sm3EpJH2P3v/+TMTXEJJGUCNUbS2uppRDaGk=
=Y9Ru
-----END PGP SIGNATURE-----
pgpMh3T0HTm5k.pgp
Description: PGP signature
--- End Message ---