>>> fcitx5-m17n: Building testing/fcitx5-m17n 5.0.11-r1 (using abuild 3.11.21-r0) started Sat, 29 Jul 2023 20:13:14 +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/79) Installing libbz2 (1.0.8-r6) (2/79) Installing xz-libs (5.4.3-r1) (3/79) Installing libarchive (3.7.0-r0) (4/79) Installing rhash-libs (1.4.4-r0) (5/79) Installing libuv (1.46.0-r0) (6/79) Installing cmake (3.27.1-r0) (7/79) Installing extra-cmake-modules (5.108.0-r1) (8/79) Installing xz (5.4.3-r1) (9/79) Installing gettext-asprintf (0.22-r0) (10/79) Installing libintl (0.22-r0) (11/79) Installing gettext-libs (0.22-r0) (12/79) Installing gettext-envsubst (0.22-r0) (13/79) Installing libxml2 (2.11.4-r0) (14/79) Installing gettext (0.22-r0) (15/79) Installing gettext-dev (0.22-r0) (16/79) Installing libxau (1.0.11-r3) (17/79) Installing libmd (1.1.0-r0) (18/79) Installing libbsd (0.11.7-r2) (19/79) Installing libxdmcp (1.1.4-r3) (20/79) Installing libxcb (1.15-r3) (21/79) Installing libx11 (1.8.6-r0) (22/79) Installing libxext (1.3.5-r3) (23/79) Installing libxrender (0.9.11-r4) (24/79) Installing libpng (1.6.40-r0) (25/79) Installing freetype (2.13.1-r0) (26/79) Installing fontconfig (2.14.2-r4) (27/79) Installing pixman (0.42.2-r2) (28/79) Installing cairo (1.17.8-r2) (29/79) Installing dbus-libs (1.14.8-r0) (30/79) Installing libffi (3.4.4-r3) (31/79) Installing libblkid (2.39.1-r0) (32/79) Installing libmount (2.39.1-r0) (33/79) Installing glib (2.76.4-r0) (34/79) Installing enchant2-libs (2.5.0-r0) (35/79) Installing libevent (2.1.12-r7) (36/79) Installing shared-mime-info (2.2-r5) (37/79) Installing libjpeg-turbo (3.0.0-r1) (38/79) Installing libsharpyuv (1.3.1-r0) (39/79) Installing libwebp (1.3.1-r0) (40/79) Installing tiff (4.5.1-r0) (41/79) Installing gdk-pixbuf (2.42.10-r5) (42/79) Installing json-c (0.16-r3) (43/79) Installing libxft (2.3.8-r2) (44/79) Installing fribidi (1.0.13-r0) (45/79) Installing graphite2 (1.3.14-r6) (46/79) Installing harfbuzz (8.0.1-r0) (47/79) Installing pango (1.50.14-r2) (48/79) Installing libuuid (2.39.1-r0) (49/79) Installing wayland-libs-client (1.22.0-r3) (50/79) Installing xcb-util-wm (0.4.2-r0) (51/79) Installing xcb-util (0.4.1-r3) (52/79) Installing xcb-imdkit (1.0.5-r0) (53/79) Installing xcb-util-keysyms (0.4.1-r0) (54/79) Installing xkeyboard-config (2.39-r2) (55/79) Installing libxkbcommon (1.5.0-r4) (56/79) Installing libxkbcommon-x11 (1.5.0-r4) (57/79) Installing libxkbfile (1.1.2-r2) (58/79) Installing fcitx5 (5.0.23-r0) (59/79) Installing fcitx5-dev (5.0.23-r0) (60/79) Installing fmt (9.1.0-r1) (61/79) Installing fmt-dev (9.1.0-r1) (62/79) Installing m17n-db (1.8.3-r1) (63/79) Installing m17n-db-dev (1.8.3-r1) (64/79) Installing libice (1.1.1-r5) (65/79) Installing libsm (1.2.4-r3) (66/79) Installing libxt (1.3.0-r4) (67/79) Installing libxmu (1.1.4-r2) (68/79) Installing libxpm (3.5.16-r1) (69/79) Installing libxaw (1.0.15-r3) (70/79) Installing libdatrie-libs (0.2.13-r0) (71/79) Installing libthai (0.1.29-r0) (72/79) Installing libm17n-core (1.8.3-r1) (73/79) Installing libm17n-flt (1.8.3-r1) (74/79) Installing anthy (9100h-r3) (75/79) Installing m17n-lib (1.8.3-r1) (76/79) Installing m17n-lib-tools (1.8.3-r1) (77/79) Installing m17n-lib-dev (1.8.3-r1) (78/79) Installing samurai (1.2-r4) (79/79) Installing .makedepends-fcitx5-m17n (20230729.201315) 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 182 packages >>> fcitx5-m17n: Cleaning up srcdir >>> fcitx5-m17n: Cleaning up pkgdir >>> fcitx5-m17n: Cleaning up tmpdir >>> fcitx5-m17n: Fetching fcitx5-m17n-5.0.11.tar.gz::https://github.com/fcitx/fcitx5-m17n/archive/refs/tags/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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 26069 0 26069 0 0 66895 0 --:--:-- --:--:-- --:--:-- 66895 >>> fcitx5-m17n: Fetching fcitx5-m17n-5.0.11.tar.gz::https://github.com/fcitx/fcitx5-m17n/archive/refs/tags/5.0.11.tar.gz >>> fcitx5-m17n: Checking sha512sums... fcitx5-m17n-5.0.11.tar.gz: OK >>> fcitx5-m17n: Unpacking /var/cache/distfiles/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 (0.4s) -- 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/79) Purging .makedepends-fcitx5-m17n (20230729.201315) (2/79) Purging extra-cmake-modules (5.108.0-r1) (3/79) Purging cmake (3.27.1-r0) (4/79) Purging gettext-dev (0.22-r0) (5/79) Purging xz (5.4.3-r1) (6/79) Purging gettext-asprintf (0.22-r0) (7/79) Purging gettext (0.22-r0) (8/79) Purging gettext-envsubst (0.22-r0) (9/79) Purging fcitx5-dev (5.0.23-r0) (10/79) Purging fcitx5 (5.0.23-r0) (11/79) Purging fmt-dev (9.1.0-r1) (12/79) Purging fmt (9.1.0-r1) (13/79) Purging m17n-lib-dev (1.8.3-r1) (14/79) Purging m17n-db-dev (1.8.3-r1) (15/79) Purging m17n-lib-tools (1.8.3-r1) (16/79) Purging m17n-lib (1.8.3-r1) (17/79) Purging samurai (1.2-r4) (18/79) Purging anthy (9100h-r3) (19/79) Purging dbus-libs (1.14.8-r0) (20/79) Purging enchant2-libs (2.5.0-r0) (21/79) Purging gdk-pixbuf (2.42.10-r5) Executing gdk-pixbuf-2.42.10-r5.pre-deinstall (22/79) Purging shared-mime-info (2.2-r5) Executing shared-mime-info-2.2-r5.post-deinstall (23/79) Purging gettext-libs (0.22-r0) (24/79) Purging json-c (0.16-r3) (25/79) Purging libarchive (3.7.0-r0) (26/79) Purging libevent (2.1.12-r7) (27/79) Purging libm17n-flt (1.8.3-r1) (28/79) Purging libuv (1.46.0-r0) (29/79) Purging libxaw (1.0.15-r3) (30/79) Purging libxkbcommon-x11 (1.5.0-r4) (31/79) Purging libxkbfile (1.1.2-r2) (32/79) Purging libxmu (1.1.4-r2) (33/79) Purging libxpm (3.5.16-r1) (34/79) Purging libxt (1.3.0-r4) (35/79) Purging pango (1.50.14-r2) Executing pango-1.50.14-r2.pre-deinstall (36/79) Purging rhash-libs (1.4.4-r0) (37/79) Purging tiff (4.5.1-r0) (38/79) Purging wayland-libs-client (1.22.0-r3) (39/79) Purging xcb-imdkit (1.0.5-r0) (40/79) Purging xcb-util (0.4.1-r3) (41/79) Purging xcb-util-keysyms (0.4.1-r0) (42/79) Purging xcb-util-wm (0.4.2-r0) (43/79) Purging cairo (1.17.8-r2) (44/79) Purging libxft (2.3.8-r2) (45/79) Purging fontconfig (2.14.2-r4) (46/79) Purging harfbuzz (8.0.1-r0) (47/79) Purging freetype (2.13.1-r0) (48/79) Purging fribidi (1.0.13-r0) (49/79) Purging glib (2.76.4-r0) (50/79) Purging graphite2 (1.3.14-r6) (51/79) Purging libmount (2.39.1-r0) (52/79) Purging libblkid (2.39.1-r0) (53/79) Purging libxext (1.3.5-r3) (54/79) Purging libxrender (0.9.11-r4) (55/79) Purging libx11 (1.8.6-r0) (56/79) Purging libxcb (1.15-r3) (57/79) Purging libxdmcp (1.1.4-r3) (58/79) Purging libbsd (0.11.7-r2) (59/79) Purging libbz2 (1.0.8-r6) (60/79) Purging libm17n-core (1.8.3-r1) (61/79) Purging m17n-db (1.8.3-r1) (62/79) Purging libthai (0.1.29-r0) (63/79) Purging libdatrie-libs (0.2.13-r0) (64/79) Purging libffi (3.4.4-r3) (65/79) Purging libsm (1.2.4-r3) (66/79) Purging libice (1.1.1-r5) (67/79) Purging libintl (0.22-r0) (68/79) Purging libjpeg-turbo (3.0.0-r1) (69/79) Purging libmd (1.1.0-r0) (70/79) Purging libpng (1.6.40-r0) (71/79) Purging libwebp (1.3.1-r0) (72/79) Purging libsharpyuv (1.3.1-r0) (73/79) Purging libuuid (2.39.1-r0) (74/79) Purging libxau (1.0.11-r3) (75/79) Purging libxkbcommon (1.5.0-r4) (76/79) Purging xkeyboard-config (2.39-r2) (77/79) Purging libxml2 (2.11.4-r0) (78/79) Purging pixman (0.42.2-r2) (79/79) Purging xz-libs (5.4.3-r1) Executing busybox-1.36.1-r4.trigger OK: 379 MiB in 103 packages