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/checkpolicy.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-36115-17034/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/checkpolicy.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/checkpolicy-2.9-1.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/checkpolicy.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-36115-17034/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/checkpolicy.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.sCHAuu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf checkpolicy-2.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/checkpolicy-2.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd checkpolicy-2.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IAzyXI + umask 022 + cd /builddir/build/BUILD + cd checkpolicy-2.9 + 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 + make LIBDIR=/usr/lib64 bison -y -d policy_parse.y cc -O2 -g -o y.tab.o -c y.tab.c flex policy_scan.l cc -O2 -g -o lex.yy.o -c lex.yy.c cc -O2 -g -o queue.o -c queue.c cc -O2 -g -o module_compiler.o -c module_compiler.c cc -O2 -g -o parse_util.o -c parse_util.c cc -O2 -g -o policy_define.o -c policy_define.c cc -O2 -g -o checkpolicy.o -c checkpolicy.c cc -o checkpolicy y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o checkpolicy.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -l:libsepol.a cc -O2 -g -o checkmodule.o -c checkmodule.c cc -o checkmodule y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o checkmodule.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -l:libsepol.a make -C test make[1]: Entering directory '/builddir/build/BUILD/checkpolicy-2.9/test' cc -O2 -g -c -o dispol.o dispol.c cc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dispol dispol.o -l:libsepol.a cc -O2 -g -c -o dismod.o dismod.c cc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dismod dismod.o -l:libsepol.a make[1]: Leaving directory '/builddir/build/BUILD/checkpolicy-2.9/test' + cd test + make LIBDIR=/usr/lib64 make: Nothing to be done for 'all'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fVujUX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64 ++ dirname /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64 + cd checkpolicy-2.9 + mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/bin + make LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64 install make -C test make[1]: Entering directory '/builddir/build/BUILD/checkpolicy-2.9/test' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/checkpolicy-2.9/test' mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/bin mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/share/man/man8 install -m 755 checkpolicy checkmodule /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/bin install -m 644 checkpolicy.8 /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/share/man/man8 install -m 644 checkmodule.8 /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/share/man/man8 for lang in ru ; do \ if [ -e ${lang} ] ; then \ mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/share/man/${lang}/man8 ; \ install -m 644 ${lang}/*.8 /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/share/man/${lang}/man8 ; \ fi ; \ done + install test/dismod /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/bin/sedismod + install test/dispol /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/bin/sedispol + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.9-1.el8 --unique-debug-suffix -2.9-1.el8.loongarch64 --unique-debug-src-base checkpolicy-2.9-1.el8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/checkpolicy-2.9 extracting debug info from /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/bin/sedismod extracting debug info from /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/bin/sedispol extracting debug info from /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/bin/checkpolicy extracting debug info from /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/bin/checkmodule /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 1088 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: checkpolicy-2.9-1.el8.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.J7XYSc + umask 022 + cd /builddir/build/BUILD + cd checkpolicy-2.9 + LICENSEDIR=/builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/share/licenses/checkpolicy + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/share/licenses/checkpolicy + cp -pr COPYING /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64/usr/share/licenses/checkpolicy + exit 0 Provides: checkpolicy = 2.9-1.el8 checkpolicy(loongarch-64) = 2.9-1.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) rtld(GNU_HASH) Conflicts: selinux-policy-base < 3.13.1-138 Processing files: checkpolicy-debugsource-2.9-1.el8.loongarch64 Provides: checkpolicy-debugsource = 2.9-1.el8 checkpolicy-debugsource(loongarch-64) = 2.9-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: checkpolicy-debuginfo-2.9-1.el8.loongarch64 Provides: checkpolicy-debuginfo = 2.9-1.el8 checkpolicy-debuginfo(loongarch-64) = 2.9-1.el8 debuginfo(build-id) = 01af9f0c7fbfea4809e3d35ab6e5879b0365c3fe debuginfo(build-id) = 9ea727123c226b8377047b3880230d72bc823946 debuginfo(build-id) = a0bfd7a4b577d87db141822be064c1aa9ba820b0 debuginfo(build-id) = d5a3bcc7792e8f69c3fe185b8a236c09a5231df6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: checkpolicy-debugsource(loongarch-64) = 2.9-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64 Wrote: /builddir/build/RPMS/checkpolicy-2.9-1.el8.loongarch64.rpm Wrote: /builddir/build/RPMS/checkpolicy-debugsource-2.9-1.el8.loongarch64.rpm Wrote: /builddir/build/RPMS/checkpolicy-debuginfo-2.9-1.el8.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0b6MUr + umask 022 + cd /builddir/build/BUILD + cd checkpolicy-2.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/checkpolicy-2.9-1.el8.loongarch64 + exit 0 Child return code was: 0