Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 845372 - app-crypt/sbsigntools-0.9.4: fileio.c:69:9: error: ‘ENGINE_load_builtin_engines’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
Summary: app-crypt/sbsigntools-0.9.4: fileio.c:69:9: error: ‘ENGINE_load_builtin_engin...
Status: RESOLVED DUPLICATE of bug 832212
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-18 13:33 UTC by Kobboi
Modified: 2022-06-11 06:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (build.log.gz,3.86 KB, application/gzip)
2022-05-18 13:33 UTC, Kobboi
Details
emerge-info.txt (emerge-info.txt,8.07 KB, text/plain)
2022-05-18 13:33 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2022-05-18 13:33:31 UTC
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
Comment 1 Kobboi 2022-05-18 13:33:49 UTC
Created attachment 779420 [details]
build.log.gz
Comment 2 Kobboi 2022-05-18 13:33:51 UTC
Created attachment 779423 [details]
emerge-info.txt
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-11 06:00:21 UTC

*** This bug has been marked as a duplicate of bug 832212 ***
Comment 4 Larry the Git Cow gentoo-dev 2022-06-11 06:03:26 UTC
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(+)