[Pkg-openssl-devel] Bug#1138388: socat: FTBFS with openssl 4.0
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Sat May 30 17:05:35 BST 2026
Package: socat
Version: 1.8.1.1-1
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel at lists.alioth.debian.org
Usertags: openssl-4.0
OpenSSL 4.0 is in experimental. This package fails to build against it:
| gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/socat-1.8.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xio-openssl.o xio-openssl.c
| 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:
…
| xio-openssl.c:1901:71: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 1901 | const unsigned char *data = pName->d.iPAddress->data;
| | ^~
| xio-openssl.c:1902:56: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 1902 | size_t len = pName->d.iPAddress->length;
| | ^~
| make[1]: *** [<builtin>: xio-openssl.o] Error 1
| make[1]: Leaving directory '/build/reproducible-path/socat-1.8.1.1'
Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/socat_1.8.1.1-1_amd64-2026-04-19T13:48:41Z
Sebastian
More information about the Pkg-openssl-devel
mailing list