x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/efi -I/usr/include/efi/x86_64 -DEFI_FUNCTION_WRAPPER -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -O2 -march=znver3 -pipe -g -ggdb3 -c -o sbkeysync-fileio.o `test -f 'fileio.c' || echo './'`fileio.c fileio.c: In function ‘fileio_read_engine_key’: fileio.c:69:9: error: ‘ENGINE_load_builtin_engines’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 69 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fileio.c:42: /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:70:9: error: ‘ENGINE_by_id’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 70 | e = ENGINE_by_id(engine); | ^ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ fileio.c:86:9: error: ‘ENGINE_init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 86 | if (!ENGINE_init(e)) { | ^~ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ fileio.c: In function ‘fileio_read_engine_key’: fileio.c:69:9: error: ‘ENGINE_load_builtin_engines’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 69 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:92:9: error: ‘ENGINE_load_private_key’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 92 | pkey = ENGINE_load_private_key(e, filename, ui, NULL); | ^~~~ Reproducible: Always
Created attachment 779420 [details] build.log.gz
Created attachment 779423 [details] emerge-info.txt
*** This bug has been marked as a duplicate of bug 832212 ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f80775fd1204bf44e4ecd41202b591e1d953e63 commit 3f80775fd1204bf44e4ecd41202b591e1d953e63 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-11 06:01:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-11 06:03:18 +0000 app-crypt/sbsigntools: drop Werror Closes: https://bugs.gentoo.org/832212 Bug: https://bugs.gentoo.org/845372 Bug: https://bugs.gentoo.org/828947 Signed-off-by: Sam James <sam@gentoo.org> .../sbsigntools/files/sbsigntools-0.9.4-no-werror.patch | 13 +++++++++++++ app-crypt/sbsigntools/sbsigntools-0.9.4.ebuild | 4 ++++ 2 files changed, 17 insertions(+)