+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fcitx5-kkc-5.0.4nb11/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fcitx5-kkc-5.0.4nb11/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for fcitx5-kkc-5.0.4nb11
[  3%] Generating org.fcitx.Fcitx5.Addon.Kkc.metainfo.xml
[  3%] Built target org.fcitx.Fcitx5.Addon.Kkc.metainfo.xml.in-fmt
[  6%] Generating fcitx5-kkc-ca.mo
[  9%] Generating fcitx5-kkc-da.mo
[ 12%] Generating fcitx5-kkc-de.mo
[ 16%] Generating fcitx5-kkc-he.mo
[ 19%] Generating fcitx5-kkc-ja.mo
[ 22%] Generating fcitx5-kkc-ko.mo
[ 25%] Generating fcitx5-kkc-ru.mo
[ 29%] Generating fcitx5-kkc-tr.mo
[ 32%] Generating fcitx5-kkc-zh_CN.mo
[ 35%] Generating fcitx5-kkc-zh_TW.mo
[ 35%] Built target fcitx5-kkc-translation
[ 38%] Building CXX object src/CMakeFiles/kkc.dir/kkc.cpp.o
[ 41%] Linking CXX shared module kkc.so
[ 41%] Built target kkc
[ 45%] Generating kkc.conf
[ 45%] Built target kkc.conf.in-fmt
[ 48%] Generating kkc-addon.conf
[ 48%] Built target kkc-addon.conf.in-fmt
[ 48%] Built target fcitx5-kkc-config_autogen_timestamp_deps
[ 51%] Automatic MOC and UIC for target fcitx5-kkc-config
[ 51%] Built target fcitx5-kkc-config_autogen
[ 54%] Generating ui_adddictdialog.h
[ 58%] Generating ui_addshortcutdialog.h
[ 61%] Generating ui_dictwidget.h
[ 64%] Generating ui_shortcutwidget.h
[ 67%] Building CXX object gui/CMakeFiles/fcitx5-kkc-config.dir/fcitx5-kkc-config_autogen/mocs_compilation.cpp.o
In file included from /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h:10,
                 from /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h:10,
                 from /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:10,
                 from /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_addshortcutdialog.cpp:10,
                 from /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:3:
