[Pkg-openssl-devel] Bug#1137562: boinc: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Mon May 25 08:11:07 BST 2026


Package: boinc
Version: 8.2.9+dfsg-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:

| libtool: compile:  /usr/bin/g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../api -I../db -I../lib -I../lib/mac -I../sched -I../tools -I../vda -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align -fPIC -DPIC -I/usr/include -I/usr/include/openssl -g -O2 -ffile-prefix-map=/build/reproducible-path/boinc-8.2.9+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O3 -funroll-loops -fforce-addr -ffast-math -flto -std=c++11 -Wall -c crypt.cpp  -fPIC -DPIC -o .libs/libboinc_crypt_la-crypt.o
| crypt.cpp: In function 'int encrypt_private(R_RSA_PRIVATE_KEY&, DATA_BLOCK&, DATA_BLOCK&)':
| crypt.cpp:259:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|   259 |     RSA* rp = RSA_new();
|       |               ~~~~~~~^~
| In file included from /usr/include/openssl/x509.h:38,
|                  from /usr/include/openssl/ssl.h:34,
|                  from crypt.cpp:31:
| /usr/include/openssl/rsa.h:212:28: note: declared here
|   212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
|       |                            ^~~~~~~
| crypt.cpp:261:33: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|   261 |     retval = RSA_private_encrypt(n, in.data, out.data, rp, RSA_PKCS1_PADDING);
|       |              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /usr/include/openssl/rsa.h:294:5: note: declared here
|   294 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
|       |     ^~~~~~~~~~~~~~~~~~~
| crypt.cpp:263:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|   263 |         RSA_free(rp);
|       |         ~~~~~~~~^~~~
| /usr/include/openssl/rsa.h:302:28: note: declared here
|   302 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
|       |                            ^~~~~~~~
…

| crypt.cpp:826:41: error: invalid conversion from 'const X509_NAME*' {aka 'const X509_name_st*'} to 'X509_NAME*' {aka 'X509_name_st*'} [-fpermissive]
|   826 |             subj = X509_get_subject_name(cert);
|       |                    ~~~~~~~~~~~~~~~~~~~~~^~~~~~
|       |                                         |
|       |                                         const X509_NAME* {aka const X509_name_st*}
| make[5]: *** [Makefile:1792: libboinc_crypt_la-crypt.lo] Error 1

Full buildlog
	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/boinc_8.2.9+dfsg-1_amd64-2026-04-19T09:46:38Z

Sebastian



More information about the Pkg-openssl-devel mailing list