* Package: app-i18n/ibus-handwrite-3.0.0-r1:0 * Repository: gentoo * Maintainer: cjk@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls zinnia * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ibus-handwrite-3.0.0.tar.bz2 to /var/tmp/portage/app-i18n/ibus-handwrite-3.0.0-r1/work >>> Source unpacked in /var/tmp/portage/app-i18n/ibus-handwrite-3.0.0-r1/work >>> Preparing source in /var/tmp/portage/app-i18n/ibus-handwrite-3.0.0-r1/work/ibus-handwrite-3.0.0 ... * Applying ibus-handwrite-blink.patch ... [ ok ] * Applying ibus-handwrite-headers.patch ... patching file src/handrecog_lucykila.c Hunk #1 succeeded at 14 with fuzz 1. patching file src/main.c Hunk #1 succeeded at 3 with fuzz 1. [ ok ] * Applying ibus-handwrite-nested-function.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-i18n/ibus-handwrite-3.0.0-r1/work/ibus-handwrite-3.0.0 ... * econf: updating ibus-handwrite-3.0.0/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ibus-handwrite-3.0.0/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --docdir=/usr/share/doc/ibus-handwrite-3.0.0-r1 --htmldir=/usr/share/doc/ibus-handwrite-3.0.0-r1/html --libdir=/usr/lib64 --enable-nls --enable-zinnia --with-zinnia-tomoe=/usr/lib64/zinnia/model/tomoe checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking for library containing strerror... none required checking for ANSI C header files... (cached) yes checking for atan2 in -lm... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for zinnia_recognizer_open in -lzinnia... yes checking for zinnia_recognizer_open in -lzinnia... (cached) yes checking for IBUS... yes checking for GTK3... yes checking for ALL_NEED... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking whether MAP_ANONYMOUS is declared... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating po/Makefile.in config.status: creating Makefile config.status: creating ibus-handwrite.spec config.status: creating src/Makefile config.status: creating src/handwrite-zh.xml.in config.status: creating src/handwrite-jp.xml.in config.status: creating icons/Makefile config.status: creating data/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile >>> Source configured. >>> Compiling source in /var/tmp/portage/app-i18n/ibus-handwrite-3.0.0-r1/work/ibus-handwrite-3.0.0 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/app-i18n/ibus-handwrite-3.0.0-r1/work/ibus-handwrite-3.0.0' Making all in src make[2]: Entering directory '/var/tmp/portage/app-i18n/ibus-handwrite-3.0.0-r1/work/ibus-handwrite-3.0.0/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ibus-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-4 -pthread -DPKGDATADIR=\"/usr/share/ibus-handwrite\" -DTABLEFILE=\"/usr/share/ibus-handwrite/data/table.txt\" -DWITH_ZINNIA -O2 -pipe -march=native -fno-diagnostics-color -c main.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ibus-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-4 -pthread -DPKGDATADIR=\"/usr/share/ibus-handwrite\" -DTABLEFILE=\"/usr/share/ibus-handwrite/data/table.txt\" -DWITH_ZINNIA -O2 -pipe -march=native -fno-diagnostics-color -c engine.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ibus-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-4 -pthread -DPKGDATADIR=\"/usr/share/ibus-handwrite\" -DTABLEFILE=\"/usr/share/ibus-handwrite/data/table.txt\" -DWITH_ZINNIA -O2 -pipe -march=native -fno-diagnostics-color -c handrecog_lucykila.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ibus-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-4 -pthread -DPKGDATADIR=\"/usr/share/ibus-handwrite\" -DTABLEFILE=\"/usr/share/ibus-handwrite/data/table.txt\" -DWITH_ZINNIA -O2 -pipe -march=native -fno-diagnostics-color -c handrecog.c main.c: In function ‘main’: main.c:90:17: warning: ignoring return value of ‘realpath’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 90 | realpath(icon_dir, icondir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ engine.c: In function ‘ibus_handwrite_engine_focus_in’: engine.c:126:25: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 126 | ibus_text_new_from_static_string(_("color")), GTK_STOCK_COLOR_PICKER, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engine.c: In function ‘ibus_handwrite_property_activate’: engine.c:189:17: warning: ‘gtk_color_selection_dialog_new’ is deprecated: Use 'gtk_color_chooser_dialog_new' instead [-Wdeprecated-declarations] 189 | GtkWidget * dialog = gtk_color_selection_dialog_new(prop_name); | ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:257, from engine.h:6, from engine.c:4: /usr/include/gtk-3.0/gtk/deprecated/gtkcolorseldialog.h:74:12: note: declared here 74 | GtkWidget* gtk_color_selection_dialog_new (const gchar *title); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engine.c:192:17: warning: ‘gtk_color_selection_dialog_get_color_selection’ is deprecated: Use 'GtkColorChooser' instead [-Wdeprecated-declarations] 192 | GtkWidget * color_sel = gtk_color_selection_dialog_get_color_selection(GTK_COLOR_SELECTION_DIALOG(dialog)); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkcolorseldialog.h:76:12: note: declared here 76 | GtkWidget* gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorsel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engine.c:194:17: warning: ‘gtk_color_selection_set_current_color’ is deprecated: Use 'gtk_color_chooser_set_rgba' instead [-Wdeprecated-declarations] 194 | gtk_color_selection_set_current_color(GTK_COLOR_SELECTION(color_sel),handwrite->color); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:256: /usr/include/gtk-3.0/gtk/deprecated/gtkcolorsel.h:159:10: note: declared here 159 | void gtk_color_selection_set_current_color (GtkColorSelection *colorsel, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engine.c:198:17: warning: ‘gtk_color_selection_get_current_color’ is deprecated: Use 'gtk_color_chooser_get_rgba' instead [-Wdeprecated-declarations] 198 | gtk_color_selection_get_current_color(GTK_COLOR_SELECTION(color_sel),handwrite->color); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkcolorsel.h:162:10: note: declared here 162 | void gtk_color_selection_get_current_color (GtkColorSelection *colorsel, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ibus-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-4 -pthread -DPKGDATADIR=\"/usr/share/ibus-handwrite\" -DTABLEFILE=\"/usr/share/ibus-handwrite/data/table.txt\" -DWITH_ZINNIA -O2 -pipe -march=native -fno-diagnostics-color -c UI_gtk.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ibus-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-4 -pthread -DPKGDATADIR=\"/usr/share/ibus-handwrite\" -DTABLEFILE=\"/usr/share/ibus-handwrite/data/table.txt\" -DWITH_ZINNIA -O2 -pipe -march=native -fno-diagnostics-color -c handrecog_zinnia.c ( \ libexecdir=/usr/libexec; \ pkgdatadir=/usr/share/ibus-handwrite; \ s=`cat handwrite-zh.xml.in`; \ eval "echo \"${s}\""; \ ) > handwrite-zh.xml ( \ libexecdir=/usr/libexec; \ pkgdatadir=/usr/share/ibus-handwrite; \ s=`cat handwrite-jp.xml.in`; \ eval "echo \"${s}\""; \ ) > handwrite-jp.xml UI_gtk.c: In function ‘paint_lines’: UI_gtk.c:61:9: warning: ‘gdk_cairo_set_source_color’ is deprecated: Use 'gdk_cairo_set_source_rgba' instead [-Wdeprecated-declarations] 61 | gdk_cairo_set_source_color (cr, engine->color); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:33, from /usr/include/gtk-3.0/gtk/gtk.h:30, from UI_gtk.c:10: /usr/include/gtk-3.0/gdk/gdkcairo.h:68:12: note: declared here 68 | void gdk_cairo_set_source_color (cairo_t *cr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/include/gtk-3.0/gdk/gdk.h:32: UI_gtk.c: In function ‘regen_loopuptable’: /usr/include/glib-2.0/gobject/gtype.h:2644:42: error: passing argument 1 of ‘gtk_grid_attach’ from incompatible pointer type [-Wincompatible-pointer-types] 2644 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) /usr/include/glib-2.0/gobject/gtype.h:526:66: note: in expansion of macro ‘_G_TYPE_CIC’ 526 | ne G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:37:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 37 | #define GTK_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TABLE, GtkTable)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ UI_gtk.c:102:33: note: in expansion of macro ‘GTK_TABLE’ 102 | gtk_grid_attach(GTK_TABLE(widget), bt, i%5, i/5, 1, 1); | ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:125: /usr/include/gtk-3.0/gtk/gtkgrid.h:77:62: note: expected ‘GtkGrid *’ {aka ‘struct _GtkGrid *’} but argument is of type ‘GtkTable *’ {aka ‘struct _GtkTable *’} 77 | void gtk_grid_attach (GtkGrid *grid, | ~~~~~~~~~~~~~~~~~^~~~ UI_gtk.c: In function ‘on_mouse_move’: UI_gtk.c:139:9: warning: ‘gdk_cursor_new’ is deprecated: Use 'gdk_cursor_new_for_display' instead [-Wdeprecated-declarations] 139 | gdk_window_set_cursor(window,gdk_cursor_new(ct)); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:34: /usr/include/gtk-3.0/gdk/gdkcursor.h:228:12: note: declared here 228 | GdkCursor* gdk_cursor_new (GdkCursorType cursor_type); | ^~~~~~~~~~~~~~ UI_gtk.c:143:17: warning: ‘gdk_cursor_new’ is deprecated: Use 'gdk_cursor_new_for_display' instead [-Wdeprecated-declarations] 143 | gdk_window_set_cursor(window,gdk_cursor_new(ct)); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gdk/gdkcursor.h:228:12: note: declared here 228 | GdkCursor* gdk_cursor_new (GdkCursorType cursor_type); | ^~~~~~~~~~~~~~ UI_gtk.c: In function ‘UI_buildui’: UI_gtk.c:250:41: error: passing argument 1 of ‘gtk_box_set_homogeneous’ from incompatible pointer type [-Wincompatible-pointer-types] 250 | gtk_box_set_homogeneous(vbox, FALSE); | ^~~~ | | | GtkWidget * {aka struct _GtkWidget *} In file included from /usr/include/gtk-3.0/gtk/gtkappchooserwidget.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:41: /usr/include/gtk-3.0/gtk/gtkbox.h:97:58: note: expected ‘GtkBox *’ {aka ‘struct _GtkBox *’} but argument is of type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} 97 | void gtk_box_set_homogeneous (GtkBox *box, | ~~~~~~~~~~~~~~~~^~~ make[2]: *** [Makefile:388: UI_gtk.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/app-i18n/ibus-handwrite-3.0.0-r1/work/ibus-handwrite-3.0.0/src' make[1]: *** [Makefile:365: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-i18n/ibus-handwrite-3.0.0-r1/work/ibus-handwrite-3.0.0' make: *** [Makefile:303: all] Error 2 * ERROR: app-i18n/ibus-handwrite-3.0.0-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-i18n/ibus-handwrite-3.0.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-i18n/ibus-handwrite-3.0.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/app-i18n:ibus-handwrite-3.0.0-r1:20231204-120806.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-i18n/ibus-handwrite-3.0.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-i18n/ibus-handwrite-3.0.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-i18n/ibus-handwrite-3.0.0-r1/work/ibus-handwrite-3.0.0' * S: '/var/tmp/portage/app-i18n/ibus-handwrite-3.0.0-r1/work/ibus-handwrite-3.0.0'