/opt/pkg/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 {
      |            ^~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:100:12: note: deduced return type only available with '-std=c++14' or '-std=gnu++14'
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h: In member function 'auto fcitx::EnumHash::operator()(T) const':
/opt/pkg/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<std::underlying_type_t<T>>()(
      |                               ^~~~~~~~~~~~~~~~~
      |                               underlying_type
/opt/pkg/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<std::underlying_type_t<T>>()(
      |                               ^~~~~~~~~~~~~~~~~
      |                               underlying_type
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:101:49: error: template argument 1 is invalid
  101 |         return std::hash<std::underlying_type_t<T>>()(
      |                                                 ^
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:101:53: error: expected primary-expression before ')' token
  101 |         return std::hash<std::underlying_type_t<T>>()(
      |                                                     ^
/opt/pkg/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<std::underlying_type_t<T>>(value));
      |                              ^~~~~~~~~~~~~~~~~
      |                              underlying_type
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected '>' before '<' token
  102 |             static_cast<std::underlying_type_t<T>>(value));
      |                                               ^
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected '(' before '<' token
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:47: error: expected primary-expression before '<' token
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:102:49: error: expected primary-expression before '>>' token
  102 |             static_cast<std::underlying_type_t<T>>(value));
      |                                                 ^~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h: At global scope:
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:111:11: error: parameter declared 'auto'
  111 | template <auto FreeFunction>
      |           ^~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:120:23: error: parameter declared 'auto'
  120 | template <typename T, auto FreeFunction = std::free>
      |                       ^~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:121:67: error: template argument 2 is invalid
  121 | using UniqueCPtr = std::unique_ptr<T, FunctionDeleter<FreeFunction>>;
      |                                                                   ^~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:122:40: error: 'UniqueCPtr' was not declared in this scope
  122 | static_assert(sizeof(char *) == sizeof(UniqueCPtr<char>),
      |                                        ^~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:122:51: error: expected primary-expression before 'char'
  122 | static_assert(sizeof(char *) == sizeof(UniqueCPtr<char>),
      |                                                   ^~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:122:51: error: expected ')' before 'char'
  122 | static_assert(sizeof(char *) == sizeof(UniqueCPtr<char>),
      |                                       ~           ^~~~
      |                                                   )
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected ',' before ';' token
  123 |               ""); // ensure no overhead
      |                  ^
      |                  ,
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected string-literal before ';' token
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:123:18: error: expected ')' before ';' token
  123 |               ""); // ensure no overhead
      |                  ^
      |                  )
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:122:14: note: to match this '('
  122 | static_assert(sizeof(char *) == sizeof(UniqueCPtr<char>),
      |              ^
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:125:66: note: invalid template non-type parameter
  125 | using UniqueFilePtr = std::unique_ptr<FILE, FunctionDeleter<std::fclose>>;
      |                                                                  ^~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:125:72: error: template argument 2 is invalid
  125 | using UniqueFilePtr = std::unique_ptr<FILE, FunctionDeleter<std::fclose>>;
      |                                                                        ^~
/opt/pkg/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) {
      |        ^~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:128:8: note: deduced return type only available with '-std=c++14' or '-std=gnu++14'
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h: In function 'auto fcitx::makeUniqueCPtr(T*)':
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:129:12: error: 'UniqueCPtr' was not declared in this scope; did you mean 'makeUniqueCPtr'?
  129 |     return UniqueCPtr<T>(ptr);
      |            ^~~~~~~~~~
      |            makeUniqueCPtr
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:129:24: error: expected primary-expression before '>' token
  129 |     return UniqueCPtr<T>(ptr);
      |                        ^
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h: At global scope:
/opt/pkg/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<char> &lineptr, size_t *n,
      |                                   ^~~~~~~~~~
      |                                   makeUniqueCPtr
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:132:46: error: expected primary-expression before 'char'
  132 | FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr<char> &lineptr, size_t *n,
      |                                              ^~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:132:69: error: expected primary-expression before '*' token
  132 | FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr<char> &lineptr, size_t *n,
      |                                                                     ^
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:132:70: error: 'n' was not declared in this scope; did you mean 'yn'?
  132 | FCITXUTILS_EXPORT ssize_t getline(UniqueCPtr<char> &lineptr, size_t *n,
      |                                                                      ^
      |                                                                      yn
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:133:45: error: expected primary-expression before '*' token
  133 |                                   std::FILE *stream);
      |                                             ^
/opt/pkg/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 /opt/tools/gcc13/include/c++/13.2.0/streambuf:43,
                 from /opt/tools/gcc13/include/c++/13.2.0/bits/streambuf_iterator.h:35,
                 from /opt/tools/gcc13/include/c++/13.2.0/iterator:66,
                 from /opt/pkg/qt5/include/QtCore/qbytearray.h:53,
                 from /opt/pkg/qt5/include/QtCore/qvariant.h:44,
                 from /opt/pkg/qt5/include/QtCore/QVariant:1,
                 from /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../ui_adddictdialog.h:12,
                 from /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../adddictdialog.h:10,
                 from /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/moc_adddictdialog.cpp:10,
                 from /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/mocs_compilation.cpp:2:
/opt/tools/gcc13/include/c++/13.2.0/bits/ios_base.h:204:24: note: 'std::io_errc::stream' declared here
  204 |   enum class io_errc { stream = 1 };
      |                        ^~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:133:52: error: expression list treated as compound expression in initializer [-fpermissive]
  133 |                                   std::FILE *stream);
      |                                                    ^
/home/pbulk/build/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
   17 | using GObjectUniquePtr = UniqueCPtr<T, g_object_unref>;
      |                          ^~~~~~~~~~
/home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h:20:1: error: 'makeGObjectUnique' function uses 'auto' type specifier without trailing return type
   20 | auto makeGObjectUnique(T *p) {
      | ^~~~
/home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h:20:1: note: deduced return type only available with '-std=c++14' or '-std=gnu++14'
/home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../common.h: In function 'auto fcitx::makeGObjectUnique(T*)':
/home/pbulk/build/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
   21 |     return GObjectUniquePtr<T>(p);
      |            ^~~~~~~~~~~~~~~~
/home/pbulk/build/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
   21 |     return GObjectUniquePtr<T>(p);
      |                              ^
/home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h: At global scope:
/home/pbulk/build/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
   53 |     GObjectUniquePtr<KkcKeyEvent> event_;
      |     ^~~~~~~~~~~~~~~~
/home/pbulk/build/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)':
/home/pbulk/build/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_'
   21 |         : command_(command), event_(KKC_KEY_EVENT(g_object_ref(event))),
      |                              ^~~~~~
/home/pbulk/build/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; did you mean 'event'?
   23 |         gchar *keystr = kkc_key_event_to_string(event_.get());
      |                                                 ^~~~~~
      |                                                 event
/home/pbulk/build/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&)':
/home/pbulk/build/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'?
   29 |         : ShortcutEntry(other.command_, other.event_.get(), other.label_,
      |                                               ^~~~~~
      |                                               event
/home/pbulk/build/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&)':
/home/pbulk/build/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; did you mean 'event'?
   35 |         event_.reset(KKC_KEY_EVENT(g_object_ref(other.event())));
      |         ^~~~~~
      |         event
