Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/neovim.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-345811-15530/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/neovim.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1672358400 Wrote: /builddir/build/SRPMS/neovim-0.8.2-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/neovim.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-345811-15530/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/neovim.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1672358400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FwK0P9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf neovim-0.8.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/neovim-0.8.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd neovim-0.8.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (neovim-fix-fortify-source.patch):' Patch #0 (neovim-fix-fortify-source.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file CMakeLists.txt + echo 'Patch #1000 (neovim-lua-bit32.patch):' Patch #1000 (neovim-lua-bit32.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file CMakeLists.txt Hunk #1 succeeded at 522 (offset -26 lines). patching file src/nvim/ex_cmds.lua patching file src/nvim/generators/gen_ex_cmds.lua + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hfsfpL + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd neovim-0.8.2 + HOSTNAME=koji + USERNAME=koji + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPREFER_LUA=ON -DLUA_PRG=/usr/bin/lua-5.1 -DENABLE_JEMALLOC=OFF -DLIBLUV_INCLUDE_DIR=/usr/include/lua-5.1 -DLIBLUV_LIBRARY=/usr/lib64/lua/5.1/luv.so -- The C compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- CMAKE_INSTALL_PREFIX=/usr -- CMAKE_BUILD_TYPE=RelWithDebInfo -- MIN_LOG_LEVEL not specified, default is 3 (ERROR) for release builds -- Performing Test HAS_OG_FLAG -- Performing Test HAS_OG_FLAG - Success -- Performing Test HAVE_EXECINFO_BACKTRACE -- Performing Test HAVE_EXECINFO_BACKTRACE - Success -- Performing Test HAVE_BUILTIN_ADD_OVERFLOW -- Performing Test HAVE_BUILTIN_ADD_OVERFLOW - Success -- Performing Test HAVE_WIMPLICIT_FALLTHROUGH_FLAG -- Performing Test HAVE_WIMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test HAS_WVLA_FLAG -- Performing Test HAS_WVLA_FLAG - Success -- Performing Test HAS_FSTACK_PROTECTOR_STRONG_FLAG -- Performing Test HAS_FSTACK_PROTECTOR_STRONG_FLAG - Success -- Performing Test HAS_FSTACK_PROTECTOR_FLAG -- Performing Test HAS_FSTACK_PROTECTOR_FLAG - Success -- Performing Test HAVE_FNO_COMMON -- Performing Test HAVE_FNO_COMMON - Success -- Performing Test HAS_DIAG_COLOR_FLAG -- Performing Test HAS_DIAG_COLOR_FLAG - Success -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for kstat_lookup in kstat -- Looking for kstat_lookup in kstat - not found -- Looking for kvm_open in kvm -- Looking for kvm_open in kvm - not found -- Looking for gethostbyname in nsl -- Looking for gethostbyname in nsl - not found -- Looking for perfstat_cpu in perfstat -- Looking for perfstat_cpu in perfstat - not found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for sendfile in sendfile -- Looking for sendfile in sendfile - not found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found LibUV: /usr/lib64/libuv.so (Required is at least version "1.28.0") -- Found Msgpack: /usr/lib64/libmsgpackc.so (found suitable version "3.1.0", minimum required is "1.0.0") -- Found LibLUV: /usr/lib64/lua/5.1/luv.so (Required is at least version "1.43.0") -- Found TreeSitter 0.6.3 -- Performing Test TS_HAS_SET_MATCH_LIMIT -- Performing Test TS_HAS_SET_MATCH_LIMIT - Success -- Performing Test TS_HAS_SET_ALLOCATOR -- Performing Test TS_HAS_SET_ALLOCATOR - Success -- Found Lua: /usr/lib64/liblua-5.1.so;/usr/lib64/libm.so (found suitable exact version "5.1.5") -- Could NOT find LuaJit (missing: LUAJIT_LIBRARY LUAJIT_INCLUDE_DIR) -- Performing Test MSGPACK_HAS_FLOAT32 -- Performing Test MSGPACK_HAS_FLOAT32 - Success -- Found UNIBILIUM 2.1.1 -- Performing Test UNIBI_HAS_VAR_FROM -- Performing Test UNIBI_HAS_VAR_FROM - Success -- Found LibTermkey: /usr/lib64/libtermkey.so (Required is at least version "0.22") -- Found LIBVTERM 0.3 -- Found Iconv -- Performing Test HAVE_WORKING_LIBINTL -- Performing Test HAVE_WORKING_LIBINTL - Success -- Looking for _nl_msg_cat_cntr -- Looking for _nl_msg_cat_cntr - found -- Checking Lua interpreter: /usr/bin/lua-5.1 /usr/bin/lua-5.1: module 'lpeg' not found: no field package.preload['lpeg'] no file './lpeg.lua' no file '/usr/share/lua/5.1/lpeg.lua' no file '/usr/share/lua/5.1/lpeg/init.lua' no file '/usr/lib/lua/5.1/lpeg.lua' no file '/usr/lib/lua/5.1/lpeg/init.lua' no file './lpeg.so' no file '/usr/lib/lua/5.1/lpeg.so' no file '/usr/lib/lua/5.1/loadall.so' stack traceback: [C]: ? [C]: ? -- [/usr/bin/lua-5.1] The 'lpeg' lua package is required for building Neovim -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/neovim-0.8.2/redhat-linux-build/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/neovim-0.8.2/redhat-linux-build/CMakeFiles/CMakeError.log". CMake Error at CMakeLists.txt:546 (message): Failed to find a Lua 5.1-compatible interpreter error: Bad exit status from /var/tmp/rpm-tmp.hfsfpL (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.hfsfpL (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/neovim.spec