Bug#1099094: fcitx5-keyman: FTBFS against keyman 18.0.199
Source: fcitx5-keyman
Version: 1.1.2-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org
https://buildd.debian.org/status/fetch.php?pkg=fcitx5-keyman&arch=amd64&ver=1.1.2-1%2Bb1&stamp=1740728874&raw=0
[ 92%] Built target fcitx5-keyman-translation
In file included from /build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp:8:
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.h:57:26: error: ‘km_core_cp’ does not name a type; did you mean ‘km_core_cu’?
57 | void setOption(const km_core_cp *key, const km_core_cp *value);
| ^~~~~~~~~~
| km_core_cu
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.h:57:49: error: ‘km_core_cp’ does not name a type; did you mean ‘km_core_cu’?
57 | void setOption(const km_core_cp *key, const km_core_cp *value);
| ^~~~~~~~~~
| km_core_cu
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp: In function ‘std::string fcitx::{anonymous}::get_current_context_text_debug(km_core_state*)’:
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp:111:5: error: ‘km_core_cp’ was not declared in this scope; did you mean ‘km_core_cu’?
111 | km_core_cp *buf =
| ^~~~~~~~~~
| km_core_cu
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp:111:17: error: ‘buf’ was not declared in this scope
111 | km_core_cp *buf =
| ^~~
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp:120:9: error: ‘km_core_cp_dispose’ was not declared in this scope; did you mean ‘km_core_cu_dispose’?
120 | km_core_cp_dispose(buf);
| ^~~~~~~~~~~~~~~~~~
| km_core_cu_dispose
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp: In member function ‘void fcitx::KeymanState::updateContext()’:
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp:199:41: error: ‘km_core_cp’ does not name a type; did you mean ‘km_core_cu’?
199 | state, reinterpret_cast<km_core_cp *>(utf16Context.data()));
| ^~~~~~~~~~
| km_core_cu
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp:199:52: error: expected ‘>’ before ‘*’ token
199 | state, reinterpret_cast<km_core_cp *>(utf16Context.data()));
| ^
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp:199:52: error: expected ‘(’ before ‘*’ token
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp:199:53: error: expected primary-expression before ‘>’ token
199 | state, reinterpret_cast<km_core_cp *>(utf16Context.data()));
| ^
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp: In member function ‘void fcitx::KeymanKeyboardData::load()’:
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp:323:9: error: ‘km_core_keyboard_load’ was not declared in this scope; did you mean ‘km_core_keyboard_key’?
323 | km_core_keyboard_load(kmxPath.data(), &keyboard_);
| ^~~~~~~~~~~~~~~~~~~~~
| km_core_keyboard_key
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp: At global scope:
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp:340:49: error: ‘km_core_cp’ does not name a type; did you mean ‘km_core_cu’?
340 | void fcitx::KeymanKeyboardData::setOption(const km_core_cp *key,
| ^~~~~~~~~~
| km_core_cu
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp:341:49: error: ‘km_core_cp’ does not name a type; did you mean ‘km_core_cu’?
341 | const km_core_cp *value) {
| ^~~~~~~~~~
| km_core_cu
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp: In member function ‘virtual void fcitx::KeymanEngine::keyEvent(const fcitx::InputMethodEntry&, fcitx::KeyEvent&)’:
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp:515:71: error: cannot convert ‘const km_core_cu*’ {aka ‘const char16_t*’} to ‘const int*’
515 | keyman->keyboard()->setOption(actions->persist_options[i].key,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
| |
| const km_core_cu* {aka const char16_t*}
/build/reproducible-path/fcitx5-keyman-1.1.2/src/engine.cpp:340:61: note: initializing argument 1 of ‘void fcitx::KeymanKeyboardData::setOption(const int*, const int*)’
340 | void fcitx::KeymanKeyboardData::setOption(const km_core_cp *key,
| ~~~~~~~~~~~~~~~~~~^~~
make[3]: *** [src/CMakeFiles/keyman.dir/build.make:82: src/CMakeFiles/keyman.dir/engine.cpp.o] Error 1
Cheers
--
Sebastian Ramacher
Reply to: