>>> ima-evm-utils: Building testing/ima-evm-utils 1.3.2-r2 (using abuild 3.10.0_rc1-r2) started Fri, 14 Oct 2022 14:40:12 +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/54) Installing attr-dev (2.5.1-r1) (2/54) Installing libbz2 (1.0.8-r3) (3/54) Installing libffi (3.4.3-r0) (4/54) Installing gdbm (1.23-r0) (5/54) Installing xz-libs (5.2.7-r0) (6/54) Installing mpdecimal (2.5.1-r1) (7/54) Installing readline (8.2.0-r0) (8/54) Installing sqlite-libs (3.39.4-r0) (9/54) Installing python3 (3.10.8-r0) (10/54) Installing libxml2 (2.10.2-r1) (11/54) Installing libxml2-utils (2.10.2-r1) (12/54) Installing libgpg-error (1.46-r0) (13/54) Installing libgcrypt (1.10.1-r0) (14/54) Installing libxslt (1.1.37-r0) (15/54) Installing docbook-xml (4.5-r8) Executing docbook-xml-4.5-r8.post-install (16/54) Installing docbook-xsl (1.79.2-r4) Executing docbook-xsl-1.79.2-r4.post-install (17/54) Installing asciidoc (10.2.0-r0) (18/54) Installing m4 (1.4.19-r1) (19/54) Installing perl (5.36.0-r0) (20/54) Installing autoconf (2.71-r0) (21/54) Installing automake (1.16.5-r1) (22/54) Installing bash (5.2.2-r0) Executing bash-5.2.2-r0.post-install (23/54) Installing diffutils (3.8-r1) (24/54) Installing keyutils-libs (1.6.3-r1) (25/54) Installing keyutils-dev (1.6.3-r1) (26/54) Installing libltdl (2.4.7-r0) (27/54) Installing libtool (2.4.7-r0) (28/54) Installing linux-headers (5.19.5-r0) (29/54) Installing openssl-dev (3.0.5-r3) (30/54) Installing json-c (0.16-r0) (31/54) Installing json-c-dev (0.16-r0) (32/54) Installing nghttp2-dev (1.50.0-r0) (33/54) Installing zlib-dev (1.2.13-r0) (34/54) Installing brotli (1.0.9-r8) (35/54) Installing brotli-dev (1.0.9-r8) (36/54) Installing curl-dev (7.85.0-r0) (37/54) Installing tpm2-tss-mu (3.2.0-r0) (38/54) Installing tpm2-tss-sys (3.2.0-r0) (39/54) Installing tpm2-tss-esys (3.2.0-r0) (40/54) Installing acl (2.3.1-r1) (41/54) Installing tpm2-tss-tctildr (3.2.0-r0) (42/54) Installing tpm2-tss-fapi (3.2.0-r0) Executing tpm2-tss-fapi-3.2.0-r0.pre-install Executing tpm2-tss-fapi-3.2.0-r0.post-install (43/54) Installing tpm2-tss-rc (3.2.0-r0) (44/54) Installing tpm2-tss-tcti-cmd (3.2.0-r0) (45/54) Installing tpm2-tss-tcti-device (3.2.0-r0) (46/54) Installing tpm2-tss-tcti-mssim (3.2.0-r0) (47/54) Installing tpm2-tss-tcti-pcap (3.2.0-r0) (48/54) Installing tpm2-tss-tcti-swtpm (3.2.0-r0) (49/54) Installing tpm2-tss-dev (3.2.0-r0) (50/54) Installing xxd (9.0.0728-r0) (51/54) Installing .makedepends-ima-evm-utils (20221014.144012) (52/54) Installing perl-error (0.17029-r1) (53/54) Installing perl-git (2.38.0-r1) (54/54) Installing git-perl (2.38.0-r1) Executing busybox-1.35.0-r27.trigger OK: 459 MiB in 150 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 >>> 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... armv6-alpine-linux-musleabihf checking host system type... armv6-alpine-linux-musleabihf checking whether make supports the include directive... yes (GNU style) checking for armv6-alpine-linux-musleabihf-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 armv6-alpine-linux-musleabihf-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/armv6-alpine-linux-musleabihf/bin/ld checking if the linker (/usr/armv6-alpine-linux-musleabihf/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 armv6-alpine-linux-musleabihf file names to armv6-alpine-linux-musleabihf format... func_convert_file_noop checking how to convert armv6-alpine-linux-musleabihf file names to toolchain format... func_convert_file_noop checking for /usr/armv6-alpine-linux-musleabihf/bin/ld option to reload object files... -r checking for armv6-alpine-linux-musleabihf-file... no checking for file... file checking for armv6-alpine-linux-musleabihf-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv6-alpine-linux-musleabihf-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv6-alpine-linux-musleabihf-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv6-alpine-linux-musleabihf-strip... no checking for strip... strip checking for armv6-alpine-linux-musleabihf-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 armv6-alpine-linux-musleabihf-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/armv6-alpine-linux-musleabihf/bin/ld) 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 armv6-alpine-linux-musleabihf-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 >= 0.9.8 ... 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.32-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); | ^~~~~~~~ /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); | ^~~ /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); | ^~~ /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); | ^~~ /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); | ^~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ evmctl.c:1208:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1208 | HMAC_CTX_free(pctx); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ 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); | ^~~~~~~~~~~ /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); | ^~~~~~~~~~~ /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); | ^~~~~~~~~~ /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: 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); | ^~~~~~~~~~~~~~~~~ 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: /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); | ^~~~~~~~~~~ /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)); | ^~~~~~~~~~~ /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); | ^~~~~~~~~~ /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: /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); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ evmctl.c: In function 'main': 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); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ 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); | ^~~~~~~~~~~~ libimaevm.c: In function 'read_priv_key': evmctl.c:2694:25: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2694 | } else if (!ENGINE_init(eng)) { | ^ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ libimaevm.c:779:9: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 779 | key = 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); | ^~~~~~~~~~~~~~~~~ evmctl.c:2697:33: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2697 | ENGINE_free(eng); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ 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); | ^~~~~~~~~ /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); | ^~~~~~~~~~~ /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)); | ^~~~~~~~~~~ /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:2700:25: warning: 'ENGINE_set_default' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2700 | ENGINE_set_default(eng, 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); | ^~~~~~~~~~~~~~~~~~ libimaevm.c:861:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 861 | SHA1_Final(sighash, &ctx); | ^~~~~~~~~~ /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); | ^~~ /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); | ^~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ evmctl.c:2745:17: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2745 | ENGINE_finish(eng); | ^~~~~~~~~~~~~ /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); | ^~~~~~~~~~~ /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-r2 >>> 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-r2.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-r2.apk >>> ima-evm-utils*: Tracing dependencies... so:libc.musl-armhf.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: 152.0 KB >>> ima-evm-utils*: Compressing data... >>> ima-evm-utils*: Create checksum... >>> ima-evm-utils*: Create ima-evm-utils-1.3.2-r2.apk >>> ima-evm-utils: Build complete at Fri, 14 Oct 2022 14:40:29 +0000 elapsed time 0h 0m 17s >>> ima-evm-utils: Cleaning up srcdir >>> ima-evm-utils: Cleaning up pkgdir >>> ima-evm-utils: Uninstalling dependencies... (1/54) Purging .makedepends-ima-evm-utils (20221014.144012) (2/54) Purging attr-dev (2.5.1-r1) (3/54) Purging asciidoc (10.2.0-r0) (4/54) Purging python3 (3.10.8-r0) (5/54) Purging autoconf (2.71-r0) (6/54) Purging m4 (1.4.19-r1) (7/54) Purging automake (1.16.5-r1) (8/54) Purging bash (5.2.2-r0) Executing bash-5.2.2-r0.pre-deinstall (9/54) Purging diffutils (3.8-r1) (10/54) Purging docbook-xsl (1.79.2-r4) Executing docbook-xsl-1.79.2-r4.post-deinstall (11/54) Purging docbook-xml (4.5-r8) Executing docbook-xml-4.5-r8.post-deinstall (12/54) Purging libxml2-utils (2.10.2-r1) (13/54) Purging keyutils-dev (1.6.3-r1) (14/54) Purging keyutils-libs (1.6.3-r1) (15/54) Purging libtool (2.4.7-r0) (16/54) Purging libltdl (2.4.7-r0) (17/54) Purging libxslt (1.1.37-r0) (18/54) Purging linux-headers (5.19.5-r0) (19/54) Purging tpm2-tss-dev (3.2.0-r0) (20/54) Purging tpm2-tss-fapi (3.2.0-r0) (21/54) Purging acl (2.3.1-r1) (22/54) Purging tpm2-tss-rc (3.2.0-r0) (23/54) Purging tpm2-tss-tcti-cmd (3.2.0-r0) (24/54) Purging tpm2-tss-tcti-device (3.2.0-r0) (25/54) Purging tpm2-tss-tcti-mssim (3.2.0-r0) (26/54) Purging tpm2-tss-tcti-pcap (3.2.0-r0) (27/54) Purging tpm2-tss-tcti-swtpm (3.2.0-r0) (28/54) Purging tpm2-tss-tctildr (3.2.0-r0) (29/54) Purging xxd (9.0.0728-r0) (30/54) Purging git-perl (2.38.0-r1) (31/54) Purging perl-git (2.38.0-r1) (32/54) Purging perl-error (0.17029-r1) (33/54) Purging perl (5.36.0-r0) (34/54) Purging libbz2 (1.0.8-r3) (35/54) Purging libffi (3.4.3-r0) (36/54) Purging gdbm (1.23-r0) (37/54) Purging libxml2 (2.10.2-r1) (38/54) Purging xz-libs (5.2.7-r0) (39/54) Purging mpdecimal (2.5.1-r1) (40/54) Purging readline (8.2.0-r0) (41/54) Purging sqlite-libs (3.39.4-r0) (42/54) Purging libgcrypt (1.10.1-r0) (43/54) Purging libgpg-error (1.46-r0) (44/54) Purging curl-dev (7.85.0-r0) (45/54) Purging nghttp2-dev (1.50.0-r0) (46/54) Purging zlib-dev (1.2.13-r0) (47/54) Purging brotli-dev (1.0.9-r8) (48/54) Purging brotli (1.0.9-r8) (49/54) Purging openssl-dev (3.0.5-r3) (50/54) Purging json-c-dev (0.16-r0) (51/54) Purging json-c (0.16-r0) (52/54) Purging tpm2-tss-esys (3.2.0-r0) (53/54) Purging tpm2-tss-sys (3.2.0-r0) (54/54) Purging tpm2-tss-mu (3.2.0-r0) Executing busybox-1.35.0-r27.trigger OK: 330 MiB in 96 packages >>> ima-evm-utils: Updating the testing/armhf repository index... >>> ima-evm-utils: Signing the index...