[Pkg-openssl-devel] Bug#1138351: stone: FTBFS with openssl 4.0
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Sat May 30 16:58:46 BST 2026
Package: stone
Version: 2.4-1.2
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:
| stone.c:7435:37: error: invalid use of incomplete typedef ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’}
| 7435 | int len = gen->d.ia5->length;
| | ^~
| stone.c:7437:48: error: invalid use of incomplete typedef ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’}
| 7437 | strncpy(name, (char*)gen->d.ia5->data, len);
| | ^~
| stone.c:7451:5: warning: ‘X509_NAME_get_text_by_NID’ is deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations]
| 7451 | if (X509_NAME_get_text_by_NID(X509_get_subject_name(cert), NID_commonName,
| | ^~
| In file included from stone.c:344:
| /usr/include/openssl/x509.h:1041:27: note: declared here
| 1041 | OSSL_DEPRECATEDIN_4_0 int X509_NAME_get_text_by_NID(const X509_NAME *name,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~
| stone.c: In function ‘sslopts_default’:
| stone.c:9244:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
| 9244 | opts->meth = SSLv23_server_method();
| | ^
| stone.c:9265:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
| 9265 | opts->meth = SSLv23_client_method();
| | ^
| stone.c: In function ‘sslopts’:
| stone.c:9367:36: error: implicit declaration of function ‘TLSv1_server_method’; did you mean ‘TLS_server_method’? [-Wimplicit-function-declaration]
| 9367 | if (isserver) opts->meth = TLSv1_server_method();
| | ^~~~~~~~~~~~~~~~~~~
| | TLS_server_method
| stone.c:9367:34: error: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
| 9367 | if (isserver) opts->meth = TLSv1_server_method();
| | ^
| stone.c:9368:27: error: implicit declaration of function ‘TLSv1_client_method’; did you mean ‘TLS_client_method’? [-Wimplicit-function-declaration]
| 9368 | else opts->meth = TLSv1_client_method();
| | ^~~~~~~~~~~~~~~~~~~
| | TLS_client_method
| stone.c:9368:25: error: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
| 9368 | else opts->meth = TLSv1_client_method();
| | ^
| stone.c:9372:36: error: implicit declaration of function ‘TLSv1_2_server_method’; did you mean ‘TLS_server_method’? [-Wimplicit-function-declaration]
| 9372 | if (isserver) opts->meth = TLSv1_2_server_method();
| | ^~~~~~~~~~~~~~~~~~~~~
| | TLS_server_method
| stone.c:9372:34: error: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
| 9372 | if (isserver) opts->meth = TLSv1_2_server_method();
| | ^
| stone.c:9373:27: error: implicit declaration of function ‘TLSv1_2_client_method’; did you mean ‘TLS_client_method’? [-Wimplicit-function-declaration]
| 9373 | else opts->meth = TLSv1_2_client_method();
| | ^~~~~~~~~~~~~~~~~~~~~
| | TLS_client_method
| stone.c:9373:25: error: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
| 9373 | else opts->meth = TLSv1_2_client_method();
| | ^
| stone.c:9377:36: error: implicit declaration of function ‘TLSv1_1_server_method’; did you mean ‘TLS_server_method’? [-Wimplicit-function-declaration]
| 9377 | if (isserver) opts->meth = TLSv1_1_server_method();
| | ^~~~~~~~~~~~~~~~~~~~~
| | TLS_server_method
| stone.c:9377:34: error: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
| 9377 | if (isserver) opts->meth = TLSv1_1_server_method();
| | ^
| stone.c:9378:27: error: implicit declaration of function ‘TLSv1_1_client_method’; did you mean ‘TLS_client_method’? [-Wimplicit-function-declaration]
| 9378 | else opts->meth = TLSv1_1_client_method();
| | ^~~~~~~~~~~~~~~~~~~~~
| | TLS_client_method
| stone.c:9378:25: error: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
| 9378 | else opts->meth = TLSv1_1_client_method();
| | ^
| stone.c:9382:36: error: implicit declaration of function ‘SSLv3_server_method’; did you mean ‘SSLv23_server_method’? [-Wimplicit-function-declaration]
| 9382 | if (isserver) opts->meth = SSLv3_server_method();
| | ^~~~~~~~~~~~~~~~~~~
| | SSLv23_server_method
| stone.c:9382:34: error: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
| 9382 | if (isserver) opts->meth = SSLv3_server_method();
| | ^
| stone.c:9383:27: error: implicit declaration of function ‘SSLv3_client_method’; did you mean ‘SSLv23_client_method’? [-Wimplicit-function-declaration]
| 9383 | else opts->meth = SSLv3_client_method();
| | ^~~~~~~~~~~~~~~~~~~
| | SSLv23_client_method
| stone.c:9383:25: error: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
| 9383 | else opts->meth = SSLv3_client_method();
| | ^
| make[4]: *** [Makefile:63: stone] Error 1
Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/stone_2.4-1.2_amd64-2026-04-19T11:06:01Z
Sebastian
More information about the Pkg-openssl-devel
mailing list