Your message dated Thu, 12 Nov 2026 18:52:18 +0000
with message-id <[email protected]>
and subject line Bug#1128750: fixed in shadowsocks-libev 3.3.6+ds-4
has caused the Debian Bug report #1128750,
regarding shadowsocks-libev: 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.)


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

Dear maintainer(s),

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

| acl.c: In function ‘parse_addr_cidr’:
| acl.c:62:9: error: assignment discards ‘const’ qualifier from pointer target 
type [-Werror=discarded-qualifiers]
|    62 |     pch = strchr(str, '/');
|       |         ^
| netutils.c: In function ‘validate_hostname’:
| netutils.c:278:28: error: initialization discards ‘const’ qualifier from 
pointer target type [-Werror=discarded-qualifiers]
|   278 |         char *next_dot   = strchr(label, '.');
|       |                            ^~~~~~
| netutils.c: In function ‘validate_hostname’:
| netutils.c:278:28: error: initialization discards ‘const’ qualifier from 
pointer target type [-Werror=discarded-qualifiers]
|   278 |         char *next_dot   = strchr(label, '.');
|       |                            ^~~~~~

...
| netutils.c: In function ‘validate_hostname’:
| netutils.c:278:28: error: initialization discards ‘const’ qualifier from 
pointer target type [-Werror=discarded-qualifiers]
|   278 |         char *next_dot   = strchr(label, '.');
|       |                            ^~~~~~

...

