Your message dated Sun, 22 Feb 2026 20:22:40 +0000
with message-id <[email protected]>
and subject line Bug#1128752: fixed in socat 1.8.1.1-1
has caused the Debian Bug report #1128752,
regarding socat: 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.)


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

Dear maintainer(s),

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

| xio-ip6.c: In function ‘xioparsenetwork_ip6’:
| xio-ip6.c:131:18: warning: assignment discards ‘const’ qualifier from pointer 
target type [-Wdiscarded-qualifiers]
|   131 |    if ((delimpos = strchr(rangename, '/')) == NULL) {
|       |                  ^
| xio-openssl.c: In function ‘_xioopen_openssl_prepare’:
| xio-openssl.c:1302:7: warning: ‘DH_new’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
|  1302 |       dh = DH_new();
|       |       ^~
| In file included from /usr/include/openssl/dsa.h:31,
|                  from /usr/include/openssl/x509.h:39,
|                  from /usr/include/openssl/ssl.h:34,
|                  from sysincludes.h:206,
|                  from xiosysincludes.h:11,
|                  from xio-openssl.c:7:
| /usr/include/openssl/dh.h:210:27: note: declared here
|   210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
|       |                           ^~~~~~
| xio-openssl.c:1307:13: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
|  1307 |             DH_free(dh);
|       |             ^~~~~~~
| /usr/include/openssl/dh.h:211:28: note: declared here
|   211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
|       |                            ^~~~~~~
| xio-openssl.c:1320:7: warning: ‘DH_set0_pqg’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
|  1320 |       if (!DH_set0_pqg(dh, p, NULL, g)) {
|       |       ^~
| /usr/include/openssl/dh.h:266:27: note: declared here
|   266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, 
BIGNUM *g);
|       |                           ^~~~~~~~~~~
| xio-openssl.c:1321:15: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
|  1321 |               DH_free(dh);
|       |               ^~~~~~~
| /usr/include/openssl/dh.h:211:28: note: declared here
|   211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
|       |                            ^~~~~~~
| xio-openssl.c:1338:7: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 
[-Wdeprecated-declarations]
|  1338 |       DH_free(dh);
|       |       ^~~~~~~
| /usr/include/openssl/dh.h:211:28: note: declared here
|   211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
|       |                            ^~~~~~~
| xio-openssl.c:1357:7: warning: ‘EC_KEY_new_by_curve_name’ is deprecated: 
Since OpenSSL 3.0 [-Wdeprecated-declarations]
|  1357 |       ecdh = EC_KEY_new_by_curve_name(nid);
|       |       ^~~~
| sslcls.c: In function ‘sycPEM_read_bio_DHparams’:
| sslcls.c:456:4: warning: ‘PEM_read_bio_DHparams’ is deprecated: Since OpenSSL 
3.0 [-Wdeprecated-declarations]
|   456 |    result = PEM_read_bio_DHparams(bp, x, cb, u);
|       |    ^~~~~~
| In file included from /usr/include/openssl/x509.h:35:
| /usr/include/openssl/ec.h:1009:31: note: declared here
|  1009 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
|       |                               ^~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /usr/include/openssl/ssl.h:39,
|                  from sysincludes.h:206,
|                  from sslcls.c:13:
| /usr/include/openssl/pem.h:479:1: note: declared here
|   479 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
|       | ^~~~~~~~~~~~~~~~~~~
| filan.c: In function ‘printtime’:
| filan.c:1115:46: error: assignment of read-only location ‘*(const char 
*)strchr(s, 10)’
|  1115 |       if (strchr(s, '\n'))  *strchr(s, '\n') = '\0';
|       |                                              ^
| xio-interface.c: In function ‘xioopen_interface’:
| xio-interface.c:123:4: warning: ‘__builtin_strncpy’ specified bound 16 equals 
destination size [-Wstringop-truncation]
|   123 |    strncpy(sfd->para.interface.name, ifname, IFNAMSIZ);
|       |    ^
| fdname.c: In function ‘sockname’:
| fdname.c:297:10: warning: ‘__builtin_strncpy’ specified bound 1024 equals 
destination size [-Wstringop-truncation]
|   297 |          strncpy(protoname, protoentp->p_name, sizeof(protoname));
|       |          ^
| make[1]: *** [<builtin>: filan.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| xio-unix.c: In function ‘xiosetunix’:
| xio-unix.c:101:4: warning: ‘__builtin_strncpy’ specified bound 108 equals 
destination size [-Wstringop-truncation]
|   101 |    strncpy(saun->sun_path, path, sizeof(saun->sun_path));       /* ok 
*/
|       |    ^
| xio-ip6.c: In function ‘xiotype_ip6_join_source_group’:
| xio-ip6.c:583:4: warning: ‘__builtin_strncpy’ output may be truncated copying 
16 bytes from a string of length 511 [-Wstringop-truncation]
|   583 |    strncpy(opt->value2.u_string/*ifindex*/, buff, IF_NAMESIZE);
|       |    ^
| xio-socket.c: In function ‘xiobind’:
| xio-socket.c:2185:13: warning: ‘__builtin_strncpy’ specified bound 108 equals 
destination size [-Wstringop-truncation]
|  2185 |             strncpy(us->un.sun_path+(abstract?1:0), sockname, 
sizeof(us->un.sun_path));
|       |             ^
| make[1]: Leaving directory '/build/reproducible-path/socat-1.8.1.0'
| dh_auto_build: error: make -j128 returned exit code 2
| make: *** [debian/rules:25: 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/socat_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: socat
Source-Version: 1.8.1.1-1
Done: Laszlo Boszormenyi (GCS) <[email protected]>

We believe that the bug you reported is fixed in the latest version of
socat, 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 socat 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, 22 Feb 2026 19:52:25 +0100
Source: socat
Architecture: source
Version: 1.8.1.1-1
Distribution: unstable
Urgency: medium
Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
Changed-By: Laszlo Boszormenyi (GCS) <[email protected]>
Closes: 1128752
Changes:
 socat (1.8.1.1-1) unstable; urgency=medium
 .
   * New upstream release:
     - fixes FTBFS with glibc 2.43 due to ISO C23 const return types
       (closes: #1128752).
Checksums-Sha1:
 7eee9cd0f24749463c873747799ec0f8692ff5e4 1865 socat_1.8.1.1-1.dsc
 b67f87a0939d62a2dc3b6eb03a8401eaf68971e6 606348 socat_1.8.1.1.orig.tar.bz2
 a53c723bad5bc5e2fa50c28f41b7dae2d939af19 15692 socat_1.8.1.1-1.debian.tar.xz
Checksums-Sha256:
 94495b7161b67e80ccbd8e871daef7126f4c93a65c87079285ff99d83c35ef65 1865 
socat_1.8.1.1-1.dsc
 5ebc636b7f427053f98806696521653a614c7e06464910353cbf54e2327adc1b 606348 
socat_1.8.1.1.orig.tar.bz2
 8dc1c29d6de14a0bfc1e077b2a6123614c6bea0cfe82008277b7183b668225d4 15692 
socat_1.8.1.1-1.debian.tar.xz
Files:
 1d88508efe44074646144f9298fb827e 1865 net optional socat_1.8.1.1-1.dsc
 5456f0f0c5d4505b68edcb10e23ef128 606348 net optional socat_1.8.1.1.orig.tar.bz2
 ebbd87baa74dac205b62cb649af72eff 15692 net optional 
socat_1.8.1.1-1.debian.tar.xz

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

iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAmmbW0kACgkQ3OMQ54ZM
yL+hIQ/+OA4pHK2PCuwfab9T29+zpkiK3zHuDtpCt3KsX7BwHjluA6OJH1ohBZ9P
JozDj0LMgDJlIR4hNc1tvGM5OABdeEce0WB5jkCIC5v6MihQnz0K2rrSBfPnPFVi
Roc9NMQ+kpgJODaMHtra3lh1kA7L7RKGOANcg013lcSEegbLFBVvdpsK4hwykLWH
UL/TUoZdXWZVUxUvRTxFjSb+5hHCBKn6GHaZTlIFxDcqHza68MFTewsfEAR3e0Sa
+VY0RKKJ2KSjDzWeWykts0Q58spc84D7cjjf6fqkX169W4SM3jqtiBdfEkbaMuZ9
NmDZA2fmCcA+IM980PcpSrPoZpJkuW//JWpxYQmywM5IPLUc9zYo6IOoYGVcliwy
g7KHl+Dtw3TD4rQFDMACW//KpB8T8YRQ1B8ChK/Ro84lWSOe50CgIcb4GrYw5iMw
xtGDXrC7/S1PnifbXbQ0i0kMUc0XRh84kWT0W0SQMbsBU1jXzKi4H2qQQlG+B7Rf
2m3v/BWSNTf1nJHRpuT2zgVQuFfPS76EELTGzlpK4ecOte/3Co+9wEB/PwW8lu2O
7rWRiNIeZaB2lRMRwClcrFHQEHwsP8cGdBMR5gVfc31kZRkkuS0tSnX2YEdZkObZ
QdzFmeS3INzxWVRCMIStkM3nB5zjYRlLpSZUxjx8SYfNL3T7OZ0=
=2wXI
-----END PGP SIGNATURE-----

Attachment: pgpAwseQp6bEj.pgp
Description: PGP signature


--- End Message ---

Reply via email to