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-filesystem.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-223689-16804/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=981gid=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-filesystem.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-filesystem-1.8.0-4.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-filesystem.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-223689-16804/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=981gid=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-filesystem.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.LctEyS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf luafilesystem-1_8_0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/luafilesystem-1.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd luafilesystem-1_8_0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf /builddir/build/BUILD/compat-lua-lua-filesystem-1.8.0-4.ocs23 + cp -a . /builddir/build/BUILD/compat-lua-lua-filesystem-1.8.0-4.ocs23 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7EaAd9 + 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 luafilesystem-1_8_0 + /usr/bin/make -O -j32 V=1 VERBOSE=1 LUA_LIBDIR=/usr/lib64/lua/5.4 '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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' 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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -c -o src/lfs.o src/lfs.c MACOSX_DEPLOYMENT_TARGET=10.5; export MACOSX_DEPLOYMENT_TARGET; gcc -shared -o src/lfs.so src/lfs.o + pushd /builddir/build/BUILD/compat-lua-lua-filesystem-1.8.0-4.ocs23 ~/build/BUILD/compat-lua-lua-filesystem-1.8.0-4.ocs23 ~/build/BUILD/luafilesystem-1_8_0 + /usr/bin/make -O -j32 V=1 VERBOSE=1 LUA_LIBDIR=/usr/lib64/lua/5.1 'CFLAGS=-I/usr/include/lua-5.1 -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' gcc -I/usr/include/lua-5.1 -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -c -o src/lfs.o src/lfs.c MACOSX_DEPLOYMENT_TARGET=10.5; export MACOSX_DEPLOYMENT_TARGET; gcc -shared -o src/lfs.so src/lfs.o + popd ~/build/BUILD/luafilesystem-1_8_0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6ScZRU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64 + cd luafilesystem-1_8_0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' LUA_LIBDIR=/usr/lib64/lua/5.4 mkdir -p /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/lib64/lua/5.4 cp src/lfs.so /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/lib64/lua/5.4 + pushd /builddir/build/BUILD/compat-lua-lua-filesystem-1.8.0-4.ocs23 ~/build/BUILD/compat-lua-lua-filesystem-1.8.0-4.ocs23 ~/build/BUILD/luafilesystem-1_8_0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' LUA_LIBDIR=/usr/lib64/lua/5.1 mkdir -p /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/lib64/lua/5.1 cp src/lfs.so /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/lib64/lua/5.1 + popd ~/build/BUILD/luafilesystem-1_8_0 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.8.0-4.ocs23 --unique-debug-suffix -1.8.0-4.ocs23.loongarch64 --unique-debug-src-base lua-filesystem-1.8.0-4.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/luafilesystem-1_8_0 extracting debug info from /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/lib64/lua/5.1/lfs.so extracting debug info from /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/lib64/lua/5.4/lfs.so 53 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.TKxCA2 + 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 luafilesystem-1_8_0 + LUA_CPATH='/builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/lib64/lua/5.4/?.so' + lua tests/test.lua LuaFileSystem 1.8.0 .............Ok! + LUA_CPATH='/builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/lib64/lua/5.1/?.so' + lua-5.1 tests/test.lua LuaFileSystem 1.8.0 .............Ok! + RPM_EC=0 ++ jobs -p + exit 0 Processing files: lua-filesystem-1.8.0-4.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VobhAD + umask 022 + cd /builddir/build/BUILD + cd luafilesystem-1_8_0 + DOCDIR=/builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/share/doc/lua-filesystem + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/share/doc/lua-filesystem + cp -pr README.md /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/share/doc/lua-filesystem + cp -pr doc/us/doc.css doc/us/examples.html doc/us/index.html doc/us/license.html doc/us/luafilesystem.png doc/us/manual.html /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/share/doc/lua-filesystem + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qsBpdE + umask 022 + cd /builddir/build/BUILD + cd luafilesystem-1_8_0 + LICENSEDIR=/builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/share/licenses/lua-filesystem + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/share/licenses/lua-filesystem + cp -pr LICENSE /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/share/licenses/lua-filesystem + RPM_EC=0 ++ jobs -p + exit 0 Provides: lua-filesystem = 1.8.0-4.ocs23 lua-filesystem(loongarch-64) = 1.8.0-4.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: lua5.1-filesystem-1.8.0-4.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qJZ0oQ + umask 022 + cd /builddir/build/BUILD + cd luafilesystem-1_8_0 + DOCDIR=/builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/share/doc/lua5.1-filesystem + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/share/doc/lua5.1-filesystem + cp -pr README.md /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/share/doc/lua5.1-filesystem + cp -pr doc/us/doc.css doc/us/examples.html doc/us/index.html doc/us/license.html doc/us/luafilesystem.png doc/us/manual.html /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/share/doc/lua5.1-filesystem + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Vk284w + umask 022 + cd /builddir/build/BUILD + cd luafilesystem-1_8_0 + LICENSEDIR=/builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/share/licenses/lua5.1-filesystem + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/share/licenses/lua5.1-filesystem + cp -pr LICENSE /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64/usr/share/licenses/lua5.1-filesystem + RPM_EC=0 ++ jobs -p + exit 0 Provides: lua-filesystem-compat = 1.8.0-4.ocs23 lua5.1-filesystem = 1.8.0-4.ocs23 lua5.1-filesystem(loongarch-64) = 1.8.0-4.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-filesystem-debugsource-1.8.0-4.ocs23.loongarch64 Provides: lua-filesystem-debugsource = 1.8.0-4.ocs23 lua-filesystem-debugsource(loongarch-64) = 1.8.0-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lua-filesystem-debuginfo-1.8.0-4.ocs23.loongarch64 Provides: debuginfo(build-id) = da6ebc33040713598ee6358d5ad3836ac1ad15a1 lua-filesystem-debuginfo = 1.8.0-4.ocs23 lua-filesystem-debuginfo(loongarch-64) = 1.8.0-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lua-filesystem-debugsource(loongarch-64) = 1.8.0-4.ocs23 Processing files: lua5.1-filesystem-debuginfo-1.8.0-4.ocs23.loongarch64 Provides: debuginfo(build-id) = 9570c3b04f9f29b2ac11d7dde697f0e63a393502 lua5.1-filesystem-debuginfo = 1.8.0-4.ocs23 lua5.1-filesystem-debuginfo(loongarch-64) = 1.8.0-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lua-filesystem-debugsource(loongarch-64) = 1.8.0-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lua-filesystem-1.8.0-4.ocs23.loongarch64 Wrote: /builddir/build/RPMS/lua-filesystem-debugsource-1.8.0-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/lua-filesystem-debuginfo-1.8.0-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/lua5.1-filesystem-1.8.0-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/lua5.1-filesystem-debuginfo-1.8.0-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/lua-filesystem-1.8.0-4.ocs23.loongarch64.rpm Child return code was: 0