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/j4-dmenu-desktop.spec'], chrootPath='/var/lib/mock/f38-build-723216-98992/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/j4-dmenu-desktop.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=1658361600 Wrote: /builddir/build/SRPMS/j4-dmenu-desktop-2.18-7.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/j4-dmenu-desktop.spec'], chrootPath='/var/lib/mock/f38-build-723216-98992/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/j4-dmenu-desktop.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=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aCwAbJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf j4-dmenu-desktop-r2.18 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/j4-dmenu-desktop-2.18.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd j4-dmenu-desktop-r2.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cmake-minimum-version.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.G3sKOd + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 j4-dmenu-desktop-r2.18 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -DWITH_GIT_CATCH=OFF -DCATCH_INCLUDE_DIR=/usr/include/catch2 -- The C compiler identification is GNU 13.1.1 -- The CXX compiler identification is GNU 13.1.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 -- Configuring done (4.9s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_SHARED_LIBS CMAKE_CXX_FLAGS_RELEASE 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/j4-dmenu-desktop-r2.18/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/j4-dmenu-desktop-r2.18 -B/builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build/CMakeFiles /builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/j4-dmenu-tests.dir/build.make CMakeFiles/j4-dmenu-tests.dir/depend /usr/bin/gmake -f CMakeFiles/j4-dmenu-desktop.dir/build.make CMakeFiles/j4-dmenu-desktop.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build' cd /builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/j4-dmenu-desktop-r2.18 /builddir/build/BUILD/j4-dmenu-desktop-r2.18 /builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build /builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build /builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build/CMakeFiles/j4-dmenu-desktop.dir/DependInfo.cmake --color= cd /builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/j4-dmenu-desktop-r2.18 /builddir/build/BUILD/j4-dmenu-desktop-r2.18 /builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build /builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build /builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build/CMakeFiles/j4-dmenu-tests.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/j4-dmenu-tests.dir/build.make CMakeFiles/j4-dmenu-tests.dir/build /usr/bin/gmake -f CMakeFiles/j4-dmenu-desktop.dir/build.make CMakeFiles/j4-dmenu-desktop.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build' [ 50%] Building CXX object CMakeFiles/j4-dmenu-desktop.dir/src/main.cc.o [ 50%] Building CXX object CMakeFiles/j4-dmenu-tests.dir/src/Test.cc.o /usr/bin/g++ -DTEST_FILES=\"/builddir/build/BUILD/j4-dmenu-desktop-r2.18/test_files/\" -I/usr/include/catch2 -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -std=c++11 -Wall -Wextra -pedantic -O2 -D_WITH_GETLINE -MD -MT CMakeFiles/j4-dmenu-tests.dir/src/Test.cc.o -MF CMakeFiles/j4-dmenu-tests.dir/src/Test.cc.o.d -o CMakeFiles/j4-dmenu-tests.dir/src/Test.cc.o -c /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Test.cc /usr/bin/g++ -DTEST_FILES=\"/builddir/build/BUILD/j4-dmenu-desktop-r2.18/test_files/\" -I/usr/include/catch2 -O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -std=c++11 -Wall -Wextra -pedantic -O2 -D_WITH_GETLINE -MD -MT CMakeFiles/j4-dmenu-desktop.dir/src/main.cc.o -MF CMakeFiles/j4-dmenu-desktop.dir/src/main.cc.o.d -o CMakeFiles/j4-dmenu-desktop.dir/src/main.cc.o -c /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/main.cc /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Test.cc:5:10: fatal error: catch.hpp: No such file or directory 5 | #include "catch.hpp" | ^~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/j4-dmenu-tests.dir/build.make:79: CMakeFiles/j4-dmenu-tests.dir/src/Test.cc.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:88: CMakeFiles/j4-dmenu-tests.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... In file included from /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Main.hh:16, from /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/main.cc:2: /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:31:25: error: 'uint32_t' does not name a type 31 | static inline constexpr uint32_t make_istring(const char *s) | ^~~~~~~~ /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:27:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? 26 | #include "LocaleSuffixes.hh" +++ |+#include 27 | /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:36:11: error: 'uint32_t' does not name a type 36 | constexpr uint32_t operator "" _istr(const char *s, size_t) | ^~~~~~~~ /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:36:11: note: 'uint32_t' is defined in header ''; did you forget to '#include '? /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh: In member function 'bool Application::read(const char*, char**, size_t*)': /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:142:24: error: 'make_istring' was not declared in this scope 142 | switch(make_istring(key)) { | ^~~~~~~~~~~~ /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:143:22: error: unable to find string literal operator 'operator""_istr' with 'const char [5]', 'long unsigned int' arguments 143 | case "Name"_istr: | ^~~~~~~~~~~ /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:146:22: error: unable to find string literal operator 'operator""_istr' with 'const char [12]', 'long unsigned int' arguments 146 | case "GenericName"_istr: | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:149:22: error: unable to find string literal operator 'operator""_istr' with 'const char [5]', 'long unsigned int' arguments 149 | case "Exec"_istr: | ^~~~~~~~~~~ /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:152:22: error: unable to find string literal operator 'operator""_istr' with 'const char [5]', 'long unsigned int' arguments 152 | case "Path"_istr: | ^~~~~~~~~~~ /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:155:22: error: unable to find string literal operator 'operator""_istr' with 'const char [11]', 'long unsigned int' arguments 155 | case "OnlyShowIn"_istr: | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:167:22: error: unable to find string literal operator 'operator""_istr' with 'const char [10]', 'long unsigned int' arguments 167 | case "NotShowIn"_istr: | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:179:22: error: unable to find string literal operator 'operator""_istr' with 'const char [7]', 'long unsigned int' arguments 179 | case "Hidden"_istr: | ^~~~~~~~~~~~~ /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:180:22: error: unable to find string literal operator 'operator""_istr' with 'const char [10]', 'long unsigned int' arguments 180 | case "NoDisplay"_istr: | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:188:22: error: unable to find string literal operator 'operator""_istr' with 'const char [9]', 'long unsigned int' arguments 188 | case "Terminal"_istr: | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/j4-dmenu-desktop-r2.18/src/Application.hh:189:61: error: unable to find string literal operator 'operator""_istr' with 'const char [5]', 'long unsigned int' arguments 189 | this->terminal = make_istring(value) == "true"_istr; | ^~~~~~~~~~~ gmake[2]: *** [CMakeFiles/j4-dmenu-desktop.dir/build.make:79: CMakeFiles/j4-dmenu-desktop.dir/src/main.cc.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build' gmake[1]: Leaving directory '/builddir/build/BUILD/j4-dmenu-desktop-r2.18/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:114: CMakeFiles/j4-dmenu-desktop.dir/all] Error 2 gmake: *** [Makefile:149: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.G3sKOd (%build) Bad exit status from /var/tmp/rpm-tmp.G3sKOd (%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/j4-dmenu-desktop.spec