[Pkg-openssl-devel] Bug#1138396: pkcs11-proxy: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sat May 30 17:07:03 BST 2026


Package: pkcs11-proxy
Version: 0.4.1-4
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:

| [ 33%] Building C object CMakeFiles/pkcs11-proxy.dir/gck-rpc-tls-psk.c.o
| /usr/bin/cc -Dpkcs11_proxy_EXPORTS  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pkcs11-proxy-0.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC   -Wall -MD -MT CMakeFiles/pkcs11-proxy.dir/gck-rpc-tls-psk.c.o -MF CMakeFiles/pkcs11-proxy.dir/gck-rpc-tls-psk.c.o.d -o CMakeFiles/pkcs11-proxy.dir/gck-rpc-tls-psk.c.o -c /build/reproducible-path/pkcs11-proxy-0.4.1/gck-rpc-tls-psk.c
| /build/reproducible-path/pkcs11-proxy-0.4.1/gck-rpc-tls-psk.c: In function ‘gck_rpc_init_tls_psk’:
| /build/reproducible-path/pkcs11-proxy-0.4.1/gck-rpc-tls-psk.c:268:38: error: implicit declaration of function ‘TLSv1_2_method’; did you mean ‘TLS_method’? [-Wimplicit-function-declaration]
|   268 |         state->ssl_ctx = SSL_CTX_new(TLSv1_2_method());
|       |                                      ^~~~~~~~~~~~~~
|       |                                      TLS_method
| /build/reproducible-path/pkcs11-proxy-0.4.1/gck-rpc-tls-psk.c:268:38: error: passing argument 1 of ‘SSL_CTX_new’ makes pointer from integer without a cast [-Wint-conversion]
|   268 |         state->ssl_ctx = SSL_CTX_new(TLSv1_2_method());
|       |                                      ^~~~~~~~~~~~~~~~
|       |                                      |
|       |                                      int
| In file included from /build/reproducible-path/pkcs11-proxy-0.4.1/gck-rpc-tls-psk.h:6,
|                  from /build/reproducible-path/pkcs11-proxy-0.4.1/gck-rpc-tls-psk.c:27:
| /usr/include/openssl/ssl.h:1654:47: note: expected ‘const SSL_METHOD *’ {aka ‘const struct ssl_method_st *’} but argument is of type ‘int’
|  1654 | __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
|       |                             ~~~~~~~~~~~~~~~~~~^~~~
| make[3]: *** [CMakeFiles/pkcs11-proxy.dir/build.make:138: CMakeFiles/pkcs11-proxy.dir/gck-rpc-tls-psk.c.o] Error 1
| make[3]: Leaving directory '/build/reproducible-path/pkcs11-proxy-0.4.1/build'
| make[2]: *** [CMakeFiles/Makefile2:93: CMakeFiles/pkcs11-proxy.dir/all] Error 2


Full buildlog
 	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/pkcs11-proxy_0.4.1-4_amd64-2026-04-19T08:38:54Z

Sebastian



More information about the Pkg-openssl-devel mailing list