[Pkg-openssl-devel] Bug#1138443: wvstreams: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sat May 30 17:15:31 BST 2026


Package: wvstreams
Version: 4.6.1-19
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:

| ./CXX -c crypto/wvcrl   
| x86_64-linux-gnu-g++ -c -o crypto/wvcrl.o crypto/wvcrl.cc -MMD -MF crypto/.wvcrl.d -MP -MQ crypto/wvcrl.o -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/tcl8.3 -DDEBUG=0 -I./include -D_BSD_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNSTABLE -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/wvstreams-4.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/wvstreams-4.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPIC -fno-tree-dce -fno-optimize-sibling-calls -Wall -Woverloaded-virtual
| In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
|                  from /usr/include/stdint.h:26,
|                  from /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h:11,
|                  from /usr/include/openssl/e_os2.h:219,
|                  from /usr/include/openssl/bio.h:25,
|                  from /usr/include/openssl/x509v3.h:26,
|                  from crypto/wvcrl.cc:8:
| /usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
|   199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
|       |   ^~~~~~~
| crypto/wvcrl.cc: In constructor ‘WvCRL::WvCRL(const WvX509Mgr&)’:
| crypto/wvcrl.cc:61:40: error: invalid conversion from ‘const X509_EXTENSION*’ {aka ‘const X509_extension_st*’} to ‘X509_EXTENSION*’ {aka ‘X509_extension_st*’} [-fpermissive]
|    61 |     if ((i >= 0) && (ext = X509_get_ext(ca.cert, i)))
|       |                            ~~~~~~~~~~~~^~~~~~~~~~~~
|       |                                        |
|       |                                        const X509_EXTENSION* {aka const X509_extension_st*}
| crypto/wvcrl.cc: In member function ‘bool WvCRL::expired() const’:
| crypto/wvcrl.cc:140:54: warning: ‘ASN1_TIME* X509_CRL_get_nextUpdate(X509_CRL*)’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
|   140 |     if (X509_cmp_current_time(X509_CRL_get_nextUpdate(crl)) < 0)
|       |                               ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
| In file included from /usr/include/openssl/x509v3.h:27:
| /usr/include/openssl/x509.h:954:36: note: declared here
|   954 | OSSL_DEPRECATEDIN_1_1_0 ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl);
|       |                                    ^~~~~~~~~~~~~~~~~~~~~~~
| crypto/wvcrl.cc:140:30: warning: ‘int X509_cmp_current_time(const ASN1_TIME*)’ is deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations]
|   140 |     if (X509_cmp_current_time(X509_CRL_get_nextUpdate(crl)) < 0)
|       |         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /usr/include/openssl/x509.h:694:27: note: declared here
|   694 | OSSL_DEPRECATEDIN_4_0 int X509_cmp_current_time(const ASN1_TIME *s);
|       |                           ^~~~~~~~~~~~~~~~~~~~~
| crypto/wvcrl.cc: In member function ‘WvString WvCRL::get_aki() const’:
| crypto/wvcrl.cc:172:45: error: invalid use of incomplete type ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
|   172 |         char *tmp = hex_to_string(aki->keyid->data, aki->keyid->length);
|       |                                             ^~
| In file included from /usr/include/openssl/crypto.h:38,
|                  from /usr/include/openssl/bio.h:32:
| /usr/include/openssl/types.h:57:16: note: forward declaration of ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
|    57 | typedef struct asn1_string_st ASN1_INTEGER;
|       |                ^~~~~~~~~~~~~~
| crypto/wvcrl.cc:172:63: error: invalid use of incomplete type ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
|   172 |         char *tmp = hex_to_string(aki->keyid->data, aki->keyid->length);
|       |                                                               ^~
| /usr/include/openssl/types.h:57:16: note: forward declaration of ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
|    57 | typedef struct asn1_string_st ASN1_INTEGER;
|       |                ^~~~~~~~~~~~~~
| make[1]: *** [wvrules.mk:163: crypto/wvcrl.o] Error 1
| make[1]: Leaving directory '/build/reproducible-path/wvstreams-4.6.1'


Full buildlog
 	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/wvstreams_4.6.1-19_amd64-2026-04-19T13:53:09Z

Sebastian



More information about the Pkg-openssl-devel mailing list