DEBUG: Executing shell function do_compile
[1/4] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot -Iextract-cert.p -I. -I../sources/extract-cert-0.3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu89 -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/sources/extract-cert-0.3=/usr/src/debug/extract-cert/0.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/build=/usr/src/debug/extract-cert/0.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot-native= -pipe -MD -MQ extract-cert.p/extract-cert.c.o -MF extract-cert.p/extract-cert.c.o.d -o extract-cert.p/extract-cert.c.o -c ../sources/extract-cert-0.3/extract-cert.c
../sources/extract-cert-0.3/extract-cert.c: In function 'display_openssl_errors':
../sources/extract-cert-0.3/extract-cert.c:46:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
46 | while ((e = ERR_get_error_line(&file, &line))) {
| ^~~~~
In file included from ../sources/extract-cert-0.3/extract-cert.c:23:
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/include/openssl/err.h:379:15: note: declared here
379 | unsigned long ERR_get_error_line(const char **file, int *line);
| ^~~~~~~~~~~~~~~~~~
../sources/extract-cert-0.3/extract-cert.c: In function 'drain_openssl_errors':
../sources/extract-cert-0.3/extract-cert.c:59:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
59 | while (ERR_get_error_line(&file, &line)) {}
| ^~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/include/openssl/err.h:379:15: note: declared here
379 | unsigned long ERR_get_error_line(const char **file, int *line);
| ^~~~~~~~~~~~~~~~~~
../sources/extract-cert-0.3/extract-cert.c: In function 'main':
../sources/extract-cert-0.3/extract-cert.c:124:17: warning: 'ENGINE_load_builtin_engines' is deprecated: ENGINE_load_builtin_engines API symbol is removed. Define OPENSSL_ENGINE_STUBS to mask linker errors. [-Wdeprecated-declarations]
124 | ENGINE_load_builtin_engines();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../sources/extract-cert-0.3/extract-cert.c:24:
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/include/openssl/engine.h:437:1: note: declared here
437 | ENGINE_VOID_FUNC_NOARGS(ENGINE_load_builtin_engines)
| ^~~~~~~~~~~~~~~~~~~~~~~
../sources/extract-cert-0.3/extract-cert.c:126:17: warning: 'ENGINE_by_id' is deprecated: ENGINE_by_id API symbol is removed. Define OPENSSL_ENGINE_STUBS to mask linker errors. [-Wdeprecated-declarations]
126 | e = ENGINE_by_id("pkcs11");
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/include/openssl/engine.h:421:1: note: declared here
421 | ENGINE_FUNC(ENGINE *, ENGINE_by_id, (const char *id), NULL)
| ^~~~~~~~~~~
../sources/extract-cert-0.3/extract-cert.c:128:17: warning: 'ENGINE_init' is deprecated: ENGINE_init API symbol is removed. Define OPENSSL_ENGINE_STUBS to mask linker errors. [-Wdeprecated-declarations]
128 | if (ENGINE_init(e))
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/include/openssl/engine.h:905:1: note: declared here
905 | ENGINE_FUNC(int, ENGINE_init, (ENGINE *e), 0)
| ^~~~~~~~~~~
../sources/extract-cert-0.3/extract-cert.c:133:25: warning: 'ENGINE_ctrl_cmd_string' is deprecated: ENGINE_ctrl_cmd_string API symbol is removed. Define OPENSSL_ENGINE_STUBS to mask linker errors. [-Wdeprecated-declarations]
133 | ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0), "Set PKCS#11 PIN");
| ^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/include/openssl/engine.h:601:1: note: declared here
601 | ENGINE_FUNC(int, ENGINE_ctrl_cmd_string,
| ^~~~~~~~~~~
../sources/extract-cert-0.3/extract-cert.c:134:17: warning: 'ENGINE_ctrl_cmd' is deprecated: ENGINE_ctrl_cmd API symbol is removed. Define OPENSSL_ENGINE_STUBS to mask linker errors. [-Wdeprecated-declarations]
134 | ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 1);
| ^~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/include/openssl/engine.h:570:1: note: declared here
570 | ENGINE_FUNC(int, ENGINE_ctrl_cmd, (ENGINE *e, const char *cmd_name, long i, void *p, void (*f)(void), int cmd_optional), 0)
| ^~~~~~~~~~~
[2/4] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot -Ispki-hash.p -I. -I../sources/extract-cert-0.3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu89 -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/sources/extract-cert-0.3=/usr/src/debug/extract-cert/0.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/build=/usr/src/debug/extract-cert/0.3 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot-native= -pipe -MD -MQ spki-hash.p/spki-hash.c.o -MF spki-hash.p/spki-hash.c.o.d -o spki-hash.p/spki-hash.c.o -c ../sources/extract-cert-0.3/spki-hash.c
../sources/extract-cert-0.3/spki-hash.c: In function 'display_openssl_errors':
../sources/extract-cert-0.3/spki-hash.c:48:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
48 | while ((e = ERR_get_error_line(&file, &line))) {
| ^~~~~
In file included from ../sources/extract-cert-0.3/spki-hash.c:25:
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/include/openssl/err.h:379:15: note: declared here
379 | unsigned long ERR_get_error_line(const char **file, int *line);
| ^~~~~~~~~~~~~~~~~~
../sources/extract-cert-0.3/spki-hash.c: In function 'drain_openssl_errors':
../sources/extract-cert-0.3/spki-hash.c:61:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
61 | while (ERR_get_error_line(&file, &line)) {}
| ^~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/include/openssl/err.h:379:15: note: declared here
379 | unsigned long ERR_get_error_line(const char **file, int *line);
| ^~~~~~~~~~~~~~~~~~
../sources/extract-cert-0.3/spki-hash.c: In function 'main':
../sources/extract-cert-0.3/spki-hash.c:114:17: warning: 'ENGINE_load_builtin_engines' is deprecated: ENGINE_load_builtin_engines API symbol is removed. Define OPENSSL_ENGINE_STUBS to mask linker errors. [-Wdeprecated-declarations]
114 | ENGINE_load_builtin_engines();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../sources/extract-cert-0.3/spki-hash.c:26:
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/include/openssl/engine.h:437:1: note: declared here
437 | ENGINE_VOID_FUNC_NOARGS(ENGINE_load_builtin_engines)
| ^~~~~~~~~~~~~~~~~~~~~~~
../sources/extract-cert-0.3/spki-hash.c:116:17: warning: 'ENGINE_by_id' is deprecated: ENGINE_by_id API symbol is removed. Define OPENSSL_ENGINE_STUBS to mask linker errors. [-Wdeprecated-declarations]
116 | e = ENGINE_by_id("pkcs11");
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/include/openssl/engine.h:421:1: note: declared here
421 | ENGINE_FUNC(ENGINE *, ENGINE_by_id, (const char *id), NULL)
| ^~~~~~~~~~~
../sources/extract-cert-0.3/spki-hash.c:118:17: warning: 'ENGINE_init' is deprecated: ENGINE_init API symbol is removed. Define OPENSSL_ENGINE_STUBS to mask linker errors. [-Wdeprecated-declarations]
118 | if (ENGINE_init(e))
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/include/openssl/engine.h:905:1: note: declared here
905 | ENGINE_FUNC(int, ENGINE_init, (ENGINE *e), 0)
| ^~~~~~~~~~~
../sources/extract-cert-0.3/spki-hash.c:123:25: warning: 'ENGINE_ctrl_cmd_string' is deprecated: ENGINE_ctrl_cmd_string API symbol is removed. Define OPENSSL_ENGINE_STUBS to mask linker errors. [-Wdeprecated-declarations]
123 | ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0), "Set PKCS#11 PIN");
| ^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/include/openssl/engine.h:601:1: note: declared here
601 | ENGINE_FUNC(int, ENGINE_ctrl_cmd_string,
| ^~~~~~~~~~~
../sources/extract-cert-0.3/spki-hash.c:125:17: warning: 'ENGINE_load_public_key' is deprecated: ENGINE_load_public_key API symbol is removed. Define OPENSSL_ENGINE_STUBS to mask linker errors. [-Wdeprecated-declarations]
125 | key = ENGINE_load_public_key(e, src, NULL, NULL);
| ^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/include/openssl/engine.h:937:1: note: declared here
937 | ENGINE_FUNC(EVP_PKEY *, ENGINE_load_public_key,
| ^~~~~~~~~~~
[3/4] x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot -o extract-cert extract-cert.p/extract-cert.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,--start-group TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/lib/libssl.so TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/lib/libcrypto.so -Wl,--end-group
FAILED: [code=1] extract-cert
x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot -o extract-cert extract-cert.p/extract-cert.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,--start-group TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/lib/libssl.so TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot/usr/lib/libcrypto.so -Wl,--end-group
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-ld: extract-cert.p/extract-cert.c.o: in function `main':
/usr/src/debug/extract-cert/0.3/extract-cert.c:124:(.text.startup+0xc5): undefined reference to `ENGINE_load_builtin_engines'
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-ld: /usr/src/debug/extract-cert/0.3/extract-cert.c:126:(.text.startup+0xd6): undefined reference to `ENGINE_by_id'
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-ld: /usr/src/debug/extract-cert/0.3/extract-cert.c:128:(.text.startup+0xf4): undefined reference to `ENGINE_init'
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-ld: /usr/src/debug/extract-cert/0.3/extract-cert.c:133:(.text.startup+0x11e): undefined reference to `ENGINE_ctrl_cmd_string'
TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-ld: /usr/src/debug/extract-cert/0.3/extract-cert.c:134:(.text.startup+0x14f): undefined reference to `ENGINE_ctrl_cmd'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
WARNING: TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/temp/run.do_compile.3178:151 exit 1 from 'ninja --verbose -j 16 -l 75'
WARNING: Backtrace (BB generated script):
#1: meson_do_compile, TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/temp/run.do_compile.3178, line 151
#2: do_compile, TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/temp/run.do_compile.3178, line 146
#3: main, TOPDIR/tmp/work/x86-64-v3-poky-linux/extract-cert/0.3/temp/run.do_compile.3178, line 155