Source: libmongocrypt
Version: 1.3.0-1
Severity: important
Tags: bookworm sid
User: pkg-open...@lists.alioth.debian.org
Usertags: ftbfs-3.0
control: forwarded -1
Your package is failing to build using OpenSSL 3.0 with the
following error:
| [ 14%] Building C object CMakeFiles/mongocrypt.dir/src/crypto/libcrypto.c.o
| /usr/bin/cc -DKMS_MSG_STATIC -Dmongocrypt_EXPORTS -I/<<PKGBUILDDIR>>/kms-message/src -I/<<PKGBUILDDIR>>/cmake-build/src -I/<<PKGBUILDDIR>>/src -isystem /usr/include/libbson-1.0 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -Wno-missing-braces -O2 -g -DNDEBUG -fPIC -std=gnu99 -MD -MT CMakeFiles/mongocrypt.dir/src/crypto/libcrypto.c.o -MF CMakeFiles/mongocrypt.dir/src/crypto/libcrypto.c.o.d -o CMakeFiles/mongocrypt.dir/src/crypto/libcrypto.c.o -c /<<PKGBUILDDIR>>/src/crypto/libcrypto.c
| /<<PKGBUILDDIR>>/src/crypto/libcrypto.c: In function ‘_native_crypto_hmac_sha_512’:
| /<<PKGBUILDDIR>>/src/crypto/libcrypto.c:196:4: error: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
| 196 | ctx = HMAC_CTX_new ();
| | ^~~
| In file included from /<<PKGBUILDDIR>>/src/crypto/libcrypto.c:33:
| /usr/include/openssl/hmac.h:33:33: note: declared here
| 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| | ^~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/crypto/libcrypto.c:206:4: error: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
| 206 | if (!HMAC_Init_ex (ctx, key->data, key->len, algo, NULL /* engine */)) {
| | ^~
| In file included from /<<PKGBUILDDIR>>/src/crypto/libcrypto.c:33:
| /usr/include/openssl/hmac.h:43:27: note: declared here
| 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
| | ^~~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/crypto/libcrypto.c:212:4: error: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
| 212 | if (!HMAC_Update (ctx, in->data, in->len)) {
| | ^~
| In file included from /<<PKGBUILDDIR>>/src/crypto/libcrypto.c:33:
| /usr/include/openssl/hmac.h:45:27: note: declared here
| 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
| | ^~~~~~~~~~~
| /<<PKGBUILDDIR>>/src/crypto/libcrypto.c:218:4: error: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
| 218 | if (!HMAC_Final (ctx, out->data, NULL /* unused out len */)) {
| | ^~
| In file included from /<<PKGBUILDDIR>>/src/crypto/libcrypto.c:33:
| /usr/include/openssl/hmac.h:47:27: note: declared here
| 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| | ^~~~~~~~~~
| /<<PKGBUILDDIR>>/src/crypto/libcrypto.c:226:4: error: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
| 226 | HMAC_CTX_free (ctx);
| | ^~~~~~~~~~~~~
| In file included from /<<PKGBUILDDIR>>/src/crypto/libcrypto.c:33:
| /usr/include/openssl/hmac.h:35:28: note: declared here
| 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| | ^~~~~~~~~~~~~
| cc1: all warnings being treated as errors
| make[4]: *** [CMakeFiles/mongocrypt.dir/build.make:107: CMakeFiles/mongocrypt.dir/src/crypto/libcrypto.c.o] Error 1
For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html
Sebastian
--
You received this message because you are subscribed to the Google Groups "mongo-c-driver-debian" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongo-c-driver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongo-c-driver-debian/YhfqjtoEPW7q9IlV%40breakpoint.cc.