| netutils.c: In function ‘validate_hostname’:
| netutils.c:278:28: error: initialization discards ‘const’ qualifier from 
pointer target type [-Werror=discarded-qualifiers]
|   278 |         char *next_dot   = strchr(label, '.');
|       |                            ^~~~~~
| acl.c: In function ‘parse_addr_cidr’:
| acl.c:62:9: error: assignment discards ‘const’ qualifier from pointer target 
type [-Werror=discarded-qualifiers]
|    62 |     pch = strchr(str, '/');
|       |         ^
| netutils.c: In function ‘validate_hostname’:
| netutils.c:278:28: error: initialization discards ‘const’ qualifier from 
pointer target type [-Werror=discarded-qualifiers]
|   278 |         char *next_dot   = strchr(label, '.');
|       |                            ^~~~~~
| acl.c: In function 'parse_addr_cidr':
| acl.c:62:9: error: assignment discards 'const' qualifier from pointer target 
type [-Werror=discarded-qualifiers]
|    62 |     pch = strchr(str, '/');
|       |         ^
| cc1: all warnings being treated as errors
| make[3]: *** [Makefile:1202: ss_local-acl.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| cc1: all warnings being treated as errors
| make[3]: *** [Makefile:1076: ss_local-netutils.o] Error 1
| netutils.c: In function 'validate_hostname':
| netutils.c:278:28: error: initialization discards 'const' qualifier from 
pointer target type [-Werror=discarded-qualifiers]
|   278 |         char *next_dot   = strchr(label, '.');
|       |                            ^~~~~~
| cc1: all warnings being treated as errors
| make[3]: *** [Makefile:1734: ss_tunnel-netutils.o] Error 1
| cc1: all warnings being treated as errors
| cc1: all warnings being treated as errors
| make[3]: *** [Makefile:1244: ss_manager-netutils.o] Error 1
| make[3]: *** [Makefile:1300: ss_redir-netutils.o] Error 1
| cc1: all warnings being treated as errors
| cc1: all warnings being treated as errors
| make[3]: *** [Makefile:1524: ss_server-netutils.o] Error 1
| make[3]: *** [Makefile:1650: ss_server-acl.o] Error 1
| cc1: all warnings being treated as errors
| make[3]: *** [Makefile:999: libshadowsocks_libev_la-acl.lo] Error 1
| cc1: all warnings being treated as errors
| make[3]: *** [Makefile:936: libshadowsocks_libev_la-netutils.lo] Error 1
| make[3]: Leaving directory 
'/build/reproducible-path/shadowsocks-libev-3.3.5+ds/src'
| make[2]: *** [Makefile:501: all-recursive] Error 1
| make[2]: Leaving directory 
'/build/reproducible-path/shadowsocks-libev-3.3.5+ds'
| make[1]: *** [Makefile:404: all] Error 2
| make[1]: Leaving directory 
'/build/reproducible-path/shadowsocks-libev-3.3.5+ds'
| dh_auto_build: error: make -j128 returned exit code 2
| make: *** [debian/rules:43: 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/shadowsocks-libev_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: shadowsocks-libev
Source-Version: 3.3.6+ds-4
Done: Aron Xu <[email protected]>

We believe that the bug you reported is fixed in the latest version of
shadowsocks-libev, 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.
Aron Xu <[email protected]> (supplier of updated shadowsocks-libev 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: Thu, 12 Nov 2026 18:01:45 +0800
Source: shadowsocks-libev
Architecture: source
Version: 3.3.6+ds-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Bridges Team <[email protected]>
Changed-By: Aron Xu <[email protected]>
Closes: 1128750
Changes:
 shadowsocks-libev (3.3.6+ds-4) unstable; urgency=medium
 .
   * Team upload.
   * Backport upstream const-correct string searches for glibc 2.43
     (Closes: #1128750).
   * Backport upstream AEAD length, UDP bounds, socket buffer, manager,
     input validation, replay handling and key parsing fixes, with
     regression tests.
   * Replace external-network autopkgtests with loopback TCP and UDP
     fixtures for all seven enabled ciphers.
   * Update upstream repository URLs after the rename to shadowsocks-c.
   * Keep unit-test assertions enabled and size Bloom-filter tests for
     the system libbloom.
   * Exercise the mbedTLS AES-GCM backend explicitly in autopkgtest and
     update the library symbols for new parsing helpers.
Checksums-Sha1:
 17c7a27a4d6ae790d7acbafc6f80de98eb7abf58 2075 shadowsocks-libev_3.3.6+ds-4.dsc
 e4321e99a853404dc0101564894c583174938ccc 49708 
shadowsocks-libev_3.3.6+ds-4.debian.tar.xz
 5641ceb23e1a079ec839272bc992fcadf9b11f48 7339 
shadowsocks-libev_3.3.6+ds-4_source.buildinfo
Checksums-Sha256:
 a9186d1d1e72d30dba6521f4ad67cfabaf587ff3a466e624bc1781e485f89b8c 2075 
shadowsocks-libev_3.3.6+ds-4.dsc
 1b12c1bddecf1fc4f46f1cf6e9d7eca0d7e86e54f1eb7516d21166c1b3cf7a3e 49708 
shadowsocks-libev_3.3.6+ds-4.debian.tar.xz
 40501c7c7cb2cf7212f8541ab82efa6d42817947344723545497baf44563bed7 7339 
shadowsocks-libev_3.3.6+ds-4_source.buildinfo
Files:
 c2cfb0ad749745185dd679e441c6cad5 2075 net optional 
shadowsocks-libev_3.3.6+ds-4.dsc
 0e3c597270b240f9980998252415ade9 49708 net optional 
shadowsocks-libev_3.3.6+ds-4.debian.tar.xz
 363a4ddbdef278a286139eefdb4df42f 7339 net optional 
shadowsocks-libev_3.3.6+ds-4_source.buildinfo

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

iQEzBAEBCgAdFiEExq6D0hxncEPaPayX+GQ1dHE8m64FAmr2BWMACgkQ+GQ1dHE8
m669pQf+MwlbntJju/yfbAVjnIHh5fIpjzEDwyQk6Kp1V+301I3JPx8SnW7nPW9J
BcvxMlcLQIT3OD7Imy1oi8N2qsqkHlkgZ3aaBJhpKTzO8KHCtASsL7G8zQuJX6ix
S5l+551L0d8hAvZEnI6IiimZiiVScDIFSV6Q0BYECMRXpjYJYLBzsGL7sBuHDkEc
IuELtSmcP1khDV05/PsfE2amDWgzuvCVmwCIOSXKKvmGmQ8HD1hrKfKxeoMo/1mn
p28AU4sqInkSBf5yJCiK6k3jE5gnspCOWjhKHjRDctQ1kiDva0utjW3cGXbCC0Gc
YXG2TtMRTbH9/3SDhvUW5Tk8pIbfbg==
=5dgH
-----END PGP SIGNATURE-----

Attachment: pgpcfVwXsGfB8.pgp
Description: PGP signature


--- End Message ---

Reply via email to