[Pkg-openssl-devel] Bug#1138431: qatengine: FTBFS with openssl 4.0

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


Package: qatengine
Version: 2.1.0-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:  gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -I/usr/local/include -I/usr/include -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DQAT_HW_FBSD_INTREE -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_OPENSSL_PROVIDER -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -DQAT_SW -DENABLE_QAT_SW_RSA -DENABLE_QAT_SW_ECDSA -DENABLE_QAT_SW_ECDH -DENABLE_QAT_SW_ECX -DENABLE_QAT_SW_SM2 -DQAT_SW_IPSEC -DENABLE_QAT_SW_GCM -DENABLE_QAT_SW_SHA2 -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/qatengine-2.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c qat_evp.c  -fPIC -DPIC -o .libs/qat_evp.o
| qat_evp.c: In function 'qat_create_gcm_cipher_meth':
| qat_evp.c:850:14: error: implicit declaration of function 'EVP_CIPHER_meth_new'; did you mean 'EVP_CIPHER_CTX_new'? [-Wimplicit-function-declaration]
|   850 |     if ((c = EVP_CIPHER_meth_new(nid, AES_GCM_BLOCK_SIZE, keylen)) == NULL) {
|       |              ^~~~~~~~~~~~~~~~~~~
|       |              EVP_CIPHER_CTX_new
| qat_evp.c:850:12: error: assignment to 'EVP_CIPHER *' {aka 'struct evp_cipher_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
|   850 |     if ((c = EVP_CIPHER_meth_new(nid, AES_GCM_BLOCK_SIZE, keylen)) == NULL) {
|       |            ^
| qat_evp.c:859:13: error: implicit declaration of function 'EVP_CIPHER_meth_free'; did you mean 'EVP_CIPHER_CTX_free'? [-Wimplicit-function-declaration]
|   859 |             EVP_CIPHER_meth_free(c);
|       |             ^~~~~~~~~~~~~~~~~~~~
|       |             EVP_CIPHER_CTX_free
| qat_evp.c:864:16: error: implicit declaration of function 'EVP_CIPHER_meth_set_iv_length'; did you mean 'EVP_CIPHER_CTX_get_iv_length'? [-Wimplicit-function-declaration]
|   864 |         res &= EVP_CIPHER_meth_set_iv_length(c, IMB_GCM_IV_DATA_LEN);
|       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                EVP_CIPHER_CTX_get_iv_length
| qat_evp.c:865:16: error: implicit declaration of function 'EVP_CIPHER_meth_set_flags'; did you mean 'EVP_CIPHER_CTX_set_flags'? [-Wimplicit-function-declaration]
|   865 |         res &= EVP_CIPHER_meth_set_flags(c, VAESGCM_FLAG);
|       |                ^~~~~~~~~~~~~~~~~~~~~~~~~
|       |                EVP_CIPHER_CTX_set_flags
| qat_evp.c:871:16: error: implicit declaration of function 'EVP_CIPHER_meth_set_impl_ctx_size'; did you mean 'EVP_CIPHER_impl_ctx_size'? [-Wimplicit-function-declaration]
|   871 |         res &= EVP_CIPHER_meth_set_impl_ctx_size(c, sizeof(vaesgcm_ctx));
|       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                EVP_CIPHER_impl_ctx_size
| qat_evp.c:872:16: error: implicit declaration of function 'EVP_CIPHER_meth_set_set_asn1_params'; did you mean 'EVP_CIPHER_CTX_settable_params'? [-Wimplicit-function-declaration]
|   872 |         res &= EVP_CIPHER_meth_set_set_asn1_params(c, NULL);
|       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                EVP_CIPHER_CTX_settable_params
| qat_evp.c:873:16: error: implicit declaration of function 'EVP_CIPHER_meth_set_get_asn1_params'; did you mean 'EVP_CIPHER_CTX_settable_params'? [-Wimplicit-function-declaration]
|   873 |         res &= EVP_CIPHER_meth_set_get_asn1_params(c, NULL);
|       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                EVP_CIPHER_CTX_settable_params
| qat_evp.c: In function 'qat_create_ccm_cipher_meth':
| qat_evp.c:960:12: error: assignment to 'EVP_CIPHER *' {aka 'struct evp_cipher_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
|   960 |     if ((c = EVP_CIPHER_meth_new(nid, AES_CCM_BLOCK_SIZE, keylen)) == NULL) {
|       |            ^
| qat_evp.c: In function 'qat_create_sm4_cbc_cipher_meth':
| qat_evp.c:1044:12: error: assignment to 'EVP_CIPHER *' {aka 'struct evp_cipher_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
|  1044 |     if ((c = EVP_CIPHER_meth_new(nid, SM4_BLOCK_SIZE, keylen)) == NULL) {
|       |            ^
| qat_evp.c: In function 'qat_create_sm2_pmeth':
| qat_evp.c:1312:9: error: implicit declaration of function 'EVP_PKEY_meth_free'; did you mean 'EVP_PKEY_CTX_free'? [-Wimplicit-function-declaration]
|  1312 |         EVP_PKEY_meth_free(_hidden_sm2_pmeth);
|       |         ^~~~~~~~~~~~~~~~~~
|       |         EVP_PKEY_CTX_free
| make[2]: *** [Makefile:1413: qat_evp.lo] Error 1
| make[2]: Leaving directory '/build/reproducible-path/qatengine-2.1.0'
| make[1]: *** [Makefile:1005: all] Error 2
| make[1]: Leaving directory '/build/reproducible-path/qatengine-2.1.0'
| dh_auto_build: error: make -j1 returned exit code 2


Full buildlog
 	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/qatengine_2.1.0-1_amd64-2026-04-19T07:30:18Z

Sebastian



More information about the Pkg-openssl-devel mailing list