Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lua-luv.spec'], chrootPath='/var/lib/mock/f32-build-117770-35176/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lua-luv.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1572307200 Wrote: /builddir/build/SRPMS/lua-luv-1.32.0.0-0.fc32.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lua-luv.spec'], chrootPath='/var/lib/mock/f32-build-117770-35176/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lua-luv.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1572307200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.W2X7Jm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf luv-1.32.0-0 + /usr/bin/gzip -dc /builddir/build/SOURCES/luv-1.32.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd luv-1.32.0-0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf deps + rm -f tests/test-dns.lua + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2pyIIl + umask 022 + cd /builddir/build/BUILD + cd luv-1.32.0-0 + mkdir -p obj-lua53 + pushd obj-lua53 ~/build/BUILD/luv-1.32.0-0/obj-lua53 ~/build/BUILD/luv-1.32.0-0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' + export LDFLAGS + /usr/bin/cmake -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_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 .. -DWITH_SHARED_LIBUV=ON -DBUILD_MODULE=ON -DBUILD_SHARED_LIBS=ON -DWITH_LUA_ENGINE=Lua -DLUA_BUILD_TYPE=System -DINSTALL_LIB_DIR=/usr/lib64 -- The C compiler identification is GNU 9.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found LIBUV: /usr/lib64/libuv.so -- Found Lua: /usr/lib64/liblua-5.3.so;/usr/lib64/libm.so (found version "5.3.5") -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/luv-1.32.0-0/obj-lua53 + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/cmake -S/builddir/build/BUILD/luv-1.32.0-0 -B/builddir/build/BUILD/luv-1.32.0-0/obj-lua53 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/luv-1.32.0-0/obj-lua53/CMakeFiles /builddir/build/BUILD/luv-1.32.0-0/obj-lua53/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f CMakeFiles/luv.dir/build.make CMakeFiles/luv.dir/depend make[2]: Entering directory '/builddir/build/BUILD/luv-1.32.0-0/obj-lua53' cd /builddir/build/BUILD/luv-1.32.0-0/obj-lua53 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/luv-1.32.0-0 /builddir/build/BUILD/luv-1.32.0-0 /builddir/build/BUILD/luv-1.32.0-0/obj-lua53 /builddir/build/BUILD/luv-1.32.0-0/obj-lua53 /builddir/build/BUILD/luv-1.32.0-0/obj-lua53/CMakeFiles/luv.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/luv-1.32.0-0/obj-lua53/CMakeFiles/luv.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/luv-1.32.0-0/obj-lua53/CMakeFiles/luv.dir/depend.internal". Dependee "/builddir/build/BUILD/luv-1.32.0-0/obj-lua53/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/luv-1.32.0-0/obj-lua53/CMakeFiles/luv.dir/depend.internal". Scanning dependencies of target luv make[2]: Leaving directory '/builddir/build/BUILD/luv-1.32.0-0/obj-lua53' /usr/bin/make -f CMakeFiles/luv.dir/build.make CMakeFiles/luv.dir/build make[2]: Entering directory '/builddir/build/BUILD/luv-1.32.0-0/obj-lua53' [ 50%] Building C object CMakeFiles/luv.dir/src/luv.c.o /usr/bin/cc -DLUA_USE_DLOPEN -Dluv_EXPORTS -I/builddir/build/BUILD/luv-1.32.0-0/deps/lua-compat-5.3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o CMakeFiles/luv.dir/src/luv.c.o -c /builddir/build/BUILD/luv-1.32.0-0/src/luv.c make[2]: Leaving directory '/builddir/build/BUILD/luv-1.32.0-0/obj-lua53' BUILDSTDERR: In file included from /builddir/build/BUILD/luv-1.32.0-0/src/luv.c:41: BUILDSTDERR: /builddir/build/BUILD/luv-1.32.0-0/src/pipe.c: In function 'luv_new_pipe': BUILDSTDERR: /builddir/build/BUILD/luv-1.32.0-0/src/pipe.c:35:9: warning: 'ipc' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 35 | ret = uv_pipe_init(ctx->loop, handle, ipc); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/luv-1.32.0-0/obj-lua53' [100%] Linking C shared module luv.so /usr/bin/cmake -E cmake_link_script CMakeFiles/luv.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -o luv.so CMakeFiles/luv.dir/src/luv.c.o -luv -lrt make[2]: Leaving directory '/builddir/build/BUILD/luv-1.32.0-0/obj-lua53' make[1]: Entering directory '/builddir/build/BUILD/luv-1.32.0-0/obj-lua53' [100%] Built target luv make[1]: Leaving directory '/builddir/build/BUILD/luv-1.32.0-0/obj-lua53' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/luv-1.32.0-0/obj-lua53/CMakeFiles 0 + popd ~/build/BUILD/luv-1.32.0-0 + mkdir -p obj-lua51 + pushd obj-lua51 ~/build/BUILD/luv-1.32.0-0/obj-lua51 ~/build/BUILD/luv-1.32.0-0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' + export LDFLAGS + /usr/bin/cmake -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_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 .. -DWITH_SHARED_LIBUV=ON -DBUILD_MODULE=ON -DBUILD_SHARED_LIBS=ON -DWITH_LUA_ENGINE=Lua -DLUA_BUILD_TYPE=System -DINSTALL_LIB_DIR=/usr/lib64 -DLUA_COMPAT53_DIR=/usr/include/lua-5.1 -DLUA_LIBRARIES=/usr/lib64/liblua-5.1.so -- The C compiler identification is GNU 9.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found LIBUV: /usr/lib64/libuv.so -- Found Lua: /usr/lib64/liblua-5.3.so;/usr/lib64/libm.so (found version "5.3.5") -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/luv-1.32.0-0/obj-lua51 + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/cmake -S/builddir/build/BUILD/luv-1.32.0-0 -B/builddir/build/BUILD/luv-1.32.0-0/obj-lua51 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/luv-1.32.0-0/obj-lua51/CMakeFiles /builddir/build/BUILD/luv-1.32.0-0/obj-lua51/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f CMakeFiles/luv.dir/build.make CMakeFiles/luv.dir/depend make[2]: Entering directory '/builddir/build/BUILD/luv-1.32.0-0/obj-lua51' cd /builddir/build/BUILD/luv-1.32.0-0/obj-lua51 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/luv-1.32.0-0 /builddir/build/BUILD/luv-1.32.0-0 /builddir/build/BUILD/luv-1.32.0-0/obj-lua51 /builddir/build/BUILD/luv-1.32.0-0/obj-lua51 /builddir/build/BUILD/luv-1.32.0-0/obj-lua51/CMakeFiles/luv.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/luv-1.32.0-0/obj-lua51/CMakeFiles/luv.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/luv-1.32.0-0/obj-lua51/CMakeFiles/luv.dir/depend.internal". Dependee "/builddir/build/BUILD/luv-1.32.0-0/obj-lua51/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/luv-1.32.0-0/obj-lua51/CMakeFiles/luv.dir/depend.internal". Scanning dependencies of target luv make[2]: Leaving directory '/builddir/build/BUILD/luv-1.32.0-0/obj-lua51' /usr/bin/make -f CMakeFiles/luv.dir/build.make CMakeFiles/luv.dir/build make[2]: Entering directory '/builddir/build/BUILD/luv-1.32.0-0/obj-lua51' [ 50%] Building C object CMakeFiles/luv.dir/src/luv.c.o /usr/bin/cc -DLUA_USE_DLOPEN -Dluv_EXPORTS -I/usr/include/lua-5.1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o CMakeFiles/luv.dir/src/luv.c.o -c /builddir/build/BUILD/luv-1.32.0-0/src/luv.c make[2]: Leaving directory '/builddir/build/BUILD/luv-1.32.0-0/obj-lua51' BUILDSTDERR: /builddir/build/BUILD/luv-1.32.0-0/src/luv.c:20:10: fatal error: c-api/compat-5.3.h: No such file or directory BUILDSTDERR: 20 | #include "c-api/compat-5.3.h" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[2]: *** [CMakeFiles/luv.dir/build.make:66: CMakeFiles/luv.dir/src/luv.c.o] Error 1 BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/luv.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:133: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.2pyIIl (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.2pyIIl (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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/lua-luv.spec