/home/pbulk/build/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':
/home/pbulk/build/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; did you mean 'event'?
   47 |     KkcKeyEvent *event() const { return event_.get(); }
      |                                         ^~~~~~
      |                                         event
/home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../shortcutmodel.h: At global scope:
/home/pbulk/build/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
   85 |     GObjectUniquePtr<KkcUserRule> userRule_;
      |     ^~~~~~~~~~~~~~~~
In file included from /opt/pkg/include/Fcitx5/Utils/fcitx-utils/key.h:21,
                 from /opt/pkg/include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitxqtkeysequencewidget.h:47,
                 from /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../ui_addshortcutdialog.h:20,
                 from /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4/gui/fcitx5-kkc-config_autogen/EWIEGA46WW/../../addshortcutdialog.h:11:
/opt/pkg/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<Enum> storage_type;
      |                           ^~~~~~~~~~~~~~~~~
      |                           underlying_type
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:35:44: error: expected unqualified-id before '<' token
   35 |     typedef typename std::underlying_type_t<Enum> storage_type;
      |                                            ^
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:37:32: error: expected ')' before 'i'
   37 |     explicit Flags(storage_type i = 0) : flags_(i) {}
      |                   ~            ^~
      |                                )
/opt/pkg/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_; }
      |                               ^~~~~~~~~~~~
/opt/pkg/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_; }
      |                      ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:53:22: error: 'storage_type' has not been declared
   53 |     Flags &operator=(storage_type f) {
      |                      ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:130:5: error: 'storage_type' does not name a type
  130 |     storage_type flags_;
      |     ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In constructor 'constexpr fcitx::Flags<Enum>::Flags(Enum)':
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:31: error: class 'fcitx::Flags<Enum>' does not have any field named 'flags_'
   36 |     constexpr Flags(Enum f) : flags_(static_cast<storage_type>(f)) {}
      |                               ^~~~~~
/opt/pkg/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<storage_type>(f)) {}
      |                                                  ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In constructor 'constexpr fcitx::Flags<Enum>::Flags(const std::initializer_list<_Tp>&)':
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:38:61: error: class 'fcitx::Flags<Enum>' does not have any field named 'flags_'
   38 |     constexpr Flags(const std::initializer_list<Enum> &l) : flags_(0) {
      |                                                             ^~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:42:5: error: 'constexpr' constructor does not have empty body
   42 |     }
      |     ^
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags<Enum>& fcitx::Flags<Enum>::operator=(Enum)':
/opt/pkg/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<storage_type>(f);
      |         ^~~~~~
      |         Flags
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:50:30: error: 'storage_type' does not name a type
   50 |         flags_ = static_cast<storage_type>(f);
      |                              ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags<Enum>& fcitx::Flags<Enum>::operator=(int)':
/opt/pkg/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
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr bool fcitx::Flags<Enum>::operator!() const':
/opt/pkg/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
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags<Enum>& fcitx::Flags<Enum>::operator&=(fcitx::Flags<Enum>)':
/opt/pkg/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
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags<Enum>& fcitx::Flags<Enum>::operator&=(Enum)':
/opt/pkg/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<storage_type>(flag);
      |         ^~~~~~
      |         Flags
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:64:31: error: 'storage_type' does not name a type
   64 |         flags_ &= static_cast<storage_type>(flag);
      |                               ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags<Enum>& fcitx::Flags<Enum>::operator|=(fcitx::Flags<Enum>)':
/opt/pkg/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
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags<Enum>& fcitx::Flags<Enum>::operator|=(Enum)':
/opt/pkg/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<storage_type>(flag);
      |         ^~~~~~
      |         Flags
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:72:31: error: 'storage_type' does not name a type
   72 |         flags_ |= static_cast<storage_type>(flag);
      |                               ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags<Enum>& fcitx::Flags<Enum>::operator^=(fcitx::Flags<Enum>)':
