>>> ima-evm-utils: Building testing/ima-evm-utils 1.3.2-r1 (using abuild 3.9.0-r3) started Thu, 04 Aug 2022 07:04:51 +0000 >>> ima-evm-utils: Checking sanity of /home/buildozer/aports/testing/ima-evm-utils/APKBUILD... >>> ima-evm-utils: Analyzing dependencies... >>> ima-evm-utils: Installing for build: build-base attr-dev asciidoc autoconf automake bash diffutils docbook-xsl keyutils-dev libtool libxslt linux-headers openssl-dev>3 tpm2-tss-dev xxd (1/52) Installing attr-dev (2.5.1-r1) (2/52) Installing libffi (3.4.2-r1) (3/52) Installing gdbm (1.23-r0) (4/52) Installing mpdecimal (2.5.1-r1) (5/52) Installing readline (8.1.2-r0) (6/52) Installing sqlite-libs (3.39.2-r0) (7/52) Installing python3 (3.10.5-r2) (8/52) Installing libxml2 (2.9.14-r1) (9/52) Installing libxml2-utils (2.9.14-r1) (10/52) Installing libgpg-error (1.45-r0) (11/52) Installing libgcrypt (1.10.1-r0) (12/52) Installing libxslt (1.1.35-r0) (13/52) Installing docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-install (14/52) Installing docbook-xsl (1.79.2-r4) Executing docbook-xsl-1.79.2-r4.post-install (15/52) Installing source-highlight (3.1.9-r5) (16/52) Installing asciidoc (9.1.1-r0) (17/52) Installing m4 (1.4.19-r1) (18/52) Installing perl (5.36.0-r0) (19/52) Installing autoconf (2.71-r0) (20/52) Installing automake (1.16.5-r0) (21/52) Installing bash (5.1.16-r2) Executing bash-5.1.16-r2.post-install (22/52) Installing diffutils (3.8-r0) (23/52) Installing keyutils-libs (1.6.3-r1) (24/52) Installing keyutils-dev (1.6.3-r1) (25/52) Installing libltdl (2.4.7-r0) (26/52) Installing libtool (2.4.7-r0) (27/52) Installing linux-headers (5.16.7-r1) (28/52) Installing openssl-dev (3.0.5-r1) (29/52) Installing json-c (0.16-r0) (30/52) Installing json-c-dev (0.16-r0) (31/52) Installing nghttp2-dev (1.48.0-r1) (32/52) Installing zlib-dev (1.2.12-r1) (33/52) Installing brotli-dev (1.0.9-r7) (34/52) Installing curl-dev (7.84.0-r2) (35/52) Installing tpm2-tss-mu (3.1.0-r1) (36/52) Installing tpm2-tss-sys (3.1.0-r1) (37/52) Installing tpm2-tss-esys (3.1.0-r1) (38/52) Installing acl (2.3.1-r1) (39/52) Installing tpm2-tss-tctildr (3.1.0-r1) (40/52) Installing tpm2-tss-fapi (3.1.0-r1) Executing tpm2-tss-fapi-3.1.0-r1.pre-install Executing tpm2-tss-fapi-3.1.0-r1.post-install (41/52) Installing tpm2-tss-rc (3.1.0-r1) (42/52) Installing tpm2-tss-tcti-cmd (3.1.0-r1) (43/52) Installing tpm2-tss-tcti-device (3.1.0-r1) (44/52) Installing tpm2-tss-tcti-mssim (3.1.0-r1) (45/52) Installing tpm2-tss-tcti-pcap (3.1.0-r1) (46/52) Installing tpm2-tss-tcti-swtpm (3.1.0-r1) (47/52) Installing tpm2-tss-dev (3.1.0-r1) (48/52) Installing xxd (9.0.0124-r0) (49/52) Installing .makedepends-ima-evm-utils (20220804.070453) (50/52) Installing perl-error (0.17029-r1) (51/52) Installing perl-git (2.37.1-r1) (52/52) Installing git-perl (2.37.1-r1) Executing busybox-1.35.0-r22.trigger OK: 848 MiB in 156 packages >>> ima-evm-utils: Cleaning up srcdir >>> ima-evm-utils: Cleaning up pkgdir >>> ima-evm-utils: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ima-evm-utils-1.3.2.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 100 98k 100 98k 0 0 683k 0 --:--:-- --:--:-- --:--:-- 685k >>> ima-evm-utils: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ima-evm-utils-1.3.2.tar.gz >>> ima-evm-utils: Checking sha512sums... ima-evm-utils-1.3.2.tar.gz: OK >>> ima-evm-utils: Unpacking /var/cache/distfiles/edge/ima-evm-utils-1.3.2.tar.gz... libtoolize: putting auxiliary files in '.'. 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' configure.ac:18: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:18: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:18: the top level configure.ac:26: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:26: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:26: the top level configure.ac:52: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:52: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... acinclude.m4:2: PKG_ARG_ENABLE is expanded from... configure.ac:52: the top level configure.ac:59: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:59: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... m4/manpage-docbook-xsl.m4:4: EVMCTL_MANPAGE_DOCBOOK_XSL is expanded from... configure.ac:59: the top level configure.ac:10: installing './compile' configure.ac:9: installing './config.guess' configure.ac:9: installing './config.sub' configure.ac:5: installing './install-sh' configure.ac:5: installing './missing' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' 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 build system type... x86_64-alpine-linux-musl checking host system type... x86_64-alpine-linux-musl checking whether make supports the include directive... yes (GNU style) 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 dependency style of gcc... gcc3 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 for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for x86_64-alpine-linux-musl-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking how to print strings... printf checking for a sed that does not truncate output... /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 whether ln -s works... yes 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... no checking for egrep... (cached) /bin/grep -E 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 LIBCRYPTO... yes checking for unistd.h... (cached) yes checking for openssl/conf.h... yes checking for Esys_Free in -ltss2-esys... yes checking for Tss2_RC_Decode in -ltss2-rc... yes checking for sys/xattr.h... yes checking for keyutils.h... yes checking whether to enable debug... yes checking for xmlcatalog... /usr/bin/xmlcatalog checking for XML catalog (/etc/xml/catalog)... found configure: using /usr/share/xml/docbook/xsl-stylesheets-1.79.2/manpages/docbook.xsl for generating doc checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating packaging/ima-evm-utils.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Configuration: debug: yes openssl-conf: yes tss2-esys: yes tss2-rc-decode: yes doc: yes make all-recursive make[1]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2' Making all in src make[2]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/src' ./hash_info.gen /lib/modules/5.15.12-0-lts/source >hash_info.h make all-am make[3]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -include config.h -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -O1 -Wall -Wstrict-prototypes -pipe -MT evmctl-evmctl.o -MD -MP -MF .deps/evmctl-evmctl.Tpo -c -o evmctl-evmctl.o `test -f 'evmctl.c' || echo './'`evmctl.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -include config.h -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -O1 -Wall -Wstrict-prototypes -pipe -MT evmctl-utils.o -MD -MP -MF .deps/evmctl-utils.Tpo -c -o evmctl-utils.o `test -f 'utils.c' || echo './'`utils.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -include config.h -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -O1 -Wall -Wstrict-prototypes -pipe -MT evmctl-pcr_tss.o -MD -MP -MF .deps/evmctl-pcr_tss.Tpo -c -o evmctl-pcr_tss.o `test -f 'pcr_tss.c' || echo './'`pcr_tss.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -include config.h -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -O1 -Wall -Wstrict-prototypes -pipe -MT libimaevm_la-libimaevm.lo -MD -MP -MF .deps/libimaevm_la-libimaevm.Tpo -c -o libimaevm_la-libimaevm.lo `test -f 'libimaevm.c' || echo './'`libimaevm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -include config.h -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -O1 -Wall -Wstrict-prototypes -pipe -MT libimaevm_la-libimaevm.lo -MD -MP -MF .deps/libimaevm_la-libimaevm.Tpo -c libimaevm.c -fPIC -DPIC -o .libs/libimaevm_la-libimaevm.o mv -f .deps/evmctl-utils.Tpo .deps/evmctl-utils.Po mv -f .deps/evmctl-pcr_tss.Tpo .deps/evmctl-pcr_tss.Po evmctl.c: In function 'cmd_convert': evmctl.c:940:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 940 | RSA_free(key); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from evmctl.c:61: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ evmctl.c: In function 'cmd_import': evmctl.c:1003:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1003 | RSA_free(key); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from evmctl.c:61: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ evmctl.c: In function 'calc_evm_hmac': evmctl.c:1081:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | pctx = HMAC_CTX_new(); | ^~~~ In file included from evmctl.c:62: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ evmctl.c:1136:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1136 | err = !HMAC_Init_ex(pctx, evmkey, sizeof(evmkey), md, NULL); | ^~~ In file included from evmctl.c:62: /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ evmctl.c:1155:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1155 | err = !HMAC_Update(pctx, xattr_value, err); | ^~~ In file included from evmctl.c:62: /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ evmctl.c:1196:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1196 | err = !HMAC_Update(pctx, (const unsigned char *)&hmac_misc, hmac_size); | ^~~ In file included from evmctl.c:62: /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ evmctl.c:1201:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1201 | err = !HMAC_Final(pctx, hash, &mdlen); | ^~~ In file included from evmctl.c:62: /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ libimaevm.c: In function 'read_pub_key': libimaevm.c:368:9: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 368 | key = EVP_PKEY_get1_RSA(pkey); | ^~~ In file included from /usr/include/openssl/pem.h:22, from libimaevm.c:56: /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ evmctl.c:1208:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1208 | HMAC_CTX_free(pctx); | ^~~~~~~~~~~~~ In file included from evmctl.c:62: /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ libimaevm.c: In function 'verify_hash_v1': libimaevm.c:395:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | SHA1_Init(&ctx); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from libimaevm.c:56: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ libimaevm.c:396:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 396 | SHA1_Update(&ctx, hash, size); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from libimaevm.c:56: /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); | ^~~~~~~~~~~ libimaevm.c:397:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 397 | SHA1_Update(&ctx, hdr, sizeof(*hdr)); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from libimaevm.c:56: /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); | ^~~~~~~~~~~ libimaevm.c:398:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 398 | SHA1_Final(sighash, &ctx); | ^~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from libimaevm.c:56: /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ libimaevm.c:402:9: warning: 'RSA_public_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | err = RSA_public_decrypt(siglen - sizeof(*hdr) - 2, sig + sizeof(*hdr) + 2, out, key, RSA_PKCS1_PADDING); | ^~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from libimaevm.c:56: /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ libimaevm.c:403:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 403 | RSA_free(key); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from libimaevm.c:56: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ libimaevm.c: In function 'key2bin': libimaevm.c:674:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 674 | RSA_get0_key(key, &n, &e, NULL); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from libimaevm.c:56: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ libimaevm.c: In function 'read_priv_key': libimaevm.c:779:9: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 779 | key = EVP_PKEY_get1_RSA(pkey); | ^~~ In file included from /usr/include/openssl/pem.h:22, from libimaevm.c:56: /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ libimaevm.c: In function 'sign_hash_v1': libimaevm.c:858:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 858 | SHA1_Init(&ctx); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from libimaevm.c:56: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ libimaevm.c:859:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 859 | SHA1_Update(&ctx, hash, size); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from libimaevm.c:56: /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); | ^~~~~~~~~~~ libimaevm.c:860:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 860 | SHA1_Update(&ctx, hdr, sizeof(*hdr)); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from libimaevm.c:56: /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); | ^~~~~~~~~~~ libimaevm.c:861:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 861 | SHA1_Final(sighash, &ctx); | ^~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/pem.h:23, from libimaevm.c:56: /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ libimaevm.c:865:9: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 865 | len = RSA_private_encrypt(sizeof(sighash), sighash, sig + sizeof(*hdr) + 2, key, RSA_PKCS1_PADDING); | ^~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from libimaevm.c:56: /usr/include/openssl/rsa.h:285:5: note: declared here 285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ libimaevm.c:878:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 878 | RSA_free(key); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from libimaevm.c:56: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ evmctl.c: In function 'read_binary_bios_measurements': evmctl.c:2188:17: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2188 | SHA1_Init(&c); | ^~~~~~~~~ In file included from evmctl.c:60: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ evmctl.c:2189:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2189 | SHA1_Update(&c, bank->pcr[event.header.pcr], 20); | ^~~~~~~~~~~ In file included from evmctl.c:60: /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); | ^~~~~~~~~~~ evmctl.c:2190:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2190 | SHA1_Update(&c, event.header.digest, 20); | ^~~~~~~~~~~ In file included from evmctl.c:60: /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); | ^~~~~~~~~~~ evmctl.c:2191:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2191 | SHA1_Final(bank->pcr[event.header.pcr], &c); | ^~~~~~~~~~ In file included from evmctl.c:60: /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ evmctl.c: In function 'main': evmctl.c:2690:25: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2690 | eng = ENGINE_by_id(optarg); | ^~~ In file included from evmctl.c:65: /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ evmctl.c:2694:25: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2694 | } else if (!ENGINE_init(eng)) { | ^ In file included from evmctl.c:65: /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ evmctl.c:2697:33: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2697 | ENGINE_free(eng); | ^~~~~~~~~~~ In file included from evmctl.c:65: /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ evmctl.c:2700:25: warning: 'ENGINE_set_default' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2700 | ENGINE_set_default(eng, ENGINE_METHOD_ALL); | ^~~~~~~~~~~~~~~~~~ In file included from evmctl.c:65: /usr/include/openssl/engine.h:708:27: note: declared here 708 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default(ENGINE *e, unsigned int flags); | ^~~~~~~~~~~~~~~~~~ evmctl.c:2745:17: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2745 | ENGINE_finish(eng); | ^~~~~~~~~~~~~ In file included from evmctl.c:65: /usr/include/openssl/engine.h:628:27: note: declared here 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); | ^~~~~~~~~~~~~ evmctl.c:2746:17: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2746 | ENGINE_free(eng); | ^~~~~~~~~~~ In file included from evmctl.c:65: /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ mv -f .deps/libimaevm_la-libimaevm.Tpo .deps/libimaevm_la-libimaevm.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -Os -fomit-frame-pointer -g -O1 -Wall -Wstrict-prototypes -pipe -version-info 2:0:0 -Wl,--as-needed,-O1,--sort-common -o libimaevm.la -rpath /usr/lib libimaevm_la-libimaevm.lo -lcrypto -ltss2-rc -ltss2-esys libtool: link: gcc -shared -fPIC -DPIC .libs/libimaevm_la-libimaevm.o -lcrypto -ltss2-rc -ltss2-esys -Os -g -O1 -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-soname -Wl,libimaevm.so.2 -o .libs/libimaevm.so.2.0.0 libtool: link: (cd ".libs" && rm -f "libimaevm.so.2" && ln -s "libimaevm.so.2.0.0" "libimaevm.so.2") libtool: link: (cd ".libs" && rm -f "libimaevm.so" && ln -s "libimaevm.so.2.0.0" "libimaevm.so") libtool: link: ( cd ".libs" && rm -f "libimaevm.la" && ln -s "../libimaevm.la" "libimaevm.la" ) mv -f .deps/evmctl-evmctl.Tpo .deps/evmctl-evmctl.Po /bin/sh ../libtool --tag=CC --mode=link gcc -Os -fomit-frame-pointer -g -O1 -Wall -Wstrict-prototypes -pipe -Wl,--as-needed,-O1,--sort-common -o evmctl evmctl-evmctl.o evmctl-utils.o evmctl-pcr_tss.o -lcrypto -lkeyutils libimaevm.la -ltss2-rc -ltss2-esys libtool: link: gcc -Os -fomit-frame-pointer -g -O1 -Wall -Wstrict-prototypes -pipe -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -o .libs/evmctl evmctl-evmctl.o evmctl-utils.o evmctl-pcr_tss.o -lkeyutils ./.libs/libimaevm.so -lcrypto -ltss2-rc -ltss2-esys make[3]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/src' make[2]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/src' Making all in tests make[2]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/tests' make[2]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2' asciidoc -d manpage -b docbook -o evmctl.1.xsl README xsltproc --nonet -o evmctl.1 /usr/share/xml/docbook/xsl-stylesheets-1.79.2/manpages/docbook.xsl evmctl.1.xsl Note: namesp. add : added namespace before processing EVMCTL(1) Note: Writing evmctl.1 rm -f evmctl.1.xsl make[2]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2' make[1]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2' Making check in src make[1]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/src' make check-am make[2]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/src' make[1]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/src' Making check in tests make[1]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/tests' make ima_hash.test sign_verify.test boot_aggregate.test make[2]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/tests' make[2]: Nothing to be done for 'ima_hash.test'. make[2]: Nothing to be done for 'sign_verify.test'. make[2]: Nothing to be done for 'boot_aggregate.test'. make[2]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/tests' make check-TESTS make[2]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/tests' make[3]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/tests' SKIP: boot_aggregate.test PASS: ima_hash.test PASS: sign_verify.test ============================================================================ Testsuite summary for ima-evm-utils 1.3.2 ============================================================================ # TOTAL: 3 # PASS: 2 # SKIP: 1 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/tests' make[2]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/tests' make[1]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/tests' make[1]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2' make[1]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2' >>> ima-evm-utils: Entering fakeroot... Making install in src make[1]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/src' make install-am make[2]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/src' make[3]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/src' .././install-sh -c -d '/home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/lib' .././install-sh -c -d '/home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/include' /bin/sh ../libtool --mode=install /usr/bin/install -c libimaevm.la '/home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/lib' /usr/bin/install -c -m 644 imaevm.h '/home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/include' libtool: install: /usr/bin/install -c .libs/libimaevm.so.2.0.0 /home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/lib/libimaevm.so.2.0.0 libtool: install: (cd /home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/lib && { ln -s -f libimaevm.so.2.0.0 libimaevm.so.2 || { rm -f libimaevm.so.2 && ln -s libimaevm.so.2.0.0 libimaevm.so.2; }; }) libtool: install: (cd /home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/lib && { ln -s -f libimaevm.so.2.0.0 libimaevm.so || { rm -f libimaevm.so && ln -s libimaevm.so.2.0.0 libimaevm.so; }; }) libtool: install: /usr/bin/install -c .libs/libimaevm.lai /home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/lib/libimaevm.la libtool: warning: remember to run 'libtool --finish /usr/lib' .././install-sh -c -d '/home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c evmctl '/home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/bin' libtool: warning: 'libimaevm.la' has not been installed in '/usr/lib' libtool: install: /usr/bin/install -c .libs/evmctl /home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/bin/evmctl make[3]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/src' make[2]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/src' make[1]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/src' Making install in tests make[1]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/tests' make[2]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/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/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/tests' make[1]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2/tests' make[1]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2' make[2]: Entering directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2' make[2]: Nothing to be done for 'install-exec-am'. ./install-sh -c -d '/home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/share/doc/ima-evm-utils' ./install-sh -c -d '/home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/share/man/man1' /usr/bin/install -c -m 644 examples/ima-genkey-self.sh examples/ima-genkey.sh examples/ima-gen-local-ca.sh '/home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/share/doc/ima-evm-utils' /usr/bin/install -c -m 644 evmctl.1 '/home/buildozer/aports/testing/ima-evm-utils/pkg/ima-evm-utils/usr/share/man/man1' make[2]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2' make[1]: Leaving directory '/home/buildozer/aports/testing/ima-evm-utils/src/ima-evm-utils-1.3.2' >>> ima-evm-utils-dev*: Running split function dev... >>> ima-evm-utils-dev*: Preparing subpackage ima-evm-utils-dev... >>> ima-evm-utils-dev*: Stripping binaries >>> ima-evm-utils-dev*: Running postcheck for ima-evm-utils-dev >>> ima-evm-utils-doc*: Running split function doc... >>> ima-evm-utils-doc*: Preparing subpackage ima-evm-utils-doc... >>> ima-evm-utils-doc*: Running postcheck for ima-evm-utils-doc >>> ima-evm-utils*: Running postcheck for ima-evm-utils >>> ima-evm-utils*: Preparing package ima-evm-utils... >>> ima-evm-utils*: Stripping binaries >>> ima-evm-utils-dev*: Scanning shared objects >>> ima-evm-utils-doc*: Scanning shared objects >>> ima-evm-utils*: Scanning shared objects >>> ima-evm-utils-dev*: Tracing dependencies... ima-evm-utils=1.3.2-r1 >>> ima-evm-utils-dev*: Package size: 24.0 KB >>> ima-evm-utils-dev*: Compressing data... >>> ima-evm-utils-dev*: Create checksum... >>> ima-evm-utils-dev*: Create ima-evm-utils-dev-1.3.2-r1.apk >>> ima-evm-utils-doc*: Tracing dependencies... >>> ima-evm-utils-doc*: Package size: 48.0 KB >>> ima-evm-utils-doc*: Compressing data... >>> ima-evm-utils-doc*: Create checksum... >>> ima-evm-utils-doc*: Create ima-evm-utils-doc-1.3.2-r1.apk >>> ima-evm-utils*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libcrypto.so.3 so:libkeyutils.so.1 so:libtss2-esys.so.0 so:libtss2-rc.so.0 >>> ima-evm-utils*: Package size: 108.0 KB >>> ima-evm-utils*: Compressing data... >>> ima-evm-utils*: Create checksum... >>> ima-evm-utils*: Create ima-evm-utils-1.3.2-r1.apk >>> ima-evm-utils: Build complete at Thu, 04 Aug 2022 07:05:20 +0000 elapsed time 0h 0m 29s >>> ima-evm-utils: Cleaning up srcdir >>> ima-evm-utils: Cleaning up pkgdir >>> ima-evm-utils: Uninstalling dependencies... (1/52) Purging .makedepends-ima-evm-utils (20220804.070453) (2/52) Purging attr-dev (2.5.1-r1) (3/52) Purging asciidoc (9.1.1-r0) (4/52) Purging python3 (3.10.5-r2) (5/52) Purging source-highlight (3.1.9-r5) (6/52) Purging autoconf (2.71-r0) (7/52) Purging m4 (1.4.19-r1) (8/52) Purging automake (1.16.5-r0) (9/52) Purging bash (5.1.16-r2) Executing bash-5.1.16-r2.pre-deinstall (10/52) Purging diffutils (3.8-r0) (11/52) Purging docbook-xsl (1.79.2-r4) Executing docbook-xsl-1.79.2-r4.post-deinstall (12/52) Purging docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-deinstall (13/52) Purging libxml2-utils (2.9.14-r1) (14/52) Purging keyutils-dev (1.6.3-r1) (15/52) Purging keyutils-libs (1.6.3-r1) (16/52) Purging libtool (2.4.7-r0) (17/52) Purging libltdl (2.4.7-r0) (18/52) Purging libxslt (1.1.35-r0) (19/52) Purging linux-headers (5.16.7-r1) (20/52) Purging tpm2-tss-dev (3.1.0-r1) (21/52) Purging tpm2-tss-fapi (3.1.0-r1) (22/52) Purging acl (2.3.1-r1) (23/52) Purging tpm2-tss-rc (3.1.0-r1) (24/52) Purging tpm2-tss-tcti-cmd (3.1.0-r1) (25/52) Purging tpm2-tss-tcti-device (3.1.0-r1) (26/52) Purging tpm2-tss-tcti-mssim (3.1.0-r1) (27/52) Purging tpm2-tss-tcti-pcap (3.1.0-r1) (28/52) Purging tpm2-tss-tcti-swtpm (3.1.0-r1) (29/52) Purging tpm2-tss-tctildr (3.1.0-r1) (30/52) Purging xxd (9.0.0124-r0) (31/52) Purging git-perl (2.37.1-r1) (32/52) Purging perl-git (2.37.1-r1) (33/52) Purging perl-error (0.17029-r1) (34/52) Purging perl (5.36.0-r0) (35/52) Purging libffi (3.4.2-r1) (36/52) Purging gdbm (1.23-r0) (37/52) Purging mpdecimal (2.5.1-r1) (38/52) Purging readline (8.1.2-r0) (39/52) Purging sqlite-libs (3.39.2-r0) (40/52) Purging libxml2 (2.9.14-r1) (41/52) Purging libgcrypt (1.10.1-r0) (42/52) Purging libgpg-error (1.45-r0) (43/52) Purging curl-dev (7.84.0-r2) (44/52) Purging nghttp2-dev (1.48.0-r1) (45/52) Purging zlib-dev (1.2.12-r1) (46/52) Purging brotli-dev (1.0.9-r7) (47/52) Purging openssl-dev (3.0.5-r1) (48/52) Purging json-c-dev (0.16-r0) (49/52) Purging json-c (0.16-r0) (50/52) Purging tpm2-tss-esys (3.1.0-r1) (51/52) Purging tpm2-tss-sys (3.1.0-r1) (52/52) Purging tpm2-tss-mu (3.1.0-r1) Executing busybox-1.35.0-r22.trigger OK: 715 MiB in 104 packages >>> ima-evm-utils: Updating the testing/x86_64 repository index... >>> ima-evm-utils: Signing the index...