Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/tpm2-algtest.spec'], chrootPath='/var/lib/mock/rhel+epel-8-aarch64-1681905622.087688/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yc4sy3rn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yc4sy3rn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '516a464f235f44bfb6419b6c4aabfbb2', '-D', '/var/lib/mock/rhel+epel-8-aarch64-1681905622.087688/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yc4sy3rn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/tpm2-algtest.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/tpm2-algtest-0.5.7-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/tpm2-algtest.spec'], chrootPath='/var/lib/mock/rhel+epel-8-aarch64-1681905622.087688/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yc4sy3rn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yc4sy3rn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ffb9d12421014f71b37bbc34ddc2e960', '-D', '/var/lib/mock/rhel+epel-8-aarch64-1681905622.087688/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yc4sy3rn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/tpm2-algtest.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ne4q9Q + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tpm2-algtest + /usr/bin/gzip -dc /builddir/build/SOURCES/tpm2-algtest-3ecb39c6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tpm2-algtest + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rewrite-the-walrus-operator.patch):' Patch #0 (rewrite-the-walrus-operator.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file run_algtest.py + echo 'Patch #1 (anonymize-hostname.patch):' Patch #1 (anonymize-hostname.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file run_algtest.py Hunk #1 succeeded at 431 (offset 22 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2s4crH + umask 022 + cd /builddir/build/BUILD + cd tpm2-algtest + mkdir build + cd build + cmake .. -- The C compiler identification is GNU 8.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/tpm2-algtest/build + make [ 2%] Building C object CMakeFiles/tpm2_algtest.dir/lib/files.c.o [ 5%] Building C object CMakeFiles/tpm2_algtest.dir/lib/log.c.o [ 8%] Building C object CMakeFiles/tpm2_algtest.dir/lib/pcr.c.o [ 11%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_alg_util.c.o [ 14%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_attr_util.c.o [ 17%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_auth_util.c.o [ 20%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_capability.c.o [ 22%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_convert.c.o [ 25%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_ctx_mgmt.c.o [ 28%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_errata.c.o [ 31%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_error.c.o [ 34%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_hash.c.o [ 37%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_hierarchy.c.o [ 40%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_openssl.c.o [ 42%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_options.c.o [ 45%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_policy.c.o [ 48%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_session.c.o [ 51%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_tcti_ldr.c.o [ 54%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm2_util.c.o [ 57%] Building C object CMakeFiles/tpm2_algtest.dir/lib/tpm_kdfa.c.o [ 60%] Building C object CMakeFiles/tpm2_algtest.dir/tools/tpm2_tool.c.o [ 62%] Building C object CMakeFiles/tpm2_algtest.dir/tools/tpm2_algtest.c.o [ 65%] Building C object CMakeFiles/tpm2_algtest.dir/algtest/util.c.o [ 68%] Building C object CMakeFiles/tpm2_algtest.dir/algtest/logging.c.o [ 71%] Building C object CMakeFiles/tpm2_algtest.dir/algtest/options.c.o [ 74%] Building C object CMakeFiles/tpm2_algtest.dir/algtest/key_params_generator.c.o [ 77%] Building C object CMakeFiles/tpm2_algtest.dir/algtest/scenario.c.o [ 80%] Building C object CMakeFiles/tpm2_algtest.dir/algtest/keygen.c.o [ 82%] Building C object CMakeFiles/tpm2_algtest.dir/algtest/perf.c.o [ 85%] Building C object CMakeFiles/tpm2_algtest.dir/algtest/cryptoops.c.o [ 88%] Building C object CMakeFiles/tpm2_algtest.dir/algtest/rng.c.o [ 91%] Building C object CMakeFiles/tpm2_algtest.dir/algtest/object_util.c.o [ 94%] Building C object CMakeFiles/tpm2_algtest.dir/algtest/perf_util.c.o [ 97%] Building C object CMakeFiles/tpm2_algtest.dir/algtest/status.c.o [100%] Linking C executable tpm2_algtest [100%] Built target tpm2_algtest + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VDX5wv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tpm2-algtest-0.5.7-1.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tpm2-algtest-0.5.7-1.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/tpm2-algtest-0.5.7-1.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tpm2-algtest-0.5.7-1.el8.aarch64 + cd tpm2-algtest + mkdir -p /builddir/build/BUILDROOT/tpm2-algtest-0.5.7-1.el8.aarch64/usr/bin/ + cp run_algtest.py /builddir/build/BUILDROOT/tpm2-algtest-0.5.7-1.el8.aarch64/usr/bin/ + cd build + make DESTDIR=/builddir/build/BUILDROOT/tpm2-algtest-0.5.7-1.el8.aarch64 install Consolidate compiler generated dependencies of target tpm2_algtest [100%] Built target tpm2_algtest Install the project... -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/tpm2-algtest-0.5.7-1.el8.aarch64/usr/bin/tpm2_algtest + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/run_algtest.py from /usr/bin/python3 to #!/usr/bin/python3.6 Processing files: tpm2-algtest-0.5.7-1.el8.aarch64 Provides: tpm2-algtest = 0.5.7-1.el8 tpm2-algtest(aarch-64) = 0.5.7-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3.6 libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.22)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.17)(64bit) libtss2-mu.so.0()(64bit) libtss2-sys.so.0()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tpm2-algtest-0.5.7-1.el8.aarch64 Wrote: /builddir/build/RPMS/tpm2-algtest-0.5.7-1.el8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AoNlN1 + umask 022 + cd /builddir/build/BUILD + cd tpm2-algtest + /usr/bin/rm -rf /builddir/build/BUILDROOT/tpm2-algtest-0.5.7-1.el8.aarch64 + exit 0 Child return code was: 0