.h:77:19: note: in definition of macro 'LuaError' BUILDSTDERR: fprintf(stdout, args); \ BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/stratagus_2.2.7.orig/src/stratagus/script.cpp:698:16: error: unable to find string literal operator 'operator""_C_' with 'const char [22]', 'long unsigned int' arguments BUILDSTDERR: LuaError(l, "unknow condition '%s'"_C_ key); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/stratagus_2.2.7.orig/src/include/script.h:79:22: note: in definition of macro 'LuaError' BUILDSTDERR: lua_pushfstring(l, args); lua_error(l); \ BUILDSTDERR: ^~~~ [ 81%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/selection.cpp.o /usr/bin/c++ -DHAVE_STRCASESTR -DHAVE_STRNLEN -DHAVE_X11 -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_MIKMOD -DUSE_MNG -DUSE_OPENGL -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus_2.2.7.orig/src/include -I/builddir/build/BUILD/stratagus_2.2.7.orig/src/guichan/include -I/builddir/build/BUILD/stratagus_2.2.7.orig/src/guichan/include/guichan -I/usr/include/lua-5.1 -I/usr/include/SDL -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 -fsigned-char -o CMakeFiles/stratagus.dir/src/stratagus/selection.cpp.o -c /builddir/build/BUILD/stratagus_2.2.7.orig/src/stratagus/selection.cpp BUILDSTDERR: /builddir/build/BUILD/stratagus_2.2.7.orig/src/stratagus/script.cpp: In function 'StringDesc* CclParseStringDesc(lua_State*)': BUILDSTDERR: /builddir/build/BUILD/stratagus_2.2.7.orig/src/stratagus/script.cpp:809:16: error: unable to find string literal operator 'operator""_C_' with 'const char [22]', 'long unsigned int' arguments BUILDSTDERR: LuaError(l, "unknow condition '%s'"_C_ key); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/stratagus_2.2.7.orig/src/include/script.h:77:19: note: in definition of macro 'LuaError' BUILDSTDERR: fprintf(stdout, args); \ BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/stratagus_2.2.7.orig/src/stratagus/script.cpp:809:16: error: unable to find string literal operator 'operator""_C_' with 'const char [22]', 'long unsigned int' arguments BUILDSTDERR: LuaError(l, "unknow condition '%s'"_C_ key); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/stratagus_2.2.7.orig/src/include/script.h:79:22: note: in definition of macro 'LuaError' BUILDSTDERR: lua_pushfstring(l, args); lua_error(l); \ BUILDSTDERR: ^~~~ BUILDSTDERR: make[2]: *** [CMakeFiles/stratagus.dir/build.make:2143: CMakeFiles/stratagus.dir/src/stratagus/script.cpp.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/stratagus_2.2.7.orig/build' make[1]: Leaving directory '/builddir/build/BUILD/stratagus_2.2.7.orig/build' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:150: CMakeFiles/stratagus.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:133: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.0vwdzV (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.0vwdzV (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/stratagus.spec