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-an8.7-build-137566-50802/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.0.1.an8.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-an8.7-build-137566-50802/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.ZZIPhL + 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.cC8XCW + 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 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 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 make[1]: Leaving directory '/builddir/build/BUILD/tpm-quote-tools-1.0.3' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TrJf4U + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64 ++ dirname /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64 + cd tpm-quote-tools-1.0.3 + rm -rf /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64 + make DESTDIR=/builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.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.0.1.an8.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.0.1.an8.loongarch64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.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.0.1.an8.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.0.1.an8 --unique-debug-suffix -1.0.3-4.0.1.an8.loongarch64 --unique-debug-src-base tpm-quote-tools-1.0.3-4.0.1.an8.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.0.1.an8.loongarch64/usr/bin/tpm_getpcrhash extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64/usr/bin/tpm_getquote extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64/usr/bin/tpm_loadkey extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64/usr/bin/tpm_mkaik extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64/usr/bin/tpm_mkuuid extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64/usr/bin/tpm_unloadkey extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64/usr/bin/tpm_verifyquote extracting debug info from /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64/usr/bin/tpm_updatepcrhash /usr/lib/rpm/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 103 blocks + /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-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.0.1.an8.loongarch64 Provides: /usr/bin/tpm_getpcrhash /usr/bin/tpm_getquote /usr/bin/tpm_loadkey /usr/bin/tpm_mkaik /usr/bin/tpm_mkuuid /usr/bin/tpm_unloadkey /usr/bin/tpm_updatepcrhash /usr/bin/tpm_verifyquote tpm-quote-tools = 1.0.3-4.0.1.an8 tpm-quote-tools(loongarch-64) = 1.0.3-4.0.1.an8 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) Processing files: tpm-quote-tools-doc-1.0.3-4.0.1.an8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.86iipQ + umask 022 + cd /builddir/build/BUILD + cd tpm-quote-tools-1.0.3 + DOCDIR=/builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64/usr/share/doc/tpm-quote-tools-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64/usr/share/doc/tpm-quote-tools-doc + cp -pr AUTHORS /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64/usr/share/doc/tpm-quote-tools-doc + cp -pr ChangeLog /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64/usr/share/doc/tpm-quote-tools-doc + cp -pr COPYING /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64/usr/share/doc/tpm-quote-tools-doc + cp -pr NEWS /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64/usr/share/doc/tpm-quote-tools-doc + cp -pr README /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64/usr/share/doc/tpm-quote-tools-doc + exit 0 Provides: tpm-quote-tools-doc = 1.0.3-4.0.1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tpm-quote-tools-debugsource-1.0.3-4.0.1.an8.loongarch64 Provides: tpm-quote-tools-debugsource = 1.0.3-4.0.1.an8 tpm-quote-tools-debugsource(loongarch-64) = 1.0.3-4.0.1.an8 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.0.1.an8.loongarch64 Provides: debuginfo(build-id) = 1ce72a201c218026d519f33af816b46f41167c61 debuginfo(build-id) = 1d4e75796397306404d8b34321d084bf559a00db debuginfo(build-id) = 38cd990ec4770592b5bc7ad2b74c1d67d1128608 debuginfo(build-id) = 61a9e1bbcf55b4010180408f21c5b6aea741bea5 debuginfo(build-id) = 63f4b14ab595c0249372503766bdd78198d42ab2 debuginfo(build-id) = 666457d870884648c366a9cf5c2a27753bd22906 debuginfo(build-id) = 915b4483a144d0b841e866c5908895f3c9ff9e31 debuginfo(build-id) = b8826662a1e309e775983ddacfc95ece611c1448 tpm-quote-tools-debuginfo = 1.0.3-4.0.1.an8 tpm-quote-tools-debuginfo(loongarch-64) = 1.0.3-4.0.1.an8 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.0.1.an8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64 Wrote: /builddir/build/RPMS/tpm-quote-tools-1.0.3-4.0.1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/tpm-quote-tools-doc-1.0.3-4.0.1.an8.noarch.rpm Wrote: /builddir/build/RPMS/tpm-quote-tools-debugsource-1.0.3-4.0.1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/tpm-quote-tools-debuginfo-1.0.3-4.0.1.an8.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pRANMm + 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.0.1.an8.loongarch64 + exit 0 Child return code was: 0