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='/var/lib/mock/dist-ocs23-loongarch64-build-137216-9626/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=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/lua-compat53-0.12-1.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='/var/lib/mock/dist-ocs23-loongarch64-build-137216-9626/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=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FgF3aa + 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.HCO1fZ + 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.qEyANd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lua-compat53-0.12-1.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lua-compat53-0.12-1.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/lua-compat53-0.12-1.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lua-compat53-0.12-1.ocs23.loongarch64 + cd lua-compat-5.3-0.12 + PKGDIR=/builddir/build/BUILDROOT/lua-compat53-0.12-1.ocs23.loongarch64//usr/share/lua/5.1 + LIBDIR=/builddir/build/BUILDROOT/lua-compat53-0.12-1.ocs23.loongarch64//usr/lib64/lua/5.1 + install -d -m 0755 /builddir/build/BUILDROOT/lua-compat53-0.12-1.ocs23.loongarch64//usr/share/lua/5.1/compat53 + install -d -m 0755 /builddir/build/BUILDROOT/lua-compat53-0.12-1.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-1.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-1.ocs23.loongarch64//usr/lib64/lua/5.1/compat53/ + install -d -m 0755 /builddir/build/BUILDROOT/lua-compat53-0.12-1.ocs23.loongarch64/usr/include/lua-5.1/c-api + install -m 0644 -p -t /builddir/build/BUILDROOT/lua-compat53-0.12-1.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-1.ocs23.loongarch64/usr/include/lua-5.1/lprefix.h + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.12-1.ocs23 --unique-debug-suffix -0.12-1.ocs23.loongarch64 --unique-debug-src-base lua-compat53-0.12-1.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-1.ocs23.loongarch64/usr/lib64/lua/5.1/compat53/table.so extracting debug info from /builddir/build/BUILDROOT/lua-compat53-0.12-1.ocs23.loongarch64/usr/lib64/lua/5.1/compat53/utf8.so extracting debug info from /builddir/build/BUILDROOT/lua-compat53-0.12-1.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-1.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lwI0GB + umask 022 + cd /builddir/build/BUILD + cd lua-compat-5.3-0.12 + DOCDIR=/builddir/build/BUILDROOT/lua-compat53-0.12-1.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-1.ocs23.loongarch64/usr/share/doc/lua5.1-compat53 + cp -pr README.md /builddir/build/BUILDROOT/lua-compat53-0.12-1.ocs23.loongarch64/usr/share/doc/lua5.1-compat53 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TGi5KQ + umask 022 + cd /builddir/build/BUILD + cd lua-compat-5.3-0.12 + LICENSEDIR=/builddir/build/BUILDROOT/lua-compat53-0.12-1.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-1.ocs23.loongarch64/usr/share/licenses/lua5.1-compat53 + cp -pr LICENSE /builddir/build/BUILDROOT/lua-compat53-0.12-1.ocs23.loongarch64/usr/share/licenses/lua5.1-compat53 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lua5.1-compat53 = 0.12-1.ocs23 lua5.1-compat53(loongarch-64) = 0.12-1.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-1.ocs23.loongarch64 Provides: lua-compat53-debugsource = 0.12-1.ocs23 lua-compat53-debugsource(loongarch-64) = 0.12-1.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-1.ocs23.loongarch64 Provides: debuginfo(build-id) = 0419954dffe85afdfe2cf54278b11cf0ab55641b debuginfo(build-id) = 48c0f59a5e137a3add58d909ff64b8ec45d6dbe4 debuginfo(build-id) = a1b0625a70e27338c20b1aab306a05d1c1d49a4c lua5.1-compat53-debuginfo = 0.12-1.ocs23 lua5.1-compat53-debuginfo(loongarch-64) = 0.12-1.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-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lua-compat53-0.12-1.ocs23.loongarch64 Wrote: /builddir/build/RPMS/lua5.1-compat53-debuginfo-0.12-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/lua-compat53-debugsource-0.12-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/lua5.1-compat53-0.12-1.ocs23.loongarch64.rpm Child return code was: 0