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/fcitx5-chewing.spec'], chrootPath='/var/lib/mock/f41-build-842223-161567/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/fcitx5-chewing.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=1717200000 Wrote: /builddir/build/SRPMS/fcitx5-chewing-5.1.4-1.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/fcitx5-chewing.spec'], chrootPath='/var/lib/mock/f41-build-842223-161567/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/fcitx5-chewing.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=1717200000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.BqAARU + umask 022 + cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build + test -d /builddir/build/BUILD/fcitx5-chewing-5.1.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/fcitx5-chewing-5.1.4-build + /usr/bin/rm -rf /builddir/build/BUILD/fcitx5-chewing-5.1.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/fcitx5-chewing-5.1.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8m8AGd + umask 022 + cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/0x8E8B898CBF2412F9 --signature=/builddir/build/SOURCES/fcitx5-chewing-5.1.4.tar.zst.sig --data=/builddir/build/SOURCES/fcitx5-chewing-5.1.4.tar.zst gpgv: Signature made Fri May 31 01:28:51 2024 EDT gpgv: using RSA key 2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9 gpgv: Good signature from "Weng Xuetian " gpgv: aka "Weng Xuetian " + cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build + rm -rf fcitx5-chewing-5.1.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fcitx5-chewing-5.1.4.tar.zst + STATUS=0 + '[' 0 -ne 0 ']' + cd fcitx5-chewing-5.1.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.Fxuo9M + umask 022 + cd /builddir/build/BUILD/fcitx5-chewing-5.1.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 fcitx5-chewing-5.1.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 -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 -GNinja -- 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 PkgConfig: /usr/bin/pkg-config (found version "2.1.1") -- Installing in the same prefix as Fcitx, adopting their path scheme by default -- Found Gettext: /usr/bin/msgmerge (found version "0.22.5") -- Checking for module 'chewing>=0.5.0' -- Found chewing, version 0.9.0 chewing -- The following REQUIRED packages have been found: * ECM * PkgConfig * Fcitx5Core (required version >= 5.1.8) * Fcitx5ModuleTestFrontend * Fcitx5Module * Gettext -- Configuring done (5.3s) -- 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 CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build' Run Build Command(s): /usr/bin/ninja-build -v -j 4 [1/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/src && /usr/bin/msgfmt --desktop -d /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/po --template /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/src/chewing-addon.conf.in -o /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/src/chewing-addon.conf [2/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build && /usr/bin/msgfmt --xml -d /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/po --template /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/org.fcitx.Fcitx5.Addon.Chewing.metainfo.xml.in -o /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/org.fcitx.Fcitx5.Addon.Chewing.metainfo.xml [3/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/src && /usr/bin/msgfmt --desktop -d /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/po --template /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/src/chewing.conf.in -o /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/src/chewing.conf [4/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po/fcitx5-chewing-ca.mo /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/po/ca.po [5/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po/fcitx5-chewing-da.mo /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/po/da.po [6/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/test/addon && /usr/bin/cmake -E copy /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/src/chewing-addon.conf /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/test/addon/chewing.conf [7/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po/fcitx5-chewing-de.mo /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/po/de.po [8/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/test/inputmethod && /usr/bin/cmake -E copy /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/src/chewing.conf /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/test/inputmethod/chewing.conf [9/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po/fcitx5-chewing-he.mo /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/po/he.po [10/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po/fcitx5-chewing-ja.mo /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/po/ja.po [11/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po/fcitx5-chewing-ko.mo /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/po/ko.po [12/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po/fcitx5-chewing-ru.mo /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/po/ru.po [13/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po/fcitx5-chewing-tr.mo /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/po/tr.po [14/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po/fcitx5-chewing-zh_CN.mo /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/po/zh_CN.po [15/19] cd /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/po/fcitx5-chewing-zh_TW.mo /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/po/zh_TW.po [16/19] /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-chewing\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -Dchewing_EXPORTS -isystem /usr/include/Fcitx5/Core -isystem /usr/include/Fcitx5/Config -isystem /usr/include/Fcitx5/Utils -isystem /usr/include/chewing -Wall -Wextra -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 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT src/CMakeFiles/chewing.dir/eim.cpp.o -MF src/CMakeFiles/chewing.dir/eim.cpp.o.d -o src/CMakeFiles/chewing.dir/eim.cpp.o -c /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/src/eim.cpp FAILED: src/CMakeFiles/chewing.dir/eim.cpp.o /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-chewing\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -Dchewing_EXPORTS -isystem /usr/include/Fcitx5/Core -isystem /usr/include/Fcitx5/Config -isystem /usr/include/Fcitx5/Utils -isystem /usr/include/chewing -Wall -Wextra -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 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT src/CMakeFiles/chewing.dir/eim.cpp.o -MF src/CMakeFiles/chewing.dir/eim.cpp.o.d -o src/CMakeFiles/chewing.dir/eim.cpp.o -c /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/src/eim.cpp In file included from /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/src/eim.h:11, from /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/src/eim.cpp:8: /usr/include/chewing/chewingio.h:1:2: warning: #warning "This header is deprecated. Include directly." [-Wcpp] 1 | #warning "This header is deprecated. Include directly." | ^~~~~~~ /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/src/eim.cpp:104:67: error: expected class-name before ‘{’ token 104 | public CursorModifiableCandidateList { | ^ /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/src/eim.cpp:203:10: error: ‘void fcitx::{anonymous}::ChewingCandidateList::setCursorIndex(int)’ marked ‘override’, but does not override 203 | void setCursorIndex(int cursor) override { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/src/eim.cpp: In constructor ‘fcitx::{anonymous}::ChewingCandidateList::ChewingCandidateList(fcitx::ChewingEngine*, fcitx::InputContext*)’: /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/src/eim.cpp:110:9: error: ‘setCursorModifiable’ was not declared in this scope; did you mean ‘setCursorMovable’? 110 | setCursorModifiable(this); | ^~~~~~~~~~~~~~~~~~~ | setCursorMovable [17/19] /usr/bin/g++ -I/builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/test -I/usr/include/Fcitx5/Module/fcitx-module/testfrontend -isystem /usr/include/Fcitx5/Core -isystem /usr/include/Fcitx5/Config -isystem /usr/include/Fcitx5/Utils -Wall -Wextra -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 -std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT test/CMakeFiles/testchewing.dir/testchewing.cpp.o -MF test/CMakeFiles/testchewing.dir/testchewing.cpp.o.d -o test/CMakeFiles/testchewing.dir/testchewing.cpp.o -c /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/test/testchewing.cpp FAILED: test/CMakeFiles/testchewing.dir/testchewing.cpp.o /usr/bin/g++ -I/builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/redhat-linux-build/test -I/usr/include/Fcitx5/Module/fcitx-module/testfrontend -isystem /usr/include/Fcitx5/Core -isystem /usr/include/Fcitx5/Config -isystem /usr/include/Fcitx5/Utils -Wall -Wextra -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 -std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT test/CMakeFiles/testchewing.dir/testchewing.cpp.o -MF test/CMakeFiles/testchewing.dir/testchewing.cpp.o.d -o test/CMakeFiles/testchewing.dir/testchewing.cpp.o -c /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/test/testchewing.cpp /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/test/testchewing.cpp: In lambda function: /builddir/build/BUILD/fcitx5-chewing-5.1.4-build/fcitx5-chewing-5.1.4/test/testchewing.cpp:58:43: error: ‘using std::__shared_ptr_access::element_type = class fcitx::CandidateList’ {aka ‘class fcitx::CandidateList’} has no member named ‘toCursorModifiable’; did you mean ‘toCursorMovable’? 58 | ic->inputPanel().candidateList()->toCursorModifiable()->setCursorIndex( | ^~~~~~~~~~~~~~~~~~ | toCursorMovable ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.Fxuo9M (%build) Bad exit status from /var/tmp/rpm-tmp.Fxuo9M (%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/fcitx5-chewing.spec