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/sdcv.spec'], chrootPath='/var/lib/mock/f41-build-852732-166409/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sdcv.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=1721433600 Wrote: /builddir/build/SRPMS/sdcv-0.5.4-5.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sdcv.spec'], chrootPath='/var/lib/mock/f41-build-852732-166409/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sdcv.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=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.iG6wxx + umask 022 + cd /builddir/build/BUILD/sdcv-0.5.4-build + test -d /builddir/build/BUILD/sdcv-0.5.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/sdcv-0.5.4-build + /usr/bin/rm -rf /builddir/build/BUILD/sdcv-0.5.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/sdcv-0.5.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/sdcv-0.5.4-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1ExFAV + umask 022 + cd /builddir/build/BUILD/sdcv-0.5.4-build + cd /builddir/build/BUILD/sdcv-0.5.4-build + rm -rf sdcv-0.5.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sdcv-0.5.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sdcv-0.5.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UuTftK + umask 022 + cd /builddir/build/BUILD/sdcv-0.5.4-build + CFLAGS='-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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=-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 sdcv-0.5.4 + CFLAGS='-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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=-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 -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 . CMake Warning (dev) at CMakeLists.txt:1 (project): 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 14.2.1 -- The CXX compiler identification is GNU 14.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 -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0") -- Checking for one of the modules 'glib-2.0' -- Found GLib2: glib-2.0 /usr/include/glib-2.0;/usr/lib64/glib-2.0/include;/usr/include/sysprof-6;/usr/include -- Looking for include file glib/gregex.h -- Looking for include file glib/gregex.h - not found -- REQUIRED_VARS -- Looking for mmap -- Looking for mmap - found -- Looking for locale.h -- Looking for locale.h - found -- Configuring done (7.8s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: 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/sdcv-0.5.4-build/sdcv-0.5.4 + make -j4 /usr/bin/cmake -S/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4 -B/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/CMakeFiles /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4' make -f CMakeFiles/sdcv.dir/build.make CMakeFiles/sdcv.dir/depend make[2]: Entering directory '/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4' cd /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4 /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4 /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4 /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4 /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/CMakeFiles/sdcv.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4' make -f CMakeFiles/sdcv.dir/build.make CMakeFiles/sdcv.dir/build make[2]: Entering directory '/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4' [ 50%] Building CXX object CMakeFiles/sdcv.dir/src/libwrapper.cpp.o [ 50%] Building CXX object CMakeFiles/sdcv.dir/src/readline.cpp.o [ 50%] Building CXX object CMakeFiles/sdcv.dir/src/sdcv.cpp.o [ 50%] Building CXX object CMakeFiles/sdcv.dir/src/utils.cpp.o /usr/bin/g++ -DHAVE_CONFIG_H -DVERSION=\"0.5.4\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/lib -I/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4 -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 -mno-omit-leaf-frame-pointer -Wall -std=c++11 -MD -MT CMakeFiles/sdcv.dir/src/sdcv.cpp.o -MF CMakeFiles/sdcv.dir/src/sdcv.cpp.o.d -o CMakeFiles/sdcv.dir/src/sdcv.cpp.o -c /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/sdcv.cpp /usr/bin/g++ -DHAVE_CONFIG_H -DVERSION=\"0.5.4\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/lib -I/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4 -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 -mno-omit-leaf-frame-pointer -Wall -std=c++11 -MD -MT CMakeFiles/sdcv.dir/src/readline.cpp.o -MF CMakeFiles/sdcv.dir/src/readline.cpp.o.d -o CMakeFiles/sdcv.dir/src/readline.cpp.o -c /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/readline.cpp /usr/bin/g++ -DHAVE_CONFIG_H -DVERSION=\"0.5.4\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/lib -I/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4 -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 -mno-omit-leaf-frame-pointer -Wall -std=c++11 -MD -MT CMakeFiles/sdcv.dir/src/utils.cpp.o -MF CMakeFiles/sdcv.dir/src/utils.cpp.o.d -o CMakeFiles/sdcv.dir/src/utils.cpp.o -c /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/utils.cpp /usr/bin/g++ -DHAVE_CONFIG_H -DVERSION=\"0.5.4\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/lib -I/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4 -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 -mno-omit-leaf-frame-pointer -Wall -std=c++11 -MD -MT CMakeFiles/sdcv.dir/src/libwrapper.cpp.o -MF CMakeFiles/sdcv.dir/src/libwrapper.cpp.o.d -o CMakeFiles/sdcv.dir/src/libwrapper.cpp.o -c /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/libwrapper.cpp [ 62%] Building CXX object CMakeFiles/sdcv.dir/src/stardict_lib.cpp.o /usr/bin/g++ -DHAVE_CONFIG_H -DVERSION=\"0.5.4\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/lib -I/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4 -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 -mno-omit-leaf-frame-pointer -Wall -std=c++11 -MD -MT CMakeFiles/sdcv.dir/src/stardict_lib.cpp.o -MF CMakeFiles/sdcv.dir/src/stardict_lib.cpp.o.d -o CMakeFiles/sdcv.dir/src/stardict_lib.cpp.o -c /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/stardict_lib.cpp [ 75%] Building CXX object CMakeFiles/sdcv.dir/src/dictziplib.cpp.o /usr/bin/g++ -DHAVE_CONFIG_H -DVERSION=\"0.5.4\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/lib -I/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4 -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 -mno-omit-leaf-frame-pointer -Wall -std=c++11 -MD -MT CMakeFiles/sdcv.dir/src/dictziplib.cpp.o -MF CMakeFiles/sdcv.dir/src/dictziplib.cpp.o.d -o CMakeFiles/sdcv.dir/src/dictziplib.cpp.o -c /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/dictziplib.cpp /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/stardict_lib.cpp: In member function ‘bool Dict::LookupWithRule(GPatternSpec*, glong*, int)’: /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/stardict_lib.cpp:992:35: warning: ‘gboolean g_pattern_match_string(GPatternSpec*, const gchar*)’ is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] 992 | if (g_pattern_match_string(pspec, get_key(i))) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:68, from /usr/include/glib-2.0/glib/gprintf.h:23, from /usr/include/glib-2.0/glib/gstdio.h:24, from /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/stardict_lib.cpp:11: /usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:35, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56: /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/stardict_lib.cpp: In member function ‘bool Libs::LookupSimilarWord(const gchar*, std::set&, int)’: /usr/include/glib-2.0/glib/gunicode.h:809:34: error: invalid conversion from ‘const gchar*’ {aka ‘const char*’} to ‘gchar*’ {aka ‘char*’} [-fpermissive] 809 | #define g_utf8_next_char(p) ((p) + g_utf8_skip[*(const guchar *)(p)]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const gchar* {aka const char*} /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/stardict_lib.cpp:1050:31: note: in expansion of macro ‘g_utf8_next_char’ 1050 | gchar *nextchar = g_utf8_next_char(sWord); | ^~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/sdcv.dir/build.make:135: CMakeFiles/sdcv.dir/src/stardict_lib.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4' make[1]: Leaving directory '/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4' make[1]: *** [CMakeFiles/Makefile2:113: CMakeFiles/sdcv.dir/all] Error 2 make: *** [Makefile:159: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.UuTftK (%build) Bad exit status from /var/tmp/rpm-tmp.UuTftK (%build) 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/sdcv.spec