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-kkc.spec'], chrootPath='/var/lib/mock/f38-build-691726-82945/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-kkc.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=1674086400 Wrote: /builddir/build/SRPMS/fcitx5-kkc-5.0.11-2.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/fcitx5-kkc.spec'], chrootPath='/var/lib/mock/f38-build-691726-82945/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-kkc.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=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SFu09y + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/0x8E8B898CBF2412F9 --signature=/builddir/build/SOURCES/fcitx5-kkc-5.0.11.tar.xz.sig --data=/builddir/build/SOURCES/fcitx5-kkc-5.0.11.tar.xz gpgv: Signature made Sun Nov 20 02:08:06 2022 EST gpgv: using RSA key 2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9 gpgv: Good signature from "Weng Xuetian " gpgv: aka "Weng Xuetian " + cd /builddir/build/BUILD + rm -rf fcitx5-kkc-5.0.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fcitx5-kkc-5.0.11.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd fcitx5-kkc-5.0.11 + /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.iBtvvX + 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 fcitx5-kkc-5.0.11 + 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 -GNinja -- The C compiler identification is GNU 13.0.1 -- The CXX compiler identification is GNU 13.0.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 "1.8.0") -- Installing in the same prefix as Fcitx, adopting their path scheme by default -- Found LibKKC: /usr/lib64/libkkc.so -- Found Gettext: /usr/bin/msgmerge (found version "0.21.1") -- Checking for module 'gee-0.8' -- Found gee-0.8, version 0.20.6 -- Checking for module 'json-glib-1.0' -- Found json-glib-1.0, version 1.6.6 -- Checking for module 'gobject-2.0' -- Found gobject-2.0, version 2.75.3 -- The following REQUIRED packages have been found: * ECM * Fcitx5Core (required version >= 5.0.6) * PkgConfig * LibKKC * Gettext * Qt5 (required version >= 5.7) * Qt5Core (required version >= 5.1.0) * Qt5Gui (required version >= 5.1.0) * Qt5Widgets (required version >= 5.1.0) * Fcitx5Qt5WidgetsAddons -- Configuring done (8.7s) -- Generating done (0.1s) 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-kkc-5.0.11/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose [1/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po/fcitx5-kkc-da.mo /builddir/build/BUILD/fcitx5-kkc-5.0.11/po/da.po [2/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po/fcitx5-kkc-ca.mo /builddir/build/BUILD/fcitx5-kkc-5.0.11/po/ca.po [3/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po/fcitx5-kkc-de.mo /builddir/build/BUILD/fcitx5-kkc-5.0.11/po/de.po [4/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po/fcitx5-kkc-he.mo /builddir/build/BUILD/fcitx5-kkc-5.0.11/po/he.po [5/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po/fcitx5-kkc-ja.mo /builddir/build/BUILD/fcitx5-kkc-5.0.11/po/ja.po [6/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po/fcitx5-kkc-ko.mo /builddir/build/BUILD/fcitx5-kkc-5.0.11/po/ko.po [7/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po/fcitx5-kkc-tr.mo /builddir/build/BUILD/fcitx5-kkc-5.0.11/po/tr.po [8/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build && /usr/bin/msgfmt --xml -d /builddir/build/BUILD/fcitx5-kkc-5.0.11/po --template /builddir/build/BUILD/fcitx5-kkc-5.0.11/org.fcitx.Fcitx5.Addon.Kkc.metainfo.xml.in -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/org.fcitx.Fcitx5.Addon.Kkc.metainfo.xml [9/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po/fcitx5-kkc-ru.mo /builddir/build/BUILD/fcitx5-kkc-5.0.11/po/ru.po [10/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po/fcitx5-kkc-zh_CN.mo /builddir/build/BUILD/fcitx5-kkc-5.0.11/po/zh_CN.po [11/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po && /usr/bin/msgfmt -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/po/fcitx5-kkc-zh_TW.mo /builddir/build/BUILD/fcitx5-kkc-5.0.11/po/zh_TW.po [12/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/src && /usr/bin/msgfmt --desktop -d /builddir/build/BUILD/fcitx5-kkc-5.0.11/po --template /builddir/build/BUILD/fcitx5-kkc-5.0.11/src/kkc.conf.in -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/src/kkc.conf [13/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/src && /usr/bin/msgfmt --desktop -d /builddir/build/BUILD/fcitx5-kkc-5.0.11/po --template /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/src/kkc-addon.conf.in -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/src/kkc-addon.conf [14/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui && /usr/bin/cmake -E cmake_autogen /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/CMakeFiles/fcitx5-kkc-config_autogen.dir/AutogenInfo.json "" && /usr/bin/cmake -E touch /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/timestamp && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /builddir/build/BUILD/fcitx5-kkc-5.0.11 /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/deps /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/CMakeFiles/d/ce6bad45a6ce5137f88bc08f784ccf9bff207795453f13eaa8ea364f123a736c.d [15/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/ui_dictwidget.h /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/dictwidget.ui [16/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/ui_adddictdialog.h /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/adddictdialog.ui [17/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/ui_shortcutwidget.h /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutwidget.ui [18/30] cd /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/ui_addshortcutdialog.h /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/addshortcutdialog.ui [19/30] /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-kkc\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -D_GNU_SOURCE -Dfcitx5_kkc_config_EXPORTS -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/include -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/Fcitx5Qt5/Fcitx5QtWidgetsAddons -isystem /usr/include/Fcitx5/Utils -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/json-glib-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/gee-0.8 -Wall -Wextra -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++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -fPIC -pthread -MD -MT gui/CMakeFiles/fcitx5-kkc-config.dir/dictwidget.cpp.o -MF gui/CMakeFiles/fcitx5-kkc-config.dir/dictwidget.cpp.o.d -o gui/CMakeFiles/fcitx5-kkc-config.dir/dictwidget.cpp.o -c /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/dictwidget.cpp FAILED: gui/CMakeFiles/fcitx5-kkc-config.dir/dictwidget.cpp.o /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-kkc\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -D_GNU_SOURCE -Dfcitx5_kkc_config_EXPORTS -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/include -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/Fcitx5Qt5/Fcitx5QtWidgetsAddons -isystem /usr/include/Fcitx5/Utils -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/json-glib-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/gee-0.8 -Wall -Wextra -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++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -fPIC -pthread -MD -MT gui/CMakeFiles/fcitx5-kkc-config.dir/dictwidget.cpp.o -MF gui/CMakeFiles/fcitx5-kkc-config.dir/dictwidget.cpp.o.d -o gui/CMakeFiles/fcitx5-kkc-config.dir/dictwidget.cpp.o -c /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/dictwidget.cpp In file included from /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/common.h:10, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutmodel.h:10, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/dictwidget.cpp:11: /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:100:12: error: 'operator()' function uses 'auto' type specifier without trailing return type 100 | inline auto operator()(T const value) const { | ^~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:100:12: note: deduced return type only available with '-std=c++14' or '-std=gnu++14' /usr/include/Fcitx5/Utils/fcitx-utils/misc.h: In member function 'auto fcitx::EnumHash::operator()(T) const': /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:101:31: error: 'underlying_type_t' is not a member of 'std'; did you mean 'underlying_type'? 101 | return std::hash>()( | ^~~~~~~~~~~~~~~~~ | underlying_type /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:101:31: error: 'underlying_type_t' is not a member of 'std'; did you mean 'underlying_type'? 101 | return std::hash>()( | ^~~~~~~~~~~~~~~~~ | underlying_type /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:101:49: error: template argument 1 is invalid 101 | return std::hash>()( | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:101:53: error: expected primary-expression before ')' token 101 | return std::hash>()( | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:102:30: error: 'underlying_type_t' in namespace 'std' does not name a template type; did you mean 'underlying_type'? 102 | static_cast>(value)); | ^~~~~~~~~~~~~~~~~ | underlying_type /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected '>' before '<' token 102 | static_cast>(value)); | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected '(' before '<' token /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected primary-expression before '<' token /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:102:49: error: expected primary-expression before '>>' token 102 | static_cast>(value)); | ^~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h: At global scope: /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:111:11: error: parameter declared 'auto' 111 | template | ^~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:120:23: error: parameter declared 'auto' 120 | template | ^~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:121:67: error: template argument 2 is invalid 121 | using UniqueCPtr = std::unique_ptr>; | ^~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:122:40: error: 'UniqueCPtr' was not declared in this scope 122 | static_assert(sizeof(char *) == sizeof(UniqueCPtr), | ^~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:122:51: error: expected primary-expression before 'char' 122 | static_assert(sizeof(char *) == sizeof(UniqueCPtr), | ^~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:122:51: error: expected ')' before 'char' 122 | static_assert(sizeof(char *) == sizeof(UniqueCPtr), | ~ ^~~~ | ) /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected ',' before ';' token 123 | ""); // ensure no overhead | ^ | , /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected string-literal before ';' token /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected ')' before ';' token 123 | ""); // ensure no overhead | ^ | ) /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:122:14: note: to match this '(' 122 | static_assert(sizeof(char *) == sizeof(UniqueCPtr), | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:125:66: note: invalid template non-type parameter 125 | using UniqueFilePtr = std::unique_ptr>; | ^~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:125:72: error: template argument 2 is invalid 125 | using UniqueFilePtr = std::unique_ptr>; | ^~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:128:8: error: 'makeUniqueCPtr' function uses 'auto' type specifier without trailing return type 128 | inline auto makeUniqueCPtr(T *ptr) { | ^~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:128:8: note: deduced return type only available with '-std=c++14' or '-std=gnu++14' /usr/include/Fcitx5/Utils/fcitx-utils/misc.h: In function 'auto fcitx::makeUniqueCPtr(T*)': /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:129:12: error: 'UniqueCPtr' was not declared in this scope; did you mean 'makeUniqueCPtr'? 129 | return UniqueCPtr(ptr); | ^~~~~~~~~~ | makeUniqueCPtr /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:129:24: error: expected primary-expression before '>' token 129 | return UniqueCPtr(ptr); | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h: At global scope: /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:132:35: error: 'UniqueCPtr' was not declared in this scope; did you mean 'makeUniqueCPtr'? 132 | FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, | ^~~~~~~~~~ | makeUniqueCPtr /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:132:46: error: expected primary-expression before 'char' 132 | FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, | ^~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:132:69: error: expected primary-expression before '*' token 132 | FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:132:70: error: 'n' was not declared in this scope 132 | FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:133:45: error: expected primary-expression before '*' token 133 | std::FILE *stream); | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:133:46: error: 'stream' was not declared in this scope; did you mean 'std::io_errc::stream'? 133 | std::FILE *stream); | ^~~~~~ | std::io_errc::stream In file included from /usr/include/c++/13/streambuf:43, from /usr/include/c++/13/bits/streambuf_iterator.h:35, from /usr/include/c++/13/iterator:66, from /usr/include/qt5/QtCore/qbytearray.h:53, from /usr/include/qt5/QtCore/qvariant.h:44, from /usr/include/qt5/QtCore/QVariant:1, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/ui_dictwidget.h:12, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/dictwidget.h:10, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/dictwidget.cpp:8: /usr/include/c++/13/bits/ios_base.h:204:24: note: 'std::io_errc::stream' declared here 204 | enum class io_errc { stream = 1 }; | ^~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:133:52: error: expression list treated as compound expression in initializer [-fpermissive] 133 | std::FILE *stream); | ^ /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/common.h:17:26: error: 'UniqueCPtr' does not name a type 17 | using GObjectUniquePtr = UniqueCPtr; | ^~~~~~~~~~ /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/common.h:20:1: error: 'makeGObjectUnique' function uses 'auto' type specifier without trailing return type 20 | auto makeGObjectUnique(T *p) { | ^~~~ /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/common.h:20:1: note: deduced return type only available with '-std=c++14' or '-std=gnu++14' /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/common.h: In function 'auto fcitx::makeGObjectUnique(T*)': /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/common.h:21:12: error: 'GObjectUniquePtr' was not declared in this scope 21 | return GObjectUniquePtr(p); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/common.h:21:30: error: expected primary-expression before '>' token 21 | return GObjectUniquePtr(p); | ^ /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutmodel.h: At global scope: /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutmodel.h:53:5: error: 'GObjectUniquePtr' does not name a type 53 | GObjectUniquePtr event_; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutmodel.h: In constructor 'fcitx::ShortcutEntry::ShortcutEntry(const QString&, KkcKeyEvent*, const QString&, KkcInputMode)': /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutmodel.h:21:30: error: class 'fcitx::ShortcutEntry' does not have any field named 'event_' 21 | : command_(command), event_(KKC_KEY_EVENT(g_object_ref(event))), | ^~~~~~ /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutmodel.h:23:49: error: 'event_' was not declared in this scope; did you mean 'event'? 23 | gchar *keystr = kkc_key_event_to_string(event_.get()); | ^~~~~~ | event /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutmodel.h: In copy constructor 'fcitx::ShortcutEntry::ShortcutEntry(const fcitx::ShortcutEntry&)': /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutmodel.h:29:47: error: 'const class fcitx::ShortcutEntry' has no member named 'event_'; did you mean 'event'? 29 | : ShortcutEntry(other.command_, other.event_.get(), other.label_, | ^~~~~~ | event /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutmodel.h: In member function 'fcitx::ShortcutEntry& fcitx::ShortcutEntry::operator=(const fcitx::ShortcutEntry&)': /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutmodel.h:35:9: error: 'event_' was not declared in this scope; did you mean 'event'? 35 | event_.reset(KKC_KEY_EVENT(g_object_ref(other.event()))); | ^~~~~~ | event /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutmodel.h: In member function 'KkcKeyEvent* fcitx::ShortcutEntry::event() const': /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutmodel.h:47:41: error: 'event_' was not declared in this scope; did you mean 'event'? 47 | KkcKeyEvent *event() const { return event_.get(); } | ^~~~~~ | event /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutmodel.h: At global scope: /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/shortcutmodel.h:85:5: error: 'GObjectUniquePtr' does not name a type 85 | GObjectUniquePtr userRule_; | ^~~~~~~~~~~~~~~~ [20/30] /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-kkc\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -D_GNU_SOURCE -Dfcitx5_kkc_config_EXPORTS -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/include -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/Fcitx5Qt5/Fcitx5QtWidgetsAddons -isystem /usr/include/Fcitx5/Utils -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/json-glib-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/gee-0.8 -Wall -Wextra -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++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -fPIC -pthread -MD -MT gui/CMakeFiles/fcitx5-kkc-config.dir/main.cpp.o -MF gui/CMakeFiles/fcitx5-kkc-config.dir/main.cpp.o.d -o gui/CMakeFiles/fcitx5-kkc-config.dir/main.cpp.o -c /builddir/build/BUILD/fcitx5-kkc-5.0.11/gui/main.cpp [21/30] /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-kkc\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -D_GNU_SOURCE -Dfcitx5_kkc_config_EXPORTS -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/include -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/Fcitx5Qt5/Fcitx5QtWidgetsAddons -isystem /usr/include/Fcitx5/Utils -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/json-glib-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/gee-0.8 -Wall -Wextra -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++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -fPIC -pthread -MD -MT gui/CMakeFiles/fcitx5-kkc-config.dir/fcitx5-kkc-config_autogen/mocs_compilation.cpp.o -MF gui/CMakeFiles/fcitx5-kkc-config.dir/fcitx5-kkc-config_autogen/mocs_compilation.cpp.o.d -o gui/CMakeFiles/fcitx5-kkc-config.dir/fcitx5-kkc-config_autogen/mocs_compilation.cpp.o -c /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp FAILED: gui/CMakeFiles/fcitx5-kkc-config.dir/fcitx5-kkc-config_autogen/mocs_compilation.cpp.o /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-kkc\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WIDGETS_LIB -D_GNU_SOURCE -Dfcitx5_kkc_config_EXPORTS -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/include -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/Fcitx5Qt5/Fcitx5QtWidgetsAddons -isystem /usr/include/Fcitx5/Utils -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/json-glib-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/gee-0.8 -Wall -Wextra -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++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -fPIC -pthread -MD -MT gui/CMakeFiles/fcitx5-kkc-config.dir/fcitx5-kkc-config_autogen/mocs_compilation.cpp.o -MF gui/CMakeFiles/fcitx5-kkc-config.dir/fcitx5-kkc-config_autogen/mocs_compilation.cpp.o.d -o gui/CMakeFiles/fcitx5-kkc-config.dir/fcitx5-kkc-config_autogen/mocs_compilation.cpp.o -c /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp In file included from /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/common.h:10, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/shortcutmodel.h:10, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/addshortcutdialog.h:10, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3: /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:100:12: error: 'operator()' function uses 'auto' type specifier without trailing return type 100 | inline auto operator()(T const value) const { | ^~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:100:12: note: deduced return type only available with '-std=c++14' or '-std=gnu++14' /usr/include/Fcitx5/Utils/fcitx-utils/misc.h: In member function 'auto fcitx::EnumHash::operator()(T) const': /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:101:31: error: 'underlying_type_t' is not a member of 'std'; did you mean 'underlying_type'? 101 | return std::hash>()( | ^~~~~~~~~~~~~~~~~ | underlying_type /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:101:31: error: 'underlying_type_t' is not a member of 'std'; did you mean 'underlying_type'? 101 | return std::hash>()( | ^~~~~~~~~~~~~~~~~ | underlying_type /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:101:49: error: template argument 1 is invalid 101 | return std::hash>()( | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:101:53: error: expected primary-expression before ')' token 101 | return std::hash>()( | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:102:30: error: 'underlying_type_t' in namespace 'std' does not name a template type; did you mean 'underlying_type'? 102 | static_cast>(value)); | ^~~~~~~~~~~~~~~~~ | underlying_type /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected '>' before '<' token 102 | static_cast>(value)); | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected '(' before '<' token /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected primary-expression before '<' token /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:102:49: error: expected primary-expression before '>>' token 102 | static_cast>(value)); | ^~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h: At global scope: /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:111:11: error: parameter declared 'auto' 111 | template | ^~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:120:23: error: parameter declared 'auto' 120 | template | ^~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:121:67: error: template argument 2 is invalid 121 | using UniqueCPtr = std::unique_ptr>; | ^~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:122:40: error: 'UniqueCPtr' was not declared in this scope 122 | static_assert(sizeof(char *) == sizeof(UniqueCPtr), | ^~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:122:51: error: expected primary-expression before 'char' 122 | static_assert(sizeof(char *) == sizeof(UniqueCPtr), | ^~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:122:51: error: expected ')' before 'char' 122 | static_assert(sizeof(char *) == sizeof(UniqueCPtr), | ~ ^~~~ | ) /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected ',' before ';' token 123 | ""); // ensure no overhead | ^ | , /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected string-literal before ';' token /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected ')' before ';' token 123 | ""); // ensure no overhead | ^ | ) /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:122:14: note: to match this '(' 122 | static_assert(sizeof(char *) == sizeof(UniqueCPtr), | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:125:66: note: invalid template non-type parameter 125 | using UniqueFilePtr = std::unique_ptr>; | ^~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:125:72: error: template argument 2 is invalid 125 | using UniqueFilePtr = std::unique_ptr>; | ^~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:128:8: error: 'makeUniqueCPtr' function uses 'auto' type specifier without trailing return type 128 | inline auto makeUniqueCPtr(T *ptr) { | ^~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:128:8: note: deduced return type only available with '-std=c++14' or '-std=gnu++14' /usr/include/Fcitx5/Utils/fcitx-utils/misc.h: In function 'auto fcitx::makeUniqueCPtr(T*)': /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:129:12: error: 'UniqueCPtr' was not declared in this scope; did you mean 'makeUniqueCPtr'? 129 | return UniqueCPtr(ptr); | ^~~~~~~~~~ | makeUniqueCPtr /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:129:24: error: expected primary-expression before '>' token 129 | return UniqueCPtr(ptr); | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h: At global scope: /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:132:35: error: 'UniqueCPtr' was not declared in this scope; did you mean 'makeUniqueCPtr'? 132 | FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, | ^~~~~~~~~~ | makeUniqueCPtr /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:132:46: error: expected primary-expression before 'char' 132 | FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, | ^~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:132:69: error: expected primary-expression before '*' token 132 | FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:132:70: error: 'n' was not declared in this scope 132 | FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:133:45: error: expected primary-expression before '*' token 133 | std::FILE *stream); | ^ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:133:46: error: 'stream' was not declared in this scope; did you mean 'std::io_errc::stream'? 133 | std::FILE *stream); | ^~~~~~ | std::io_errc::stream In file included from /usr/include/c++/13/streambuf:43, from /usr/include/c++/13/bits/streambuf_iterator.h:35, from /usr/include/c++/13/iterator:66, from /usr/include/qt5/QtCore/qbytearray.h:53, from /usr/include/qt5/QtCore/qvariant.h:44, from /usr/include/qt5/QtCore/QVariant:1, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/ui_adddictdialog.h:12, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/adddictdialog.h:10, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_adddictdialog.cpp:10, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:2: /usr/include/c++/13/bits/ios_base.h:204:24: note: 'std::io_errc::stream' declared here 204 | enum class io_errc { stream = 1 }; | ^~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:133:52: error: expression list treated as compound expression in initializer [-fpermissive] 133 | std::FILE *stream); | ^ /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/common.h:17:26: error: 'UniqueCPtr' does not name a type 17 | using GObjectUniquePtr = UniqueCPtr; | ^~~~~~~~~~ /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/common.h:20:1: error: 'makeGObjectUnique' function uses 'auto' type specifier without trailing return type 20 | auto makeGObjectUnique(T *p) { | ^~~~ /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/common.h:20:1: note: deduced return type only available with '-std=c++14' or '-std=gnu++14' /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/common.h: In function 'auto fcitx::makeGObjectUnique(T*)': /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/common.h:21:12: error: 'GObjectUniquePtr' was not declared in this scope 21 | return GObjectUniquePtr(p); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/common.h:21:30: error: expected primary-expression before '>' token 21 | return GObjectUniquePtr(p); | ^ /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/shortcutmodel.h: At global scope: /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/shortcutmodel.h:53:5: error: 'GObjectUniquePtr' does not name a type 53 | GObjectUniquePtr event_; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/shortcutmodel.h: In constructor 'fcitx::ShortcutEntry::ShortcutEntry(const QString&, KkcKeyEvent*, const QString&, KkcInputMode)': /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/shortcutmodel.h:21:30: error: class 'fcitx::ShortcutEntry' does not have any field named 'event_' 21 | : command_(command), event_(KKC_KEY_EVENT(g_object_ref(event))), | ^~~~~~ /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/shortcutmodel.h:23:49: error: 'event_' was not declared in this scope; did you mean 'event'? 23 | gchar *keystr = kkc_key_event_to_string(event_.get()); | ^~~~~~ | event /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/shortcutmodel.h: In copy constructor 'fcitx::ShortcutEntry::ShortcutEntry(const fcitx::ShortcutEntry&)': /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/shortcutmodel.h:29:47: error: 'const class fcitx::ShortcutEntry' has no member named 'event_'; did you mean 'event'? 29 | : ShortcutEntry(other.command_, other.event_.get(), other.label_, | ^~~~~~ | event /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/shortcutmodel.h: In member function 'fcitx::ShortcutEntry& fcitx::ShortcutEntry::operator=(const fcitx::ShortcutEntry&)': /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/shortcutmodel.h:35:9: error: 'event_' was not declared in this scope; did you mean 'event'? 35 | event_.reset(KKC_KEY_EVENT(g_object_ref(other.event()))); | ^~~~~~ | event /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/shortcutmodel.h: In member function 'KkcKeyEvent* fcitx::ShortcutEntry::event() const': /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/shortcutmodel.h:47:41: error: 'event_' was not declared in this scope; did you mean 'event'? 47 | KkcKeyEvent *event() const { return event_.get(); } | ^~~~~~ | event /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/shortcutmodel.h: At global scope: /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/shortcutmodel.h:85:5: error: 'GObjectUniquePtr' does not name a type 85 | GObjectUniquePtr userRule_; | ^~~~~~~~~~~~~~~~ In file included from /usr/include/Fcitx5/Utils/fcitx-utils/key.h:21, from /usr/include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitxqtkeysequencewidget.h:47, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/ui_addshortcutdialog.h:20, from /builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../../../gui/addshortcutdialog.h:11: /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:35:27: error: 'underlying_type_t' in namespace 'std' does not name a template type; did you mean 'underlying_type'? 35 | typedef typename std::underlying_type_t storage_type; | ^~~~~~~~~~~~~~~~~ | underlying_type /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:35:44: error: expected unqualified-id before '<' token 35 | typedef typename std::underlying_type_t storage_type; | ^ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:37:32: error: expected ')' before 'i' 37 | explicit Flags(storage_type i = 0) : flags_(i) {} | ~ ^~ | ) /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:46:31: error: expected type-specifier before 'storage_type' 46 | constexpr inline operator storage_type() const { return flags_; } | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:47:22: error: 'storage_type' does not name a type 47 | constexpr inline storage_type toInteger() const { return flags_; } | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:53:22: error: 'storage_type' has not been declared 53 | Flags &operator=(storage_type f) { | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:130:5: error: 'storage_type' does not name a type 130 | storage_type flags_; | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In constructor 'constexpr fcitx::Flags::Flags(Enum)': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:36:31: error: class 'fcitx::Flags' does not have any field named 'flags_' 36 | constexpr Flags(Enum f) : flags_(static_cast(f)) {} | ^~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:36:50: error: 'storage_type' does not name a type 36 | constexpr Flags(Enum f) : flags_(static_cast(f)) {} | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In constructor 'constexpr fcitx::Flags::Flags(const std::initializer_list<_Tp>&)': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:38:61: error: class 'fcitx::Flags' does not have any field named 'flags_' 38 | constexpr Flags(const std::initializer_list &l) : flags_(0) { | ^~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:42:5: error: 'constexpr' constructor does not have empty body 42 | } | ^ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags& fcitx::Flags::operator=(Enum)': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:50:9: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 50 | flags_ = static_cast(f); | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:50:30: error: 'storage_type' does not name a type 50 | flags_ = static_cast(f); | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags& fcitx::Flags::operator=(int)': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:54:9: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 54 | flags_ = f; | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr bool fcitx::Flags::operator!() const': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:58:48: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 58 | constexpr bool operator!() const { return !flags_; } | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags& fcitx::Flags::operator&=(fcitx::Flags) const': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:60:9: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 60 | flags_ &= flag.flags_; | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags& fcitx::Flags::operator&=(Enum)': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:64:9: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 64 | flags_ &= static_cast(flag); | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:64:31: error: 'storage_type' does not name a type 64 | flags_ &= static_cast(flag); | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags& fcitx::Flags::operator|=(fcitx::Flags)': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:68:9: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 68 | flags_ |= flag.flags_; | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags& fcitx::Flags::operator|=(Enum) const': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:72:9: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 72 | flags_ |= static_cast(flag); | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:72:31: error: 'storage_type' does not name a type 72 | flags_ |= static_cast(flag); | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags& fcitx::Flags::operator^=(fcitx::Flags)': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:76:9: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 76 | flags_ ^= flag.flags_; | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags& fcitx::Flags::operator^=(Enum)': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:80:9: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 80 | flags_ ^= static_cast(flag); | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:80:31: error: 'storage_type' does not name a type 80 | flags_ ^= static_cast(flag); | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::operator|(fcitx::Flags) const': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:84:22: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 84 | return Flags(flags_ | f.flags_); | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::operator|(Enum) const': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:87:22: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 87 | return Flags(flags_ | static_cast(f)); | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:87:43: error: 'storage_type' was not declared in this scope 87 | return Flags(flags_ | static_cast(f)); | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:87:21: error: expected primary-expression before '(' token 87 | return Flags(flags_ | static_cast(f)); | ^ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:87:43: error: 'storage_type' does not name a type 87 | return Flags(flags_ | static_cast(f)); | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::operator^(fcitx::Flags) const': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:90:22: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 90 | return Flags(flags_ ^ f.flags_); | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::operator^(Enum) const': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:93:22: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 93 | return Flags(flags_ ^ static_cast(f)); | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:93:43: error: 'storage_type' was not declared in this scope 93 | return Flags(flags_ ^ static_cast(f)); | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:93:21: error: expected primary-expression before '(' token 93 | return Flags(flags_ ^ static_cast(f)); | ^ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:93:43: error: 'storage_type' does not name a type 93 | return Flags(flags_ ^ static_cast(f)); | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::operator&(fcitx::Flags) const': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:96:22: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 96 | return Flags(flags_ & f.flags_); | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::operator&(Enum) const': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:99:22: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 99 | return Flags(flags_ & static_cast(f)); | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:99:43: error: 'storage_type' was not declared in this scope 99 | return Flags(flags_ & static_cast(f)); | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:99:21: error: expected primary-expression before '(' token 99 | return Flags(flags_ & static_cast(f)); | ^ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:99:43: error: 'storage_type' does not name a type 99 | return Flags(flags_ & static_cast(f)); | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::operator~() const': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:101:62: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 101 | constexpr inline Flags operator~() const { return Flags(~flags_); } | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::unset(Enum) const': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:104:22: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 104 | return Flags(flags_ & (~static_cast(f))); | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:104:45: error: 'storage_type' was not declared in this scope 104 | return Flags(flags_ & (~static_cast(f))); | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:104:21: error: expected primary-expression before '(' token 104 | return Flags(flags_ & (~static_cast(f))); | ^ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:104:45: error: 'storage_type' does not name a type 104 | return Flags(flags_ & (~static_cast(f))); | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::unset(fcitx::Flags) const': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:108:22: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 108 | return Flags(flags_ & (~f.flags_)); | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr bool fcitx::Flags::operator==(const fcitx::Flags&) const': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:121:16: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 121 | return flags_ == f.flags_; | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr bool fcitx::Flags::operator==(Enum) const': /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:124:16: error: 'flags_' was not declared in this scope; did you mean 'Flags'? 124 | return flags_ == static_cast(f); | ^~~~~~ | Flags /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:124:38: error: 'storage_type' does not name a type 124 | return flags_ == static_cast(f); | ^~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/key.h: At global scope: /usr/include/Fcitx5/Utils/fcitx-utils/key.h:42:75: error: no matching function for call to 'fcitx::Flags::Flags()' 42 | explicit Key(KeySym sym = FcitxKey_None, KeyStates states = KeyStates(), | ^ In file included from /usr/include/Fcitx5/Utils/fcitx-utils/misc.h:18: /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags::Flags(const fcitx::Flags&) [with Enum = fcitx::KeyState]' 44 | FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate expects 1 argument, 0 provided /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags::Flags(fcitx::Flags&&) [with Enum = fcitx::KeyState]' 44 | FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate expects 1 argument, 0 provided /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate: 'fcitx::Flags::Flags(const std::initializer_list<_Tp>&) [with Enum = fcitx::KeyState]' 38 | constexpr Flags(const std::initializer_list &l) : flags_(0) { | ^~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate expects 1 argument, 0 provided /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate: 'constexpr fcitx::Flags::Flags(Enum) [with Enum = fcitx::KeyState]' 36 | constexpr Flags(Enum f) : flags_(static_cast(f)) {} | ^~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate expects 1 argument, 0 provided /usr/include/Fcitx5/Utils/fcitx-utils/key.h:57:71: error: no matching function for call to 'fcitx::Flags::Flags()' 57 | static Key fromKeyCode(int code = 0, KeyStates states = KeyStates()) { | ^ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags::Flags(const fcitx::Flags&) [with Enum = fcitx::KeyState]' 44 | FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate expects 1 argument, 0 provided /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags::Flags(fcitx::Flags&&) [with Enum = fcitx::KeyState]' 44 | FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate expects 1 argument, 0 provided /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate: 'fcitx::Flags::Flags(const std::initializer_list<_Tp>&) [with Enum = fcitx::KeyState]' 38 | constexpr Flags(const std::initializer_list &l) : flags_(0) { | ^~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate expects 1 argument, 0 provided /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate: 'constexpr fcitx::Flags::Flags(Enum) [with Enum = fcitx::KeyState]' 36 | constexpr Flags(Enum f) : flags_(static_cast(f)) {} | ^~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate expects 1 argument, 0 provided /usr/include/Fcitx5/Utils/fcitx-utils/key.h:75:45: error: no matching function for call to 'fcitx::Flags::Flags()' 75 | KeyStates states = KeyStates()) const { | ^ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags::Flags(const fcitx::Flags&) [with Enum = fcitx::KeyState]' 44 | FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate expects 1 argument, 0 provided /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags::Flags(fcitx::Flags&&) [with Enum = fcitx::KeyState]' 44 | FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate expects 1 argument, 0 provided /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate: 'fcitx::Flags::Flags(const std::initializer_list<_Tp>&) [with Enum = fcitx::KeyState]' 38 | constexpr Flags(const std::initializer_list &l) : flags_(0) { | ^~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate expects 1 argument, 0 provided /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate: 'constexpr fcitx::Flags::Flags(Enum) [with Enum = fcitx::KeyState]' 36 | constexpr Flags(Enum f) : flags_(static_cast(f)) {} | ^~~~~ /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate expects 1 argument, 0 provided /usr/include/Fcitx5/Utils/fcitx-utils/flags.h: In instantiation of 'constexpr bool fcitx::Flags::operator==(const fcitx::Flags&) const [with Enum = fcitx::KeyState]': /usr/include/Fcitx5/Utils/fcitx-utils/key.h:63:51: required from here /usr/include/Fcitx5/Utils/fcitx-utils/flags.h:121:28: error: 'const class fcitx::Flags' has no member named 'flags_'; did you mean 'Flags'? 121 | return flags_ == f.flags_; | ~~^~~~~~ | Flags [22/30] /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-kkc\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -D_GNU_SOURCE -Dkkc_EXPORTS -I/builddir/build/BUILD/fcitx5-kkc-5.0.11/redhat-linux-build -isystem /usr/include/Fcitx5/Core -isystem /usr/include/Fcitx5/Config -isystem /usr/include/Fcitx5/Utils -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/json-glib-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/gee-0.8 -Wall -Wextra -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++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -MD -MT src/CMakeFiles/kkc.dir/kkc.cpp.o -MF src/CMakeFiles/kkc.dir/kkc.cpp.o.d -o src/CMakeFiles/kkc.dir/kkc.cpp.o -c /builddir/build/BUILD/fcitx5-kkc-5.0.11/src/kkc.cpp ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.iBtvvX (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.iBtvvX (%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/fcitx5-kkc.spec