=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for fcitx5-kkc-5.0.4nb7 [ 3%] Generating org.fcitx.Fcitx5.Addon.Kkc.metainfo.xml [ 6%] Generating kkc.conf [ 10%] Building CXX object src/CMakeFiles/kkc.dir/kkc.cpp.o [ 13%] Generating fcitx5-kkc-ca.mo [ 13%] Built target kkc.conf.in-fmt [ 13%] Built target org.fcitx.Fcitx5.Addon.Kkc.metainfo.xml.in-fmt [ 16%] Generating fcitx5-kkc-da.mo [ 20%] Generating fcitx5-kkc-de.mo [ 23%] Automatic MOC and UIC for target fcitx5-kkc-config [ 26%] Generating kkc-addon.conf [ 30%] Generating fcitx5-kkc-he.mo [ 33%] Generating fcitx5-kkc-ja.mo [ 33%] Built target kkc-addon.conf.in-fmt [ 36%] Generating fcitx5-kkc-ko.mo [ 40%] Generating fcitx5-kkc-ru.mo [ 43%] Generating fcitx5-kkc-tr.mo [ 46%] Generating fcitx5-kkc-zh_TW.mo [ 50%] Generating fcitx5-kkc-zh_CN.mo [ 50%] Built target fcitx5-kkc-translation [ 50%] Built target fcitx5-kkc-config_autogen [ 56%] Generating ui_adddictdialog.h [ 56%] Generating ui_addshortcutdialog.h [ 60%] Generating ui_dictwidget.h [ 63%] Generating ui_shortcutwidget.h [ 66%] Building CXX object gui/CMakeFiles/fcitx5-kkc-config.dir/fcitx5-kkc-config_autogen/mocs_compilation.cpp.o [ 70%] Building CXX object gui/CMakeFiles/fcitx5-kkc-config.dir/main.cpp.o [ 73%] Building CXX object gui/CMakeFiles/fcitx5-kkc-config.dir/dictwidget.cpp.o In file included from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/common.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/dictwidget.cpp:11: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:100:43: error: 'operator()' function uses 'auto' type specifier without trailing return type inline auto operator()(T const value) const { ^~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:100:43: note: deduced return type only available with -std=c++14 or -std=gnu++14 /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h: In member function 'auto fcitx::EnumHash::operator()(T) const': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:101:31: error: 'underlying_type_t' is not a member of 'std' return std::hash>()( ^~~~~~~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:101:31: note: suggested alternative: 'underlying_type' return std::hash>()( ^~~~~~~~~~~~~~~~~ underlying_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:101:31: error: 'underlying_type_t' is not a member of 'std' /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:101:31: note: suggested alternative: 'underlying_type' return std::hash>()( ^~~~~~~~~~~~~~~~~ underlying_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:101:49: error: template argument 1 is invalid return std::hash>()( ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:101:53: error: expected primary-expression before ')' token return std::hash>()( ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:30: error: 'underlying_type_t' in namespace 'std' does not name a template type static_cast>(value)); ^~~~~~~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:25: note: suggested alternative: 'underlying_type' static_cast>(value)); ^~~ underlying_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected '>' before '<' token static_cast>(value)); ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected '(' before '<' token static_cast>(value)); ^ ( /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected primary-expression before '<' token /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:49: error: expected primary-expression before '>>' token static_cast>(value)); ^~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h: At global scope: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:111:16: error: parameter declared 'auto' template ^~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:120:48: error: parameter declared 'auto' template ^~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:121:55: note: invalid template non-type parameter using UniqueCPtr = std::unique_ptr>; ^~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:121:67: error: template argument 2 is invalid using UniqueCPtr = std::unique_ptr>; ^~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:122:40: error: 'UniqueCPtr' was not declared in this scope static_assert(sizeof(char *) == sizeof(UniqueCPtr), ^~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:122:51: error: expected primary-expression before 'char' static_assert(sizeof(char *) == sizeof(UniqueCPtr), ^~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:122:51: error: expected ')' before 'char' static_assert(sizeof(char *) == sizeof(UniqueCPtr), ~ ^~~~ ) /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected ',' before ';' token ""); // ensure no overhead ^ , /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected string-literal before ';' token /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected ')' before ';' token ""); // ensure no overhead ^ ) /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:122:14: note: to match this '(' static_assert(sizeof(char *) == sizeof(UniqueCPtr), ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:125:66: note: invalid template non-type parameter using UniqueFilePtr = std::unique_ptr>; ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:125:72: error: template argument 2 is invalid using UniqueFilePtr = std::unique_ptr>; ^~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:128:34: error: 'makeUniqueCPtr' function uses 'auto' type specifier without trailing return type inline auto makeUniqueCPtr(T *ptr) { ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:128:34: note: deduced return type only available with -std=c++14 or -std=gnu++14 /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h: In function 'auto fcitx::makeUniqueCPtr(T*)': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:129:12: error: 'UniqueCPtr' was not declared in this scope return UniqueCPtr(ptr); ^~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:129:12: note: suggested alternative: 'makeUniqueCPtr' return UniqueCPtr(ptr); ^~~~~~~~~~ makeUniqueCPtr /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:129:24: error: expected primary-expression before '>' token return UniqueCPtr(ptr); ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h: At global scope: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:132:35: error: 'UniqueCPtr' was not declared in this scope FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, ^~~~~~~~~~ In file included from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:100:43: error: 'operator()' function uses 'auto' type specifier without trailing return type inline auto operator()(T const value) const { ^~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:100:43: note: deduced return type only available with -std=c++14 or -std=gnu++14 /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h: In member function 'auto fcitx::EnumHash::operator()(T) const': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:101:31: error: 'underlying_type_t' is not a member of 'std' return std::hash>()( ^~~~~~~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:101:31: note: suggested alternative: 'underlying_type' return std::hash>()( ^~~~~~~~~~~~~~~~~ underlying_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:101:31: error: 'underlying_type_t' is not a member of 'std' /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:101:31: note: suggested alternative: 'underlying_type' return std::hash>()( ^~~~~~~~~~~~~~~~~ underlying_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:101:49: error: template argument 1 is invalid return std::hash>()( ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:101:53: error: expected primary-expression before ')' token return std::hash>()( ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:30: error: 'underlying_type_t' in namespace 'std' does not name a template type static_cast>(value)); ^~~~~~~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:25: note: suggested alternative: 'underlying_type' static_cast>(value)); ^~~ underlying_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected '>' before '<' token static_cast>(value)); ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected '(' before '<' token static_cast>(value)); ^ ( /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected primary-expression before '<' token /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:49: error: expected primary-expression before '>>' token static_cast>(value)); ^~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h: At global scope: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:111:16: error: parameter declared 'auto' template ^~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:120:48: error: parameter declared 'auto' template ^~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:121:55: note: invalid template non-type parameter using UniqueCPtr = std::unique_ptr>; ^~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:132:35: note: suggested alternative: 'makeUniqueCPtr' FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, ^~~~~~~~~~ makeUniqueCPtr /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:132:46: error: expected primary-expression before 'char' FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, ^~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:121:67: error: template argument 2 is invalid using UniqueCPtr = std::unique_ptr>; ^~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:132:69: error: expected primary-expression before '*' token FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:132:70: error: 'n' was not declared in this scope FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:122:40: error: 'UniqueCPtr' was not declared in this scope static_assert(sizeof(char *) == sizeof(UniqueCPtr), ^~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:133:45: error: expected primary-expression before '*' token std::FILE *stream); ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:133:46: error: 'stream' was not declared in this scope std::FILE *stream); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:122:51: error: expected primary-expression before 'char' static_assert(sizeof(char *) == sizeof(UniqueCPtr), ^~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:122:51: error: expected ')' before 'char' static_assert(sizeof(char *) == sizeof(UniqueCPtr), ~ ^~~~ ) /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected ',' before ';' token ""); // ensure no overhead ^ , /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected string-literal before ';' token /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected ')' before ';' token ""); // ensure no overhead ^ ) /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:122:14: note: to match this '(' static_assert(sizeof(char *) == sizeof(UniqueCPtr), ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:125:66: note: invalid template non-type parameter using UniqueFilePtr = std::unique_ptr>; ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:125:72: error: template argument 2 is invalid using UniqueFilePtr = std::unique_ptr>; ^~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:128:34: error: 'makeUniqueCPtr' function uses 'auto' type specifier without trailing return type inline auto makeUniqueCPtr(T *ptr) { ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:128:34: note: deduced return type only available with -std=c++14 or -std=gnu++14 /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h: In function 'auto fcitx::makeUniqueCPtr(T*)': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:129:12: error: 'UniqueCPtr' was not declared in this scope return UniqueCPtr(ptr); ^~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:133:46: note: suggested alternative: 'strcat' std::FILE *stream); ^~~~~~ strcat /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:133:52: error: expression list treated as compound expression in initializer [-fpermissive] std::FILE *stream); ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:129:12: note: suggested alternative: 'makeUniqueCPtr' return UniqueCPtr(ptr); ^~~~~~~~~~ makeUniqueCPtr /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:129:24: error: expected primary-expression before '>' token return UniqueCPtr(ptr); ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h: At global scope: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:132:35: error: 'UniqueCPtr' was not declared in this scope FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, ^~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:132:35: note: suggested alternative: 'makeUniqueCPtr' FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, ^~~~~~~~~~ makeUniqueCPtr /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:132:46: error: expected primary-expression before 'char' FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, ^~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:132:69: error: expected primary-expression before '*' token FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:132:70: error: 'n' was not declared in this scope FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr &lineptr, size_t *n, ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:133:45: error: expected primary-expression before '*' token std::FILE *stream); ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:133:46: error: 'stream' was not declared in this scope std::FILE *stream); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:133:46: note: suggested alternative: 'strcat' std::FILE *stream); ^~~~~~ strcat /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:133:52: error: expression list treated as compound expression in initializer [-fpermissive] std::FILE *stream); ^ In file included from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/dictwidget.cpp:11: /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/common.h:17:26: error: 'UniqueCPtr' does not name a type; did you mean 'makeUniqueCPtr'? using GObjectUniquePtr = UniqueCPtr; ^~~~~~~~~~ makeUniqueCPtr /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/common.h:20:28: error: 'makeGObjectUnique' function uses 'auto' type specifier without trailing return type auto makeGObjectUnique(T *p) { ^ /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/common.h:20:28: note: deduced return type only available with -std=c++14 or -std=gnu++14 /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/common.h: In function 'auto fcitx::makeGObjectUnique(T*)': /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/common.h:21:12: error: 'GObjectUniquePtr' was not declared in this scope return GObjectUniquePtr(p); ^~~~~~~~~~~~~~~~ /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/common.h:21:12: note: suggested alternative: 'makeGObjectUnique' return GObjectUniquePtr(p); ^~~~~~~~~~~~~~~~ makeGObjectUnique /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/common.h:21:30: error: expected primary-expression before '>' token return GObjectUniquePtr(p); ^ In file included from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3: /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h:17:26: error: 'UniqueCPtr' does not name a type; did you mean 'makeUniqueCPtr'? using GObjectUniquePtr = UniqueCPtr; ^~~~~~~~~~ makeUniqueCPtr /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h:20:28: error: 'makeGObjectUnique' function uses 'auto' type specifier without trailing return type auto makeGObjectUnique(T *p) { ^ /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h:20:28: note: deduced return type only available with -std=c++14 or -std=gnu++14 /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h: In function 'auto fcitx::makeGObjectUnique(T*)': /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h:21:12: error: 'GObjectUniquePtr' was not declared in this scope return GObjectUniquePtr(p); ^~~~~~~~~~~~~~~~ /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h:21:12: note: suggested alternative: 'makeGObjectUnique' return GObjectUniquePtr(p); ^~~~~~~~~~~~~~~~ makeGObjectUnique /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h:21:30: error: expected primary-expression before '>' token return GObjectUniquePtr(p); ^ In file included from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/dictwidget.cpp:11: /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h: At global scope: /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h:53:5: error: 'GObjectUniquePtr' does not name a type; did you mean 'makeGObjectUnique'? GObjectUniquePtr event_; ^~~~~~~~~~~~~~~~ makeGObjectUnique /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h: In constructor 'fcitx::ShortcutEntry::ShortcutEntry(const QString&, KkcKeyEvent*, const QString&, KkcInputMode)': /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h:21:30: error: class 'fcitx::ShortcutEntry' does not have any field named 'event_' : command_(command), event_(KKC_KEY_EVENT(g_object_ref(event))), ^~~~~~ /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h:23:49: error: 'event_' was not declared in this scope gchar *keystr = kkc_key_event_to_string(event_.get()); ^~~~~~ /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h:23:49: note: suggested alternative: 'event' gchar *keystr = kkc_key_event_to_string(event_.get()); ^~~~~~ event /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h: In copy constructor 'fcitx::ShortcutEntry::ShortcutEntry(const fcitx::ShortcutEntry&)': /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h:29:47: error: 'const class fcitx::ShortcutEntry' has no member named 'event_'; did you mean 'event'? : ShortcutEntry(other.command_, other.event_.get(), other.label_, ^~~~~~ event /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h: In member function 'fcitx::ShortcutEntry& fcitx::ShortcutEntry::operator=(const fcitx::ShortcutEntry&)': /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h:35:9: error: 'event_' was not declared in this scope event_.reset(KKC_KEY_EVENT(g_object_ref(other.event()))); ^~~~~~ /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h:35:9: note: suggested alternative: 'event' event_.reset(KKC_KEY_EVENT(g_object_ref(other.event()))); ^~~~~~ event /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h: In member function 'KkcKeyEvent* fcitx::ShortcutEntry::event() const': /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h:47:41: error: 'event_' was not declared in this scope KkcKeyEvent *event() const { return event_.get(); } ^~~~~~ /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h:47:41: note: suggested alternative: 'event' KkcKeyEvent *event() const { return event_.get(); } ^~~~~~ event In file included from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3: /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h: At global scope: /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:53:5: error: 'GObjectUniquePtr' does not name a type; did you mean 'makeGObjectUnique'? GObjectUniquePtr event_; ^~~~~~~~~~~~~~~~ makeGObjectUnique /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h: In constructor 'fcitx::ShortcutEntry::ShortcutEntry(const QString&, KkcKeyEvent*, const QString&, KkcInputMode)': /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:21:30: error: class 'fcitx::ShortcutEntry' does not have any field named 'event_' : command_(command), event_(KKC_KEY_EVENT(g_object_ref(event))), ^~~~~~ /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:23:49: error: 'event_' was not declared in this scope gchar *keystr = kkc_key_event_to_string(event_.get()); ^~~~~~ /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:23:49: note: suggested alternative: 'event' gchar *keystr = kkc_key_event_to_string(event_.get()); ^~~~~~ event /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h: In copy constructor 'fcitx::ShortcutEntry::ShortcutEntry(const fcitx::ShortcutEntry&)': /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:29:47: error: 'const class fcitx::ShortcutEntry' has no member named 'event_'; did you mean 'event'? : ShortcutEntry(other.command_, other.event_.get(), other.label_, ^~~~~~ event /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h: In member function 'fcitx::ShortcutEntry& fcitx::ShortcutEntry::operator=(const fcitx::ShortcutEntry&)': /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:35:9: error: 'event_' was not declared in this scope event_.reset(KKC_KEY_EVENT(g_object_ref(other.event()))); ^~~~~~ /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h: At global scope: /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/shortcutmodel.h:85:5: error: 'GObjectUniquePtr' does not name a type; did you mean 'makeGObjectUnique'? GObjectUniquePtr userRule_; ^~~~~~~~~~~~~~~~ makeGObjectUnique /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:35:9: note: suggested alternative: 'event' event_.reset(KKC_KEY_EVENT(g_object_ref(other.event()))); ^~~~~~ event /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h: In member function 'KkcKeyEvent* fcitx::ShortcutEntry::event() const': /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:47:41: error: 'event_' was not declared in this scope KkcKeyEvent *event() const { return event_.get(); } ^~~~~~ /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:47:41: note: suggested alternative: 'event' KkcKeyEvent *event() const { return event_.get(); } ^~~~~~ event /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h: At global scope: /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:85:5: error: 'GObjectUniquePtr' does not name a type; did you mean 'makeGObjectUnique'? GObjectUniquePtr userRule_; ^~~~~~~~~~~~~~~~ makeGObjectUnique In file included from /usr/pkg/include/Fcitx5/Utils/fcitx-utils/key.h:21, from /usr/pkg/include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitxqtkeysequencewidget.h:47, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../ui_addshortcutdialog.h:20, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:11, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:35:27: error: 'underlying_type_t' in namespace 'std' does not name a template type typedef typename std::underlying_type_t storage_type; ^~~~~~~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:35:27: note: suggested alternative: 'underlying_type' typedef typename std::underlying_type_t storage_type; ^~~~~~~~~~~~~~~~~ underlying_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:35:44: error: expected unqualified-id before '<' token typedef typename std::underlying_type_t storage_type; ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:37:32: error: expected ')' before 'i' explicit Flags(storage_type i = 0) : flags_(i) {} ~ ^~ ) /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:46:31: error: expected type-specifier before 'storage_type' constexpr inline operator storage_type() const { return flags_; } ^~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:47:22: error: 'storage_type' does not name a type; did you mean 'g_uri_get_type'? constexpr inline storage_type toInteger() const { return flags_; } ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:53:22: error: declaration of 'operator=' as non-function Flags &operator=(storage_type f) { ^~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:53:20: error: expected ';' at end of member declaration Flags &operator=(storage_type f) { ^ ; /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:53:34: error: expected ')' before 'f' Flags &operator=(storage_type f) { ~ ^~ ) /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:130:5: error: 'storage_type' does not name a type; did you mean 'g_uri_get_type'? storage_type flags_; ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In constructor 'constexpr fcitx::Flags::Flags(Enum)': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:31: error: class 'fcitx::Flags' does not have any field named 'flags_' constexpr Flags(Enum f) : flags_(static_cast(f)) {} ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:50: error: 'storage_type' does not name a type; did you mean 'g_uri_get_type'? constexpr Flags(Enum f) : flags_(static_cast(f)) {} ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In constructor 'constexpr fcitx::Flags::Flags(const std::initializer_list<_Tp>&)': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:38:61: error: class 'fcitx::Flags' does not have any field named 'flags_' constexpr Flags(const std::initializer_list &l) : flags_(0) { ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:42:5: error: 'constexpr' constructor does not have empty body } ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags& fcitx::Flags::operator=(Enum)': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:50:9: error: 'flags_' was not declared in this scope flags_ = static_cast(f); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:50:9: note: suggested alternative: 'Flags' flags_ = static_cast(f); ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:50:30: error: 'storage_type' does not name a type; did you mean 'g_uri_get_type'? flags_ = static_cast(f); ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr bool fcitx::Flags::operator!() const': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:58:48: error: 'flags_' was not declared in this scope constexpr bool operator!() const { return !flags_; } ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:58:48: note: suggested alternative: 'Flags' constexpr bool operator!() const { return !flags_; } ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags& fcitx::Flags::operator&=(fcitx::Flags)': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:60:9: error: 'flags_' was not declared in this scope flags_ &= flag.flags_; ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:60:9: note: suggested alternative: 'Flags' flags_ &= flag.flags_; ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags& fcitx::Flags::operator&=(Enum)': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:64:9: error: 'flags_' was not declared in this scope flags_ &= static_cast(flag); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:64:9: note: suggested alternative: 'Flags' flags_ &= static_cast(flag); ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:64:31: error: 'storage_type' does not name a type; did you mean 'g_uri_get_type'? flags_ &= static_cast(flag); ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags& fcitx::Flags::operator|=(fcitx::Flags)': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:68:9: error: 'flags_' was not declared in this scope flags_ |= flag.flags_; ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:68:9: note: suggested alternative: 'Flags' flags_ |= flag.flags_; ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags& fcitx::Flags::operator|=(Enum)': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:72:9: error: 'flags_' was not declared in this scope flags_ |= static_cast(flag); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:72:9: note: suggested alternative: 'Flags' flags_ |= static_cast(flag); ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:72:31: error: 'storage_type' does not name a type; did you mean 'g_uri_get_type'? flags_ |= static_cast(flag); ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags& fcitx::Flags::operator^=(fcitx::Flags)': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:76:9: error: 'flags_' was not declared in this scope flags_ ^= flag.flags_; ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:76:9: note: suggested alternative: 'Flags' flags_ ^= flag.flags_; ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags& fcitx::Flags::operator^=(Enum)': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:80:9: error: 'flags_' was not declared in this scope flags_ ^= static_cast(flag); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:80:9: note: suggested alternative: 'Flags' flags_ ^= static_cast(flag); ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:80:31: error: 'storage_type' does not name a type; did you mean 'g_uri_get_type'? flags_ ^= static_cast(flag); ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::operator|(fcitx::Flags) const': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:84:22: error: 'flags_' was not declared in this scope return Flags(flags_ | f.flags_); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:84:22: note: suggested alternative: 'Flags' return Flags(flags_ | f.flags_); ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::operator|(Enum) const': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:87:22: error: 'flags_' was not declared in this scope return Flags(flags_ | static_cast(f)); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:87:22: note: suggested alternative: 'Flags' return Flags(flags_ | static_cast(f)); ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:87:43: error: 'storage_type' was not declared in this scope return Flags(flags_ | static_cast(f)); ^~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:87:43: note: suggested alternative: 'g_uri_get_type' return Flags(flags_ | static_cast(f)); ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:87:21: error: expected primary-expression before '(' token return Flags(flags_ | static_cast(f)); ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:87:43: error: 'storage_type' does not name a type; did you mean 'g_uri_get_type'? return Flags(flags_ | static_cast(f)); ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::operator^(fcitx::Flags) const': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:90:22: error: 'flags_' was not declared in this scope return Flags(flags_ ^ f.flags_); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:90:22: note: suggested alternative: 'Flags' return Flags(flags_ ^ f.flags_); ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::operator^(Enum) const': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:93:22: error: 'flags_' was not declared in this scope return Flags(flags_ ^ static_cast(f)); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:93:22: note: suggested alternative: 'Flags' return Flags(flags_ ^ static_cast(f)); ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:93:43: error: 'storage_type' was not declared in this scope return Flags(flags_ ^ static_cast(f)); ^~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:93:43: note: suggested alternative: 'g_uri_get_type' return Flags(flags_ ^ static_cast(f)); ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:93:21: error: expected primary-expression before '(' token return Flags(flags_ ^ static_cast(f)); ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:93:43: error: 'storage_type' does not name a type; did you mean 'g_uri_get_type'? return Flags(flags_ ^ static_cast(f)); ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::operator&(fcitx::Flags) const': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:96:22: error: 'flags_' was not declared in this scope return Flags(flags_ & f.flags_); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:96:22: note: suggested alternative: 'Flags' return Flags(flags_ & f.flags_); ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::operator&(Enum) const': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:99:22: error: 'flags_' was not declared in this scope return Flags(flags_ & static_cast(f)); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:99:22: note: suggested alternative: 'Flags' return Flags(flags_ & static_cast(f)); ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:99:43: error: 'storage_type' was not declared in this scope return Flags(flags_ & static_cast(f)); ^~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:99:43: note: suggested alternative: 'g_uri_get_type' return Flags(flags_ & static_cast(f)); ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:99:21: error: expected primary-expression before '(' token return Flags(flags_ & static_cast(f)); ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:99:43: error: 'storage_type' does not name a type; did you mean 'g_uri_get_type'? return Flags(flags_ & static_cast(f)); ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::operator~() const': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:101:62: error: 'flags_' was not declared in this scope constexpr inline Flags operator~() const { return Flags(~flags_); } ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:101:62: note: suggested alternative: 'Flags' constexpr inline Flags operator~() const { return Flags(~flags_); } ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::unset(Enum) const': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:104:22: error: 'flags_' was not declared in this scope return Flags(flags_ & (~static_cast(f))); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:104:22: note: suggested alternative: 'Flags' return Flags(flags_ & (~static_cast(f))); ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:104:45: error: 'storage_type' was not declared in this scope return Flags(flags_ & (~static_cast(f))); ^~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:104:45: note: suggested alternative: 'g_uri_get_type' return Flags(flags_ & (~static_cast(f))); ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:104:21: error: expected primary-expression before '(' token return Flags(flags_ & (~static_cast(f))); ^ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:104:45: error: 'storage_type' does not name a type; did you mean 'g_uri_get_type'? return Flags(flags_ & (~static_cast(f))); ^~~~~~~~~~~~ g_uri_get_type /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags fcitx::Flags::unset(fcitx::Flags) const': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:108:22: error: 'flags_' was not declared in this scope return Flags(flags_ & (~f.flags_)); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:108:22: note: suggested alternative: 'Flags' return Flags(flags_ & (~f.flags_)); ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr bool fcitx::Flags::operator==(const fcitx::Flags&) const': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:121:16: error: 'flags_' was not declared in this scope return flags_ == f.flags_; ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:121:16: note: suggested alternative: 'Flags' return flags_ == f.flags_; ^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr bool fcitx::Flags::operator==(Enum) const': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:124:16: error: 'flags_' was not declared in this scope return flags_ == static_cast(f); ^~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:124:16: note: suggested alternative: 'Flags' return flags_ == static_cast(f); ^~~~~~ Flags --- gui/CMakeFiles/fcitx5-kkc-config.dir/dictwidget.cpp.o --- *** [gui/CMakeFiles/fcitx5-kkc-config.dir/dictwidget.cpp.o] Error code 1 make[2]: stopped in /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4 /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:124:38: error: 'storage_type' does not name a type; did you mean 'g_uri_get_type'? return flags_ == static_cast(f); ^~~~~~~~~~~~ g_uri_get_type In file included from /usr/pkg/include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitxqtkeysequencewidget.h:47, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../ui_addshortcutdialog.h:20, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:11, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/key.h: At global scope: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/key.h:42:75: error: no matching function for call to 'fcitx::Flags::Flags()' explicit Key(KeySym sym = FcitxKey_None, KeyStates states = KeyStates(), ^ In file included from /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:18, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags::Flags(const fcitx::Flags&) [with Enum = fcitx::KeyState]' FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate expects 1 argument, 0 provided /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags::Flags(fcitx::Flags&&) [with Enum = fcitx::KeyState]' FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate expects 1 argument, 0 provided In file included from /usr/pkg/include/Fcitx5/Utils/fcitx-utils/key.h:21, from /usr/pkg/include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitxqtkeysequencewidget.h:47, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../ui_addshortcutdialog.h:20, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:11, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate: 'fcitx::Flags::Flags(const std::initializer_list<_Tp>&) [with Enum = fcitx::KeyState]' constexpr Flags(const std::initializer_list &l) : flags_(0) { ^~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate expects 1 argument, 0 provided /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate: 'constexpr fcitx::Flags::Flags(Enum) [with Enum = fcitx::KeyState]' constexpr Flags(Enum f) : flags_(static_cast(f)) {} ^~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate expects 1 argument, 0 provided In file included from /usr/pkg/include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitxqtkeysequencewidget.h:47, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../ui_addshortcutdialog.h:20, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:11, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/key.h:57:71: error: no matching function for call to 'fcitx::Flags::Flags()' static Key fromKeyCode(int code = 0, KeyStates states = KeyStates()) { ^ In file included from /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:18, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags::Flags(const fcitx::Flags&) [with Enum = fcitx::KeyState]' FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate expects 1 argument, 0 provided /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags::Flags(fcitx::Flags&&) [with Enum = fcitx::KeyState]' FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate expects 1 argument, 0 provided In file included from /usr/pkg/include/Fcitx5/Utils/fcitx-utils/key.h:21, from /usr/pkg/include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitxqtkeysequencewidget.h:47, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../ui_addshortcutdialog.h:20, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:11, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate: 'fcitx::Flags::Flags(const std::initializer_list<_Tp>&) [with Enum = fcitx::KeyState]' constexpr Flags(const std::initializer_list &l) : flags_(0) { ^~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate expects 1 argument, 0 provided /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate: 'constexpr fcitx::Flags::Flags(Enum) [with Enum = fcitx::KeyState]' constexpr Flags(Enum f) : flags_(static_cast(f)) {} ^~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate expects 1 argument, 0 provided In file included from /usr/pkg/include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitxqtkeysequencewidget.h:47, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../ui_addshortcutdialog.h:20, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:11, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/key.h:75:45: error: no matching function for call to 'fcitx::Flags::Flags()' KeyStates states = KeyStates()) const { ^ In file included from /usr/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:18, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags::Flags(const fcitx::Flags&) [with Enum = fcitx::KeyState]' FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate expects 1 argument, 0 provided /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags::Flags(fcitx::Flags&&) [with Enum = fcitx::KeyState]' FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate expects 1 argument, 0 provided In file included from /usr/pkg/include/Fcitx5/Utils/fcitx-utils/key.h:21, from /usr/pkg/include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitxqtkeysequencewidget.h:47, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../ui_addshortcutdialog.h:20, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:11, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10, from /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3: /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate: 'fcitx::Flags::Flags(const std::initializer_list<_Tp>&) [with Enum = fcitx::KeyState]' constexpr Flags(const std::initializer_list &l) : flags_(0) { ^~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate expects 1 argument, 0 provided /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate: 'constexpr fcitx::Flags::Flags(Enum) [with Enum = fcitx::KeyState]' constexpr Flags(Enum f) : flags_(static_cast(f)) {} ^~~~~ /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate expects 1 argument, 0 provided /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In instantiation of 'constexpr bool fcitx::Flags::operator==(const fcitx::Flags&) const [with Enum = fcitx::KeyState]': /usr/pkg/include/Fcitx5/Utils/fcitx-utils/key.h:63:51: required from here /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:121:28: error: 'const class fcitx::Flags' has no member named 'flags_'; did you mean 'Flags'? return flags_ == f.flags_; ~~^~~~~~ Flags /usr/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:122:5: error: body of 'constexpr' function 'constexpr bool fcitx::Flags::operator==(const fcitx::Flags&) const [with Enum = fcitx::KeyState]' not a return-statement } ^ --- gui/CMakeFiles/fcitx5-kkc-config.dir/fcitx5-kkc-config_autogen/mocs_compilation.cpp.o --- *** [gui/CMakeFiles/fcitx5-kkc-config.dir/fcitx5-kkc-config_autogen/mocs_compilation.cpp.o] Error code 1 make[2]: stopped in /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4 2 errors make[2]: stopped in /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4 --- gui/CMakeFiles/fcitx5-kkc-config.dir/all --- *** [gui/CMakeFiles/fcitx5-kkc-config.dir/all] Error code 2 make[1]: stopped in /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4 A failure has been detected in another branch of the parallel make make[2]: stopped in /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4 --- src/CMakeFiles/kkc.dir/all --- *** [src/CMakeFiles/kkc.dir/all] Error code 2 make[1]: stopped in /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4 2 errors make[1]: stopped in /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4 *** [all] Error code 2 make: stopped in /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4 1 error make: stopped in /tmp/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/inputmethod/fcitx5-kkc *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/inputmethod/fcitx5-kkc