fcitx5还在重度开发,M17N里的版本是今年2月的,显得有点旧。
参照了一下这个 svntogit-community/PKGBUILD at packages/fcitx5 · archlinux/svntogit-community · GitHub ,感觉M17N里的spec好像没啥问题,所以照搬了spec来编译7月26的包。
但是出问题了
[ 119s] /home/abuild/rpmbuild/BUILD/fcitx5-4.99.0+git20200726.80acd9/src/frontend/xim/xim.cpp: In constructor 'fcitx::XIMServer::XIMServer(xcb_connection_t*, int, fcitx::FocusGroup*, const string&, fcitx::XIMModule*)':
[ 119s] /home/abuild/rpmbuild/BUILD/fcitx5-4.99.0+git20200726.80acd9/src/frontend/xim/xim.cpp:114:13: error: 'xcb_im_set_log_handler' was not declared in this scope
[ 119s] 114 | xcb_im_set_log_handler(im_.get(), XimLogFunc);
[ 119s] | ^~~~~~~~~~~~~~~~~~~~~~
[ 119s] /home/abuild/rpmbuild/BUILD/fcitx5-4.99.0+git20200726.80acd9/src/frontend/xim/xim.cpp:116:9: error: 'xcb_im_set_use_sync_mode' was not declared in this scope
[ 119s] 116 | xcb_im_set_use_sync_mode(im_.get(), false);
[ 119s] | ^~~~~~~~~~~~~~~~~~~~~~~~
[ 119s] [ 74%] Building CXX object src/modules/xcb/CMakeFiles/xcb.dir/xcbconvertselection.cpp.o
感觉是编译时依赖的其他包旧了?
完整log在这儿,请教一下大家,这个如何解决/可以解决吗?