[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1006575: sbsigntool: FTBFS with OpenSSL 3.0



Source: sbsigntool
Version: 0.9.4-3
Severity: important
Tags: bookworm sid
User: pkg-openssl-devel@lists.alioth.debian.org
Usertags: ftbfs-3.0

Your package is failing to build using OpenSSL 3.0 with the
following error:

| gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sbsign-sbsign.o `test -f 'sbsign.c' || echo './'`sbsign.c
| sbsign.c: In function ‘main’:
| sbsign.c:234:9: error: ‘ERR_load_BIO_strings’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
|   234 |         ERR_load_BIO_strings();
|       |         ^~~~~~~~~~~~~~~~~~~~
| In file included from /usr/include/openssl/cryptoerr.h:17,
|                  from /usr/include/openssl/crypto.h:38,
|                  from /usr/include/openssl/bio.h:30,
|                  from /usr/include/openssl/conf.h:24,
|                  from sbsign.c:45:
| /usr/include/openssl/cryptoerr_legacy.h:31:27: note: declared here
|    31 | OSSL_DEPRECATEDIN_3_0 int ERR_load_BIO_strings(void);
|       |                           ^~~~~~~~~~~~~~~~~~~~
| cc1: all warnings being treated as errors
| make[3]: *** [Makefile:693: sbsign-sbsign.o] Error 1

For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html

Sebastian


Reply to: