Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/tpm-quote-tools.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-35610-16690/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=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/tpm-quote-tools.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'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/tpm-quote-tools-1.0.3-4.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/tpm-quote-tools.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-35610-16690/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=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/tpm-quote-tools.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'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fZ1t2O + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tpm-quote-tools-1.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/tpm-quote-tools-1.0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tpm-quote-tools-1.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.W5eD1l + umask 022 + cd /builddir/build/BUILD + cd tpm-quote-tools-1.0.3 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 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 for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... loongarch64-Anolis-linux-gnu checking host system type... loongarch64-Anolis-linux-gnu checking for style of include used by make... GNU checking for loongarch64-Anolis-linux-gcc... 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 dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for loongarch64-Anolis-linux-ranlib... no checking for ranlib... ranlib 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 tss/tspi.h usability... yes checking tss/tspi.h presence... yes checking for tss/tspi.h... yes checking for library containing Tspi_Context_Create... -ltspi checking for library containing Tspi_TPM_SetOperatorAuth... none required configure: Configuring for TSS 1.2 checking trousers/tss.h usability... yes checking trousers/tss.h presence... yes checking for trousers/tss.h... yes checking for trousers/trousers.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking openssl/ui.h usability... no checking openssl/ui.h presence... no checking for openssl/ui.h... no checking for library containing UI_new... no configure: OpenSSL UI available checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating tpm-quote-tools.spec config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/tpm-quote-tools-1.0.3' gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o tss_err.o tss_err.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o tidy.o tidy.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o loadkey.o loadkey.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o pcr_mask.o pcr_mask.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o quote.o quote.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o quote_nonce.o quote_nonce.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o toutf16le.o toutf16le.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o tpm_mkuuid.o tpm_mkuuid.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o tpm_mkaik.o tpm_mkaik.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o tpm_getpcrhash.o tpm_getpcrhash.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o tpm_loadkey.o tpm_loadkey.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o tpm_unloadkey.o tpm_unloadkey.c tpm_mkaik.c: In function 'main': tpm_mkaik.c:75:7: warning: variable 'utf16le' set but not used [-Wunused-but-set-variable] int utf16le = 0; ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o tpm_getquote.o tpm_getquote.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o tpm_verifyquote.o tpm_verifyquote.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o tpm_updatepcrhash.o tpm_updatepcrhash.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o createek.o createek.c gcc -DHAVE_CONFIG_H -I. -O2 -g -Wall -c -o takeownership.o takeownership.c rm -f libtpm_quote.a ar cru libtpm_quote.a tss_err.o tidy.o loadkey.o pcr_mask.o quote.o quote_nonce.o toutf16le.o ranlib libtpm_quote.a gcc -O2 -g -Wall -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tpm_mkuuid tpm_mkuuid.o libtpm_quote.a -ltspi gcc -O2 -g -Wall -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tpm_mkaik tpm_mkaik.o libtpm_quote.a -ltspi gcc -O2 -g -Wall -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tpm_getpcrhash tpm_getpcrhash.o libtpm_quote.a -ltspi gcc -O2 -g -Wall -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tpm_loadkey tpm_loadkey.o libtpm_quote.a -ltspi gcc -O2 -g -Wall -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tpm_unloadkey tpm_unloadkey.o libtpm_quote.a -ltspi gcc -O2 -g -Wall -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tpm_getquote tpm_getquote.o libtpm_quote.a -ltspi gcc -O2 -g -Wall -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tpm_verifyquote tpm_verifyquote.o libtpm_quote.a -ltspi gcc -O2 -g -Wall -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tpm_updatepcrhash tpm_updatepcrhash.o libtpm_quote.a -ltspi gcc -O2 -g -Wall -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o createek createek.o libtpm_quote.a -ltspi gcc -O2 -g -Wall -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o takeownership takeownership.o libtpm_quote.a -ltspi make[1]: Leaving directory '/builddir/build/BUILD/tpm-quote-tools-1.0.3' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mZDveT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64 ++ dirname /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64 + cd tpm-quote-tools-1.0.3 + rm -rf /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64 + make DESTDIR=/builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64 install make[1]: Entering directory '/builddir/build/BUILD/tpm-quote-tools-1.0.3' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/bin' /usr/bin/install -c tpm_mkuuid tpm_mkaik tpm_getpcrhash tpm_loadkey tpm_unloadkey tpm_getquote tpm_verifyquote tpm_updatepcrhash '/builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/share/man/man8' /usr/bin/install -c -m 644 tpm_mkuuid.8 tpm_mkaik.8 tpm_loadkey.8 tpm_unloadkey.8 tpm_getpcrhash.8 tpm_getquote.8 tpm_verifyquote.8 tpm_updatepcrhash.8 tpm_quote_tools.8 '/builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/share/man/man8' make[1]: Leaving directory '/builddir/build/BUILD/tpm-quote-tools-1.0.3' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.3-4.el8 --unique-debug-suffix -1.0.3-4.el8.loongarch64 --unique-debug-src-base tpm-quote-tools-1.0.3-4.el8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/tpm-quote-tools-1.0.3 extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/bin/tpm_getquote extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/bin/tpm_loadkey extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/bin/tpm_mkaik extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/bin/tpm_getpcrhash extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/bin/tpm_unloadkey extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/bin/tpm_mkuuid extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/bin/tpm_updatepcrhash extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/bin/tpm_verifyquote /usr/lib/rpm/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 103 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: tpm-quote-tools-1.0.3-4.el8.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tx78sq + umask 022 + cd /builddir/build/BUILD + cd tpm-quote-tools-1.0.3 + DOCDIR=/builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/share/doc/tpm-quote-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/share/doc/tpm-quote-tools + cp -pr AUTHORS /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/share/doc/tpm-quote-tools + cp -pr ChangeLog /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/share/doc/tpm-quote-tools + cp -pr COPYING /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/share/doc/tpm-quote-tools + cp -pr NEWS /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/share/doc/tpm-quote-tools + cp -pr README /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64/usr/share/doc/tpm-quote-tools + exit 0 Provides: tpm-quote-tools = 1.0.3-4.el8 tpm-quote-tools(loongarch-64) = 1.0.3-4.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libtspi.so.1()(64bit) rtld(GNU_HASH) Processing files: tpm-quote-tools-debugsource-1.0.3-4.el8.loongarch64 Provides: tpm-quote-tools-debugsource = 1.0.3-4.el8 tpm-quote-tools-debugsource(loongarch-64) = 1.0.3-4.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tpm-quote-tools-debuginfo-1.0.3-4.el8.loongarch64 Provides: debuginfo(build-id) = 1cd37ea694fb4537d7896721a2783aec56dc964f debuginfo(build-id) = 2dd3cb71fde6c1bf95917c04592449cb5da97b8d debuginfo(build-id) = 31cb350faa9e9cbbe944c79760537f5df5899fcf debuginfo(build-id) = 52fff1e371ced1bc87e36066e8bc5358b503e963 debuginfo(build-id) = 5e08c75c24227d63b3607341e3e401b0caa6cc09 debuginfo(build-id) = 9385d1c8bf81f131343e4a7e92e0f81ef18ae230 debuginfo(build-id) = 9c6548a73ff8df7ccb9bc79da558de565ef2fc89 debuginfo(build-id) = d4be8f4dc2a2ca356fe5d926c72e4e9a000b667e tpm-quote-tools-debuginfo = 1.0.3-4.el8 tpm-quote-tools-debuginfo(loongarch-64) = 1.0.3-4.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tpm-quote-tools-debugsource(loongarch-64) = 1.0.3-4.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64 Wrote: /builddir/build/RPMS/tpm-quote-tools-1.0.3-4.el8.loongarch64.rpm Wrote: /builddir/build/RPMS/tpm-quote-tools-debugsource-1.0.3-4.el8.loongarch64.rpm Wrote: /builddir/build/RPMS/tpm-quote-tools-debuginfo-1.0.3-4.el8.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cq5QJX + umask 022 + cd /builddir/build/BUILD + cd tpm-quote-tools-1.0.3 + rm -rf /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.el8.loongarch64 + exit 0 Child return code was: 0