Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/openlierox.spec'], chrootPath='/var/lib/mock/f40-build-770691-125863/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/openlierox.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=1689811200 Wrote: /builddir/build/SRPMS/openlierox-0.58-0.30.rc5.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/openlierox.spec'], chrootPath='/var/lib/mock/f40-build-770691-125863/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/openlierox.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=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ISqKUD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf OpenLieroX + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/OpenLieroX_0.58_rc5.src.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd OpenLieroX + rm -rf /builddir/build/BUILD/OpenLieroX-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/OpenLieroX-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/openlierox-gcc13.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's/\r//g' doc/original_lx_docs/Credits.html doc/original_lx_docs/Faqs-General.html doc/original_lx_docs/Faqs-netplay.html doc/original_lx_docs/Faqs.html doc/original_lx_docs/History.txt doc/original_lx_docs/HowToPlay.html doc/original_lx_docs/Modding.html doc/original_lx_docs/main.html doc/original_lx_docs/readme.txt doc/original_lx_docs/skins.txt doc/original_lx_docs/tips.txt + cp -a /builddir/build/SOURCES/README.fedora . + for i in libs/* + '[' libs/boost_process = libs/pstreams -o libs/boost_process = libs/linenoise ']' + rm -r libs/boost_process + for i in libs/* + '[' libs/coredumper = libs/pstreams -o libs/coredumper = libs/linenoise ']' + rm -r libs/coredumper + for i in libs/* + '[' libs/hawknl = libs/pstreams -o libs/hawknl = libs/linenoise ']' + rm -r libs/hawknl + for i in libs/* + '[' libs/libzip = libs/pstreams -o libs/libzip = libs/linenoise ']' + rm -r libs/libzip + for i in libs/* + '[' libs/pstreams = libs/pstreams -o libs/pstreams = libs/linenoise ']' + continue + find -type f -print0 + xargs -0 chmod -x + rm -rf share/gamedir/scripts share/gamedir/cfg/dedicated_config.py share/gamedir/cfg/dedicated_config_lx56.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JRZvrh + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 OpenLieroX + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -DDEBUG=OFF -DHAWKNL_BUILTIN=OFF -DBREAKPAD=OFF -DSYSTEM_DATA_DIR=/usr/share CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as project(ProjectName) near the top of the file, but after cmake_minimum_required(). CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) in CMakeLists.txt: cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.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 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at CMakeOlxCommon.cmake:4 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. Call Stack (most recent call first): CMakeLists.txt:7 (include) CMake Deprecation Warning at CMakeOlxCommon.cmake:7 (cmake_policy): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. Call Stack (most recent call first): CMakeLists.txt:7 (include) CMake Deprecation Warning at CMakeOlxCommon.cmake:8 (cmake_policy): The OLD behavior for policy CMP0005 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:7 (include) CMake Deprecation Warning at CMakeOlxCommon.cmake:9 (cmake_policy): The OLD behavior for policy CMP0003 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:7 (include) CMake Deprecation Warning at CMakeOlxCommon.cmake:14 (cmake_policy): The OLD behavior for policy CMP0011 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:7 (include) SYSTEM_DATA_DIR = /usr/share DEBUG = OFF DEDICATED_ONLY = OFF G15 = OFF X11 = ON HAWKNL_BUILTIN = OFF LIBZIP_BUILTIN = OFF STLPORT = OFF GCOREDUMPER = OFF BREAKPAD = OFF CMAKE_C_COMPILER = /usr/bin/gcc CMAKE_C_FLAGS = -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer CMAKE_CXX_COMPILER = /usr/bin/g++ CMAKE_CXX_FLAGS = -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer MINGW_CROSS_COMPILE = OFF OLX_VERSION = 0.58_rc5 -- Configuring done (3.7s) -- Generating done (0.2s) CMake Warning: Manually-specified variables were not used by the project: BUILD_SHARED_LIBS CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/OpenLieroX/redhat-linux-build + mkdir redhat-linux-build/bin + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/OpenLieroX/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j4 /usr/bin/cmake -S/builddir/build/BUILD/OpenLieroX -B/builddir/build/BUILD/OpenLieroX/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/OpenLieroX/redhat-linux-build/CMakeFiles /builddir/build/BUILD/OpenLieroX/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/OpenLieroX/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/openlierox.dir/build.make CMakeFiles/openlierox.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/OpenLieroX/redhat-linux-build' cd /builddir/build/BUILD/OpenLieroX/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/OpenLieroX /builddir/build/BUILD/OpenLieroX /builddir/build/BUILD/OpenLieroX/redhat-linux-build /builddir/build/BUILD/OpenLieroX/redhat-linux-build /builddir/build/BUILD/OpenLieroX/redhat-linux-build/CMakeFiles/openlierox.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/OpenLieroX/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/openlierox.dir/build.make CMakeFiles/openlierox.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/OpenLieroX/redhat-linux-build' [ 2%] Building CXX object CMakeFiles/openlierox.dir/src/breakpad/ExtractInfo.o [ 2%] Building CXX object CMakeFiles/openlierox.dir/src/main.o [ 2%] Building CXX object CMakeFiles/openlierox.dir/src/client/CChatBox.o [ 2%] Building CXX object CMakeFiles/openlierox.dir/src/client/AuxLib.o /usr/bin/g++ -DNBREAKPAD -DX11 -I/builddir/build/BUILD/OpenLieroX/optional-includes/generated -I/builddir/build/BUILD/OpenLieroX/include -I/builddir/build/BUILD/OpenLieroX/libs/pstreams -I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/include/hawknl -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -std=c++11 -DNDEBUG -Wall -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -ftabstop=4 -Werror=format -Werror=format-nonliteral -Werror=format-security '-D SYSTEM_DATA_DIR="/usr/share"' -MD -MT CMakeFiles/openlierox.dir/src/main.o -MF CMakeFiles/openlierox.dir/src/main.o.d -o CMakeFiles/openlierox.dir/src/main.o -c /builddir/build/BUILD/OpenLieroX/src/main.cpp /usr/bin/g++ -DNBREAKPAD -DX11 -I/builddir/build/BUILD/OpenLieroX/optional-includes/generated -I/builddir/build/BUILD/OpenLieroX/include -I/builddir/build/BUILD/OpenLieroX/libs/pstreams -I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/include/hawknl -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -std=c++11 -DNDEBUG -Wall -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -ftabstop=4 -Werror=format -Werror=format-nonliteral -Werror=format-security '-D SYSTEM_DATA_DIR="/usr/share"' -MD -MT CMakeFiles/openlierox.dir/src/breakpad/ExtractInfo.o -MF CMakeFiles/openlierox.dir/src/breakpad/ExtractInfo.o.d -o CMakeFiles/openlierox.dir/src/breakpad/ExtractInfo.o -c /builddir/build/BUILD/OpenLieroX/src/breakpad/ExtractInfo.cpp /usr/bin/g++ -DNBREAKPAD -DX11 -I/builddir/build/BUILD/OpenLieroX/optional-includes/generated -I/builddir/build/BUILD/OpenLieroX/include -I/builddir/build/BUILD/OpenLieroX/libs/pstreams -I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/include/hawknl -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -std=c++11 -DNDEBUG -Wall -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -ftabstop=4 -Werror=format -Werror=format-nonliteral -Werror=format-security '-D SYSTEM_DATA_DIR="/usr/share"' -MD -MT CMakeFiles/openlierox.dir/src/client/CChatBox.o -MF CMakeFiles/openlierox.dir/src/client/CChatBox.o.d -o CMakeFiles/openlierox.dir/src/client/CChatBox.o -c /builddir/build/BUILD/OpenLieroX/src/client/CChatBox.cpp /usr/bin/g++ -DNBREAKPAD -DX11 -I/builddir/build/BUILD/OpenLieroX/optional-includes/generated -I/builddir/build/BUILD/OpenLieroX/include -I/builddir/build/BUILD/OpenLieroX/libs/pstreams -I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/include/hawknl -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -std=c++11 -DNDEBUG -Wall -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -ftabstop=4 -Werror=format -Werror=format-nonliteral -Werror=format-security '-D SYSTEM_DATA_DIR="/usr/share"' -MD -MT CMakeFiles/openlierox.dir/src/client/AuxLib.o -MF CMakeFiles/openlierox.dir/src/client/AuxLib.o.d -o CMakeFiles/openlierox.dir/src/client/AuxLib.o -c /builddir/build/BUILD/OpenLieroX/src/client/AuxLib.cpp [ 3%] Building CXX object CMakeFiles/openlierox.dir/src/client/CClient.o /usr/bin/g++ -DNBREAKPAD -DX11 -I/builddir/build/BUILD/OpenLieroX/optional-includes/generated -I/builddir/build/BUILD/OpenLieroX/include -I/builddir/build/BUILD/OpenLieroX/libs/pstreams -I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/include/hawknl -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -std=c++11 -DNDEBUG -Wall -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -ftabstop=4 -Werror=format -Werror=format-nonliteral -Werror=format-security '-D SYSTEM_DATA_DIR="/usr/share"' -MD -MT CMakeFiles/openlierox.dir/src/client/CClient.o -MF CMakeFiles/openlierox.dir/src/client/CClient.o.d -o CMakeFiles/openlierox.dir/src/client/CClient.o -c /builddir/build/BUILD/OpenLieroX/src/client/CClient.cpp /builddir/build/BUILD/OpenLieroX/src/main.cpp: In function ‘void teeOlxOutputHandler(int, int)’: /builddir/build/BUILD/OpenLieroX/src/main.cpp:390:18: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 390 | write(out, &tmp, 8); | ~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/OpenLieroX/src/main.cpp:394:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 394 | write( out, &ch, 1 ); | ~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/OpenLieroX/src/main.cpp: In function ‘int main(int, char**)’: /builddir/build/BUILD/OpenLieroX/src/main.cpp:616:15: warning: ignoring return value of ‘char* getcwd(char*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 616 | getcwd(cwd, sizeof(cwd)); | ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/OpenLieroX/src/client/CClient.cpp:37: /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:22:15: error: ‘xmlNodePtr’ was not declared in this scope 22 | int xmlGetInt(xmlNodePtr node, const std::string& name, int def = 0); | ^~~~~~~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:22:32: error: expected primary-expression before ‘const’ 22 | int xmlGetInt(xmlNodePtr node, const std::string& name, int def = 0); | ^~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:22:57: error: expected primary-expression before ‘int’ 22 | int xmlGetInt(xmlNodePtr node, const std::string& name, int def = 0); | ^~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:22:68: error: expression list treated as compound expression in initializer [-fpermissive] 22 | int xmlGetInt(xmlNodePtr node, const std::string& name, int def = 0); | ^ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:23:19: error: ‘xmlNodePtr’ was not declared in this scope 23 | float xmlGetFloat(xmlNodePtr node, const std::string& name, float def = 0); | ^~~~~~~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:23:36: error: expected primary-expression before ‘const’ 23 | float xmlGetFloat(xmlNodePtr node, const std::string& name, float def = 0); | ^~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:23:61: error: expected primary-expression before ‘float’ 23 | float xmlGetFloat(xmlNodePtr node, const std::string& name, float def = 0); | ^~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:23:74: error: expression list treated as compound expression in initializer [-fpermissive] 23 | float xmlGetFloat(xmlNodePtr node, const std::string& name, float def = 0); | ^ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:24:20: error: ‘xmlNodePtr’ was not declared in this scope 24 | Color xmlGetColour(xmlNodePtr node, const std::string& name, const Color& def = Color()); | ^~~~~~~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:24:37: error: expected primary-expression before ‘const’ 24 | Color xmlGetColour(xmlNodePtr node, const std::string& name, const Color& def = Color()); | ^~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:24:62: error: expected primary-expression before ‘const’ 24 | Color xmlGetColour(xmlNodePtr node, const std::string& name, const Color& def = Color()); | ^~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:25:26: error: ‘xmlNodePtr’ was not declared in this scope 25 | std::string xmlGetString(xmlNodePtr node, const std::string& name, const std::string& def = ""); | ^~~~~~~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:25:43: error: expected primary-expression before ‘const’ 25 | std::string xmlGetString(xmlNodePtr node, const std::string& name, const std::string& def = ""); | ^~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:25:68: error: expected primary-expression before ‘const’ 25 | std::string xmlGetString(xmlNodePtr node, const std::string& name, const std::string& def = ""); | ^~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:26:17: error: ‘xmlNodePtr’ was not declared in this scope 26 | bool xmlGetBool(xmlNodePtr node, const std::string& name, bool def = false); | ^~~~~~~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:26:34: error: expected primary-expression before ‘const’ 26 | bool xmlGetBool(xmlNodePtr node, const std::string& name, bool def = false); | ^~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:26:59: error: expected primary-expression before ‘bool’ 26 | bool xmlGetBool(xmlNodePtr node, const std::string& name, bool def = false); | ^~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:26:75: error: expression list treated as compound expression in initializer [-fpermissive] 26 | bool xmlGetBool(xmlNodePtr node, const std::string& name, bool def = false); | ^ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:27:25: error: ‘xmlNodePtr’ was not declared in this scope 27 | std::string xmlNodeText(xmlNodePtr node, const std::string& def); | ^~~~~~~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:27:42: error: expected primary-expression before ‘const’ 27 | std::string xmlNodeText(xmlNodePtr node, const std::string& def); | ^~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:28:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions] 28 | inline bool xmlPropExists(xmlNodePtr node, const std::string& prop) { return xmlGetProp(node, (const xmlChar *)prop.c_str()) != NULL; } | ^~~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:28:27: error: ‘xmlNodePtr’ was not declared in this scope 28 | inline bool xmlPropExists(xmlNodePtr node, const std::string& prop) { return xmlGetProp(node, (const xmlChar *)prop.c_str()) != NULL; } | ^~~~~~~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:28:44: error: expected primary-expression before ‘const’ 28 | inline bool xmlPropExists(xmlNodePtr node, const std::string& prop) { return xmlGetProp(node, (const xmlChar *)prop.c_str()) != NULL; } | ^~~~~ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:28:67: error: expression list treated as compound expression in initializer [-fpermissive] 28 | inline bool xmlPropExists(xmlNodePtr node, const std::string& prop) { return xmlGetProp(node, (const xmlChar *)prop.c_str()) != NULL; } | ^ /builddir/build/BUILD/OpenLieroX/include/XMLutils.h:29:27: error: ‘xmlNodePtr’ was not declared in this scope 29 | std::string xmlGetBaseURL(xmlNodePtr node); | ^~~~~~~~~~ /builddir/build/BUILD/OpenLieroX/src/client/CClient.cpp: In member function ‘void CClient::FinishModDownloads()’: /builddir/build/BUILD/OpenLieroX/src/client/CClient.cpp:707:46: warning: ‘int zip_get_num_files(zip_t*)’ is deprecated: use 'zip_get_num_entries' instead [-Wdeprecated-declarations] 707 | for( int f = 0; f < zip_get_num_files(zipfile); f++ ) | ~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /builddir/build/BUILD/OpenLieroX/src/client/CClient.cpp:53: /usr/include/zip.h:383:68: note: declared here 383 | ZIP_DEPRECATED("use 'zip_get_num_entries' instead") ZIP_EXTERN int zip_get_num_files(zip_t *_Nonnull); | ^~~~~~~~~~~~~~~~~ [ 4%] Building CXX object CMakeFiles/openlierox.dir/src/client/CClient_Draw.o /usr/bin/g++ -DNBREAKPAD -DX11 -I/builddir/build/BUILD/OpenLieroX/optional-includes/generated -I/builddir/build/BUILD/OpenLieroX/include -I/builddir/build/BUILD/OpenLieroX/libs/pstreams -I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/include/hawknl -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -std=c++11 -DNDEBUG -Wall -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -ftabstop=4 -Werror=format -Werror=format-nonliteral -Werror=format-security '-D SYSTEM_DATA_DIR="/usr/share"' -MD -MT CMakeFiles/openlierox.dir/src/client/CClient_Draw.o -MF CMakeFiles/openlierox.dir/src/client/CClient_Draw.o.d -o CMakeFiles/openlierox.dir/src/client/CClient_Draw.o -c /builddir/build/BUILD/OpenLieroX/src/client/CClient_Draw.cpp gmake[2]: *** [CMakeFiles/openlierox.dir/build.make:135: CMakeFiles/openlierox.dir/src/client/CClient.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... /builddir/build/BUILD/OpenLieroX/src/client/CClient_Draw.cpp: In member function ‘void CClient::ProcessSpectatorViewportKeys()’: /builddir/build/BUILD/OpenLieroX/src/client/CClient_Draw.cpp:2257:9: warning: the address of ‘CClient::cLocalWorms’ will never be NULL [-Waddress] 2257 | if(!cLocalWorms) return; | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/OpenLieroX/src/client/CClient_Draw.cpp:21: /builddir/build/BUILD/OpenLieroX/include/CClient.h:198:18: note: ‘CClient::cLocalWorms’ declared here 198 | CWorm *cLocalWorms[MAX_PLAYERS]; | ^~~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/OpenLieroX/redhat-linux-build' gmake[1]: Leaving directory '/builddir/build/BUILD/OpenLieroX/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/openlierox.dir/all] Error 2 gmake: *** [Makefile:94: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.JRZvrh (%build) Bad exit status from /var/tmp/rpm-tmp.JRZvrh (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/openlierox.spec