/opt/pkg/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
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'fcitx::Flags<Enum>& fcitx::Flags<Enum>::operator^=(Enum)':
/opt/pkg/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<storage_type>(flag);
      |         ^~~~~~
      |         Flags
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:80:31: error: 'storage_type' does not name a type
   80 |         flags_ ^= static_cast<storage_type>(flag);
      |                               ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags<Enum> fcitx::Flags<Enum>::operator|(fcitx::Flags<Enum>) const':
/opt/pkg/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
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags<Enum> fcitx::Flags<Enum>::operator|(Enum) const':
/opt/pkg/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<storage_type>(f));
      |                      ^~~~~~
      |                      Flags
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:87:43: error: 'storage_type' was not declared in this scope
   87 |         return Flags(flags_ | static_cast<storage_type>(f));
      |                                           ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:87:21: error: expected primary-expression before '(' token
   87 |         return Flags(flags_ | static_cast<storage_type>(f));
      |                     ^
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:87:43: error: 'storage_type' does not name a type
   87 |         return Flags(flags_ | static_cast<storage_type>(f));
      |                                           ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags<Enum> fcitx::Flags<Enum>::operator^(fcitx::Flags<Enum>) const':
/opt/pkg/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
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags<Enum> fcitx::Flags<Enum>::operator^(Enum) const':
/opt/pkg/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<storage_type>(f));
      |                      ^~~~~~
      |                      Flags
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:93:43: error: 'storage_type' was not declared in this scope
   93 |         return Flags(flags_ ^ static_cast<storage_type>(f));
      |                                           ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:93:21: error: expected primary-expression before '(' token
   93 |         return Flags(flags_ ^ static_cast<storage_type>(f));
      |                     ^
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:93:43: error: 'storage_type' does not name a type
   93 |         return Flags(flags_ ^ static_cast<storage_type>(f));
      |                                           ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags<Enum> fcitx::Flags<Enum>::operator&(fcitx::Flags<Enum>) const':
/opt/pkg/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
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags<Enum> fcitx::Flags<Enum>::operator&(Enum) const':
/opt/pkg/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<storage_type>(f));
      |                      ^~~~~~
      |                      Flags
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:99:43: error: 'storage_type' was not declared in this scope
   99 |         return Flags(flags_ & static_cast<storage_type>(f));
      |                                           ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:99:21: error: expected primary-expression before '(' token
   99 |         return Flags(flags_ & static_cast<storage_type>(f));
      |                     ^
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:99:43: error: 'storage_type' does not name a type
   99 |         return Flags(flags_ & static_cast<storage_type>(f));
      |                                           ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags<Enum> fcitx::Flags<Enum>::operator~() const':
/opt/pkg/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
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags<Enum> fcitx::Flags<Enum>::unset(Enum) const':
/opt/pkg/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<storage_type>(f)));
      |                      ^~~~~~
      |                      Flags
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:104:45: error: 'storage_type' was not declared in this scope
  104 |         return Flags(flags_ & (~static_cast<storage_type>(f)));
      |                                             ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:104:21: error: expected primary-expression before '(' token
  104 |         return Flags(flags_ & (~static_cast<storage_type>(f)));
      |                     ^
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:104:45: error: 'storage_type' does not name a type
  104 |         return Flags(flags_ & (~static_cast<storage_type>(f)));
      |                                             ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr fcitx::Flags<Enum> fcitx::Flags<Enum>::unset(fcitx::Flags<Enum>) const':
