Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/sdcv.spec'], chrootPath='/var/lib/mock/f41-build-829155-155958/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kbvgrl3q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kbvgrl3q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '48011e1a27dd45d0bbf2e8f240f39207', '-D', '/var/lib/mock/f41-build-829155-155958/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kbvgrl3q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/sdcv.spec'], chrootPath='/var/lib/mock/f41-build-829155-155958/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kbvgrl3q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kbvgrl3q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5ccf0bb6ec8f4f1384ff6b91c6ab1315', '-D', '/var/lib/mock/f41-build-829155-155958/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kbvgrl3q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} 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.XytXWA + 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.azCrkv + 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.DoL8d2 + 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.1.1 -- The CXX compiler identification is GNU 14.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 -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1") -- 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 (8.2s) -- 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 -j64 /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' [ 37%] Building CXX object CMakeFiles/sdcv.dir/src/readline.cpp.o [ 37%] Building CXX object CMakeFiles/sdcv.dir/src/sdcv.cpp.o [ 37%] Building CXX object CMakeFiles/sdcv.dir/src/libwrapper.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/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 /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 [ 62%] 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 [ 75%] Building CXX object CMakeFiles/sdcv.dir/src/distance.cpp.o [ 87%] 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/distance.cpp.o -MF CMakeFiles/sdcv.dir/src/distance.cpp.o.d -o CMakeFiles/sdcv.dir/src/distance.cpp.o -c /builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4/src/distance.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/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 /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]: *** [CMakeFiles/Makefile2:113: CMakeFiles/sdcv.dir/all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/sdcv-0.5.4-build/sdcv-0.5.4' make: *** [Makefile:159: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.DoL8d2 (%build) Bad exit status from /var/tmp/rpm-tmp.DoL8d2 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 5ccf0bb6ec8f4f1384ff6b91c6ab1315 -D /var/lib/mock/f41-build-829155-155958/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.kbvgrl3q:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/sdcv.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 5ccf0bb6ec8f4f1384ff6b91c6ab1315 -D /var/lib/mock/f41-build-829155-155958/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.kbvgrl3q:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/sdcv.spec