Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/lua-compat53.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-286722-27889/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=983gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uyxoqx1k:/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uyxoqx1k:/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', '35f0765d13b147a0a1c9ef8f8c6b7fd5', '-D', '/home/lib/mock/dist-ocs23-base-build-286722-27889/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uyxoqx1k:/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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/lua-compat53.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/lua-compat53-0.12-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/lua-compat53.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-286722-27889/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=983gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uyxoqx1k:/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uyxoqx1k:/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', 'dcf83c02a2e241a4a8dcf28ce3cf20d1', '-D', '/home/lib/mock/dist-ocs23-base-build-286722-27889/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uyxoqx1k:/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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/lua-compat53.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nvMBAA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lua-compat-5.3-0.12 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lua-compat53-0.12.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lua-compat-5.3-0.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TZQDWf + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lua-compat-5.3-0.12 ++ pkg-config --cflags lua-5.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/lua-5.1' ++ pkg-config --libs lua-5.1 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -llua-5.1 -lm -ldl' + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/lua-5.1 -c lutf8lib.c -o lutf8lib.o + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/lua-5.1 -c lstrlib.c -o lstrlib.o + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/lua-5.1 -c ltablib.c -o ltablib.o + gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -llua-5.1 -lm -ldl -o utf8.so lutf8lib.o + gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -llua-5.1 -lm -ldl -o string.so lstrlib.o + gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -llua-5.1 -lm -ldl -o table.so ltablib.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.S1PyyV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64 + cd lua-compat-5.3-0.12 + PKGDIR=/builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64//usr/share/lua/5.1 + LIBDIR=/builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64//usr/lib64/lua/5.1 + install -d -m 0755 /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64//usr/share/lua/5.1/compat53 + install -d -m 0755 /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64//usr/lib64/lua/5.1/compat53 + install -p -m 0644 compat53/init.lua compat53/module.lua -t /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64//usr/share/lua/5.1/compat53/ + install -p -m 0755 utf8.so string.so table.so -t /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64//usr/lib64/lua/5.1/compat53/ + install -d -m 0755 /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64/usr/include/lua-5.1/c-api + install -m 0644 -p -t /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64/usr/include/lua-5.1/c-api c-api/compat-5.3.c c-api/compat-5.3.h + install -m 0644 lprefix.h /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64/usr/include/lua-5.1/lprefix.h + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.12-3.ocs23 --unique-debug-suffix -0.12-3.ocs23.loongarch64 --unique-debug-src-base lua-compat53-0.12-3.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/lua-compat-5.3-0.12 extracting debug info from /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64/usr/lib64/lua/5.1/compat53/utf8.so extracting debug info from /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64/usr/lib64/lua/5.1/compat53/table.so extracting debug info from /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64/usr/lib64/lua/5.1/compat53/string.so 228 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: lua5.1-compat53-0.12-3.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Fqfvbc + umask 022 + cd /builddir/build/BUILD + cd lua-compat-5.3-0.12 + DOCDIR=/builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64/usr/share/doc/lua5.1-compat53 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64/usr/share/doc/lua5.1-compat53 + cp -pr README.md /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64/usr/share/doc/lua5.1-compat53 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3z7ZJ6 + umask 022 + cd /builddir/build/BUILD + cd lua-compat-5.3-0.12 + LICENSEDIR=/builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64/usr/share/licenses/lua5.1-compat53 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64/usr/share/licenses/lua5.1-compat53 + cp -pr LICENSE /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64/usr/share/licenses/lua5.1-compat53 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lua5.1-compat53 = 0.12-3.ocs23 lua5.1-compat53(loongarch-64) = 0.12-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Processing files: lua-compat53-debugsource-0.12-3.ocs23.loongarch64 Provides: lua-compat53-debugsource = 0.12-3.ocs23 lua-compat53-debugsource(loongarch-64) = 0.12-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lua5.1-compat53-debuginfo-0.12-3.ocs23.loongarch64 Provides: debuginfo(build-id) = 05b13183779f319d9c2501921611dd67dddd2119 debuginfo(build-id) = 5e55db55f65446e181ab97dd3c135d7d2aa9c6b4 debuginfo(build-id) = dbe7efabab0eef96d45dbf8ff49946c5d6ac20d4 lua5.1-compat53-debuginfo = 0.12-3.ocs23 lua5.1-compat53-debuginfo(loongarch-64) = 0.12-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lua-compat53-debugsource(loongarch-64) = 0.12-3.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lua-compat53-0.12-3.ocs23.loongarch64 Wrote: /builddir/build/RPMS/lua-compat53-debugsource-0.12-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/lua5.1-compat53-debuginfo-0.12-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/lua5.1-compat53-0.12-3.ocs23.loongarch64.rpm Child return code was: 0