==> Building on q ==> Ensuring required PGP keys are present...  -> Checking for 5B482B8E3E19DA7C978E1D016DE2E9078E1F50C1...  -> Checking for 6313E6DC41AAFC315A8760A414986F6944B1F72B... ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/tpm2-tools ./ PKGBUILD 1,371 100% 0.00kB/s 0:00:00 1,371 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) tpm2-tools-5.2-1.log 471 100% 459.96kB/s 0:00:00 471 100% 459.96kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,288 bytes received 99 bytes 924.67 bytes/sec total size is 1,792 speedup is 1.29 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix15 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix15]...done ==> Making package: tpm2-tools 5.2-1 (Wed Jun 8 20:34:10 2022) ==> Retrieving sources...  -> Downloading tpm2-tools-5.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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1046k 100 1046k 0 0 1038k 0 0:00:01 0:00:01 --:--:-- 1038k  -> Downloading tpm2-tools-5.2.tar.gz.asc... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 833 100 833 0 0 1605 0 --:--:-- --:--:-- --:--:-- 20317 ==> Validating source files with sha512sums... tpm2-tools-5.2.tar.gz ... Passed tpm2-tools-5.2.tar.gz.asc ... Skipped ==> Verifying source file signatures with gpg... tpm2-tools-5.2.tar.gz ... Passed ==> Making package: tpm2-tools 5.2-1 (Wed Jun 8 20:34:27 2022) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (2) New Version Net Change core/json-c 0.16-1 0.16 MiB core/tpm2-tss 3.2.0-1 2.40 MiB Total Installed Size: 2.56 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing json-c... installing tpm2-tss... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25l:: There are 2 providers available for xxd: :: Repository extra 1) gvim 2) vim Enter a number (default=1): resolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: harfbuzz will be installed before its freetype2 dependency warning: dependency cycle detected: warning: libglvnd will be installed before its mesa dependency Package (130) New Version Net Change Download Size extra/adobe-source-code-pro-fonts 2.038ro+1.058it+1.018var-1 1.86 MiB extra/adwaita-icon-theme 42.0+r1+gc144c3d75-1 16.33 MiB extra/alsa-lib 1.2.6.1-1 1.50 MiB extra/alsa-topology-conf 1.2.5.1-1 0.33 MiB extra/alsa-ucm-conf 1.2.6.3-1 0.20 MiB core/argon2 20190702-4 0.08 MiB extra/at-spi2-atk 2.38.0-1 0.17 MiB extra/at-spi2-core 2.44.1-1 2.18 MiB extra/atk 2.38.0-1 3.59 MiB extra/avahi 0.8+22+gfd482a7-3 1.70 MiB extra/cairo 1.17.6-2 3.10 MiB extra/cantarell-fonts 1:0.303.1-1 0.19 MiB core/cryptsetup 2.4.3-2 2.24 MiB core/dbus 1.14.0-1 0.77 MiB extra/dconf 0.40.0-1 0.42 MiB extra/desktop-file-utils 0.26-2 0.18 MiB core/device-mapper 2.03.16-1 0.74 MiB extra/flac 1.3.4-2 0.94 MiB extra/fontconfig 2:2.14.0-1 0.97 MiB extra/freetype2 2.12.1-1 1.47 MiB extra/fribidi 1.0.12-1 0.20 MiB extra/fuse-common 3.11.0-1 0.00 MiB extra/fuse2 2.9.9-4 0.40 MiB extra/gdk-pixbuf2 2.42.8-1 2.92 MiB extra/glib-networking 1:2.72.0-1 0.59 MiB core/gpm 1.20.7.r38.ge82d1a6-4 0.33 MiB extra/graphite 1:1.3.14-2 0.63 MiB extra/gsettings-desktop-schemas 42.0-1 4.63 MiB extra/gtk-update-icon-cache 1:4.6.5-1 0.03 MiB extra/gtk3 1:3.24.34-1 47.81 MiB extra/harfbuzz 4.3.0-1 5.42 MiB extra/hicolor-icon-theme 0.17-2 0.05 MiB core/hwdata 0.360-1 2.00 MiB core/iptables 1:1.8.8-1 1.74 MiB extra/iso-codes 4.10.0-1 18.19 MiB extra/json-glib 1.6.6-2 0.92 MiB core/kbd 2.5.0-1 2.88 MiB core/kmod 29-3 0.24 MiB extra/lcms2 2.13.1-1 0.58 MiB extra/libasyncns 1:0.8+r3+g68cd5af-1 0.04 MiB core/libbpf 0.7.0-1 0.62 MiB extra/libcanberra 1:0.30+r2+gc0620e4-1 0.36 MiB extra/libcloudproviders 0.3.1-2 0.46 MiB extra/libcolord 1.4.6-1 1.20 MiB extra/libcups 1:2.4.2-1 0.74 MiB extra/libdaemon 0.14-5 0.05 MiB extra/libdatrie 0.2.13-1 0.05 MiB extra/libdrm 2.4.111-1 0.76 MiB core/libedit 20210910_3.1-1 0.23 MiB extra/libepoxy 1.5.9-1 3.17 MiB extra/libglvnd 1.4.0-2 3.69 MiB extra/libice 1.0.10-4 0.33 MiB extra/libjpeg-turbo 2.1.3-2 1.36 MiB core/libmnl 1.0.5-1 0.03 MiB core/libnetfilter_conntrack 1.0.9-1 0.14 MiB core/libnfnetlink 1.0.2-1 0.04 MiB core/libnftnl 1.2.1-1 0.22 MiB core/libnl 3.6.0-3 1.68 MiB core/libnsl 2.0.0-2 0.06 MiB extra/libogg 1.3.5-1 0.43 MiB extra/libomxil-bellagio 0.9.3-3 0.53 MiB core/libpcap 1.10.1-2 0.55 MiB extra/libpciaccess 0.16-3 0.05 MiB extra/libpng 1.6.37-3 0.46 MiB extra/libproxy 0.4.17-7 0.20 MiB extra/libpulse 15.0-4 1.30 MiB extra/librsvg 2:2.54.3-1 12.74 MiB extra/libsm 1.2.3-3 0.25 MiB extra/libsndfile 1.1.0-2 0.87 MiB extra/libsoup 2.74.2-2 4.85 MiB extra/libsoup3 3.0.6-1 3.53 MiB extra/libstemmer 2.2.0-2 0.80 MiB extra/libthai 0.1.29-1 0.64 MiB extra/libtiff 4.3.0-2 2.59 MiB community/libtpms 0.9.4-1 0.84 MiB extra/libunwind 1.6.2-1 0.21 MiB core/libusb 1.0.26-1 0.18 MiB extra/libvorbis 1.3.7-3 1.36 MiB extra/libx11 1.8-1 9.90 MiB extra/libxau 1.0.9-4 0.02 MiB extra/libxcb 1.15-1 3.59 MiB extra/libxcomposite 0.4.5-4 0.02 MiB extra/libxcursor 1.2.1-1 0.06 MiB extra/libxdamage 1.1.5-4 0.01 MiB extra/libxdmcp 1.1.3-4 0.12 MiB extra/libxext 1.3.4-4 0.29 MiB extra/libxfixes 6.0.0-1 0.03 MiB extra/libxft 2.3.4-1 0.09 MiB extra/libxi 1.8-1 0.46 MiB extra/libxinerama 1.1.4-4 0.02 MiB extra/libxkbcommon 1.4.1-1 0.70 MiB extra/libxrandr 1.5.2-4 0.06 MiB extra/libxrender 0.9.10-5 0.06 MiB extra/libxshmfence 1.3-3 0.01 MiB extra/libxt 1.2.1-1 1.91 MiB extra/libxtst 1.2.3-5 0.11 MiB extra/libxxf86vm 1.1.4-5 0.03 MiB extra/libyaml 0.2.5-1 0.14 MiB extra/llvm-libs 13.0.1-2.2 85.80 MiB extra/lm_sensors 1:3.6.0.r41.g31d1f125-1 0.42 MiB core/lzo 2.10-3 0.34 MiB extra/mesa 22.1.1-1 39.61 MiB extra/opus 1.3.1-3 0.48 MiB extra/pango 1:1.50.7-1 2.17 MiB extra/pixman 0.40.0-2 0.40 MiB core/popt 1.18-3 0.53 MiB core/procps-ng 3.3.17-1 1.43 MiB core/python 3.10.1-2 79.11 MiB extra/rest 0.8.1+r4+ge5ee6ef-1 0.83 MiB extra/shared-mime-info 2.0+144+g13695c7-1 4.46 MiB extra/sound-theme-freedesktop 0.8-5 0.45 MiB extra/speex 1.2.0-3 0.58 MiB extra/speexdsp 1.2.0-2 0.51 MiB core/systemd 250.3-4 25.81 MiB extra/tcl 8.6.12-3 6.30 MiB extra/tdb 1.4.6-1 0.19 MiB extra/tracker3 3.3.0-2 3.15 MiB extra/vim-runtime 8.2.5046-1 32.78 MiB extra/vulkan-icd-loader 1.3.213-1 0.41 MiB extra/wayland 1.20.0-2 0.72 MiB extra/xcb-proto 1.15-1 0.88 MiB extra/xkeyboard-config 2.36-1 6.52 MiB extra/xorgproto 2022.1-1 1.43 MiB community/cmocka 1.1.5-2 0.11 MiB extra/expect 5.45.4-2 0.35 MiB extra/gvim 8.2.5046-1 4.20 MiB 2.14 MiB core/iproute2 5.18.0-1 2.58 MiB community/python-yaml 6.0-1 0.68 MiB community/swtpm 0.7.3-1 0.41 MiB community/tpm2-abrmd 2.4.1-1 0.28 MiB Total Download Size: 2.14 MiB Total Installed Size: 497.65 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... gvim-8.2.5046-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing cmocka... installing tcl... installing expect... installing libmnl... installing libnftnl... installing libnl... installing dbus... installing libpcap... installing libnfnetlink... installing libnetfilter_conntrack... installing iptables... installing libbpf... installing iproute2... Optional dependencies for iproute2 db: userspace arp daemon [installed] libcap: tipc [installed] linux-atm: ATM support installing libyaml... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-yaml... installing fuse-common... installing fuse2... installing json-glib... installing libtpms... installing swtpm... installing tpm2-abrmd... installing vim-runtime... Optional dependencies for vim-runtime sh: support for some tools and macros [installed] python: demoserver example tool [installed] gawk: mve tools upport [installed] installing procps-ng... installing gpm... installing libice... installing libsm... installing xcb-proto... installing libxdmcp... installing libxau... installing libxcb... installing xorgproto... installing libx11... installing libxt... installing atk... installing lzo... installing libpng... installing graphite... installing harfbuzz... Optional dependencies for harfbuzz cairo: hb-view program [pending] chafa: hb-view program installing freetype2... installing fontconfig... Creating fontconfig configuration... Rebuilding fontconfig cache... installing libxext... installing libxrender... installing pixman... installing cairo... installing libxfixes... installing libxcursor... Optional dependencies for libxcursor gnome-themes-standard: fallback icon theme installing libxinerama... installing libxrandr... installing libxi... installing libepoxy... installing libjpeg-turbo... Optional dependencies for libjpeg-turbo java-runtime>11: for TurboJPEG Java wrapper installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt installing shared-mime-info... installing gdk-pixbuf2... Optional dependencies for gdk-pixbuf2 libwmf: Load .wmf and .apm libopenraw: Load .dng, .cr2, .crw, .nef, .orf, .pef, .arw, .erf, .mrw, and .raf libavif: Load .avif libheif: Load .heif, .heic, and .avif libjxl: Load .jxl librsvg: Load .svg, .svgz, and .svg.gz [pending] webp-pixbuf-loader: Load .webp installing dconf... installing libxcomposite... installing libxdamage... installing libdatrie... installing libthai... installing libxft... installing fribidi... installing pango... installing libxtst... installing device-mapper... installing popt... installing argon2... installing cryptsetup... installing kbd... installing kmod... installing hwdata... installing systemd... warning: directory permissions differ on /var/log/journal/ filesystem: 755 package: 2755 Creating group 'sys' with GID 3. Creating group 'mem' with GID 8. Creating group 'ftp' with GID 11. Creating group 'mail' with GID 12. Creating group 'log' with GID 19. Creating group 'smmsp' with GID 25. Creating group 'proc' with GID 26. Creating group 'games' with GID 50. Creating group 'lock' with GID 54. Creating group 'network' with GID 90. Creating group 'floppy' with GID 94. Creating group 'scanner' with GID 96. Creating group 'power' with GID 98. Creating group 'nobody' with GID 65534. Creating group 'adm' with GID 999. Creating group 'wheel' with GID 998. Creating group 'utmp' with GID 997. Creating group 'audio' with GID 996. Creating group 'disk' with GID 995. Creating group 'input' with GID 994. Creating group 'kmem' with GID 993. Creating group 'kvm' with GID 992. Creating group 'lp' with GID 991. Creating group 'optical' with GID 990. Creating group 'render' with GID 989. Creating group 'sgx' with GID 988. Creating group 'storage' with GID 987. Creating group 'tty' with GID 5. Creating group 'uucp' with GID 986. Creating group 'video' with GID 985. Creating group 'users' with GID 984. Creating group 'systemd-journal' with GID 983. Creating group 'rfkill' with GID 982. Creating group 'bin' with GID 1. Creating user 'bin' (n/a) with UID 1 and GID 1. Creating group 'daemon' with GID 2. Creating user 'daemon' (n/a) with UID 2 and GID 2. Creating user 'mail' (n/a) with UID 8 and GID 12. Creating user 'ftp' (n/a) with UID 14 and GID 11. Creating group 'http' with GID 33. Creating user 'http' (n/a) with UID 33 and GID 33. Creating user 'nobody' (Nobody) with UID 65534 and GID 65534. Creating group 'dbus' with GID 81. Creating user 'dbus' (System Message Bus) with UID 81 and GID 81. Creating group 'tss' with GID 981. Creating user 'tss' (tss user for tpm2) with UID 981 and GID 981. Creating group 'systemd-coredump' with GID 980. Creating user 'systemd-coredump' (systemd Core Dumper) with UID 980 and GID 980. Creating group 'systemd-network' with GID 979. Creating user 'systemd-network' (systemd Network Management) with UID 979 and GID 979. Creating group 'systemd-oom' with GID 978. Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 978 and GID 978. Creating group 'systemd-journal-remote' with GID 977. Creating user 'systemd-journal-remote' (systemd Journal Remote) with UID 977 and GID 977. Creating group 'systemd-resolve' with GID 976. Creating user 'systemd-resolve' (systemd Resolver) with UID 976 and GID 976. Creating group 'systemd-timesync' with GID 975. Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 975 and GID 975. Creating group 'uuidd' with GID 68. Creating user 'uuidd' (n/a) with UID 68 and GID 68. Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target. Optional dependencies for systemd libmicrohttpd: remote journald capabilities quota-tools: kernel-level quota management systemd-sysvcompat: symlink package to provide sysvinit binaries polkit: allow administration as unprivileged user curl: machinectl pull-tar and pull-raw [installed] libfido2: unlocking LUKS2 volumes with FIDO2 token installing at-spi2-core... Optional dependencies for at-spi2-core dbus-broker: Alternative bus implementation installing at-spi2-atk... installing wayland... installing xkeyboard-config... installing libxkbcommon... Optional dependencies for libxkbcommon libxkbcommon-x11: xkbcli interactive-x11 wayland: xkbcli interactive-wayland [installed] installing hicolor-icon-theme... installing librsvg... installing gtk-update-icon-cache... installing adwaita-icon-theme... installing desktop-file-utils... installing libpciaccess... installing libdrm... installing libxxf86vm... installing libxshmfence... installing libomxil-bellagio... installing libunwind... installing libedit... installing llvm-libs... installing lm_sensors... Optional dependencies for lm_sensors rrdtool: for logging with sensord perl: for sensor detection and configuration convert [installed] installing libglvnd... installing vulkan-icd-loader... Optional dependencies for vulkan-icd-loader vulkan-driver: packaged vulkan driver installing mesa... Optional dependencies for mesa opengl-man-pages: for the OpenGL API man pages mesa-vdpau: for accelerated video playback libva-mesa-driver: for accelerated video playback installing cantarell-fonts... installing lcms2... installing libcolord... installing libproxy... Optional dependencies for libproxy networkmanager: NetworkManager configuration module perl: Perl bindings [installed] python: Python 3.x bindings [installed] libproxy-webkit: PAC proxy support (via WebKit) installing adobe-source-code-pro-fonts... installing gsettings-desktop-schemas... installing glib-networking... installing libsoup... Optional dependencies for libsoup samba: Windows Domain SSO installing rest... installing libdaemon... installing avahi... Optional dependencies for avahi gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc [pending] qt5-base: qt5 bindings libevent: libevent bindings nss-mdns: NSS support for mDNS python-twisted: avahi-bookmarks python-gobject: avahi-bookmarks, avahi-discover python-dbus: avahi-bookmarks, avahi-discover installing libusb... installing libcups... installing iso-codes... installing libcloudproviders... installing libstemmer... installing libsoup3... Optional dependencies for libsoup3 samba: Windows Domain SSO installing tracker3... Optional dependencies for tracker3 libsoup: Alternative remoting backend [installed] installing gtk3... Optional dependencies for gtk3 evince: Default print preview command installing libogg... installing libvorbis... installing alsa-topology-conf... installing alsa-ucm-conf... installing alsa-lib... installing libasyncns... installing opus... installing speexdsp... installing speex... installing flac... installing libsndfile... Optional dependencies for libsndfile alsa-lib: for sndfile-play [installed] installing libpulse... Optional dependencies for libpulse glib2: mainloop integration [installed] installing tdb... Optional dependencies for tdb python: for python bindings [installed] installing sound-theme-freedesktop... installing libcanberra... installing gvim... Optional dependencies for gvim python: Python language support [installed] ruby: Ruby language support lua: Lua language support perl: Perl language support [installed] tcl: Tcl language support [installed] :: Running post-transaction hooks... ( 1/20) Creating system user accounts... Creating group 'avahi' with GID 974. Creating user 'avahi' (Avahi mDNS/DNS-SD daemon) with UID 974 and GID 974. ( 2/20) Updating journal message catalog... ( 3/20) Reloading system manager configuration... Skipped: Current root is not booted. ( 4/20) Updating udev hardware database... ( 5/20) Applying kernel sysctl settings... Skipped: Current root is not booted. ( 6/20) Creating temporary files... Failed to adjust quota for subvolume "/var/lib/portables": Function not implemented Failed to adjust quota for subvolume "/var/lib/machines": Function not implemented error: command failed to execute correctly ( 7/20) Reloading device manager configuration... Skipped: Device manager is not running. ( 8/20) Arming ConditionNeedsUpdate... ( 9/20) Updating the MIME type database... (10/20) Updating fontconfig configuration... (11/20) Reloading system bus configuration... Skipped: Current root is not booted. (12/20) Warn about old perl modules (13/20) Updating fontconfig cache... (14/20) Probing GDK-Pixbuf loader modules... (15/20) Updating GIO module cache... (16/20) Compiling GSettings XML schema files... (17/20) Probing GTK3 input method modules... (18/20) Updating icon theme caches... (19/20) Updating the info directory file... (20/20) Updating the desktop file MIME type cache... [?25h==> Retrieving sources...  -> Found tpm2-tools-5.2.tar.gz  -> Found tpm2-tools-5.2.tar.gz.asc ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting tpm2-tools-5.2.tar.gz with bsdtar ==> Starting build()... checking whether to enable debugging... no checking for 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether ln -s works... yes checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/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... 1572864 checking how to convert riscv64-unknown-linux-gnu file names to riscv64-unknown-linux-gnu format... func_convert_file_noop checking how to convert riscv64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes 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/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... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking whether make supports nested variables... (cached) yes checking whether to build with code coverage support... no checking for pandoc... no configure: WARNING: Required executable pandoc not found, man pages will not be built checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for TSS2_FAPI... yes checking for TSS2_FAPI_3_0... yes checking for TSS2_ESYS_3_0... yes checking for TSS2_TCTILDR... yes checking for TSS2_MU... yes checking for TSS2_RC... yes checking for TSS2_SYS... yes checking for CRYPTO... yes checking for CURL... yes checking for EFIVAR... no checking efivar/efivar.h usability... no checking efivar/efivar.h presence... no checking for efivar/efivar.h... no checking for CMOCKA... yes checking for tpm2-abrmd... yes checking for swtpm... yes checking for tpm_server... no checking for bash... yes checking for python... /usr/bin/python checking for python version... 3.1 checking for python platform... linux checking for python script directory... ${prefix}/lib/python3.10/site-packages checking for python extension module directory... ${exec_prefix}/lib/python3.10/site-packages checking for module yaml in /usr/bin/python... found checking for xxd... yes checking for ss... yes checking for shasum... yes checking for mktemp... yes checking for expect... yes checking for openssl... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -Wformat... yes checking whether C compiler accepts -Wformat-security... yes checking whether C compiler accepts -Wstack-protector... yes checking whether C compiler accepts -fstack-protector-all... yes checking whether C compiler accepts -Wstrict-overflow=5... yes checking whether C compiler accepts -O2... yes checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS... no checking whether C compiler accepts -fPIC... yes checking whether the linker accepts -shared... yes checking whether C compiler accepts -fPIE... yes checking whether the linker accepts -pie... yes checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether C compiler accepts -D_GNU_SOURCE... yes checking whether C compiler accepts -std=gnu99... yes checking whether C compiler accepts -Wstringop-overflow=4... yes checking whether C compiler accepts -Wstringop-truncation... yes checking whether C compiler accepts -Wduplicated-branches... yes checking whether C compiler accepts -Wduplicated-cond... yes checking whether C compiler accepts -Wbool-compare... yes checking whether C compiler accepts -fdata-sections... yes checking whether C compiler accepts -ffunction-sections... yes checking whether the linker accepts -Wl,--gc-sections... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/config.h config.status: executing libtool commands config.status: executing depfiles commands - tpm2-tools: 5.2 - Man pages: no - Unit tests: yes - tpm2_abrmd: yes - TPM simulator: swtpm - bash: yes - python: /usr/bin/python - xxd: yes - ss: yes - shasum: yes - mktemp: yes - expect: yes - openssl: yes CC tools/fapi/tss2-tss2_encrypt.o CC tools/fapi/tss2-tss2_changeauth.o CC tools/fapi/tss2-tss2_delete.o CC tools/fapi/tss2-tss2_gettpmblobs.o CC tools/fapi/tss2-tss2_createkey.o CC tools/fapi/tss2-tss2_list.o CC tools/fapi/tss2-tss2_template.o CC tools/fapi/tss2-tss2_getplatformcertificates.o CC tools/fapi/tss2-tss2_decrypt.o CC tools/fapi/tss2-tss2_getinfo.o CC tools/fapi/tss2-tss2_getcertificate.o CC tools/fapi/tss2-tss2_getappdata.o CC tools/fapi/tss2-tss2_createseal.o CC tools/fapi/tss2-tss2_exportkey.o CC tools/fapi/tss2-tss2_import.o CC tools/fapi/tss2-tss2_setappdata.o CC tools/fapi/tss2-tss2_verifysignature.o CC tools/fapi/tss2-tss2_sign.o CC tools/fapi/tss2-tss2_setcertificate.o CC tools/fapi/tss2-tss2_createnv.o CC tools/fapi/tss2-tss2_verifyquote.o CC tools/fapi/tss2-tss2_nvextend.o CC tools/fapi/tss2-tss2_nvincrement.o CC tools/fapi/tss2-tss2_nvread.o CC tools/fapi/tss2-tss2_nvsetbits.o CC tools/fapi/tss2-tss2_nvwrite.o CC tools/fapi/tss2-tss2_setdescription.o CC tools/fapi/tss2-tss2_getdescription.o CC tools/fapi/tss2-tss2_pcrextend.o CC tools/fapi/tss2-tss2_quote.o CC tools/fapi/tss2-tss2_pcrread.o CC tools/fapi/tss2-tss2_authorizepolicy.o CC tools/fapi/tss2-tss2_exportpolicy.o CC tools/fapi/tss2-tss2_provision.o CC tools/fapi/tss2-tss2_getrandom.o CC tools/fapi/tss2-tss2_unseal.o CC tools/fapi/tss2-tss2_writeauthorizenv.o CC lib/libcommon_a-files.o CC lib/libcommon_a-log.o CC lib/libcommon_a-object.o CC lib/libcommon_a-pcr.o CC lib/libcommon_a-tool_rc.o CC lib/libcommon_a-tpm2.o CC lib/libcommon_a-tpm2_alg_util.o CC lib/libcommon_a-tpm2_attr_util.o CC lib/libcommon_a-tpm2_auth_util.o CC lib/libcommon_a-tpm2_capability.o CC lib/libcommon_a-tpm2_cc_util.o CC lib/libcommon_a-tpm2_convert.o CC lib/libcommon_a-tpm2_ctx_mgmt.o CC lib/libcommon_a-tpm2_errata.o CC lib/libcommon_a-tpm2_eventlog.o CC lib/libcommon_a-tpm2_eventlog_yaml.o CC lib/libcommon_a-tpm2_hash.o CC lib/libcommon_a-tpm2_hierarchy.o CC lib/libcommon_a-tpm2_identity_util.o CC lib/libcommon_a-tpm2_kdfa.o CC lib/libcommon_a-tpm2_kdfe.o CC lib/libcommon_a-tpm2_openssl.o CC lib/libcommon_a-tpm2_options.o CC lib/libcommon_a-tpm2_policy.o CC lib/libcommon_a-tpm2_session.o CC lib/libcommon_a-tpm2_tool_output.o CC lib/libcommon_a-tpm2_util.o CC tools/tpm2-tpm2_tool.o CC tools/misc/tpm2-tpm2_certifyX509certutil.o CC tools/misc/tpm2-tpm2_checkquote.o CC tools/misc/tpm2-tpm2_eventlog.o CC tools/misc/tpm2-tpm2_print.o CC tools/misc/tpm2-tpm2_rc_decode.o CC tools/tpm2-tpm2_activatecredential.o CC tools/tpm2-tpm2_certify.o CC tools/tpm2-tpm2_changeauth.o CC tools/tpm2-tpm2_changepps.o CC tools/tpm2-tpm2_changeeps.o CC tools/tpm2-tpm2_clear.o CC tools/tpm2-tpm2_clearcontrol.o CC tools/tpm2-tpm2_clockrateadjust.o CC tools/tpm2-tpm2_createak.o CC tools/tpm2-tpm2_create.o CC tools/tpm2-tpm2_createek.o CC tools/tpm2-tpm2_createpolicy.o CC tools/tpm2-tpm2_setprimarypolicy.o CC tools/tpm2-tpm2_createprimary.o CC tools/tpm2-tpm2_dictionarylockout.o CC tools/tpm2-tpm2_getcap.o CC tools/tpm2-tpm2_duplicate.o CC tools/tpm2-tpm2_gettestresult.o CC tools/tpm2-tpm2_encryptdecrypt.o CC tools/tpm2-tpm2_evictcontrol.o CC tools/tpm2-tpm2_flushcontext.o CC tools/tpm2-tpm2_getekcertificate.o CC tools/tpm2-tpm2_getrandom.o CC tools/tpm2-tpm2_gettime.o CC tools/tpm2-tpm2_hash.o CC tools/tpm2-tpm2_hierarchycontrol.o CC tools/tpm2-tpm2_hmac.o CC tools/tpm2-tpm2_import.o CC tools/tpm2-tpm2_incrementalselftest.o CC tools/tpm2-tpm2_load.o CC tools/tpm2-tpm2_loadexternal.o CC tools/tpm2-tpm2_makecredential.o CC tools/tpm2-tpm2_nvdefine.o CC tools/tpm2-tpm2_nvextend.o CC tools/tpm2-tpm2_nvincrement.o CC tools/tpm2-tpm2_nvreadpublic.o CC tools/tpm2-tpm2_nvread.o CC tools/tpm2-tpm2_nvreadlock.o CC tools/tpm2-tpm2_nvundefine.o CC tools/tpm2-tpm2_nvwrite.o CC tools/tpm2-tpm2_nvwritelock.o CC tools/tpm2-tpm2_nvsetbits.o CC tools/tpm2-tpm2_pcrallocate.o CC tools/tpm2-tpm2_pcrevent.o CC tools/tpm2-tpm2_pcrextend.o CC tools/tpm2-tpm2_pcrread.o CC tools/tpm2-tpm2_pcrreset.o CC tools/tpm2-tpm2_policypcr.o CC tools/tpm2-tpm2_policyauthorize.o CC tools/tpm2-tpm2_policyauthorizenv.o CC tools/tpm2-tpm2_policynv.o CC tools/tpm2-tpm2_policycountertimer.o CC tools/tpm2-tpm2_policyor.o CC tools/tpm2-tpm2_policynamehash.o CC tools/tpm2-tpm2_policytemplate.o CC tools/tpm2-tpm2_policycphash.o CC tools/tpm2-tpm2_policypassword.o CC tools/tpm2-tpm2_policyticket.o CC tools/tpm2-tpm2_policysigned.o CC tools/tpm2-tpm2_policyauthvalue.o CC tools/tpm2-tpm2_policyrestart.o CC tools/tpm2-tpm2_policysecret.o CC tools/tpm2-tpm2_policycommandcode.o CC tools/tpm2-tpm2_policynvwritten.o CC tools/tpm2-tpm2_policyduplicationselect.o CC tools/tpm2-tpm2_quote.o CC tools/tpm2-tpm2_policylocality.o CC tools/tpm2-tpm2_readclock.o CC tools/tpm2-tpm2_readpublic.o CC tools/tpm2-tpm2_rsadecrypt.o CC tools/tpm2-tpm2_rsaencrypt.o CC tools/tpm2-tpm2_send.o CC tools/tpm2-tpm2_selftest.o CC tools/tpm2-tpm2_setclock.o CC tools/tpm2-tpm2_shutdown.o CC tools/tpm2-tpm2_sign.o CC tools/tpm2-tpm2_certifycreation.o CC tools/tpm2-tpm2_nvcertify.o CC tools/tpm2-tpm2_startauthsession.o CC tools/tpm2-tpm2_startup.o CC tools/tpm2-tpm2_stirrandom.o CC tools/tpm2-tpm2_testparms.o CC tools/tpm2-tpm2_unseal.o CC tools/tpm2-tpm2_verifysignature.o CC tools/tpm2-tpm2_setcommandauditstatus.o CC tools/tpm2-tpm2_getcommandauditdigest.o CC tools/tpm2-tpm2_ecephemeral.o CC tools/tpm2-tpm2_geteccparameters.o CC tools/tpm2-tpm2_getsessionauditdigest.o CC tools/tpm2-tpm2_commit.o CC tools/tpm2-tpm2_ecdhkeygen.o CC tools/tpm2-tpm2_ecdhzgen.o CC tools/tpm2-tpm2_zgen2phase.o CC tools/tpm2-tpm2_sessionconfig.o CC tools/tpm2-tpm2_getpolicydigest.o AR lib/libcommon.a ar: `u' modifier ignored since `D' is the default (see `U') CCLD tools/fapi/tss2 CCLD tools/tpm2 lib/tpm2_options.c: In function 'tpm2_handle_options': lib/tpm2_options.c:155:13: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 155 | strncat(man_tool_name, manpage, | ^ In function 'execute_man', inlined from 'tpm2_handle_options' at lib/tpm2_options.c:521:28: lib/tpm2_options.c:156:17: note: length computed here 156 | strlen(manpage) < (MAX_TOOL_NAME_LEN - strlen("tpm2_")) ? | ^ lib/tpm2_attr_util.c: In function 'nt': lib/tpm2_attr_util.c:224:18: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] 224 | *nv |= value << 4; | ^ lib/tpm2_attr_util.c:205:14: note: 'value' was declared here 205 | uint16_t value; | ^ ==> Starting check()... make test/unit/test_string_bytes test/unit/test_files test/unit/test_tpm2_header test/unit/test_tpm2_attr_util test/unit/test_tpm2_alg_util test/unit/test_pcr test/unit/test_tpm2_auth_util test/unit/test_tpm2_errata test/unit/test_tpm2_session test/unit/test_tpm2_policy test/unit/test_tpm2_util test/unit/test_options test/unit/test_cc_util test/unit/test_tpm2_eventlog test/unit/test_tpm2_eventlog_yaml make[1]: Entering directory '/build/tpm2-tools/src/tpm2-tools-5.2' CC test/unit/test_string_bytes-test_string_bytes.o CC test/unit/test_files-test_files.o CC test/unit/test_tpm2_alg_util-test_tpm2_alg_util.o CC test/unit/test_tpm2_header-test_tpm2_header.o CC test/unit/test_tpm2_attr_util-test_tpm2_attr_util.o CC test/unit/test_tpm2_util-test_tpm2_util.o CC test/unit/test_pcr-test_pcr.o CC test/unit/test_tpm2_eventlog_yaml-test_tpm2_eventlog_yaml.o CC test/unit/test_tpm2_eventlog-test_tpm2_eventlog.o CC test/unit/test_options-test_options.o CC test/unit/test_tpm2_policy-test_tpm2_policy.o CC test/unit/test_tpm2_errata-test_tpm2_errata.o CC test/unit/test_tpm2_auth_util-test_tpm2_auth_util.o CC test/unit/test_tpm2_session-test_tpm2_session.o CC test/unit/test_cc_util-test_cc_util.o CCLD test/unit/test_string_bytes CCLD test/unit/test_tpm2_header CCLD test/unit/test_pcr CCLD test/unit/test_files CCLD test/unit/test_tpm2_eventlog CCLD test/unit/test_tpm2_eventlog_yaml CCLD test/unit/test_tpm2_errata CCLD test/unit/test_cc_util CCLD test/unit/test_tpm2_policy CCLD test/unit/test_options CCLD test/unit/test_tpm2_util CCLD test/unit/test_tpm2_session CCLD test/unit/test_tpm2_attr_util CCLD test/unit/test_tpm2_auth_util CCLD test/unit/test_tpm2_alg_util lib/tpm2_options.c: In function 'tpm2_handle_options.constprop': lib/tpm2_options.c:155:13: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 155 | strncat(man_tool_name, manpage, | ^ In function 'execute_man', inlined from 'tpm2_handle_options.constprop' at lib/tpm2_options.c:521:28: lib/tpm2_options.c:156:17: note: length computed here 156 | strlen(manpage) < (MAX_TOOL_NAME_LEN - strlen("tpm2_")) ? | ^ /usr/bin/ld: /tmp/ccNBaltN.ltrans0.ltrans.o: in function `.L62': :(.text.tpm2_handle_options.constprop.0+0x518): undefined reference to `__wrap_tpm2_util_getenv' /usr/bin/ld: /tmp/ccNBaltN.ltrans0.ltrans.o: in function `.L0 ': :(.text.tpm2_handle_options.constprop.0+0x560): undefined reference to `__wrap_tpm2_util_getenv' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:2038: test/unit/test_options] Error 1 make[1]: *** Waiting for unfinished jobs.... lib/tpm2_attr_util.c: In function 'nt': lib/tpm2_attr_util.c:224:18: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] 224 | *nv |= value << 4; | ^ lib/tpm2_attr_util.c:205:14: note: 'value' was declared here 205 | uint16_t value; | ^ /usr/bin/ld: /tmp/ccKei5iR.ltrans0.ltrans.o: in function `.L0 ': :(.text.test_session_setup+0x1a): warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[1]: Leaving directory '/build/tpm2-tools/src/tpm2-tools-5.2' make: *** [Makefile:5733: check-am] Error 2 ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix15/build receiving incremental file list tpm2-tools-5.2-1-riscv64-build.log tpm2-tools-5.2-1-riscv64-check.log sent 62 bytes received 4,675 bytes 3,158.00 bytes/sec total size is 18,491 speedup is 3.90