--- Begin Message ---
Source: openpace
Version: 1.1.0+ds-1
Severity: important
Tags: bookworm sid
User: pkg-openssl-de...@lists.alioth.debian.org
Usertags: ftbfs-3.0
Your package is failing to build using OpenSSL 3.0 with the
following error:
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DCVCDIR=\"/etc/eac/cvc\"
-DX509DIR=\"/etc/eac/x509\" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wall -pedantic -c cv_cert.c -fPIC -DPIC -o
.libs/libeac_la-cv_cert.o
| In file included from ./eac/cv_cert.h:37,
| from ./eac/eac.h:35,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| cv_cert.c:225:1: error: conflicting types for ‘i2d_CVC_CERT’; have
‘int(const CVC_CERT *, unsigned char **)’ {aka ‘int(const struct
cvc_cert_seq_st *, unsigned char **)’}
| 225 | IMPLEMENT_ASN1_FUNCTIONS(CVC_CERT)
| | ^~~~~~~~~~~~~~~~~~~~~~~~
| In file included from ./eac/eac.h:35,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| ./eac/cv_cert.h:341:5: note: previous declaration of ‘i2d_CVC_CERT’ with
type ‘int(CVC_CERT *, unsigned char **)’ {aka ‘int(struct cvc_cert_seq_st
*, unsigned char **)’}
| 341 | int i2d_CVC_CERT(CVC_CERT *a, unsigned char **out);
| | ^~~~~~~~~~~~
| cv_cert.c: In function ‘CVC_pubkey2rsa’:
| cv_cert.c:542:5: warning: ‘RSA_new’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
| 542 | rsa = RSA_new();
| | ^~~
| In file included from ssl_compat.h:8,
| from cv_cert.c:37:
| /usr/include/openssl/rsa.h:201:28: note: declared here
| 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
| | ^~~~~~~
| cv_cert.c:546:5: warning: ‘RSA_set0_key’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
| 546 | check(RSA_set0_key(rsa,
| | ^~~~~
| In file included from ssl_compat.h:8,
| from cv_cert.c:37:
| /usr/include/openssl/rsa.h:207:27: note: declared here
| 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e,
BIGNUM *d);
| | ^~~~~~~~~~~~
| cv_cert.c:553:5: warning: ‘EVP_PKEY_set1_RSA’ is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
| 553 | ok = EVP_PKEY_set1_RSA(out, rsa);
| | ^~
| In file included from /usr/include/openssl/cmac.h:25,
| from ./eac/eac.h:39,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/evp.h:1344:5: note: declared here
| 1344 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key);
| | ^~~~~~~~~~~~~~~~~
| cv_cert.c:557:9: warning: ‘RSA_free’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
| 557 | RSA_free(rsa);
| | ^~~~~~~~
| In file included from ssl_compat.h:8,
| from cv_cert.c:37:
| /usr/include/openssl/rsa.h:293:28: note: declared here
| 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| | ^~~~~~~~
| cv_cert.c: In function ‘CVC_pubkey2eckey’:
| cv_cert.c:575:9: warning: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
| 575 | ec = EC_KEY_new();
| | ^~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:966:31: note: declared here
| 966 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
| | ^~~~~~~~~~
| cv_cert.c:587:13: warning: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
| 587 | EC_KEY_free(ec);
| | ^~~~~~~~~~~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:1001:28: note: declared here
| 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| | ^~~~~~~~~~~
| cv_cert.c:592:9: warning: ‘EVP_PKEY_set1_EC_KEY’ is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
| 592 | ok = EVP_PKEY_set1_EC_KEY(key, ec);
| | ^~
| In file included from /usr/include/openssl/cmac.h:25,
| from ./eac/eac.h:39,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/evp.h:1370:5: note: declared here
| 1370 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key);
| | ^~~~~~~~~~~~~~~~~~~~
| cv_cert.c:593:9: warning: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
| 593 | EC_KEY_free(ec);
| | ^~~~~~~~~~~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:1001:28: note: declared here
| 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| | ^~~~~~~~~~~
| cv_cert.c:610:9: warning: ‘EVP_PKEY_get0’ is deprecated: Since OpenSSL
3.0 [-Wdeprecated-declarations]
| 610 | ec = (EC_KEY *) EVP_PKEY_get0(key);
| | ^~
| In file included from /usr/include/openssl/cmac.h:25,
| from ./eac/eac.h:39,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/evp.h:1330:7: note: declared here
| 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey);
| | ^~~~~~~~~~~~~
| cv_cert.c:613:9: warning: ‘EC_KEY_get0_group’ is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
| 613 | group = EC_KEY_get0_group(ec);
| | ^~~~~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:1032:39: note: declared here
| 1032 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY
*key);
| | ^~~~~~~~~~~~~~~~~
| cv_cert.c:615:9: warning: ‘EC_KEY_set_public_key’ is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
| 615 | check(point
| | ^~~~~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:1068:27: note: declared here
| 1068 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const
EC_POINT *pub);
| | ^~~~~~~~~~~~~~~~~~~~~
| cv_cert.c:615:9: warning: ‘EC_KEY_check_key’ is deprecated: Since OpenSSL
3.0 [-Wdeprecated-declarations]
| 615 | check(point
| | ^~~~~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:1105:27: note: declared here
| 1105 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key);
| | ^~~~~~~~~~~~~~~~
| cv_cert.c: In function ‘CVC_eckey2pubkey’:
| cv_cert.c:1270:5: warning: ‘EVP_PKEY_get1_EC_KEY’ is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
| 1270 | ec = EVP_PKEY_get1_EC_KEY(key);
| | ^~
| In file included from /usr/include/openssl/cmac.h:25,
| from ./eac/eac.h:39,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/evp.h:1374:19: note: declared here
| 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
| | ^~~~~~~~~~~~~~~~~~~~
| cv_cert.c:1273:5: warning: ‘EC_KEY_get0_group’ is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
| 1273 | group = EC_KEY_get0_group(ec);
| | ^~~~~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:1032:39: note: declared here
| 1032 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY
*key);
| | ^~~~~~~~~~~~~~~~~
| cv_cert.c:1278:5: warning: ‘EC_KEY_get0_public_key’ is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
| 1278 | Y_buf = EC_POINT_point2mem(ec, bn_ctx,
EC_KEY_get0_public_key(ec));
| | ^~~~~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:1060:39: note: declared here
| 1060 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const
EC_KEY *key);
| | ^~~~~~~~~~~~~~~~~~~~~~
| cv_cert.c:1292:9: warning: ‘EC_GROUP_get_curve_GFp’ is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
| 1292 | if (!EC_GROUP_get_curve_GFp(group, bn, a_bn, b_bn, bn_ctx))
| | ^~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:352:27: note: declared here
| 352 | OSSL_DEPRECATEDIN_3_0 int EC_GROUP_get_curve_GFp(const EC_GROUP
*group,
| | ^~~~~~~~~~~~~~~~~~~~~~
| cv_cert.c:1332:9: warning: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
| 1332 | EC_KEY_free(ec);
| | ^~~~~~~~~~~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:1001:28: note: declared here
| 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| | ^~~~~~~~~~~
| cv_cert.c: In function ‘CVC_rsa2pubkey’:
| cv_cert.c:1350:5: warning: ‘EVP_PKEY_get1_RSA’ is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
| 1350 | rsa = EVP_PKEY_get1_RSA(key);
| | ^~~
| In file included from /usr/include/openssl/cmac.h:25,
| from ./eac/eac.h:39,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/evp.h:1348:16: note: declared here
| 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
| | ^~~~~~~~~~~~~~~~~
| cv_cert.c:1353:5: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL
3.0 [-Wdeprecated-declarations]
| 1353 | RSA_get0_key(rsa, &n, &e, NULL);
| | ^~~~~~~~~~~~
| In file included from ssl_compat.h:8,
| from cv_cert.c:37:
| /usr/include/openssl/rsa.h:217:28: note: declared here
| 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
| | ^~~~~~~~~~~~
| cv_cert.c:1363:9: warning: ‘RSA_free’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
| 1363 | RSA_free(rsa);
| | ^~~~~~~~
| In file included from ssl_compat.h:8,
| from cv_cert.c:37:
| /usr/include/openssl/rsa.h:293:28: note: declared here
| 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| | ^~~~~~~~
| cv_cert.c: In function ‘CVC_dh2pubkey’:
| cv_cert.c:1378:5: warning: ‘EVP_PKEY_get1_DH’ is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
| 1378 | dh = EVP_PKEY_get1_DH(key);
| | ^~
| In file included from /usr/include/openssl/cmac.h:25,
| from ./eac/eac.h:39,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/evp.h:1364:37: note: declared here
| 1364 | OSSL_DEPRECATEDIN_3_0 struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey);
| | ^~~~~~~~~~~~~~~~
| cv_cert.c:1382:5: warning: ‘DH_get0_key’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
| 1382 | DH_get0_key(dh, &pub_key, NULL);
| | ^~~~~~~~~~~
| In file included from eac_dh.h:33,
| from cv_cert.c:33:
| /usr/include/openssl/dh.h:256:28: note: declared here
| 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM
**pub_key,
| | ^~~~~~~~~~~
| cv_cert.c:1388:9: warning: ‘DH_get0_pqg’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
| 1388 | DH_get0_pqg(dh, &p, NULL, &g);
| | ^~~~~~~~~~~
| In file included from eac_dh.h:33,
| from cv_cert.c:33:
| /usr/include/openssl/dh.h:253:28: note: declared here
| 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
| | ^~~~~~~~~~~
| cv_cert.c:1412:9: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
| 1412 | DH_free(dh);
| | ^~~~~~~
| In file included from eac_dh.h:33,
| from cv_cert.c:33:
| /usr/include/openssl/dh.h:200:28: note: declared here
| 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
| | ^~~~~~~
| cv_cert.c: In function ‘EAC_ec_key_from_asn1’:
| cv_cert.c:1533:9: warning: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
| 1533 | tmp = EC_KEY_new();
| | ^~~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:966:31: note: declared here
| 966 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
| | ^~~~~~~~~~
| cv_cert.c:1540:5: warning: ‘EC_KEY_set_group’ is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
| 1540 | if(!EC_KEY_set_group(tmp, group))
| | ^~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:1040:27: note: declared here
| 1040 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const
EC_GROUP *group);
| | ^~~~~~~~~~~~~~~~
| cv_cert.c:1553:9: warning: ‘EC_KEY_set_public_key’ is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
| 1553 | if (!EC_KEY_set_public_key(tmp, pub_point))
| | ^~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:1068:27: note: declared here
| 1068 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const
EC_POINT *pub);
| | ^~~~~~~~~~~~~~~~~~~~~
| cv_cert.c:1564:9: warning: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0
[-Wdeprecated-declarations]
| 1564 | EC_KEY_free(tmp);
| | ^~~~~~~~~~~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:1001:28: note: declared here
| 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| | ^~~~~~~~~~~
| cv_cert.c:1566:9: warning: ‘EC_GROUP_clear_free’ is deprecated: Since
OpenSSL 3.0 [-Wdeprecated-declarations]
| 1566 | EC_GROUP_clear_free(group);
| | ^~~~~~~~~~~~~~~~~~~
| In file included from ./eac/eac.h:40,
| from eac_asn1.h:31,
| from cv_cert.c:32:
| /usr/include/openssl/ec.h:174:28: note: declared here
| 174 | OSSL_DEPRECATEDIN_3_0 void EC_GROUP_clear_free(EC_GROUP *group);
| | ^~~~~~~~~~~~~~~~~~~
| make[5]: *** [Makefile:795: libeac_la-cv_cert.lo] Error 1
| make[5]: Leaving directory '/<<PKGBUILDDIR>>/src'
For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html
Sebastian
--- End Message ---