[Pkg-openssl-devel] Bug#1137476: asterisk: FTBFS with openssl 4.0
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Sun May 24 09:28:55 BST 2026
Package: asterisk
Version: 1:22.9.0+dfsg+~cs6.16.60671434-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:
| ../src/pj/ssl_sock_ossl.c: In function ‘init_ossl_ctx’:
| ../src/pj/ssl_sock_ossl.c:1599:29: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
| 1599 | if ((xn = X509_get_subject_name(x)) == NULL)
| | ^
| ../src/pj/ssl_sock_ossl.c: In function ‘parse_ossl_asn1_time’:
| ../src/pj/ssl_sock_ossl.c:2034:13: error: invalid use of incomplete typedef ‘ASN1_TIME’ {aka ‘const struct asn1_string_st’}
| 2034 | utc = tm->type == V_ASN1_UTCTIME;
| | ^~
| ../src/pj/ssl_sock_ossl.c:2035:18: error: invalid use of incomplete typedef ‘ASN1_TIME’ {aka ‘const struct asn1_string_st’}
| 2035 | p = (char*)tm->data;
| | ^~
| ../src/pj/ssl_sock_ossl.c:2036:13: error: invalid use of incomplete typedef ‘ASN1_TIME’ {aka ‘const struct asn1_string_st’}
| 2036 | len = tm->length;
| | ^~
| make[6]: *** [/build/reproducible-path/asterisk-22.9.0+dfsg+~cs6.16.60671434/third-party/pjproject/source/build/rules.mak:163: output/pjlib-x86_64-pc-linux-gnu/ssl_sock_ossl.o] Error 1
Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/asterisk_22.9.0+dfsg+~cs6.16.60671434-1_amd64-2026-04-19T11:47:22Z
Sebastian
More information about the Pkg-openssl-devel
mailing list