/opt/pkg/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
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr bool fcitx::Flags<Enum>::operator==(const fcitx::Flags<Enum>&) const':
/opt/pkg/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
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In member function 'constexpr bool fcitx::Flags<Enum>::operator==(Enum) const':
/opt/pkg/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<storage_type>(f);
      |                ^~~~~~
      |                Flags
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:124:38: error: 'storage_type' does not name a type
  124 |         return flags_ == static_cast<storage_type>(f);
      |                                      ^~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/key.h: At global scope:
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/key.h:42:75: error: no matching function for call to 'fcitx::Flags<fcitx::KeyState>::Flags()'
   42 |     explicit Key(KeySym sym = FcitxKey_None, KeyStates states = KeyStates(),
      |                                                                           ^
In file included from /opt/pkg/include/Fcitx5/Utils/fcitx-utils/misc.h:18:
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags<Enum>::Flags(const fcitx::Flags<Enum>&) [with Enum = fcitx::KeyState]'
   44 |     FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note:   candidate expects 1 argument, 0 provided
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags<Enum>::Flags(fcitx::Flags<Enum>&&) [with Enum = fcitx::KeyState]'
   44 |     FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note:   candidate expects 1 argument, 0 provided
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate: 'fcitx::Flags<Enum>::Flags(const std::initializer_list<_Tp>&) [with Enum = fcitx::KeyState]'
   38 |     constexpr Flags(const std::initializer_list<Enum> &l) : flags_(0) {
      |               ^~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note:   candidate expects 1 argument, 0 provided
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate: 'constexpr fcitx::Flags<Enum>::Flags(Enum) [with Enum = fcitx::KeyState]'
   36 |     constexpr Flags(Enum f) : flags_(static_cast<storage_type>(f)) {}
      |               ^~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note:   candidate expects 1 argument, 0 provided
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/key.h:57:71: error: no matching function for call to 'fcitx::Flags<fcitx::KeyState>::Flags()'
   57 |     static Key fromKeyCode(int code = 0, KeyStates states = KeyStates()) {
      |                                                                       ^
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags<Enum>::Flags(const fcitx::Flags<Enum>&) [with Enum = fcitx::KeyState]'
   44 |     FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note:   candidate expects 1 argument, 0 provided
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags<Enum>::Flags(fcitx::Flags<Enum>&&) [with Enum = fcitx::KeyState]'
   44 |     FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note:   candidate expects 1 argument, 0 provided
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate: 'fcitx::Flags<Enum>::Flags(const std::initializer_list<_Tp>&) [with Enum = fcitx::KeyState]'
   38 |     constexpr Flags(const std::initializer_list<Enum> &l) : flags_(0) {
      |               ^~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note:   candidate expects 1 argument, 0 provided
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate: 'constexpr fcitx::Flags<Enum>::Flags(Enum) [with Enum = fcitx::KeyState]'
   36 |     constexpr Flags(Enum f) : flags_(static_cast<storage_type>(f)) {}
      |               ^~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note:   candidate expects 1 argument, 0 provided
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/key.h:75:45: error: no matching function for call to 'fcitx::Flags<fcitx::KeyState>::Flags()'
   75 |                KeyStates states = KeyStates()) const {
      |                                             ^
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags<Enum>::Flags(const fcitx::Flags<Enum>&) [with Enum = fcitx::KeyState]'
   44 |     FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note:   candidate expects 1 argument, 0 provided
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note: candidate: 'constexpr fcitx::Flags<Enum>::Flags(fcitx::Flags<Enum>&&) [with Enum = fcitx::KeyState]'
   44 |     FCITX_INLINE_DEFINE_DEFAULT_DTOR_COPY_AND_MOVE(Flags)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:44:5: note:   candidate expects 1 argument, 0 provided
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note: candidate: 'fcitx::Flags<Enum>::Flags(const std::initializer_list<_Tp>&) [with Enum = fcitx::KeyState]'
   38 |     constexpr Flags(const std::initializer_list<Enum> &l) : flags_(0) {
      |               ^~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:38:15: note:   candidate expects 1 argument, 0 provided
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note: candidate: 'constexpr fcitx::Flags<Enum>::Flags(Enum) [with Enum = fcitx::KeyState]'
   36 |     constexpr Flags(Enum f) : flags_(static_cast<storage_type>(f)) {}
      |               ^~~~~
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:36:15: note:   candidate expects 1 argument, 0 provided
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h: In instantiation of 'constexpr bool fcitx::Flags<Enum>::operator==(const fcitx::Flags<Enum>&) const [with Enum = fcitx::KeyState]':
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/key.h:63:51:   required from here
/opt/pkg/include/Fcitx5/Utils/fcitx-utils/flags.h:121:28: error: 'const class fcitx::Flags<fcitx::KeyState>' has no member named 'flags_'; did you mean 'Flags'?
  121 |         return flags_ == f.flags_;
      |                          ~~^~~~~~
      |                          Flags
*** [gui/CMakeFiles/fcitx5-kkc-config.dir/fcitx5-kkc-config_autogen/mocs_compilation.cpp.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4
1 error

bmake[2]: stopped in /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4
*** [gui/CMakeFiles/fcitx5-kkc-config.dir/all] Error code 2

bmake[1]: stopped in /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4
1 error

bmake[1]: stopped in /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4
1 error

bmake: stopped in /home/pbulk/build/inputmethod/fcitx5-kkc/work/fcitx5-kkc-5.0.4
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/fcitx5-kkc
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/fcitx5-kkc