>>> opensc: Building community/opensc 0.22.0-r3 (using abuild 3.10.0_rc1-r2) started Mon, 31 Oct 2022 23:15:13 +0000 >>> opensc: Checking sanity of /home/buildozer/aports/community/opensc/APKBUILD... >>> opensc: Analyzing dependencies... >>> opensc: Installing for build: build-base pcsc-lite zlib-dev pcsc-lite-dev openssl-dev>3 readline-dev automake autoconf m4 gettext libtool (1/36) Installing eudev-libs (3.2.11-r2) (2/36) Installing pcsc-lite (1.9.9-r0) Executing pcsc-lite-1.9.9-r0.pre-install (3/36) Installing zlib-dev (1.2.13-r0) (4/36) Installing pcsc-lite-libs (1.9.9-r0) (5/36) Installing udev-init-scripts (35-r1) (6/36) Installing pcsc-lite-openrc (1.9.9-r0) (7/36) Installing udev-init-scripts-openrc (35-r1) (8/36) Installing eudev-openrc (3.2.11-r2) (9/36) Installing libblkid (2.38.1-r0) (10/36) Installing xz-libs (5.2.7-r0) (11/36) Installing kmod-libs (30-r1) (12/36) Installing eudev (3.2.11-r2) (13/36) Installing eudev-dev (3.2.11-r2) (14/36) Installing pcsc-lite-spy-libs (1.9.9-r0) (15/36) Installing pcsc-lite-dev (1.9.9-r0) (16/36) Installing openssl-dev (3.0.5-r3) (17/36) Installing libhistory (8.2.0-r0) (18/36) Installing ncurses-dev (6.3_p20221029-r0) (19/36) Installing readline (8.2.0-r0) (20/36) Installing readline-dev (8.2.0-r0) (21/36) Installing libbz2 (1.0.8-r3) (22/36) Installing perl (5.36.0-r0) (23/36) Installing automake (1.16.5-r1) (24/36) Installing m4 (1.4.19-r1) (25/36) Installing autoconf (2.71-r1) (26/36) Installing libintl (0.21.1-r1) (27/36) Installing libunistring (1.1-r0) (28/36) Installing gettext-libs (0.21.1-r1) (29/36) Installing libxml2 (2.10.3-r1) (30/36) Installing gettext (0.21.1-r1) (31/36) Installing libltdl (2.4.7-r0) (32/36) Installing libtool (2.4.7-r0) (33/36) Installing .makedepends-opensc (20221031.231519) (34/36) Installing perl-error (0.17029-r1) (35/36) Installing perl-git (2.38.1-r0) (36/36) Installing git-perl (2.38.1-r0) Executing busybox-1.35.0-r27.trigger Executing eudev-3.2.11-r2.trigger OK: 322 MiB in 129 packages >>> opensc: Cleaning up srcdir >>> opensc: Cleaning up pkgdir >>> opensc: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/OpenSC-0.22.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 32 1747k 32 576k 0 0 3167k 0 --:--:-- --:--:-- --:--:-- 3164k 100 1747k 100 1747k 0 0 8568k 0 --:--:-- --:--:-- --:--:-- 8565k >>> opensc: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/OpenSC-0.22.0.tar.gz >>> opensc: Checking sha512sums... OpenSC-0.22.0.tar.gz: OK >>> opensc: Unpacking /var/cache/distfiles/v3.17/OpenSC-0.22.0.tar.gz... autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Remember to add 'LT_INIT' to configure.ac. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:461: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ax_pthread.m4:88: AX_PTHREAD is expanded from... configure.ac:461: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:60: installing './compile' configure.ac:59: installing './config.guess' configure.ac:59: installing './config.sub' configure.ac:30: installing './install-sh' configure.ac:30: installing './missing' src/common/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' autoreconf: Leaving directory '.' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... ././install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64-alpine-linux-musl checking host system type... x86_64-alpine-linux-musl checking for x86_64-alpine-linux-musl-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 checking for x86_64-alpine-linux-musl-gcc... x86_64-alpine-linux-musl-gcc checking whether the compiler supports GNU Objective C... no checking whether x86_64-alpine-linux-musl-gcc accepts -g... no checking dependency style of x86_64-alpine-linux-musl-gcc... gcc3 checking for x86_64-alpine-linux-musl-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking whether to build with code coverage support... no checking whether C compiler accepts -Wunknown-warning-option... no checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/x86_64-alpine-linux-musl/bin/ld checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 98304 checking how to convert x86_64-alpine-linux-musl file names to x86_64-alpine-linux-musl format... func_convert_file_noop checking how to convert x86_64-alpine-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r checking for x86_64-alpine-linux-musl-file... no checking for file... file checking for x86_64-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-alpine-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alpine-linux-musl-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alpine-linux-musl-strip... no checking for strip... strip checking for x86_64-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alpine-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for x86_64-alpine-linux-musl-windres... no checking for windres... no checking for xsltproc... no checking for git... git checking xsl-stylesheets... no checking git checkout... no checking for inline... inline checking for sys/wait.h that is POSIX.1 compatible... yes checking whether to enable assertions... yes checking for errno.h... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for inttypes.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for sys/mman.h... yes checking for sys/endian.h... no checking for endian.h... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for size_t... yes checking for error_at_line... no checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for vprintf... yes checking for getpass... yes checking for gettimeofday... yes checking for getline... yes checking for memset... yes checking for mkdir... yes checking for strdup... yes checking for strerror... yes checking for memset_s... no checking for explicit_bzero... yes checking for strnlen... yes checking for sigaction... yes checking size of void *... 8 checking for socket in -lsocket... no checking for library containing dlopen... none required checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for gio-2.0... no checking for gio/gio.h... no configure: WARNING: glib2 headers not found checking for g_application_send_notification... configure: WARNING: Cannot link against glib2 checking for cmocka >= 1.0.1... no checking for setjmp.h... yes checking for cmocka.h... no checking for inflate in -lz... yes checking for zlib.h... yes checking for readline in -lreadline... yes checking for readline/readline.h... yes checking for libcrypto >= 1.0.1... yes configure: WARNING: libeac not found by pkg-config checking for eac/eac.h... no configure: WARNING: OpenPACE headers not found checking for EAC_CTX_init_pace... configure: WARNING: Cannot link against libeac configure: WARNING: use --enable-cvcdir=DIR configure: WARNING: use --enable-x509dir=DIR checking for libpcsclite >= 1.8.22... yes checking for winscard.h... yes checking for pcsclite.h... yes completion detect checking for bash-completion >= 2.0... no checking for gengetopt... not found checking for clang-tidy... not found checking for getopt.h... yes checking for getopt_long... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/tools/Makefile config.status: creating doc/files/Makefile config.status: creating etc/Makefile config.status: creating tests/Makefile config.status: creating src/Makefile config.status: creating src/common/Makefile config.status: creating src/ui/Makefile config.status: creating src/libopensc/Makefile config.status: creating src/sm/Makefile config.status: creating src/pkcs11/Makefile config.status: creating src/pkcs11/versioninfo-pkcs11.rc config.status: creating src/pkcs11/versioninfo-pkcs11-spy.rc config.status: creating src/pkcs11/opensc-pkcs11.pc config.status: creating src/pkcs15init/Makefile config.status: creating src/scconf/Makefile config.status: creating src/tests/Makefile config.status: creating src/tests/regression/Makefile config.status: creating src/tests/p11test/Makefile config.status: creating src/tests/fuzzing/Makefile config.status: creating src/tests/unittests/Makefile config.status: creating src/tools/Makefile config.status: creating src/tools/versioninfo-tools.rc config.status: creating src/tools/versioninfo-opensc-notify.rc config.status: creating src/smm/Makefile config.status: creating src/minidriver/Makefile config.status: creating src/minidriver/versioninfo-minidriver.rc config.status: creating src/minidriver/opensc-minidriver.inf config.status: creating win32/Makefile config.status: creating win32/versioninfo.rc config.status: creating win32/versioninfo-customactions.rc config.status: creating win32/winconfig.h config.status: creating win32/OpenSC.iss config.status: creating win32/OpenSC.wxs config.status: creating MacOSX/Makefile config.status: creating MacOSX/build-package config.status: creating MacOSX/Distribution.xml config.status: creating MacOSX/resources/Welcome.html config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands OpenSC has been configured with the following options: Version: 0.22.0 Version fix: 0 Version revision: 0 Git revision: No Git revision info available Copyright: OpenSC Project Company: OpenSC Project Company URL: https://github.com/OpenSC Comments: Provided under the terms of the GNU Lesser General Public License (LGPLv2.1+). Product name: OpenSC smartcard framework Product updates: https://github.com/OpenSC/OpenSC/releases Product URL: https://github.com/OpenSC/OpenSC User binaries: /usr/bin Configuration files: /etc Bash completion: /etc/bash_completion.d XSL stylesheets: no man support: no doc support: no thread locking support: yes zlib support: yes readline support: yes OpenSSL support: yes OpenSSL secure memory: no PC/SC support: yes CryptoTokenKit support: no OpenCT support: no CT-API support: no minidriver support: no SM support: yes SM default module: libsmm-local.so SM default path: /usr/lib DNIe UI support: no Notification support: no Code coverage: no PC/SC default provider: libpcsclite.so.1 PKCS11 default provider: /usr/lib/opensc-pkcs11.so PKCS11 onepin provider: /usr/lib/onepin-opensc-pkcs11.so Host: x86_64-alpine-linux-musl Compiler: gcc Preprocessor flags: -Os -fomit-frame-pointer Compiler flags: -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -Os -fomit-frame-pointer -Wno-error Linker flags: -Wl,--as-needed,-O1,--sort-common Libraries: READLINE_CFLAGS: READLINE_LIBS: -lreadline ZLIB_CFLAGS: ZLIB_LIBS: -lz OPENSSL_CFLAGS: OPENSSL_LIBS: -lcrypto OPENPACE_CFLAGS: OPENPACE_LIBS: OPENCT_CFLAGS: OPENCT_LIBS: PCSC_CFLAGS: -I/usr/include/PCSC -pthread CRYPTOTOKENKIT_CFLAGS: GIO2_CFLAGS: GIO2_LIBS: FUZZING_LIBS: make all-recursive make[1]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0' Making all in etc make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/etc' GEN opensc.conf.example make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/etc' Making all in src make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src' Making all in common make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/common' CC compat_getopt_main.o CC compat_dummy.lo CC compat_strlcat.lo CC compat_strlcpy.lo CC compat_strnlen.lo CC compat_getpass.lo CC compat_getopt.lo CC compat_report_rangecheckfailure.lo CC compat___iob_func.lo CC simclist.lo CC libpkcs11.lo CC libscdl.lo CCLD libscdl.la CCLD libpkcs11.la CCLD libcompat.la CCLD compat_getopt_main make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/common' Making all in scconf make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/scconf' CC scconf.lo CC parse.lo CC write.lo CC sclex.lo CCLD libscconf.la make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/scconf' Making all in ui make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/ui' CC strings.lo CC notify.lo CCLD libnotify.la CCLD libstrings.la make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/ui' Making all in pkcs15init make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs15init' CC pkcs15-lib.lo CC profile.lo CC pkcs15-westcos.lo CC pkcs15-gpk.lo CC pkcs15-miocos.lo CC pkcs15-cflex.lo CC pkcs15-cardos.lo CC pkcs15-jcop.lo CC pkcs15-starcos.lo CC pkcs15-setcos.lo CC pkcs15-incrypto34.lo CC pkcs15-muscle.lo CC pkcs15-asepcos.lo CC pkcs15-rutoken.lo CC pkcs15-entersafe.lo CC pkcs15-epass2003.lo CC pkcs15-rtecp.lo CC pkcs15-myeid.lo CC pkcs15-oberthur.lo CC pkcs15-oberthur-awp.lo CC pkcs15-authentic.lo CC pkcs15-iasecc.lo CC pkcs15-openpgp.lo CC pkcs15-sc-hsm.lo pkcs15-westcos.c: In function 'westcos_pkcs15init_generate_key': pkcs15-westcos.c:230:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 230 | rsa = RSA_new(); | ^~~ In file included from pkcs15-westcos.c:30: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ pkcs15-westcos.c:241:17: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 241 | !RSA_generate_key_ex(rsa, key_info->modulus_length, bn, NULL)) | ^ /usr/include/openssl/rsa.h:260:27: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ pkcs15-westcos.c:247:9: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | RSA_set_method(rsa, RSA_PKCS1_OpenSSL()); | ^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:302:27: note: declared here 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ pkcs15-westcos.c:247:9: warning: 'RSA_PKCS1_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | RSA_set_method(rsa, RSA_PKCS1_OpenSSL()); | ^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:305:41: note: declared here 305 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_PKCS1_OpenSSL(void); | ^~~~~~~~~~~~~~~~~ pkcs15-westcos.c:251:17: warning: 'i2d_RSAPublicKey_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 251 | if(!i2d_RSAPublicKey_bio(mem, rsa)) | ^~ In file included from /usr/include/openssl/pem.h:23, from pkcs15-westcos.c:32: /usr/include/openssl/x509.h:619:27: note: declared here 619 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPublicKey_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~ pkcs15-westcos.c:268:9: warning: 'i2d_RSAPrivateKey_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 268 | if(!i2d_RSAPrivateKey_bio(mem, rsa)) | ^~ /usr/include/openssl/x509.h:617:27: note: declared here 617 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~~ pkcs15-westcos.c:303:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 303 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ CC pkcs15-isoApplet.lo CC pkcs15-gids.lo CCLD libpkcs15init.la make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs15init' Making all in sm make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/sm' CC sm-iso.lo CC libsmeac_la-sm-eac.lo CC sm-common.lo In file included from sm-iso.c:29: In function 'memcpy', inlined from 'prefix_buf' at sm-iso.c:194:3, inlined from 'format_data' at sm-iso.c:234:7: /usr/include/fortify/string.h:53:16: warning: pointer may be used after 'realloc' [-Wuse-after-free] 53 | return __builtin_memcpy(__od, __os, __n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'prefix_buf', inlined from 'format_data' at sm-iso.c:234:7: sm-iso.c:186:13: note: call to 'realloc' here 186 | p = realloc(*cat, buflen + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'prefix_buf' at sm-iso.c:194:3, inlined from 'format_data' at sm-iso.c:234:7: /usr/include/fortify/string.h:48:44: warning: pointer may be used after 'realloc' [-Wuse-after-free] 48 | if ((__d < __s && __d + __n > __s) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 49 | (__s < __d && __s + __n > __d)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'prefix_buf', inlined from 'format_data' at sm-iso.c:234:7: sm-iso.c:186:13: note: call to 'realloc' here 186 | p = realloc(*cat, buflen + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'prefix_buf' at sm-iso.c:194:3, inlined from 'format_data' at sm-iso.c:234:7: /usr/include/fortify/string.h:48:12: warning: pointer may be used after 'realloc' [-Wuse-after-free] 48 | if ((__d < __s && __d + __n > __s) || | ^ In function 'prefix_buf', inlined from 'format_data' at sm-iso.c:234:7: sm-iso.c:186:13: note: call to 'realloc' here 186 | p = realloc(*cat, buflen + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'prefix_buf' at sm-iso.c:194:3, inlined from 'format_data' at sm-iso.c:234:7: /usr/include/fortify/string.h:49:31: warning: pointer may be used after 'realloc' [-Wuse-after-free] 49 | (__s < __d && __s + __n > __d)) | ~~~~^~~~~ In function 'prefix_buf', inlined from 'format_data' at sm-iso.c:234:7: sm-iso.c:186:13: note: call to 'realloc' here 186 | p = realloc(*cat, buflen + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'prefix_buf' at sm-iso.c:194:3, inlined from 'format_data' at sm-iso.c:234:7: /usr/include/fortify/string.h:48:24: warning: pointer may be used after 'realloc' [-Wuse-after-free] 48 | if ((__d < __s && __d + __n > __s) || | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In function 'prefix_buf', inlined from 'format_data' at sm-iso.c:234:7: sm-iso.c:186:13: note: call to 'realloc' here 186 | p = realloc(*cat, buflen + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ CCLD libsm.la CCLD libsmiso.la CCLD libsmeac.la make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/sm' Making all in libopensc make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/libopensc' CC libopensc_la-sc.lo CC libopensc_la-ctx.lo CC libopensc_la-log.lo CC libopensc_la-errors.lo CC libopensc_la-asn1.lo CC libopensc_la-base64.lo CC libopensc_la-sec.lo CC libopensc_la-card.lo CC libopensc_la-iso7816.lo CC libopensc_la-dir.lo CC libopensc_la-ef-atr.lo CC libopensc_la-ef-gdo.lo CC libopensc_la-padding.lo CC libopensc_la-apdu.lo CC libopensc_la-simpletlv.lo CC libopensc_la-gp.lo CC libopensc_la-pkcs15.lo CC libopensc_la-pkcs15-cert.lo CC libopensc_la-pkcs15-data.lo CC libopensc_la-pkcs15-pin.lo CC libopensc_la-pkcs15-prkey.lo CC libopensc_la-pkcs15-pubkey.lo CC libopensc_la-pkcs15-skey.lo CC libopensc_la-pkcs15-sec.lo CC libopensc_la-pkcs15-algo.lo CC libopensc_la-pkcs15-cache.lo pkcs15-prkey.c: In function 'sc_pkcs15_convert_prkey': pkcs15-prkey.c:679:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 679 | RSA *src = EVP_PKEY_get1_RSA(pk); | ^~~ In file included from /usr/include/openssl/x509.h:29, from pkcs15-prkey.c:33: /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pkcs15-prkey.c:682:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 682 | RSA_get0_key(src, &src_n, &src_e, &src_d); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ pkcs15-prkey.c:683:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 683 | RSA_get0_factors(src, &src_p, &src_q); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ pkcs15-prkey.c:684:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 684 | RSA_get0_crt_params(src, &src_dmp1, &src_dmq1, &src_iqmp); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:225:28: note: declared here 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ pkcs15-prkey.c:698:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 698 | RSA_free(src); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ pkcs15-prkey.c:703:17: warning: 'EVP_PKEY_get1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 703 | DSA *src = EVP_PKEY_get1_DSA(pk); | ^~~ /usr/include/openssl/evp.h:1357:16: note: declared here 1357 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pkcs15-prkey.c:706:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 706 | DSA_get0_key(src, &src_pub_key, &src_priv_key); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37: /usr/include/openssl/dsa.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ pkcs15-prkey.c:707:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 707 | DSA_get0_pqg(src, &src_p, &src_q, &src_g); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ pkcs15-prkey.c:715:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 715 | DSA_free(src); | ^~~~~~~~ /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ pkcs15-prkey.c:721:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 721 | EC_KEY *src = EVP_PKEY_get0(pk); | ^~~~~~ /usr/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ pkcs15-prkey.c:725:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 725 | assert(EC_KEY_get0_private_key(src)); | ^~~~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ pkcs15-prkey.c:726:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 726 | sc_pkcs15_convert_bignum(&dst->d, EC_KEY_get0_private_key(src)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ pkcs15-prkey.c:737:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 737 | src = EVP_PKEY_get0_EC_KEY(pk); | ^~~ /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ pkcs15-prkey.c:739:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 739 | assert(EC_KEY_get0_private_key(src)); | ^~~~~~ /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ pkcs15-prkey.c:740:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 740 | assert(EC_KEY_get0_public_key(src)); | ^~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ pkcs15-prkey.c:744:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 744 | if (!sc_pkcs15_convert_bignum(&dst->privateD, EC_KEY_get0_private_key(src))) | ^~ /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ pkcs15-prkey.c:747:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 747 | grp = EC_KEY_get0_group(src); | ^~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pkcs15-prkey.c:760:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 760 | buflen = EC_POINT_point2oct(grp, (const EC_POINT *) EC_KEY_get0_public_key(src), | ^~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ CC libopensc_la-pkcs15-syn.lo CC libopensc_la-muscle.lo pkcs15-pubkey.c: In function 'sc_pkcs15_convert_pubkey': pkcs15-pubkey.c:1720:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1720 | RSA *src = EVP_PKEY_get1_RSA(pk); | ^~~ In file included from pkcs15-pubkey.c:41: /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pkcs15-pubkey.c:1723:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1723 | RSA_get0_key(src, &src_n, &src_e, NULL); | ^~~~~~~~~~~~ In file included from pkcs15-pubkey.c:39: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ pkcs15-pubkey.c:1728:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1728 | RSA_free(src); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ pkcs15-pubkey.c:1733:17: warning: 'EVP_PKEY_get1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1733 | DSA *src = EVP_PKEY_get1_DSA(pk); | ^~~ /usr/include/openssl/evp.h:1357:16: note: declared here 1357 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pkcs15-pubkey.c:1736:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1736 | DSA_get0_key(src, &src_pub_key, &src_priv_key); | ^~~~~~~~~~~~ In file included from pkcs15-pubkey.c:40: /usr/include/openssl/dsa.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ pkcs15-pubkey.c:1737:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1737 | DSA_get0_pqg(src, &src_p, &src_q, &src_g); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ pkcs15-pubkey.c:1744:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1744 | DSA_free(src); | ^~~~~~~~ /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ pkcs15-pubkey.c:1750:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1750 | EC_KEY *eckey = EVP_PKEY_get0(pk); | ^~~~~~ /usr/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ pkcs15-pubkey.c:1756:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1756 | point = EC_KEY_get0_public_key(eckey); | ^~~~~ In file included from pkcs15-pubkey.c:44: /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ pkcs15-pubkey.c:1761:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1761 | if (X && Y && EC_KEY_get0_group(eckey)) | ^~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pkcs15-pubkey.c:1762:41: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1762 | r = EC_POINT_get_affine_coordinates_GFp(EC_KEY_get0_group(eckey), | ^ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pkcs15-pubkey.c:1792:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1792 | src = EVP_PKEY_get0_EC_KEY(pk); | ^~~ /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ pkcs15-pubkey.c:1794:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1794 | assert(EC_KEY_get0_public_key(src)); | ^~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ pkcs15-pubkey.c:1797:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1797 | grp = EC_KEY_get0_group(src); | ^~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pkcs15-pubkey.c:1802:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1802 | buflen = EC_POINT_point2oct(grp, (const EC_POINT *) EC_KEY_get0_public_key(src), | ^~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ CC libopensc_la-muscle-filesystem.lo CC libopensc_la-ctbcs.lo CC libopensc_la-reader-ctapi.lo CC libopensc_la-reader-pcsc.lo CC libopensc_la-reader-openct.lo CC libopensc_la-reader-tr03119.lo CC libopensc_la-card-setcos.lo CC libopensc_la-card-miocos.lo CC libopensc_la-card-flex.lo CC libopensc_la-card-gpk.lo CC libopensc_la-card-cardos.lo CC libopensc_la-card-tcos.lo CC libopensc_la-card-default.lo CC libopensc_la-card-mcrd.lo CC libopensc_la-card-starcos.lo CC libopensc_la-card-openpgp.lo CC libopensc_la-card-jcop.lo CC libopensc_la-card-oberthur.lo CC libopensc_la-card-belpic.lo CC libopensc_la-card-atrust-acos.lo CC libopensc_la-card-entersafe.lo CC libopensc_la-card-epass2003.lo CC libopensc_la-card-coolkey.lo CC libopensc_la-card-incrypto34.lo CC libopensc_la-card-piv.lo CC libopensc_la-card-cac-common.lo CC libopensc_la-card-cac.lo CC libopensc_la-card-cac1.lo CC libopensc_la-card-muscle.lo CC libopensc_la-card-asepcos.lo CC libopensc_la-card-akis.lo CC libopensc_la-card-gemsafeV1.lo CC libopensc_la-card-rutoken.lo CC libopensc_la-card-rtecp.lo CC libopensc_la-card-westcos.lo CC libopensc_la-card-myeid.lo CC libopensc_la-card-itacns.lo CC libopensc_la-card-authentic.lo CC libopensc_la-card-iasecc.lo CC libopensc_la-iasecc-sdo.lo CC libopensc_la-iasecc-sm.lo card-westcos.c: In function 'westcos_get_crypte_challenge': card-westcos.c:676:9: warning: 'DES_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 676 | DES_set_key((const_DES_cblock *) & key[0], &ks1); | ^~~~~~~~~~~ In file included from card-westcos.c:35: /usr/include/openssl/des.h:186:5: note: declared here 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~ card-westcos.c:677:9: warning: 'DES_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 677 | DES_set_key((const_DES_cblock *) & key[8], &ks2); | ^~~~~~~~~~~ /usr/include/openssl/des.h:186:5: note: declared here 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~ card-westcos.c:678:9: warning: 'DES_ecb3_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 678 | DES_ecb2_encrypt((const_DES_cblock *)buf, (DES_cblock*)result, &ks1, &ks2, DES_ENCRYPT); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:78:6: note: declared here 78 | void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~~ card-westcos.c: In function 'westcos_sign_decipher': card-westcos.c:1178:9: warning: 'd2i_RSAPrivateKey_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1178 | if (!d2i_RSAPrivateKey_bio(mem, &rsa)) { | ^~ In file included from /usr/include/openssl/pem.h:23, from card-westcos.c:38: /usr/include/openssl/x509.h:616:28: note: declared here 616 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa); | ^~~~~~~~~~~~~~~~~~~~~ card-westcos.c:1186:9: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1186 | RSA_set_method(rsa, RSA_PKCS1_OpenSSL()); | ^~~~~~~~~~~~~~ In file included from card-westcos.c:36: /usr/include/openssl/rsa.h:302:27: note: declared here 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ card-westcos.c:1186:9: warning: 'RSA_PKCS1_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1186 | RSA_set_method(rsa, RSA_PKCS1_OpenSSL()); | ^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:305:41: note: declared here 305 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_PKCS1_OpenSSL(void); | ^~~~~~~~~~~~~~~~~ card-westcos.c:1188:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1188 | if ((size_t)RSA_size(rsa) > outlen) { | ^~ /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ card-westcos.c:1195:17: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1195 | r = RSA_private_decrypt(data_len, data, out, rsa, pad); | ^ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ card-westcos.c:1211:17: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1211 | r = RSA_private_encrypt(data_len, data, out, rsa, pad); | ^ /usr/include/openssl/rsa.h:285:5: note: declared here 285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ card-westcos.c:1239:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1239 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ CC libopensc_la-card-sc-hsm.lo CC libopensc_la-card-dnie.lo CC libopensc_la-cwa14890.lo CC libopensc_la-cwa-dnie.lo card-iasecc.c: In function 'iasecc_qsign_data_sha1': card-iasecc.c:3184:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3184 | SHA1_Init(&sha); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from card-iasecc.c:33: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ card-iasecc.c:3185:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3185 | SHA1_Update(&sha, in, in_len); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ card-iasecc.c:3210:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3210 | SHA1_Final(out->hash, &sha); | ^~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ card-iasecc.c: In function 'iasecc_qsign_data_sha256': card-iasecc.c:3236:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3236 | SHA256_Init(&sha256); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ card-iasecc.c:3237:9: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3237 | SHA256_Update(&sha256, in, in_len); | ^~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ card-iasecc.c:3262:9: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3262 | SHA256_Final(out->hash, &sha256); | ^~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ CC libopensc_la-card-isoApplet.lo CC libopensc_la-card-masktech.lo CC libopensc_la-card-gids.lo cwa14890.c: In function 'cwa_prepare_external_auth': cwa14890.c:597:9: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 597 | len2 = RSA_private_decrypt(128, buf3, buf2, (RSA *)ifd_privkey, RSA_NO_PADDING); | ^~~~ In file included from cwa14890.c:39: /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ cwa14890.c:612:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 612 | RSA_get0_key(ifd_privkey, &ifd_privkey_n, &ifd_privkey_e, &ifd_privkey_d); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ cwa14890.c:633:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 633 | len1 = RSA_public_encrypt(len3, buf3, buf1, (RSA *)icc_pubkey, RSA_NO_PADDING); | ^~~~ /usr/include/openssl/rsa.h:282:5: note: declared here 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ cwa14890.c: In function 'cwa_verify_internal_auth': cwa14890.c:904:9: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 904 | len1 = RSA_private_decrypt(sig_len, sig, buf1, (RSA *)ifd_privkey, RSA_NO_PADDING); | ^~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ cwa14890.c:914:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 914 | len3 = RSA_public_encrypt(len1, buf1, buf3, (RSA *) icc_pubkey, RSA_NO_PADDING); | ^~~~ /usr/include/openssl/rsa.h:282:5: note: declared here 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ cwa14890.c:933:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 933 | RSA_get0_key(icc_pubkey, &icc_pubkey_n, &icc_pubkey_e, &icc_pubkey_d); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ cwa14890.c:948:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 948 | len3 = RSA_public_encrypt(len2, buf2, buf3, (RSA *)icc_pubkey, RSA_NO_PADDING); | ^~~~ /usr/include/openssl/rsa.h:282:5: note: declared here 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ cwa14890.c: In function 'cwa_create_secure_channel': cwa14890.c:1279:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1279 | res = cwa_verify_internal_auth(card, EVP_PKEY_get0_RSA(icc_pubkey), /* evaluated icc public key */ | ^~~ In file included from /usr/include/openssl/x509.h:29, from cwa14890.c:41: /usr/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ cwa14890.c:1280:40: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1280 | EVP_PKEY_get0_RSA(ifd_privkey), /* evaluated from DGP's Manual Annex 3 Data */ | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ cwa14890.c:1300:41: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1300 | EVP_PKEY_get0_RSA(icc_pubkey), | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ cwa14890.c:1301:41: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | EVP_PKEY_get0_RSA(ifd_privkey), sig, 128); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ cwa14890.c: In function 'cwa_encode_apdu': cwa14890.c:1463:17: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1463 | DES_set_key_unchecked((const_DES_cblock *) & (sm_session->session_enc[0]), | ^~~~~~~~~~~~~~~~~~~~~ In file included from cwa14890.c:42: /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ cwa14890.c:1465:17: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1465 | DES_set_key_unchecked((const_DES_cblock *) & (sm_session->session_enc[8]), | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ cwa14890.c:1475:17: warning: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1475 | DES_ede3_cbc_encrypt(msgbuf, cryptbuf + 1, dlen, &k1, &k2, &k1, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:142:6: note: declared here 142 | void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~~~~~~ cwa14890.c:1517:9: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1517 | DES_set_key_unchecked((const_DES_cblock *) & (sm_session->session_mac[0]),&k1); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ cwa14890.c:1518:9: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1518 | DES_set_key_unchecked((const_DES_cblock *) & (sm_session->session_mac[8]),&k2); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ cwa14890.c:1523:17: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1523 | DES_ecb_encrypt((const_DES_cblock *) macbuf, | ^~~~~~~~~~~~~~~ /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ cwa14890.c:1530:9: warning: 'DES_ecb3_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1530 | DES_ecb2_encrypt((const_DES_cblock *) macbuf, (DES_cblock *) macbuf, | ^~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:78:6: note: declared here 78 | void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~~ cwa14890.c: In function 'cwa_decode_response': cwa14890.c:1722:9: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1722 | DES_set_key_unchecked((const_DES_cblock *) & (sm_session->session_mac[0]), &k1); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ cwa14890.c:1723:9: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1723 | DES_set_key_unchecked((const_DES_cblock *) & (sm_session->session_mac[8]), &k2); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ cwa14890.c:1728:17: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1728 | DES_ecb_encrypt((const_DES_cblock *) macbuf, | ^~~~~~~~~~~~~~~ /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ cwa14890.c:1735:9: warning: 'DES_ecb3_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1735 | DES_ecb2_encrypt((const_DES_cblock *) macbuf, (DES_cblock *) macbuf, | ^~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:78:6: note: declared here 78 | void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~~ cwa14890.c:1780:17: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1780 | DES_set_key_unchecked((const_DES_cblock *) & (sm_session->session_enc[0]), | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ cwa14890.c:1782:17: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1782 | DES_set_key_unchecked((const_DES_cblock *) & (sm_session->session_enc[8]), | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ cwa14890.c:1786:17: warning: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1786 | DES_ede3_cbc_encrypt(&e_tlv->data[1], apdu->resp, e_tlv->len - 1, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:142:6: note: declared here 142 | void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~~~~~~ cwa-dnie.c: In function 'dnie_get_root_ca_pubkey': cwa-dnie.c:690:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 690 | root_ca_rsa = RSA_new(); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from cwa14890.h:45, from cwa-dnie.c:38: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ cwa-dnie.c:698:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 698 | if (RSA_set0_key(root_ca_rsa, root_ca_rsa_n, root_ca_rsa_e, NULL) != 1) { | ^~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ cwa-dnie.c:704:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 704 | RSA_free(root_ca_rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ cwa-dnie.c:709:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 709 | res = EVP_PKEY_assign_RSA(*root_ca_key, root_ca_rsa); | ^~~ In file included from /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ cwa-dnie.c: In function 'dnie_get_privkey': cwa-dnie.c:834:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 834 | ifd_rsa = RSA_new(); | ^~~~~~~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ cwa-dnie.c:842:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 842 | if (RSA_set0_key(ifd_rsa, ifd_rsa_n, ifd_rsa_e, ifd_rsa_d) != 1) { | ^~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ cwa-dnie.c:846:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 846 | RSA_free(ifd_rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ cwa-dnie.c:852:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 852 | res = EVP_PKEY_assign_RSA(*ifd_privkey, ifd_rsa); | ^~~ /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ CC libopensc_la-card-jpki.lo CC libopensc_la-card-npa.lo CC libopensc_la-card-esteid2018.lo CC libopensc_la-card-idprime.lo CC libopensc_la-card-edo.lo CC libopensc_la-pkcs15-openpgp.lo CC libopensc_la-pkcs15-starcert.lo CC libopensc_la-pkcs15-cardos.lo CC libopensc_la-pkcs15-tcos.lo CC libopensc_la-pkcs15-esteid.lo CC libopensc_la-pkcs15-gemsafeGPK.lo CC libopensc_la-pkcs15-actalis.lo CC libopensc_la-pkcs15-atrust-acos.lo CC libopensc_la-pkcs15-tccardos.lo CC libopensc_la-pkcs15-piv.lo CC libopensc_la-pkcs15-cac.lo CC libopensc_la-pkcs15-esinit.lo CC libopensc_la-pkcs15-westcos.lo CC libopensc_la-pkcs15-pteid.lo CC libopensc_la-pkcs15-oberthur.lo CC libopensc_la-pkcs15-itacns.lo CC libopensc_la-pkcs15-gemsafeV1.lo CC libopensc_la-pkcs15-sc-hsm.lo CC libopensc_la-pkcs15-coolkey.lo CC libopensc_la-pkcs15-din-66291.lo CC libopensc_la-pkcs15-idprime.lo CC libopensc_la-pkcs15-dnie.lo CC libopensc_la-pkcs15-gids.lo CC libopensc_la-pkcs15-iasecc.lo CC libopensc_la-pkcs15-jpki.lo CC libopensc_la-pkcs15-esteid2018.lo CC libopensc_la-compression.lo CC libopensc_la-p15card-helper.lo CC libopensc_la-sm.lo CC libopensc_la-aux-data.lo p15card-helper.c: In function 'default_cert_handle': p15card-helper.c:168:9: warning: 'X509_certificate_type' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 168 | certtype = X509_certificate_type(cert_data, pkey); | ^~~~~~~~ In file included from p15card-helper.c:31: /usr/include/openssl/x509.h:988:27: note: declared here 988 | OSSL_DEPRECATEDIN_3_0 int X509_certificate_type(const X509 *x, | ^~~~~~~~~~~~~~~~~~~~~ p15card-helper.c:174:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 174 | rsa = EVP_PKEY_get0_RSA(pkey); | ^~~ In file included from /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p15card-helper.c:181:9: warning: 'RSA_bits' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 181 | modulus_len = RSA_bits(rsa); | ^~~~~~~~~~~ In file included from p15card-helper.c:30: /usr/include/openssl/rsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int RSA_bits(const RSA *rsa); | ^~~~~~~~ OBJCLD libopensc.la make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/libopensc' Making all in pkcs11 make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs11' CC opensc_pkcs11_la-pkcs11-global.lo CC opensc_pkcs11_la-pkcs11-session.lo CC opensc_pkcs11_la-pkcs11-object.lo CC opensc_pkcs11_la-misc.lo CC opensc_pkcs11_la-slot.lo CC opensc_pkcs11_la-mechanism.lo CC opensc_pkcs11_la-openssl.lo CC opensc_pkcs11_la-framework-pkcs15.lo CC opensc_pkcs11_la-framework-pkcs15init.lo CC opensc_pkcs11_la-debug.lo CC opensc_pkcs11_la-pkcs11-display.lo CC pkcs11_spy_la-pkcs11-spy.lo CC pkcs11_spy_la-pkcs11-display.lo CC onepin_opensc_pkcs11_la-pkcs11-global.lo CC onepin_opensc_pkcs11_la-pkcs11-session.lo CC onepin_opensc_pkcs11_la-pkcs11-object.lo CC onepin_opensc_pkcs11_la-misc.lo CC onepin_opensc_pkcs11_la-slot.lo CC onepin_opensc_pkcs11_la-mechanism.lo CC onepin_opensc_pkcs11_la-openssl.lo CC onepin_opensc_pkcs11_la-framework-pkcs15.lo CC onepin_opensc_pkcs11_la-framework-pkcs15init.lo CC onepin_opensc_pkcs11_la-debug.lo CC onepin_opensc_pkcs11_la-pkcs11-display.lo openssl.c: In function 'sc_pkcs11_register_openssl_mechanisms': openssl.c:227:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | e = ENGINE_by_id("gost"); | ^ In file included from openssl.c:39: /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ openssl.c:239:17: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | e = ENGINE_by_id("dynamic"); | ^ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ openssl.c:242:25: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 242 | e = ENGINE_by_id("dynamic"); | ^ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ openssl.c:244:17: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 244 | if (e && (!ENGINE_ctrl_cmd_string(e, "SO_PATH", "gost", 0) || | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ openssl.c:245:41: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 245 | !ENGINE_ctrl_cmd_string(e, "LOAD", NULL, 0))) { | ^ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ openssl.c:246:25: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 246 | ENGINE_free(e); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ openssl.c:252:17: warning: 'ENGINE_set_default' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 252 | ENGINE_set_default(e, ENGINE_METHOD_ALL); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:708:27: note: declared here 708 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default(ENGINE *e, unsigned int flags); | ^~~~~~~~~~~~~~~~~~ openssl.c:253:17: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 253 | ENGINE_free(e); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ openssl.c: In function 'gostr3410_verify_data': openssl.c:396:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 396 | if (r == 1 && EVP_PKEY_get0(pkey) != NULL) | ^~ In file included from openssl.c:27: /usr/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ openssl.c:397:25: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 397 | group = EC_KEY_get0_group(EVP_PKEY_get0(pkey)); | ^~~~~ In file included from /usr/include/openssl/x509.h:33, from openssl.c:31: /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ openssl.c:397:25: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 397 | group = EC_KEY_get0_group(EVP_PKEY_get0(pkey)); | ^~~~~ /usr/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ openssl.c:413:25: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 413 | if (r == 1 && EVP_PKEY_get0(pkey) && P) | ^~ /usr/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ openssl.c:414:33: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 414 | r = EC_KEY_set_public_key(EVP_PKEY_get0(pkey), P); | ^ /usr/include/openssl/ec.h:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ openssl.c:414:33: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 414 | r = EC_KEY_set_public_key(EVP_PKEY_get0(pkey), P); | ^ /usr/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ openssl.c: In function 'sc_pkcs11_verify_data': openssl.c:493:25: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 493 | if (EVP_PKEY_get0_EC_KEY(pkey)) { | ^~ /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ openssl.c:533:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | eckey = EVP_PKEY_get0_EC_KEY(pkey); | ^~~~~ /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ openssl.c:577:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 577 | rsa = EVP_PKEY_get1_RSA(pkey); | ^~~ /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ openssl.c:582:17: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 582 | rsa_out = calloc(1, RSA_size(rsa)); | ^~~~~~~ In file included from openssl.c:29: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ openssl.c:584:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 584 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:588:17: warning: 'RSA_public_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 588 | rsa_outlen = RSA_public_decrypt(signat_len, signat, rsa_out, rsa, pad); | ^~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ openssl.c:590:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 590 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:610:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 610 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:634:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 634 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:656:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 656 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:671:41: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 671 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:680:41: warning: 'RSA_verify_PKCS1_PSS_mgf1' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 680 | && RSA_verify_PKCS1_PSS_mgf1(rsa, data, pss_md, mgf_md, | ^~ /usr/include/openssl/rsa.h:433:5: note: declared here 433 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ openssl.c:683:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 683 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:688:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 688 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c: In function 'sc_pkcs11_register_openssl_mechanisms': openssl.c:227:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | e = ENGINE_by_id("gost"); | ^ In file included from openssl.c:39: /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ openssl.c:239:17: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | e = ENGINE_by_id("dynamic"); | ^ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ openssl.c:242:25: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 242 | e = ENGINE_by_id("dynamic"); | ^ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ openssl.c:244:17: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 244 | if (e && (!ENGINE_ctrl_cmd_string(e, "SO_PATH", "gost", 0) || | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ openssl.c:245:41: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 245 | !ENGINE_ctrl_cmd_string(e, "LOAD", NULL, 0))) { | ^ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ openssl.c:246:25: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 246 | ENGINE_free(e); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ openssl.c:252:17: warning: 'ENGINE_set_default' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 252 | ENGINE_set_default(e, ENGINE_METHOD_ALL); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:708:27: note: declared here 708 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default(ENGINE *e, unsigned int flags); | ^~~~~~~~~~~~~~~~~~ openssl.c:253:17: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 253 | ENGINE_free(e); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ openssl.c: In function 'gostr3410_verify_data': openssl.c:396:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 396 | if (r == 1 && EVP_PKEY_get0(pkey) != NULL) | ^~ In file included from openssl.c:27: /usr/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ openssl.c:397:25: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 397 | group = EC_KEY_get0_group(EVP_PKEY_get0(pkey)); | ^~~~~ In file included from /usr/include/openssl/x509.h:33, from openssl.c:31: /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ openssl.c:397:25: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 397 | group = EC_KEY_get0_group(EVP_PKEY_get0(pkey)); | ^~~~~ /usr/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ openssl.c:413:25: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 413 | if (r == 1 && EVP_PKEY_get0(pkey) && P) | ^~ /usr/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ openssl.c:414:33: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 414 | r = EC_KEY_set_public_key(EVP_PKEY_get0(pkey), P); | ^ /usr/include/openssl/ec.h:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ openssl.c:414:33: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 414 | r = EC_KEY_set_public_key(EVP_PKEY_get0(pkey), P); | ^ /usr/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ openssl.c: In function 'sc_pkcs11_verify_data': openssl.c:493:25: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 493 | if (EVP_PKEY_get0_EC_KEY(pkey)) { | ^~ /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ openssl.c:533:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | eckey = EVP_PKEY_get0_EC_KEY(pkey); | ^~~~~ /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ openssl.c:577:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 577 | rsa = EVP_PKEY_get1_RSA(pkey); | ^~~ /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ openssl.c:582:17: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 582 | rsa_out = calloc(1, RSA_size(rsa)); | ^~~~~~~ In file included from openssl.c:29: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ openssl.c:584:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 584 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:588:17: warning: 'RSA_public_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 588 | rsa_outlen = RSA_public_decrypt(signat_len, signat, rsa_out, rsa, pad); | ^~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ openssl.c:590:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 590 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:610:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 610 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:634:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 634 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:656:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 656 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:671:41: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 671 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:680:41: warning: 'RSA_verify_PKCS1_PSS_mgf1' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 680 | && RSA_verify_PKCS1_PSS_mgf1(rsa, data, pss_md, mgf_md, | ^~ /usr/include/openssl/rsa.h:433:5: note: declared here 433 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ openssl.c:683:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 683 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:688:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 688 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ CCLD pkcs11-spy.la framework-pkcs15.c: In function 'pkcs15_create_tokens': framework-pkcs15.c:1625:44: warning: 'idx' may be used uninitialized [-Wmaybe-uninitialized] 1625 | islot->fw_data_idx = idx; | ~~~~~~~~~~~~~~~~~~~^~~~~ framework-pkcs15.c:1567:20: note: 'idx' was declared here 1567 | int rc, i, idx; | ^~~ framework-pkcs15.c: In function 'pkcs15_create_tokens': framework-pkcs15.c:1625:44: warning: 'idx' may be used uninitialized [-Wmaybe-uninitialized] 1625 | islot->fw_data_idx = idx; | ~~~~~~~~~~~~~~~~~~~^~~~~ framework-pkcs15.c:1567:20: note: 'idx' was declared here 1567 | int rc, i, idx; | ^~~ CCLD opensc-pkcs11.la CCLD onepin-opensc-pkcs11.la make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs11' Making all in tools make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tools' CC opensc-tool.o CC util.o CC opensc-explorer.o CC opensc_notify-opensc-notify.o CC opensc_notify-opensc-notify-cmdline.o CC pkcs15-tool.o CC pkcs15-crypt.o CC pkcs11_tool-pkcs11-tool.o CC pkcs11_tool-util.o CC pkcs11_register-pkcs11-register.o CC pkcs11_register-fread_to_eof.o CC pkcs11_register-pkcs11-register-cmdline.o CC cardos-tool.o CC eidenv.o CC openpgp-tool.o CC iasecc-tool.o CC egk_tool-egk-tool.o CC egk_tool-util.o CC egk_tool-egk-tool-cmdline.o CC opensc_asn1-opensc-asn1.o CC opensc_asn1-fread_to_eof.o CC opensc_asn1-opensc-asn1-cmdline.o CC goid_tool-goid-tool.o CC goid_tool-util.o CC goid_tool-fread_to_eof.o CC goid_tool-goid-tool-cmdline.o cardos-tool.c: In function 'cardos_sm4h': cardos-tool.c:431:9: warning: 'DES_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 431 | DES_set_key((const_DES_cblock*) &key[0], &ks_a); | ^~~~~~~~~~~ In file included from cardos-tool.c:37: /usr/include/openssl/des.h:186:5: note: declared here 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~ cardos-tool.c:433:9: warning: 'DES_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 433 | DES_set_key((const_DES_cblock*) &key[8], &ks_b); | ^~~~~~~~~~~ /usr/include/openssl/des.h:186:5: note: declared here 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~ cardos-tool.c:437:9: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 437 | DES_ecb_encrypt(&des_in, &des_out, &ks_a, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ cardos-tool.c:442:17: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 442 | DES_ecb_encrypt(&des_in, &des_out, &ks_a, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ cardos-tool.c:448:9: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 448 | DES_ecb_encrypt(&des_in, &des_out, &ks_b, 0); | ^~~~~~~~~~~~~~~ /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ cardos-tool.c:450:9: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 450 | DES_ecb_encrypt(&des_in, &des_out, &ks_a, 1); | ^~~~~~~~~~~~~~~ /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ cardos-tool.c:488:9: warning: 'DES_ecb3_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 488 | DES_ecb2_encrypt(&des_in, &des_out, &ks_a, &ks_b, 1); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:78:6: note: declared here 78 | void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~~ cardos-tool.c:499:17: warning: 'DES_ecb3_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 499 | DES_ecb2_encrypt(&des_in, &des_out, &ks_a, &ks_b, 1); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:78:6: note: declared here 78 | void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~~ CC cryptoflex-tool.o CC pkcs15-init.o CC netkey-tool.o CC piv-tool.o CC westcos-tool.o CC sc-hsm-tool.o CC dnie-tool.o CC gids-tool.o CC npa_tool-npa-tool.o CC npa_tool-fread_to_eof.o CC npa_tool-util.o CC npa_tool-npa-tool-cmdline.o CC sceac_example-sceac-example.o GEN org.opensc.notify.desktop cryptoflex-tool.c: In function 'parse_public_key': cryptoflex-tool.c:222:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 222 | if (RSA_set0_key(rsa, n, e, NULL) != 1) | ^~ In file included from cryptoflex-tool.c:26: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ cryptoflex-tool.c: In function 'gen_d': cryptoflex-tool.c:241:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 241 | RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ cryptoflex-tool.c:242:9: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 242 | RSA_get0_factors(rsa, &rsa_p, &rsa_q); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ GEN org.opensc-project.mac.pkcs11-register.plist cryptoflex-tool.c:257:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 257 | if (RSA_set0_key(rsa, rsa_n_new, rsa_e_new, rsa_d_new) != 1) | ^~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ cryptoflex-tool.c: In function 'parse_private_key': cryptoflex-tool.c:306:9: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 306 | if (RSA_set0_factors(rsa, bn_p, q) != 1) | ^~ /usr/include/openssl/rsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ cryptoflex-tool.c:308:9: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 308 | if (RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp) != 1) | ^~ /usr/include/openssl/rsa.h:209:27: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ cryptoflex-tool.c: In function 'read_key': cryptoflex-tool.c:414:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 414 | RSA *rsa = RSA_new(); | ^~~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ cryptoflex-tool.c:424:9: warning: 'i2d_RSA_PUBKEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 424 | r = i2d_RSA_PUBKEY(rsa, &p); | ^ In file included from /usr/include/openssl/rsa.h:21: /usr/include/openssl/x509.h:710:1: note: declared here 710 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,RSA, RSA_PUBKEY) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GEN org.opensc-project.mac.opensc-notify.plist cryptoflex-tool.c:442:9: warning: 'i2d_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 442 | r = i2d_RSAPrivateKey(rsa, &p); | ^ /usr/include/openssl/rsa.h:309:1: note: declared here 309 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GEN pkcs11-register.desktop cryptoflex-tool.c: In function 'read_rsa_privkey': cryptoflex-tool.c:649:9: warning: 'PEM_read_bio_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 649 | rsa = PEM_read_bio_RSAPrivateKey(in, NULL, NULL, NULL); | ^~~ In file included from cryptoflex-tool.c:28: /usr/include/openssl/pem.h:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ cryptoflex-tool.c: In function 'encode_private_key': cryptoflex-tool.c:667:9: warning: 'RSA_bits' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 667 | switch (RSA_bits(rsa)) { | ^~~~~~ /usr/include/openssl/rsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int RSA_bits(const RSA *rsa); | ^~~~~~~~ cryptoflex-tool.c:689:9: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 689 | RSA_get0_factors(rsa, &rsa_p, &rsa_q); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ cryptoflex-tool.c:707:9: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 707 | RSA_get0_crt_params(rsa, &rsa_dmp1, &rsa_dmq1, &rsa_iqmp); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:225:28: note: declared here 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ cryptoflex-tool.c: In function 'encode_public_key': CC ../pkcs11/pkcs11-display.o cryptoflex-tool.c:747:9: warning: 'RSA_bits' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 747 | switch (RSA_bits(rsa)) { | ^~~~~~ /usr/include/openssl/rsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int RSA_bits(const RSA *rsa); | ^~~~~~~~ cryptoflex-tool.c:769:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 769 | RSA_get0_key(rsa, &rsa_n, &rsa_e, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ CCLD opensc-notify CCLD pkcs11-register CCLD opensc-asn1 CCLD sceac-example CCLD opensc-tool CCLD pkcs15-crypt CCLD openpgp-tool CCLD iasecc-tool piv-tool.c: In function 'gen_key': piv-tool.c:342:17: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 342 | newkey = RSA_new(); | ^~~~~~ westcos-tool.c: In function 'main': In file included from piv-tool.c:40: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ westcos-tool.c:587:17: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 587 | rsa = RSA_new(); | ^~~ In file included from westcos-tool.c:28: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ westcos-tool.c:598:25: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 598 | !RSA_generate_key_ex(rsa, keylen, bn, NULL)) | ^ piv-tool.c:355:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 355 | if (RSA_set0_key(newkey, newkey_n, newkey_e, NULL) != 1) { | ^~ /usr/include/openssl/rsa.h:260:27: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ westcos-tool.c:604:17: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 604 | RSA_set_method(rsa, RSA_PKCS1_OpenSSL()); | ^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:302:27: note: declared here 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ piv-tool.c:361:25: warning: 'RSA_print_fp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 361 | RSA_print_fp(stdout, newkey,0); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:339:27: note: declared here 339 | OSSL_DEPRECATEDIN_3_0 int RSA_print_fp(FILE *fp, const RSA *r, int offset); | ^~~~~~~~~~~~ westcos-tool.c:604:17: warning: 'RSA_PKCS1_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 604 | RSA_set_method(rsa, RSA_PKCS1_OpenSSL()); | ^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:305:41: note: declared here 305 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_PKCS1_OpenSSL(void); | ^~~~~~~~~~~~~~~~~ piv-tool.c:363:17: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 363 | EVP_PKEY_assign_RSA(evpkey, newkey); | ^~~~~~~~~~~~~~~~~~~ westcos-tool.c:606:17: warning: 'i2d_RSAPrivateKey_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 606 | if(!i2d_RSAPrivateKey_bio(mem, rsa)) | ^~ In file included from /usr/include/openssl/pem.h:23, from westcos-tool.c:30: /usr/include/openssl/x509.h:617:27: note: declared here 617 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~~ In file included from piv-tool.c:45: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ piv-tool.c:387:17: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 387 | eckey = EC_KEY_new(); | ^~~~~ In file included from piv-tool.c:42: /usr/include/openssl/ec.h:968:31: note: declared here 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ piv-tool.c:388:17: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 388 | r = EC_KEY_set_group(eckey, ecgroup); | ^ /usr/include/openssl/ec.h:1042:27: note: declared here 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ piv-tool.c:393:17: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 393 | r = EC_KEY_set_public_key(eckey, ecpoint); | ^ /usr/include/openssl/ec.h:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ westcos-tool.c:672:25: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 672 | RSA_get0_key(rsa, &rsa_n, &rsa_e, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ piv-tool.c:400:25: warning: 'EC_KEY_print_fp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 400 | EC_KEY_print_fp(stdout, eckey, 0); | ^~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1276:27: note: declared here 1276 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_print_fp(FILE *fp, const EC_KEY *key, int off); | ^~~~~~~~~~~~~~~ piv-tool.c:402:17: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | EVP_PKEY_assign_EC_KEY(evpkey, eckey); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ westcos-tool.c:897:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 897 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ pkcs15-init.c: In function 'do_read_check_certificate': pkcs15-init.c:1344:17: warning: 'EVP_PKEY_cmp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1344 | if (EVP_PKEY_cmp(oldpk, newpk) == 1) | ^~ In file included from pkcs15-init.c:44: /usr/include/openssl/evp.h:1418:5: note: declared here 1418 | int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b); | ^~~~~~~~~~~~ pkcs15-init.c: In function 'init_gost_params': pkcs15-init.c:1876:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1876 | key = EVP_PKEY_get0(pkey); | ^~~ /usr/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ pkcs15-init.c:1879:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1879 | assert(EC_KEY_get0_group(key)); | ^~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from pkcs15-init.c:45: /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pkcs15-init.c:1880:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1880 | assert(EC_GROUP_get_curve_name(EC_KEY_get0_group(key)) > 0); | ^~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pkcs15-init.c:1881:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1881 | switch (EC_GROUP_get_curve_name(EC_KEY_get0_group(key))) { | ^~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pkcs11-tool.c: In function 'parse_rsa_pkey': pkcs11-tool.c:3048:9: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3048 | r = EVP_PKEY_get1_RSA(pkey); | ^ In file included from pkcs11-tool.c:45: /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pkcs11-tool.c:3056:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3056 | RSA_get0_key(r, &r_n, &r_e, NULL); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from pkcs11-tool.c:46: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ pkcs11-tool.c:3061:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3061 | RSA_get0_key(r, NULL, NULL, &r_d); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ pkcs11-tool.c:3064:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3064 | RSA_get0_factors(r, &r_p, &r_q); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ pkcs11-tool.c:3068:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3068 | RSA_get0_crt_params(r, &r_dmp1, &r_dmq1, &r_iqmp); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:225:28: note: declared here 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ pkcs11-tool.c:3074:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3074 | RSA_free(r); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ pkcs11-tool.c: In function 'parse_gost_pkey': pkcs11-tool.c:3083:9: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3083 | EC_KEY *src = EVP_PKEY_get0(pkey); | ^~~~~~ /usr/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ pkcs11-tool.c:3093:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3093 | nid = EC_GROUP_get_curve_name(EC_KEY_get0_group(EVP_PKEY_get0(pkey))); | ^~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pkcs11-tool.c:3093:9: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3093 | nid = EC_GROUP_get_curve_name(EC_KEY_get0_group(EVP_PKEY_get0(pkey))); | ^~~ /usr/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ pkcs11-tool.c:3107:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3107 | bignum = EC_KEY_get0_private_key(EVP_PKEY_get0(pkey)); | ^~~~~~ /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ pkcs11-tool.c:3107:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3107 | bignum = EC_KEY_get0_private_key(EVP_PKEY_get0(pkey)); | ^~~~~~ /usr/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ pkcs11-tool.c:3118:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3118 | point = EC_KEY_get0_public_key(src); | ^~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ pkcs11-tool.c:3120:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3120 | if (X && Y && point && EC_KEY_get0_group(src)) | ^~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pkcs11-tool.c:3121:25: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3121 | rv = EC_POINT_get_affine_coordinates_GFp(EC_KEY_get0_group(src), | ^~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pkcs11-tool.c: In function 'parse_ec_pkey': pkcs11-tool.c:3146:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3146 | const EC_KEY *src = EVP_PKEY_get0_EC_KEY(pkey); | ^~~~~ /usr/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ pkcs11-tool.c:3152:9: warning: 'i2d_ECParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3152 | gost->param_oid.len = i2d_ECParameters((EC_KEY *)src, &gost->param_oid.value); | ^~~~ /usr/include/openssl/ec.h:1221:27: note: declared here 1221 | OSSL_DEPRECATEDIN_3_0 int i2d_ECParameters(const EC_KEY *key, | ^~~~~~~~~~~~~~~~ pkcs11-tool.c:3157:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3157 | bignum = EC_KEY_get0_private_key(src); | ^~~~~~ /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ pkcs11-tool.c:3169:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3169 | const EC_GROUP *ecgroup = EC_KEY_get0_group(src); | ^~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pkcs11-tool.c:3170:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3170 | const EC_POINT *ecpoint = EC_KEY_get0_public_key(src); | ^~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ CCLD egk-tool CCLD dnie-tool CCLD cardos-tool CCLD eidenv pkcs11-tool.c: In function 'derive_ec_key': pkcs11-tool.c:3982:9: warning: 'd2i_EC_PUBKEY_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3982 | eckey = d2i_EC_PUBKEY_bio(bio_in, NULL); | ^~~~~ /usr/include/openssl/x509.h:634:31: note: declared here 634 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey); | ^~~~~~~~~~~~~~~~~ pkcs11-tool.c:3986:9: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3986 | ecpoint = EC_KEY_get0_public_key(eckey); | ^~~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ pkcs11-tool.c:3987:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3987 | ecgroup = EC_KEY_get0_group(eckey); | ^~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ pkcs11-tool.c:4023:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4023 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ pkcs11-tool.c: In function 'read_object': pkcs11-tool.c:4726:25: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4726 | rsa = RSA_new(); | ^~~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ pkcs11-tool.c:4744:25: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4744 | if (RSA_set0_key(rsa, rsa_n, rsa_e, NULL) != 1) | ^~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ pkcs11-tool.c:4747:25: warning: 'i2d_RSA_PUBKEY_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4747 | if (!i2d_RSA_PUBKEY_bio(pout, rsa)) | ^~ /usr/include/openssl/x509.h:621:27: note: declared here 621 | OSSL_DEPRECATEDIN_3_0 int i2d_RSA_PUBKEY_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~ pkcs11-tool.c:4749:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4749 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ pkcs11-tool.c:4758:25: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4758 | ec = EC_KEY_new(); | ^~ /usr/include/openssl/ec.h:968:31: note: declared here 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ pkcs11-tool.c:4764:33: warning: 'd2i_ECParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4764 | if (!d2i_ECParameters(&ec, &a, (long)len)) | ^~ /usr/include/openssl/ec.h:1211:31: note: declared here 1211 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECParameters(EC_KEY **key, | ^~~~~~~~~~~~~~~~ pkcs11-tool.c:4776:33: warning: 'o2i_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4776 | success = o2i_ECPublicKey(&ec, &a, os->length); | ^~~~~~~ /usr/include/openssl/ec.h:1236:31: note: declared here 1236 | OSSL_DEPRECATEDIN_3_0 EC_KEY *o2i_ECPublicKey(EC_KEY **key, | ^~~~~~~~~~~~~~~ pkcs11-tool.c:4781:33: warning: 'o2i_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4781 | success = o2i_ECPublicKey(&ec, &a, len); | ^~~~~~~ /usr/include/openssl/ec.h:1236:31: note: declared here 1236 | OSSL_DEPRECATEDIN_3_0 EC_KEY *o2i_ECPublicKey(EC_KEY **key, | ^~~~~~~~~~~~~~~ pkcs11-tool.c:4786:25: warning: 'i2d_EC_PUBKEY_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4786 | if (!i2d_EC_PUBKEY_bio(pout, ec)) | ^~ /usr/include/openssl/x509.h:635:27: note: declared here 635 | OSSL_DEPRECATEDIN_3_0 int i2d_EC_PUBKEY_bio(BIO *bp, const EC_KEY *eckey); | ^~~~~~~~~~~~~~~~~ pkcs11-tool.c:4788:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4788 | EC_KEY_free(ec); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ pkcs11-tool.c: In function 'get_public_key': pkcs11-tool.c:5163:25: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5163 | rsa = RSA_new(); | ^~~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ pkcs11-tool.c:5171:41: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5171 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ pkcs11-tool.c:5180:25: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5180 | if (RSA_set0_key(rsa, rsa_n, rsa_e, NULL) != 1) | ^~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ pkcs11-tool.c:5183:25: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5183 | EVP_PKEY_assign_RSA(pkey, rsa); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ CCLD gids-tool CCLD netkey-tool CCLD piv-tool CCLD westcos-tool CCLD goid-tool CCLD cryptoflex-tool CCLD npa-tool CCLD sc-hsm-tool CCLD opensc-explorer CCLD pkcs15-tool CCLD pkcs15-init CCLD pkcs11-tool make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tools' Making all in minidriver make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/minidriver' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/minidriver' Making all in tests make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests' Making all in regression make[4]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/regression' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/regression' Making all in p11test make[4]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/p11test' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/p11test' Making all in fuzzing make[4]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/fuzzing' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/fuzzing' Making all in unittests make[4]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/unittests' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/unittests' make[4]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests' CC base64.o CC sc-test.o CC lottery.o CC p15dump.o CC print.o CC pintest.o CC prngtest.o CCLD base64 CCLD lottery CCLD prngtest CCLD p15dump CCLD pintest make[4]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests' make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests' Making all in smm make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/smm' CC smm-local.lo CC sm-global-platform.lo CC sm-cwa14890.lo CC sm-card-authentic.lo CC sm-card-iasecc.lo CCLD libsmm-local.la make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/smm' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src' Making all in win32 make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/win32' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/win32' Making all in doc make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc' Making all in tools make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc/tools' GEN cardos-tool GEN cryptoflex-tool GEN dnie-tool GEN egk-tool GEN eidenv GEN gids-tool GEN goid-tool GEN iasecc-tool GEN netkey-tool GEN npa-tool GEN openpgp-tool GEN opensc-asn1 GEN opensc-explorer GEN opensc-notify GEN opensc-tool GEN piv-tool GEN pkcs11-register GEN pkcs11-tool GEN pkcs15-crypt GEN pkcs15-init GEN pkcs15-tool GEN sc-hsm-tool GEN westcos-tool make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc/tools' Making all in files make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc/files' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc/files' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc' Making all in MacOSX make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/MacOSX' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/MacOSX' Making all in tests make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/tests' make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0' make[1]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0' >>> WARNING: opensc: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> opensc: Entering fakeroot... Making install in etc make[1]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/etc' GEN opensc.conf.example make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/etc' make install-exec-hook make[2]: Nothing to be done for 'install-data-am'. make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/etc' GEN opensc.conf.example ../././install-sh -c -d "/home/buildozer/aports/community/opensc/pkg/opensc/etc" if [ -f "/home/buildozer/aports/community/opensc/pkg/opensc/etc/opensc.conf" ]; then \ /usr/bin/install -c -m 644 ./opensc.conf "/home/buildozer/aports/community/opensc/pkg/opensc/etc/opensc.conf.new"; \ else \ /usr/bin/install -c -m 644 ./opensc.conf "/home/buildozer/aports/community/opensc/pkg/opensc/etc/opensc.conf"; \ fi ../././install-sh -c -d "/home/buildozer/aports/community/opensc/pkg/opensc/usr/share/doc/opensc" /usr/bin/install -c -m 644 opensc.conf.example "/home/buildozer/aports/community/opensc/pkg/opensc/usr/share/doc/opensc/opensc.conf"; make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/etc' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/etc' make[1]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/etc' Making install in src make[1]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src' Making install in common make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/common' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/common' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/common' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/common' Making install in scconf make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/scconf' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/scconf' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/scconf' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/scconf' Making install in ui make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/ui' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/ui' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/ui' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/ui' Making install in pkcs15init make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs15init' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs15init' make[3]: Nothing to be done for 'install-exec-am'. ../../././install-sh -c -d '/home/buildozer/aports/community/opensc/pkg/opensc/usr/share/opensc' /usr/bin/install -c -m 644 cyberflex.profile flex.profile gpk.profile miocos.profile cardos.profile incrypto34.profile jcop.profile oberthur.profile starcos.profile setcos.profile pkcs15.profile muscle.profile rutoken.profile asepcos.profile entersafe.profile epass2003.profile rutoken_ecp.profile rutoken_lite.profile westcos.profile myeid.profile authentic.profile iasecc.profile ias_adele_admin1.profile ias_adele_admin2.profile ias_adele_common.profile iasecc_generic_pki.profile iasecc_admin_eid.profile iasecc_generic_oberthur.profile openpgp.profile sc-hsm.profile isoApplet.profile gids.profile '/home/buildozer/aports/community/opensc/pkg/opensc/usr/share/opensc' make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs15init' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs15init' Making install in sm make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/sm' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/sm' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/sm' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/sm' Making install in libopensc make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/libopensc' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/libopensc' ../../././install-sh -c -d '/home/buildozer/aports/community/opensc/pkg/opensc/usr/lib' /bin/sh ../../libtool --mode=install /usr/bin/install -c libopensc.la '/home/buildozer/aports/community/opensc/pkg/opensc/usr/lib' libtool: install: /usr/bin/install -c .libs/libopensc.so.8.0.0 /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/libopensc.so.8.0.0 libtool: install: (cd /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib && { ln -s -f libopensc.so.8.0.0 libopensc.so.8 || { rm -f libopensc.so.8 && ln -s libopensc.so.8.0.0 libopensc.so.8; }; }) libtool: install: (cd /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib && { ln -s -f libopensc.so.8.0.0 libopensc.so || { rm -f libopensc.so && ln -s libopensc.so.8.0.0 libopensc.so; }; }) libtool: install: /usr/bin/install -c .libs/libopensc.lai /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/libopensc.la libtool: install: /usr/bin/install -c .libs/libopensc.a /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/libopensc.a libtool: install: chmod 644 /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/libopensc.a libtool: install: ranlib /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/libopensc.a libtool: warning: remember to run 'libtool --finish /usr/lib' make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/libopensc' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/libopensc' Making install in pkcs11 make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs11' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs11' ../../././install-sh -c -d '/home/buildozer/aports/community/opensc/pkg/opensc/usr/lib' ../../././install-sh -c -d '/home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/pkgconfig' /bin/sh ../../libtool --mode=install /usr/bin/install -c opensc-pkcs11.la pkcs11-spy.la onepin-opensc-pkcs11.la '/home/buildozer/aports/community/opensc/pkg/opensc/usr/lib' /usr/bin/install -c -m 644 opensc-pkcs11.pc '/home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/pkgconfig' libtool: warning: relinking 'opensc-pkcs11.la' libtool: install: (cd /home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs11; /bin/sh "/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/libtool" --silent --tag CC --mode=relink gcc -pthread -DPKCS11_THREAD_LOCKING -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -Os -fomit-frame-pointer -Wno-error -export-symbols ./pkcs11.exports -module -shared -avoid-version -no-undefined -Wl,--as-needed,-O1,--sort-common -o opensc-pkcs11.la -rpath /usr/lib opensc_pkcs11_la-pkcs11-global.lo opensc_pkcs11_la-pkcs11-session.lo opensc_pkcs11_la-pkcs11-object.lo opensc_pkcs11_la-misc.lo opensc_pkcs11_la-slot.lo opensc_pkcs11_la-mechanism.lo opensc_pkcs11_la-openssl.lo opensc_pkcs11_la-framework-pkcs15.lo opensc_pkcs11_la-framework-pkcs15init.lo opensc_pkcs11_la-debug.lo opensc_pkcs11_la-pkcs11-display.lo ../../src/libopensc/libopensc.la ../../src/common/libscdl.la ../../src/common/libcompat.la -lcrypto -inst-prefix-dir /home/buildozer/aports/community/opensc/pkg/opensc) libtool: install: /usr/bin/install -c .libs/opensc-pkcs11.soT /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/opensc-pkcs11.so libtool: install: /usr/bin/install -c .libs/opensc-pkcs11.lai /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/opensc-pkcs11.la libtool: install: /usr/bin/install -c .libs/pkcs11-spy.so /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/pkcs11-spy.so libtool: install: /usr/bin/install -c .libs/pkcs11-spy.lai /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/pkcs11-spy.la libtool: warning: relinking 'onepin-opensc-pkcs11.la' libtool: install: (cd /home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs11; /bin/sh "/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/libtool" --silent --tag CC --mode=relink gcc "-DMODULE_APP_NAME=\"onepin-opensc-pkcs11\"" -pthread -DPKCS11_THREAD_LOCKING -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -Os -fomit-frame-pointer -Wno-error -export-symbols ./pkcs11.exports -module -shared -avoid-version -no-undefined -Wl,--as-needed,-O1,--sort-common -o onepin-opensc-pkcs11.la -rpath /usr/lib onepin_opensc_pkcs11_la-pkcs11-global.lo onepin_opensc_pkcs11_la-pkcs11-session.lo onepin_opensc_pkcs11_la-pkcs11-object.lo onepin_opensc_pkcs11_la-misc.lo onepin_opensc_pkcs11_la-slot.lo onepin_opensc_pkcs11_la-mechanism.lo onepin_opensc_pkcs11_la-openssl.lo onepin_opensc_pkcs11_la-framework-pkcs15.lo onepin_opensc_pkcs11_la-framework-pkcs15init.lo onepin_opensc_pkcs11_la-debug.lo onepin_opensc_pkcs11_la-pkcs11-display.lo ../../src/libopensc/libopensc.la ../../src/common/libscdl.la ../../src/common/libcompat.la -lcrypto -inst-prefix-dir /home/buildozer/aports/community/opensc/pkg/opensc) libtool: install: /usr/bin/install -c .libs/onepin-opensc-pkcs11.soT /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/onepin-opensc-pkcs11.so libtool: install: /usr/bin/install -c .libs/onepin-opensc-pkcs11.lai /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/onepin-opensc-pkcs11.la libtool: warning: remember to run 'libtool --finish /usr/lib' make install-exec-hook make[4]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs11' ../../././install-sh -c -d "/home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/pkcs11" for l in opensc-pkcs11.so onepin-opensc-pkcs11.so pkcs11-spy.so; do \ rm -f "/home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/pkcs11/$l"; \ ln -s ../$l "/home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/pkcs11/$l"; \ done make[4]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs11' make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs11' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/pkcs11' Making install in tools make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tools' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tools' ../../././install-sh -c -d '/home/buildozer/aports/community/opensc/pkg/opensc/usr/bin' ../../././install-sh -c -d '/home/buildozer/aports/community/opensc/pkg/opensc/usr/share/applications' ../../././install-sh -c -d '/home/buildozer/aports/community/opensc/pkg/opensc/etc/xdg/autostart' /usr/bin/install -c -m 644 pkcs11-register.desktop '/home/buildozer/aports/community/opensc/pkg/opensc/etc/xdg/autostart' /usr/bin/install -c -m 644 org.opensc.notify.desktop '/home/buildozer/aports/community/opensc/pkg/opensc/usr/share/applications' /bin/sh ../../libtool --mode=install /usr/bin/install -c opensc-tool opensc-explorer opensc-notify pkcs15-tool pkcs15-crypt pkcs11-tool pkcs11-register cardos-tool eidenv openpgp-tool iasecc-tool egk-tool opensc-asn1 goid-tool cryptoflex-tool pkcs15-init netkey-tool piv-tool westcos-tool sc-hsm-tool dnie-tool gids-tool npa-tool '/home/buildozer/aports/community/opensc/pkg/opensc/usr/bin' libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/opensc-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/opensc-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/opensc-explorer /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/opensc-explorer libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/opensc-notify /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/opensc-notify libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/pkcs15-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/pkcs15-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/pkcs15-crypt /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/pkcs15-crypt libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/pkcs11-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/pkcs11-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/pkcs11-register /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/pkcs11-register libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/cardos-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/cardos-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/eidenv /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/eidenv libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/openpgp-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/openpgp-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/iasecc-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/iasecc-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/egk-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/egk-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/opensc-asn1 /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/opensc-asn1 libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/goid-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/goid-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/cryptoflex-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/cryptoflex-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/pkcs15-init /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/pkcs15-init libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/netkey-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/netkey-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/piv-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/piv-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/westcos-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/westcos-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/sc-hsm-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/sc-hsm-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/dnie-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/dnie-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/gids-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/gids-tool libtool: warning: '../../src/libopensc/libopensc.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/npa-tool /home/buildozer/aports/community/opensc/pkg/opensc/usr/bin/npa-tool make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tools' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tools' Making install in minidriver make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/minidriver' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/minidriver' make[3]: Nothing to be done for 'install-data-am'. make install-exec-hook make[4]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/minidriver' make[4]: Nothing to be done for 'install-exec-hook'. make[4]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/minidriver' make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/minidriver' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/minidriver' Making install in tests make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests' Making install in regression make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/regression' make[4]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/regression' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/regression' make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/regression' Making install in p11test make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/p11test' make[4]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/p11test' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/p11test' make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/p11test' Making install in fuzzing make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/fuzzing' make[4]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/fuzzing' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/fuzzing' make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/fuzzing' Making install in unittests make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/unittests' make[4]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/unittests' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/unittests' make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests/unittests' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests' make[4]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests' make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/tests' Making install in smm make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/smm' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/smm' make[3]: Nothing to be done for 'install-data-am'. ../../././install-sh -c -d '/home/buildozer/aports/community/opensc/pkg/opensc/usr/lib' /bin/sh ../../libtool --mode=install /usr/bin/install -c libsmm-local.la '/home/buildozer/aports/community/opensc/pkg/opensc/usr/lib' libtool: warning: relinking 'libsmm-local.la' libtool: install: (cd /home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/smm; /bin/sh "/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/libtool" --silent --tag CC --mode=relink gcc -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -Os -fomit-frame-pointer -Wno-error -module -shared -no-undefined -version-info 8:0:0 -Wl,--as-needed,-O1,--sort-common -o libsmm-local.la -rpath /usr/lib smm-local.lo sm-global-platform.lo sm-cwa14890.lo sm-card-authentic.lo sm-card-iasecc.lo -lcrypto ../libopensc/libopensc.la ../../src/sm/libsm.la ../../src/libopensc/libopensc.la ../../src/common/libcompat.la -inst-prefix-dir /home/buildozer/aports/community/opensc/pkg/opensc) libtool: install: /usr/bin/install -c .libs/libsmm-local.so.8.0.0T /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/libsmm-local.so.8.0.0 libtool: install: (cd /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib && { ln -s -f libsmm-local.so.8.0.0 libsmm-local.so.8 || { rm -f libsmm-local.so.8 && ln -s libsmm-local.so.8.0.0 libsmm-local.so.8; }; }) libtool: install: (cd /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib && { ln -s -f libsmm-local.so.8.0.0 libsmm-local.so || { rm -f libsmm-local.so && ln -s libsmm-local.so.8.0.0 libsmm-local.so; }; }) libtool: install: /usr/bin/install -c .libs/libsmm-local.lai /home/buildozer/aports/community/opensc/pkg/opensc/usr/lib/libsmm-local.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/smm' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src/smm' make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src' make[1]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/src' Making install in win32 make[1]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/win32' make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/win32' make[2]: Nothing to be done for 'install-data-am'. make install-exec-hook make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/win32' make[3]: Nothing to be done for 'install-exec-hook'. make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/win32' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/win32' make[1]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/win32' Making install in doc make[1]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc' Making install in tools make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc/tools' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc/tools' make[3]: Nothing to be done for 'install-exec-am'. ../../././install-sh -c -d '/home/buildozer/aports/community/opensc/pkg/opensc/etc/bash_completion.d' /usr/bin/install -c -m 644 cardos-tool cryptoflex-tool dnie-tool egk-tool eidenv gids-tool goid-tool iasecc-tool netkey-tool npa-tool openpgp-tool opensc-asn1 opensc-explorer opensc-notify opensc-tool piv-tool pkcs11-register pkcs11-tool pkcs15-crypt pkcs15-init pkcs15-tool sc-hsm-tool westcos-tool '/home/buildozer/aports/community/opensc/pkg/opensc/etc/bash_completion.d' make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc/tools' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc/tools' Making install in files make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc/files' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc/files' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc/files' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc/files' make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc' make[3]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc' make[1]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/doc' Making install in MacOSX make[1]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/MacOSX' make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/MacOSX' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/MacOSX' make[1]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/MacOSX' Making install in tests make[1]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/tests' make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/tests' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/tests' make[1]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0/tests' make[1]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0' make[2]: Entering directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0' make[2]: Nothing to be done for 'install-exec-am'. ././install-sh -c -d '/home/buildozer/aports/community/opensc/pkg/opensc/usr/share/doc/opensc' /usr/bin/install -c -m 644 NEWS '/home/buildozer/aports/community/opensc/pkg/opensc/usr/share/doc/opensc' make[2]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0' make[1]: Leaving directory '/home/buildozer/aports/community/opensc/src/OpenSC-0.22.0' >>> opensc-dev*: Running split function dev... >>> opensc-dev*: Preparing subpackage opensc-dev... >>> opensc-dev*: Stripping binaries >>> opensc-dev*: Running postcheck for opensc-dev >>> opensc-doc*: Running split function doc... >>> opensc-doc*: Preparing subpackage opensc-doc... >>> opensc-doc*: Running postcheck for opensc-doc >>> opensc-bash-completion*: Running split function bashcomp... '/home/buildozer/aports/community/opensc/pkg/opensc/usr/share/bash-completion/completions' -> '/home/buildozer/aports/community/opensc/pkg/opensc-bash-completion/usr/share/bash-completion/completions' >>> opensc-bash-completion*: Preparing subpackage opensc-bash-completion... >>> opensc-bash-completion*: Running postcheck for opensc-bash-completion >>> opensc*: Running postcheck for opensc >>> opensc*: Preparing package opensc... >>> opensc*: Stripping binaries >>> opensc-bash-completion*: Scanning shared objects >>> opensc-dev*: Scanning shared objects >>> opensc-doc*: Scanning shared objects >>> opensc*: Scanning shared objects >>> opensc-bash-completion*: Tracing dependencies... >>> opensc-bash-completion*: Package size: 112.0 KB >>> opensc-bash-completion*: Compressing data... >>> opensc-bash-completion*: Create checksum... >>> opensc-bash-completion*: Create opensc-bash-completion-0.22.0-r3.apk >>> opensc-dev*: Tracing dependencies... zlib-dev pcsc-lite-dev openssl-dev>3 readline-dev opensc=0.22.0-r3 pkgconfig >>> opensc-dev*: Package size: 3.7 MB >>> opensc-dev*: Compressing data... >>> opensc-dev*: Create checksum... >>> opensc-dev*: Create opensc-dev-0.22.0-r3.apk >>> opensc-doc*: Tracing dependencies... >>> opensc-doc*: Package size: 116.0 KB >>> opensc-doc*: Compressing data... >>> opensc-doc*: Create checksum... >>> opensc-doc*: Create opensc-doc-0.22.0-r3.apk >>> opensc*: Tracing dependencies... pcsc-lite so:libc.musl-x86_64.so.1 so:libcrypto.so.3 so:libreadline.so.8 so:libz.so.1 >>> opensc*: Package size: 3.6 MB >>> opensc*: Compressing data... >>> opensc*: Create checksum... >>> opensc*: Create opensc-0.22.0-r3.apk >>> opensc: Build complete at Mon, 31 Oct 2022 23:16:22 +0000 elapsed time 0h 1m 9s >>> opensc: Cleaning up srcdir >>> opensc: Cleaning up pkgdir >>> opensc: Uninstalling dependencies... (1/36) Purging pcsc-lite-openrc (1.9.9-r0) (2/36) Purging udev-init-scripts-openrc (35-r1) (3/36) Purging eudev-openrc (3.2.11-r2) (4/36) Purging .makedepends-opensc (20221031.231519) (5/36) Purging pcsc-lite (1.9.9-r0) (6/36) Purging zlib-dev (1.2.13-r0) (7/36) Purging pcsc-lite-dev (1.9.9-r0) (8/36) Purging pcsc-lite-libs (1.9.9-r0) (9/36) Purging eudev-dev (3.2.11-r2) (10/36) Purging eudev (3.2.11-r2) (11/36) Purging udev-init-scripts (35-r1) (12/36) Purging eudev-libs (3.2.11-r2) (13/36) Purging pcsc-lite-spy-libs (1.9.9-r0) (14/36) Purging openssl-dev (3.0.5-r3) (15/36) Purging readline-dev (8.2.0-r0) (16/36) Purging libhistory (8.2.0-r0) (17/36) Purging readline (8.2.0-r0) (18/36) Purging automake (1.16.5-r1) (19/36) Purging autoconf (2.71-r1) (20/36) Purging m4 (1.4.19-r1) (21/36) Purging gettext (0.21.1-r1) (22/36) Purging libtool (2.4.7-r0) (23/36) Purging libltdl (2.4.7-r0) (24/36) Purging git-perl (2.38.1-r0) (25/36) Purging perl-git (2.38.1-r0) (26/36) Purging perl-error (0.17029-r1) (27/36) Purging perl (5.36.0-r0) (28/36) Purging libblkid (2.38.1-r0) (29/36) Purging kmod-libs (30-r1) (30/36) Purging libxml2 (2.10.3-r1) (31/36) Purging xz-libs (5.2.7-r0) (32/36) Purging ncurses-dev (6.3_p20221029-r0) (33/36) Purging libbz2 (1.0.8-r3) (34/36) Purging gettext-libs (0.21.1-r1) (35/36) Purging libintl (0.21.1-r1) (36/36) Purging libunistring (1.1-r0) Executing busybox-1.35.0-r27.trigger OK: 267 MiB in 93 packages >>> opensc: Updating the community/x86_64 repository index... >>> opensc: Signing the index...