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/luajit.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-195236-13085/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/luajit.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/luajit-2.1.20230821-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/luajit.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-195236-13085/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/luajit.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.HtrGa3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf LuaJIT-2.1.ROLLING + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v2.1.ROLLING.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd LuaJIT-2.1.ROLLING + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/LuaJIT-test-cleanup.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/luajit-2.1-make-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp /builddir/build/SOURCES/loongarch64.tar.gz . + cp /builddir/build/SOURCES/loongarch64.conf . + cp /builddir/build/SOURCES/apply-patches . + sh ./apply-patches + '[' '!' -d loongarch64 ']' + tar -xf loongarch64.tar.gz ++ cat loongarch64.conf + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0001-LoongArch64-Add-target-architecture-selection.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0002-LoongArch64-Add-DynASM-support.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0003-LoongArch64-Add-register-assignments-for-the-interpr.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0004-LoongArch64-Add-stack-layout.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0005-LoongArch64-Add-some-general-macro-type-definitions-.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0006-LoongArch64-Add-pure-interpreter-backend.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0007-LoongArch64-Add-definitions-for-target-CPU.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0008-LoongArch64-Add-some-constant-definitions.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0009-LoongArch64-Add-LoongArch-instruction-emitter.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0010-LoongArch64-Add-IR-assembler-support.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0011-LoongArch64-Add-JIT-support-in-the-interpreter.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0012-LoongArch64-Add-CPU-feature-detection-when-init-JIT-.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0013-LoongArch64-Add-LoongArch-lp64-calling-conventions-a.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0014-LoongArch64-Add-FFI-C-callback-handling.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0015-LoongArch64-Add-FFI-support-in-the-interpreter.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0016-LoongArch64-Add-DWARF-and-ELF-header-definitions.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0017-LoongArch64-Add-support-for-LuaJIT-VM-builder.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0018-LoongArch64-Add-loongarch64-support-when-save-list-b.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0019-LoongArch64-Add-LoongArch64-disassembler-module.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0020-LoongArch64-Add-support-in-Makefile.patch + for p in $(cat loongarch64.conf) + patch -p1 -s -i loongarch64/0021-LoongArch64-Upgrade-the-base-code-to-v2.1.ROLLING.patch + rm -rf ./apply-patches loongarch64 loongarch64.tar.gz loongarch64.conf + echo 20230821 + ln -s LuaJIT-test-cleanup-master/bench bench + ln -s LuaJIT-test-cleanup-master/test test + sed -i -e '/-DLUAJIT_ENABLE_LUA52COMPAT/s/^#//' src/Makefile + sed -i -e '/install -m/s/-m/-p -m/' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UjWTBn + 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 LuaJIT-2.1.ROLLING + make amalg Q= E=@: PREFIX=/usr TARGET_STRIP=: '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' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' MULTILIB=lib64 -j32 ==== Building LuaJIT 2.1 (amalgamation) ==== make -C src amalg make[1]: Entering directory '/builddir/build/BUILD/LuaJIT-2.1.ROLLING/src' make all "LJCORE_O=ljamalg.o" make[2]: Entering directory '/builddir/build/BUILD/LuaJIT-2.1.ROLLING/src' gcc -O2 -fomit-frame-pointer -Wall -DLUAJIT_ENABLE_LUA52COMPAT -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. -DLJ_ARCH_ENDIAN=LUAJIT_LE -DLUAJIT_TARGET=LUAJIT_ARCH_loongarch64 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -c -o host/minilua.o host/minilua.c gcc -O2 -fomit-frame-pointer -Wall -DLUAJIT_ENABLE_LUA52COMPAT -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. -DLJ_ARCH_ENDIAN=LUAJIT_LE -DLUAJIT_TARGET=LUAJIT_ARCH_loongarch64 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -c -o host/buildvm_asm.o host/buildvm_asm.c gcc -O2 -fomit-frame-pointer -Wall -DLUAJIT_ENABLE_LUA52COMPAT -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. -DLJ_ARCH_ENDIAN=LUAJIT_LE -DLUAJIT_TARGET=LUAJIT_ARCH_loongarch64 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -c -o host/buildvm_peobj.o host/buildvm_peobj.c gcc -O2 -fomit-frame-pointer -Wall -DLUAJIT_ENABLE_LUA52COMPAT -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. -DLJ_ARCH_ENDIAN=LUAJIT_LE -DLUAJIT_TARGET=LUAJIT_ARCH_loongarch64 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -c -o host/buildvm_lib.o host/buildvm_lib.c gcc -O2 -fomit-frame-pointer -Wall -DLUAJIT_ENABLE_LUA52COMPAT -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. -DLJ_ARCH_ENDIAN=LUAJIT_LE -DLUAJIT_TARGET=LUAJIT_ARCH_loongarch64 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -c -o host/buildvm_fold.o host/buildvm_fold.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o host/minilua host/minilua.o -lm [ -d ../.git ] && git show -s --format=%ct >luajit_relver.txt 2>/dev/null || cat ../.relver >luajit_relver.txt 2>/dev/null || : host/minilua ../dynasm/dynasm.lua -D ENDIAN_LE -D P64 -D JIT -D FFI -D DUALNUM -D FPU -D HFABI -D VER= -o host/buildvm_arch.h vm_loongarch64.dasc host/minilua host/genversion.lua gcc -O2 -fomit-frame-pointer -Wall -DLUAJIT_ENABLE_LUA52COMPAT -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 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U_FORTIFY_SOURCE -fwrapv -DLUA_ROOT=\"/usr\" -DLUA_MULTILIB=\"lib64\" -fno-stack-protector -c -o luajit.o luajit.c gcc -O2 -fomit-frame-pointer -Wall -DLUAJIT_ENABLE_LUA52COMPAT -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. -DLJ_ARCH_ENDIAN=LUAJIT_LE -DLUAJIT_TARGET=LUAJIT_ARCH_loongarch64 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0 -c -o host/buildvm.o host/buildvm.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o host/buildvm host/buildvm.o host/buildvm_asm.o host/buildvm_peobj.o host/buildvm_lib.o host/buildvm_fold.o host/buildvm -m elfasm -o lj_vm.S host/buildvm -m ffdef -o lj_ffdef.h lib_base.c lib_math.c lib_bit.c lib_string.c lib_table.c lib_io.c lib_os.c lib_package.c lib_debug.c lib_jit.c lib_ffi.c lib_buffer.c host/buildvm -m bcdef -o lj_bcdef.h lib_base.c lib_math.c lib_bit.c lib_string.c lib_table.c lib_io.c lib_os.c lib_package.c lib_debug.c lib_jit.c lib_ffi.c lib_buffer.c host/buildvm -m folddef -o lj_folddef.h lj_opt_fold.c host/buildvm -m recdef -o lj_recdef.h lib_base.c lib_math.c lib_bit.c lib_string.c lib_table.c lib_io.c lib_os.c lib_package.c lib_debug.c lib_jit.c lib_ffi.c lib_buffer.c host/buildvm -m libdef -o lj_libdef.h lib_base.c lib_math.c lib_bit.c lib_string.c lib_table.c lib_io.c lib_os.c lib_package.c lib_debug.c lib_jit.c lib_ffi.c lib_buffer.c host/buildvm -m vmdef -o jit/vmdef.lua lib_base.c lib_math.c lib_bit.c lib_string.c lib_table.c lib_io.c lib_os.c lib_package.c lib_debug.c lib_jit.c lib_ffi.c lib_buffer.c gcc -fPIC -O2 -fomit-frame-pointer -Wall -DLUAJIT_ENABLE_LUA52COMPAT -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 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U_FORTIFY_SOURCE -fwrapv -DLUA_ROOT=\"/usr\" -DLUA_MULTILIB=\"lib64\" -fno-stack-protector -c -o lj_vm_dyn.o lj_vm.S gcc -O2 -fomit-frame-pointer -Wall -DLUAJIT_ENABLE_LUA52COMPAT -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 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U_FORTIFY_SOURCE -fwrapv -DLUA_ROOT=\"/usr\" -DLUA_MULTILIB=\"lib64\" -fno-stack-protector -c -o lj_vm.o lj_vm.S gcc -fPIC -O2 -fomit-frame-pointer -Wall -DLUAJIT_ENABLE_LUA52COMPAT -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 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U_FORTIFY_SOURCE -fwrapv -DLUA_ROOT=\"/usr\" -DLUA_MULTILIB=\"lib64\" -fno-stack-protector -c -o ljamalg_dyn.o ljamalg.c gcc -O2 -fomit-frame-pointer -Wall -DLUAJIT_ENABLE_LUA52COMPAT -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 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U_FORTIFY_SOURCE -fwrapv -DLUA_ROOT=\"/usr\" -DLUA_MULTILIB=\"lib64\" -fno-stack-protector -c -o ljamalg.o ljamalg.c ar rcus 2>/dev/null libluajit.a lj_vm.o ljamalg.o gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -fPIC -Wl,-soname,libluajit-5.1.so.2 -o libluajit.so lj_vm_dyn.o ljamalg_dyn.o -lm -ldl : libluajit.so gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-E -o luajit luajit.o libluajit.a -lm -ldl : luajit make[2]: Leaving directory '/builddir/build/BUILD/LuaJIT-2.1.ROLLING/src' make[1]: Leaving directory '/builddir/build/BUILD/LuaJIT-2.1.ROLLING/src' ==== Successfully built LuaJIT 2.1 (amalgamation) ==== + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GbY9ui + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64 + cd LuaJIT-2.1.ROLLING + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' PREFIX=/usr MULTILIB=lib64 ==== Installing LuaJIT 2.1.20230821 to /usr ==== mkdir -p /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/bin /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/lib64 /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/include/luajit-2.1 /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/share/man/man1 /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/lib64/pkgconfig /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/share/luajit-2.1/jit /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/share/lua/5.1 /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/lib64/lua/5.1 cd src && install -p -m 0755 luajit /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/bin/luajit-2.1.20230821 cd src && test -f libluajit.a && install -p -m 0644 libluajit.a /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/lib64/libluajit-5.1.a || : rm -f /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/lib64/libluajit-5.1.so.2.1.20230821 /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/lib64/libluajit-5.1.so /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/lib64/libluajit-5.1.so.2 cd src && test -f libluajit.so && \ install -p -m 0755 libluajit.so /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/lib64/libluajit-5.1.so.2.1.20230821 && \ ( ldconfig -n 2>/dev/null /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/lib64 || : ) && \ ln -sf libluajit-5.1.so.2.1.20230821 /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/lib64/libluajit-5.1.so && \ ln -sf libluajit-5.1.so.2.1.20230821 /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/lib64/libluajit-5.1.so.2 || : cd etc && install -p -m 0644 luajit.1 /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/share/man/man1 cd etc && sed -e "s|^prefix=.*|prefix=/usr|" -e "s|^multilib=.*|multilib=lib64|" -e "s|^relver=.*|relver=20230821|" luajit.pc > luajit.pc.tmp && \ install -p -m 0644 luajit.pc.tmp /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/lib64/pkgconfig/luajit.pc && \ rm -f luajit.pc.tmp cd src && install -p -m 0644 lua.h lualib.h lauxlib.h luaconf.h lua.hpp luajit.h /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/include/luajit-2.1 cd src/jit && install -p -m 0644 bc.lua bcsave.lua dump.lua p.lua v.lua zone.lua dis_x86.lua dis_x64.lua dis_arm.lua dis_arm64.lua dis_arm64be.lua dis_ppc.lua dis_mips.lua dis_mipsel.lua dis_mips64.lua dis_mips64el.lua dis_mips64r6.lua dis_mips64r6el.lua dis_loongarch64.lua vmdef.lua /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/share/luajit-2.1/jit ==== Successfully installed LuaJIT 2.1.20230821 to /usr ==== Note: the development releases deliberately do NOT install a symlink for luajit You can do this now by running this command (with sudo): ln -sf luajit-2.1.20230821 /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/bin/luajit + ln -s luajit-2.1.20230821 /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/bin/luajit + rm -rf _tmp_html + mkdir _tmp_html + cp -a doc _tmp_html/html + find /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64 -type f -name '*.a' -delete -print /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/lib64/libluajit-5.1.a + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.1.20230821-3.ocs23 --unique-debug-suffix -2.1.20230821-3.ocs23.loongarch64 --unique-debug-src-base luajit-2.1.20230821-3.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/LuaJIT-2.1.ROLLING extracting debug info from /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/bin/luajit-2.1.20230821 extracting debug info from /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/lib64/libluajit-5.1.so.2.1.20230821 cpio: src/buildvm_loongarch64.dasc: Cannot stat: No such file or directory 3398 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.TSRXNd + 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 LuaJIT-2.1.ROLLING + make check ==== Running tests for LuaJIT 2.1.20230821 ==== src/luajit test/test.lua make: *** [Makefile:170: check] Bus error (core dumped) + true + RPM_EC=0 ++ jobs -p + exit 0 Processing files: luajit-2.1.20230821-3.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HrnEB9 + umask 022 + cd /builddir/build/BUILD + cd LuaJIT-2.1.ROLLING + DOCDIR=/builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/share/doc/luajit + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/share/doc/luajit + cp -pr README /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/share/doc/luajit + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.RE9jbE + umask 022 + cd /builddir/build/BUILD + cd LuaJIT-2.1.ROLLING + LICENSEDIR=/builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/share/licenses/luajit + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/share/licenses/luajit + cp -pr COPYRIGHT /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/share/licenses/luajit + RPM_EC=0 ++ jobs -p + exit 0 Provides: libluajit-5.1.so.2()(64bit) luajit = 2.1.20230821-3.ocs23 luajit(loongarch-64) = 2.1.20230821-3.ocs23 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.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Processing files: luajit-devel-2.1.20230821-3.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jmxhBs + umask 022 + cd /builddir/build/BUILD + cd LuaJIT-2.1.ROLLING + DOCDIR=/builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/share/doc/luajit-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/share/doc/luajit-devel + cp -pr _tmp_html/html/ /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64/usr/share/doc/luajit-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: luajit-devel = 2.1.20230821-3.ocs23 luajit-devel(loongarch-64) = 2.1.20230821-3.ocs23 pkgconfig(luajit) = 2.1.20230821 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libluajit-5.1.so.2()(64bit) Processing files: luajit-debugsource-2.1.20230821-3.ocs23.loongarch64 Provides: luajit-debugsource = 2.1.20230821-3.ocs23 luajit-debugsource(loongarch-64) = 2.1.20230821-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: luajit-debuginfo-2.1.20230821-3.ocs23.loongarch64 Provides: debuginfo(build-id) = 08509423ed7ef0d542f5bd23ba6985205ada551b debuginfo(build-id) = e93cf40c0abe6a5c29eb97ead37a071d049a148b libluajit-5.1.so.2.1.20230821-2.1.20230821-3.ocs23.loongarch64.debug()(64bit) luajit-debuginfo = 2.1.20230821-3.ocs23 luajit-debuginfo(loongarch-64) = 2.1.20230821-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: luajit-debugsource(loongarch-64) = 2.1.20230821-3.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/luajit-2.1.20230821-3.ocs23.loongarch64 Wrote: /builddir/build/RPMS/luajit-devel-2.1.20230821-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/luajit-2.1.20230821-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/luajit-debugsource-2.1.20230821-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/luajit-debuginfo-2.1.20230821-3.ocs23.loongarch64.rpm Child return code was: 0