>>> fcitx5-m17n: Building testing/fcitx5-m17n 5.0.11-r1 (using abuild 3.11.21-r0) started Sat, 29 Jul 2023 19:56:51 +0000 >>> fcitx5-m17n: Checking sanity of /home/buildozer/aports/testing/fcitx5-m17n/APKBUILD... >>> WARNING: fcitx5-m17n: No maintainer >>> fcitx5-m17n: Analyzing dependencies... >>> fcitx5-m17n: Installing for build: build-base cmake extra-cmake-modules gettext-dev fcitx5-dev fmt-dev m17n-lib-dev samurai (1/77) Installing libarchive (3.7.0-r0) (2/77) Installing rhash-libs (1.4.4-r0) (3/77) Installing libuv (1.46.0-r0) (4/77) Installing cmake (3.27.1-r0) (5/77) Installing extra-cmake-modules (5.108.0-r1) (6/77) Installing xz (5.4.3-r1) (7/77) Installing gettext-asprintf (0.22-r0) (8/77) Installing libintl (0.22-r0) (9/77) Installing gettext-libs (0.22-r0) (10/77) Installing gettext-envsubst (0.22-r0) (11/77) Installing libxml2 (2.11.4-r0) (12/77) Installing gettext (0.22-r0) (13/77) Installing gettext-dev (0.22-r0) (14/77) Installing libxau (1.0.11-r3) (15/77) Installing libmd (1.1.0-r0) (16/77) Installing libbsd (0.11.7-r2) (17/77) Installing libxdmcp (1.1.4-r3) (18/77) Installing libxcb (1.15-r3) (19/77) Installing libx11 (1.8.6-r0) (20/77) Installing libxext (1.3.5-r3) (21/77) Installing libxrender (0.9.11-r4) (22/77) Installing libpng (1.6.40-r0) (23/77) Installing freetype (2.13.1-r0) (24/77) Installing fontconfig (2.14.2-r4) (25/77) Installing pixman (0.42.2-r2) (26/77) Installing cairo (1.17.8-r2) (27/77) Installing dbus-libs (1.14.8-r0) (28/77) Installing libffi (3.4.4-r3) (29/77) Installing libblkid (2.39.1-r0) (30/77) Installing libmount (2.39.1-r0) (31/77) Installing glib (2.76.4-r0) (32/77) Installing enchant2-libs (2.5.0-r0) (33/77) Installing libevent (2.1.12-r7) (34/77) Installing shared-mime-info (2.2-r5) (35/77) Installing libjpeg-turbo (3.0.0-r1) (36/77) Installing libsharpyuv (1.3.1-r0) (37/77) Installing libwebp (1.3.1-r0) (38/77) Installing tiff (4.5.1-r0) (39/77) Installing gdk-pixbuf (2.42.10-r5) (40/77) Installing json-c (0.16-r3) (41/77) Installing libxft (2.3.8-r2) (42/77) Installing fribidi (1.0.13-r0) (43/77) Installing graphite2 (1.3.14-r6) (44/77) Installing harfbuzz (8.0.1-r0) (45/77) Installing pango (1.50.14-r2) (46/77) Installing libuuid (2.39.1-r0) (47/77) Installing wayland-libs-client (1.22.0-r3) (48/77) Installing xcb-util-wm (0.4.2-r0) (49/77) Installing xcb-util (0.4.1-r3) (50/77) Installing xcb-imdkit (1.0.5-r0) (51/77) Installing xcb-util-keysyms (0.4.1-r0) (52/77) Installing xkeyboard-config (2.39-r2) (53/77) Installing libxkbcommon (1.5.0-r4) (54/77) Installing libxkbcommon-x11 (1.5.0-r4) (55/77) Installing libxkbfile (1.1.2-r2) (56/77) Installing fcitx5 (5.0.23-r0) (57/77) Installing fcitx5-dev (5.0.23-r0) (58/77) Installing fmt (9.1.0-r1) (59/77) Installing fmt-dev (9.1.0-r1) (60/77) Installing m17n-db (1.8.3-r1) (61/77) Installing m17n-db-dev (1.8.3-r1) (62/77) Installing libice (1.1.1-r5) (63/77) Installing libsm (1.2.4-r3) (64/77) Installing libxt (1.3.0-r4) (65/77) Installing libxmu (1.1.4-r2) (66/77) Installing libxpm (3.5.16-r1) (67/77) Installing libxaw (1.0.15-r3) (68/77) Installing libdatrie-libs (0.2.13-r0) (69/77) Installing libthai (0.1.29-r0) (70/77) Installing libm17n-core (1.8.3-r1) (71/77) Installing libm17n-flt (1.8.3-r1) (72/77) Installing anthy (9100h-r3) (73/77) Installing m17n-lib (1.8.3-r1) (74/77) Installing m17n-lib-tools (1.8.3-r1) (75/77) Installing m17n-lib-dev (1.8.3-r1) (76/77) Installing samurai (1.2-r4) (77/77) Installing .makedepends-fcitx5-m17n (20230729.195653) Executing busybox-1.36.1-r4.trigger Executing glib-2.76.4-r0.trigger Executing shared-mime-info-2.2-r5.trigger Executing gdk-pixbuf-2.42.10-r5.trigger OK: 519 MiB in 187 packages >>> fcitx5-m17n: Cleaning up srcdir >>> fcitx5-m17n: Cleaning up pkgdir >>> fcitx5-m17n: Cleaning up tmpdir >>> fcitx5-m17n: Fetching https://distfiles.alpinelinux.org/distfiles/edge/fcitx5-m17n-5.0.11.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 26069 100 26069 0 0 282k 0 --:--:-- --:--:-- --:--:-- 286k >>> fcitx5-m17n: Fetching https://distfiles.alpinelinux.org/distfiles/edge/fcitx5-m17n-5.0.11.tar.gz >>> fcitx5-m17n: Checking sha512sums... fcitx5-m17n-5.0.11.tar.gz: OK >>> fcitx5-m17n: Unpacking /var/cache/distfiles/edge/fcitx5-m17n-5.0.11.tar.gz... -- The C compiler identification is GNU 13.1.1 -- The CXX compiler identification is GNU 13.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Installing in the same prefix as Fcitx, adopting their path scheme by default -- Found Gettext: /usr/bin/msgmerge (found version "0.22") -- Looking for pthread_create -- Looking for pthread_create - found -- Found Pthread: /usr/include -- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5") -- Checking for module 'm17n-gui>=1.6.3' -- Found m17n-gui, version 1.8.3 -- Checking for module 'm17n-db' -- Found m17n-db, version 1.8.3 -- The following REQUIRED packages have been found: * ECM * Fcitx5Core (required version >= 5.0.23) * Fcitx5ModuleTestFrontend * Fcitx5Module * Gettext * Pthread * fmt * PkgConfig -- Configuring done (1.0s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/build [1/20] Generating m17n.conf [2/20] Building CXX object im/CMakeFiles/m17n.dir/keysymname.cpp.o [3/20] Building CXX object im/CMakeFiles/m17n.dir/overrideparser.cpp.o [4/20] Building CXX object im/CMakeFiles/m17n.dir/engine.cpp.o [5/20] Generating fcitx5-m17n-zh_TW.mo [6/20] Generating fcitx5-m17n-zh_CN.mo [7/20] Generating fcitx5-m17n-vi.mo [8/20] Generating fcitx5-m17n-tr.mo [9/20] Generating fcitx5-m17n-ru.mo [10/20] Generating fcitx5-m17n-ko.mo [11/20] Generating fcitx5-m17n-ja.mo [12/20] Generating fcitx5-m17n-he.mo [13/20] Generating fcitx5-m17n-de.mo [14/20] Generating fcitx5-m17n-da.mo [15/20] Generating fcitx5-m17n-ca.mo [16/20] Generating org.fcitx.Fcitx5.Addon.M17N.metainfo.xml [17/20] Running utility command for copy-addon [18/20] Building CXX object test/CMakeFiles/testm17n.dir/testm17n.cpp.o ninja: job failed: /usr/bin/g++ -DFCITX_GETTEXT_DOMAIN=\"fcitx5-m17n\" -DFCITX_INSTALL_LOCALEDIR=\"/usr/share/locale\" -DFMT_HEADER_ONLY=1 -D_GNU_SOURCE -Dm17n_EXPORTS -I/home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/build -isystem /usr/include/Fcitx5/Core -isystem /usr/include/Fcitx5/Config -isystem /usr/include/Fcitx5/Utils -Wall -Wextra -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT im/CMakeFiles/m17n.dir/engine.cpp.o -MF im/CMakeFiles/m17n.dir/engine.cpp.o.d -o im/CMakeFiles/m17n.dir/engine.cpp.o -c /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp In file included from /usr/include/m17n.h:31, from /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.h:17, from /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:7: /usr/include/m17n-core.h:197:25: error: conflicting declaration 'typedef struct MSymbol* MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /usr/include/m17n-core.h:197:16: note: previous declaration as 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /usr/include/m17n.h:1125:11: error: field 'language' has incomplete type 'MSymbol' 1125 | MSymbol language; | ^~~~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /usr/include/m17n.h:1132:11: error: field 'name' has incomplete type 'MSymbol' 1132 | MSymbol name; | ^~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.h:34:13: error: field 'language_' has incomplete type 'MSymbol' 34 | MSymbol language_; | ^~~~~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.h:35:13: error: field 'name_' has incomplete type 'MSymbol' 35 | MSymbol name_; | ^~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.h:27:22: error: 'language' has incomplete type 27 | M17NData(MSymbol language, MSymbol name) | ~~~~~~~~^~~~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.h:27:40: error: 'name' has incomplete type 27 | M17NData(MSymbol language, MSymbol name) | ~~~~~~~~^~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.h:30:30: error: return type 'struct MSymbol' is incomplete 30 | MSymbol language() const { return language_; } | ^ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.h:31:26: error: return type 'struct MSymbol' is incomplete 31 | MSymbol name() const { return name_; } | ^ /usr/include/m17n.h: In function 'std::string fcitx::{anonymous}::MTextToUTF8(MText*)': /usr/include/m17n.h:145:16: error: 'Mcoding_utf_8' has incomplete type 145 | extern MSymbol Mcoding_utf_8; | ^~~~~~~~~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /usr/include/m17n.h:729:52: note: initializing argument 1 of 'MConverter* mconv_buffer_converter(MSymbol, const unsigned char*, int)' 729 | extern MConverter *mconv_buffer_converter (MSymbol coding, | ~~~~~~~~^~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp: At global scope: /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:57:31: error: return type 'struct MSymbol' is incomplete 57 | MSymbol KeySymToSymbol(Key key) { | ^ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp: In function 'void fcitx::{anonymous}::KeySymToSymbol(fcitx::Key)': /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:76:13: error: variable 'MSymbol mkeysym' has initializer but incomplete type 76 | MSymbol mkeysym = Mnil; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:145:22: error: invalid use of incomplete type 'struct MSymbol' 145 | mkeysym = msymbol(keystr.data()); | ~~~~~~~^~~~~~~~~~~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp: At global scope: /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:150:25: error: 'mlang' has incomplete type 150 | int GetPageSize(MSymbol mlang, MSymbol mname) { | ~~~~~~~~^~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:150:40: error: 'mname' has incomplete type 150 | int GetPageSize(MSymbol mlang, MSymbol mname) { | ~~~~~~~~^~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp: In function 'int fcitx::{anonymous}::GetPageSize(MSymbol, MSymbol)': /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:152:50: error: invalid use of incomplete type 'struct MSymbol' 152 | minput_get_variable(mlang, mname, msymbol("candidates-group-size")); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /usr/include/m17n-core.h:203:16: error: 'Mt' has incomplete type 203 | extern MSymbol Mt; | ^~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:150:25: note: initializing argument 1 of 'int fcitx::{anonymous}::GetPageSize(MSymbol, MSymbol)' 150 | int GetPageSize(MSymbol mlang, MSymbol mname) { | ~~~~~~~~^~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp: In constructor 'fcitx::{anonymous}::M17NCandidateList::M17NCandidateList(fcitx::M17NEngine*, fcitx::InputContext*)': /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:212:34: error: invalid use of incomplete type 'struct MSymbol' 212 | for (; head && mplist_key(head) != Mnil; head = mplist_next(head)) { | ~~~~~~~~~~^~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:213:21: error: variable 'MSymbol key' has initializer but incomplete type 213 | MSymbol key = mplist_key(head); | ^~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:213:37: error: invalid use of incomplete type 'struct MSymbol' 213 | MSymbol key = mplist_key(head); | ~~~~~~~~~~^~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:216:43: error: invalid use of incomplete type 'struct MSymbol' 216 | for (; head2 && mplist_key(head2) != Mnil; | ~~~~~~~~~~^~~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /usr/include/m17n-core.h: In member function 'virtual std::vector fcitx::M17NEngine::listInputMethods()': /usr/include/m17n-core.h:202:16: error: 'Mnil' has incomplete type 202 | extern MSymbol Mnil; | ^~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /usr/include/m17n.h:1394:37: note: initializing argument 1 of 'MPlist* minput_list(MSymbol)' 1394 | extern MPlist *minput_list (MSymbol lang); | ~~~~~~~~^~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:301:17: error: variable 'MSymbol mlang' has initializer but incomplete type 301 | MSymbol mlang = (MSymbol)MPListIndex(info, 0); | ^~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:301:53: error: invalid use of incomplete type 'struct MSymbol' 301 | MSymbol mlang = (MSymbol)MPListIndex(info, 0); | ^ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:302:17: error: variable 'MSymbol mname' has initializer but incomplete type 302 | MSymbol mname = (MSymbol)MPListIndex(info, 1); | ^~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:302:53: error: invalid use of incomplete type 'struct MSymbol' 302 | MSymbol mname = (MSymbol)MPListIndex(info, 1); | ^ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:303:17: error: variable 'MSymbol msane' has initializer but incomplete type 303 | MSymbol msane = (MSymbol)MPListIndex(info, 2); | ^~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:303:53: error: invalid use of incomplete type 'struct MSymbol' 303 | MSymbol msane = (MSymbol)MPListIndex(info, 2); | ^ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:323:54: error: invalid use of incomplete type 'struct MSymbol' 323 | minput_get_variable(mlang, mname, msymbol("candidates-charset")); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:327:40: error: invalid use of incomplete type 'struct MSymbol' 327 | 3)) != Mcoding_utf_8) { | ^ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp: At global scope: /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:398:58: error: 'command' has incomplete type 398 | void M17NState::callback(MInputContext *context, MSymbol command) { | ~~~~~~~~^~~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:403:57: error: 'command' has incomplete type 403 | void M17NState::command(MInputContext *context, MSymbol command) { | ~~~~~~~~^~~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /usr/include/m17n.h: In member function 'void fcitx::M17NState::command(MInputContext*, MSymbol)': /usr/include/m17n.h:145:16: error: 'Mcoding_utf_8' has incomplete type 145 | extern MSymbol Mcoding_utf_8; | ^~~~~~~~~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /usr/include/m17n.h:746:37: note: initializing argument 1 of 'MText* mconv_decode_buffer(MSymbol, const unsigned char*, int)' 746 | MText *mconv_decode_buffer (MSymbol name, const unsigned char *buf, int n); | ~~~~~~~~^~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:423:13: error: 'surround' was not declared in this scope; did you mean 'round'? 423 | surround = mtext_duplicate(mt, pos, cursor); | ^~~~~~~~ | round /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:428:13: error: 'surround' was not declared in this scope; did you mean 'round'? 428 | surround = mtext_duplicate(mt, cursor, pos); | ^~~~~~~~ | round /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:430:13: error: 'surround' was not declared in this scope; did you mean 'round'? 430 | surround = mtext(); | ^~~~~~~~ | round /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:433:13: error: 'surround' was not declared in this scope; did you mean 'round'? 433 | if (surround) { | ^~~~~~~~ | round /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp: In member function 'void fcitx::M17NState::keyEvent(const fcitx::InputMethodEntry&, fcitx::KeyEvent&)': /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:453:49: error: invalid use of void expression 453 | mim_.reset(minput_open_im(data->language(), data->name(), nullptr)); | ~~~~~~~~~~~~~~^~ /usr/include/m17n.h:1093:16: error: 'Minput_get_surrounding_text' has incomplete type 1093 | extern MSymbol Minput_get_surrounding_text; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /usr/include/m17n-core.h:273:51: note: initializing argument 2 of 'MPlist* mplist_put(MPlist*, MSymbol, void*)' 273 | extern MPlist *mplist_put (MPlist *plist, MSymbol key, void *val); | ~~~~~~~~^~~ /usr/include/m17n.h:1094:16: error: 'Minput_delete_surrounding_text' has incomplete type 1094 | extern MSymbol Minput_delete_surrounding_text; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /usr/include/m17n-core.h:273:51: note: initializing argument 2 of 'MPlist* mplist_put(MPlist*, MSymbol, void*)' 273 | extern MPlist *mplist_put (MPlist *plist, MSymbol key, void *val); | ~~~~~~~~^~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp: In member function 'bool fcitx::M17NState::keyEvent(const fcitx::Key&)': /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:471:13: error: variable 'MSymbol msym' has initializer but incomplete type 471 | MSymbol msym = KeySymToSymbol(key); | ^~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp: In member function 'void fcitx::M17NState::select(int)': /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:575:23: error: invalid use of incomplete type 'struct MSymbol' 575 | if (mplist_key(head) == Mtext) { | ~~~~~~~~~~^~~~~~ /usr/include/m17n-core.h:197:16: note: forward declaration of 'struct MSymbol' 197 | typedef struct MSymbol *MSymbol; | ^~~~~~~ /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp: At global scope: /home/buildozer/aports/testing/fcitx5-m17n/src/fcitx5-m17n-5.0.11/im/engine.cpp:150:5: warning: 'int fcitx::{anonymous}::GetPageSize(MSymbol, MSymbol)' defined but not used [-Wunused-function] 150 | int GetPageSize(MSymbol mlang, MSymbol mname) { | ^~~~~~~~~~~ ninja: subcommand failed >>> ERROR: fcitx5-m17n: build failed >>> fcitx5-m17n: Uninstalling dependencies... (1/77) Purging .makedepends-fcitx5-m17n (20230729.195653) (2/77) Purging extra-cmake-modules (5.108.0-r1) (3/77) Purging cmake (3.27.1-r0) (4/77) Purging gettext-dev (0.22-r0) (5/77) Purging xz (5.4.3-r1) (6/77) Purging gettext-asprintf (0.22-r0) (7/77) Purging gettext (0.22-r0) (8/77) Purging gettext-envsubst (0.22-r0) (9/77) Purging fcitx5-dev (5.0.23-r0) (10/77) Purging fcitx5 (5.0.23-r0) (11/77) Purging fmt-dev (9.1.0-r1) (12/77) Purging fmt (9.1.0-r1) (13/77) Purging m17n-lib-dev (1.8.3-r1) (14/77) Purging m17n-db-dev (1.8.3-r1) (15/77) Purging m17n-lib-tools (1.8.3-r1) (16/77) Purging m17n-lib (1.8.3-r1) (17/77) Purging samurai (1.2-r4) (18/77) Purging anthy (9100h-r3) (19/77) Purging dbus-libs (1.14.8-r0) (20/77) Purging enchant2-libs (2.5.0-r0) (21/77) Purging gdk-pixbuf (2.42.10-r5) Executing gdk-pixbuf-2.42.10-r5.pre-deinstall (22/77) Purging shared-mime-info (2.2-r5) Executing shared-mime-info-2.2-r5.post-deinstall (23/77) Purging gettext-libs (0.22-r0) (24/77) Purging json-c (0.16-r3) (25/77) Purging libarchive (3.7.0-r0) (26/77) Purging libevent (2.1.12-r7) (27/77) Purging libm17n-flt (1.8.3-r1) (28/77) Purging libuv (1.46.0-r0) (29/77) Purging libxaw (1.0.15-r3) (30/77) Purging libxkbcommon-x11 (1.5.0-r4) (31/77) Purging libxkbfile (1.1.2-r2) (32/77) Purging libxmu (1.1.4-r2) (33/77) Purging libxpm (3.5.16-r1) (34/77) Purging libxt (1.3.0-r4) (35/77) Purging pango (1.50.14-r2) Executing pango-1.50.14-r2.pre-deinstall (36/77) Purging rhash-libs (1.4.4-r0) (37/77) Purging tiff (4.5.1-r0) (38/77) Purging wayland-libs-client (1.22.0-r3) (39/77) Purging xcb-imdkit (1.0.5-r0) (40/77) Purging xcb-util (0.4.1-r3) (41/77) Purging xcb-util-keysyms (0.4.1-r0) (42/77) Purging xcb-util-wm (0.4.2-r0) (43/77) Purging cairo (1.17.8-r2) (44/77) Purging libxft (2.3.8-r2) (45/77) Purging fontconfig (2.14.2-r4) (46/77) Purging harfbuzz (8.0.1-r0) (47/77) Purging freetype (2.13.1-r0) (48/77) Purging fribidi (1.0.13-r0) (49/77) Purging glib (2.76.4-r0) (50/77) Purging graphite2 (1.3.14-r6) (51/77) Purging libmount (2.39.1-r0) (52/77) Purging libblkid (2.39.1-r0) (53/77) Purging libxext (1.3.5-r3) (54/77) Purging libxrender (0.9.11-r4) (55/77) Purging libx11 (1.8.6-r0) (56/77) Purging libxcb (1.15-r3) (57/77) Purging libxdmcp (1.1.4-r3) (58/77) Purging libbsd (0.11.7-r2) (59/77) Purging libm17n-core (1.8.3-r1) (60/77) Purging m17n-db (1.8.3-r1) (61/77) Purging libthai (0.1.29-r0) (62/77) Purging libdatrie-libs (0.2.13-r0) (63/77) Purging libffi (3.4.4-r3) (64/77) Purging libsm (1.2.4-r3) (65/77) Purging libice (1.1.1-r5) (66/77) Purging libintl (0.22-r0) (67/77) Purging libjpeg-turbo (3.0.0-r1) (68/77) Purging libmd (1.1.0-r0) (69/77) Purging libpng (1.6.40-r0) (70/77) Purging libwebp (1.3.1-r0) (71/77) Purging libsharpyuv (1.3.1-r0) (72/77) Purging libuuid (2.39.1-r0) (73/77) Purging libxau (1.0.11-r3) (74/77) Purging libxkbcommon (1.5.0-r4) (75/77) Purging xkeyboard-config (2.39-r2) (76/77) Purging libxml2 (2.11.4-r0) (77/77) Purging pixman (0.42.2-r2) Executing busybox-1.36.1-r4.trigger OK: 379 MiB in 110 packages