* Package: dev-ruby/ruby-gio2-3.3.2 * Repository: gentoo * Maintainer: naota@gentoo.org ruby@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby25 test userland_GNU * FEATURES: fakeroot network-sandbox preserve-libs sandbox test userpriv usersandbox >>> cfg-update-1.8.2-r1: Checksum index is up-to-date ... * Running unpack phase for all ... * Running prepare phase for all ... * Running prepare phase for all ... * Running source copy phase for ruby25 ... * Running configure phase for ruby25 ... checking for --enable-debug-build option... no checking for -Wall option to compiler... yes checking for -Waggregate-return option to compiler... yes checking for -Wcast-align option to compiler... yes checking for -Wextra option to compiler... yes checking for -Wformat=2 option to compiler... yes checking for -Winit-self option to compiler... yes checking for -Wlarger-than-65500 option to compiler... yes checking for -Wmissing-declarations option to compiler... yes checking for -Wmissing-format-attribute option to compiler... yes checking for -Wmissing-include-dirs option to compiler... yes checking for -Wmissing-noreturn option to compiler... yes checking for -Wmissing-prototypes option to compiler... yes checking for -Wnested-externs option to compiler... yes checking for -Wold-style-definition option to compiler... yes checking for -Wpacked option to compiler... yes checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes checking for -Wpointer-arith option to compiler... yes checking for -Wswitch-default option to compiler... yes checking for -Wswitch-enum option to compiler... yes checking for -Wundef option to compiler... yes checking for -Wout-of-line-declaration option to compiler... no checking for -Wunsafe-loop-optimizations option to compiler... yes checking for -Wwrite-strings option to compiler... yes checking for Windows... no checking for gio-2.0... yes checking for gobject-introspection-1.0... yes creating ruby-gio2.pc creating Makefile creating Makefile * Running compile phase for ruby25 ... (cd ext/gio2 && make) make[1]: Entering directory '/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/ext/gio2' x86_64-pc-linux-gnu-gcc -I. -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/usr/include/ruby-2.5.0/x86_64-linux -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/ext/gio2 -I/usr/lib64/ruby/site_ruby/2.5.0/x86_64-linux -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gobject-introspection-1.0 -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DRUBY_GIO2_COMPILATION -fPIC -O2 -pipe -march=native -mtune=generic -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-strict-aliasing -fPIC -O2 -pipe -march=native -mtune=generic -fno-unwind-tables -fno-asynchronous-unwind-tables -fomit-frame-pointer -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -Wwrite-strings -pthread -pthread -o rb-gio2-application.o -c rb-gio2-application.c x86_64-pc-linux-gnu-gcc -I. -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/usr/include/ruby-2.5.0/x86_64-linux -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/ext/gio2 -I/usr/lib64/ruby/site_ruby/2.5.0/x86_64-linux -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gobject-introspection-1.0 -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DRUBY_GIO2_COMPILATION -fPIC -O2 -pipe -march=native -mtune=generic -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-strict-aliasing -fPIC -O2 -pipe -march=native -mtune=generic -fno-unwind-tables -fno-asynchronous-unwind-tables -fomit-frame-pointer -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -Wwrite-strings -pthread -pthread -o rb-gio2-pollable-source.o -c rb-gio2-pollable-source.c x86_64-pc-linux-gnu-gcc -I. -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/usr/include/ruby-2.5.0/x86_64-linux -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/ext/gio2 -I/usr/lib64/ruby/site_ruby/2.5.0/x86_64-linux -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gobject-introspection-1.0 -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DRUBY_GIO2_COMPILATION -fPIC -O2 -pipe -march=native -mtune=generic -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-strict-aliasing -fPIC -O2 -pipe -march=native -mtune=generic -fno-unwind-tables -fno-asynchronous-unwind-tables -fomit-frame-pointer -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -Wwrite-strings -pthread -pthread -o rb-gio2.o -c rb-gio2.c In file included from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbglib.h:23, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbgobject.h:27, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection/rb-gobject-introspection.h:25, from rb-gio2.h:23, from rb-gio2.c:21: /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/glib-enum-types.h:89: warning: "G_TYPE_UNICODE_TYPE" redefined #define G_TYPE_UNICODE_TYPE (g_unicode_type_get_type()) In file included from /usr/include/glib-2.0/glib-object.h:37, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from rb-gio2.h:21, from rb-gio2.c:21: /usr/include/glib-2.0/gobject/glib-enumtypes.h:13: note: this is the location of the previous definition #define G_TYPE_UNICODE_TYPE (g_unicode_type_get_type ()) In file included from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbglib.h:23, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbgobject.h:27, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection/rb-gobject-introspection.h:25, from rb-gio2.h:23, from rb-gio2.c:21: /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/glib-enum-types.h:91: warning: "G_TYPE_UNICODE_BREAK_TYPE" redefined #define G_TYPE_UNICODE_BREAK_TYPE (g_unicode_break_type_get_type()) In file included from /usr/include/glib-2.0/glib-object.h:37, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from rb-gio2.h:21, from rb-gio2.c:21: /usr/include/glib-2.0/gobject/glib-enumtypes.h:15: note: this is the location of the previous definition #define G_TYPE_UNICODE_BREAK_TYPE (g_unicode_break_type_get_type ()) In file included from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbglib.h:23, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbgobject.h:27, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection/rb-gobject-introspection.h:25, from rb-gio2.h:23, from rb-gio2.c:21: /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/glib-enum-types.h:93: warning: "G_TYPE_UNICODE_SCRIPT" redefined #define G_TYPE_UNICODE_SCRIPT (g_unicode_script_get_type()) In file included from /usr/include/glib-2.0/glib-object.h:37, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from rb-gio2.h:21, from rb-gio2.c:21: /usr/include/glib-2.0/gobject/glib-enumtypes.h:17: note: this is the location of the previous definition #define G_TYPE_UNICODE_SCRIPT (g_unicode_script_get_type ()) In file included from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbglib.h:23, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbgobject.h:27, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection/rb-gobject-introspection.h:25, from rb-gio2.h:23, from rb-gio2.c:21: /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/glib-enum-types.h:95: warning: "G_TYPE_NORMALIZE_MODE" redefined #define G_TYPE_NORMALIZE_MODE (g_normalize_mode_get_type()) In file included from /usr/include/glib-2.0/glib-object.h:37, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from rb-gio2.h:21, from rb-gio2.c:21: /usr/include/glib-2.0/gobject/glib-enumtypes.h:19: note: this is the location of the previous definition #define G_TYPE_NORMALIZE_MODE (g_normalize_mode_get_type ()) In file included from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbglib.h:23, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbgobject.h:27, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection/rb-gobject-introspection.h:25, from rb-gio2.h:23, from rb-gio2-pollable-source.c:21: /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/glib-enum-types.h:89: warning: "G_TYPE_UNICODE_TYPE" redefined #define G_TYPE_UNICODE_TYPE (g_unicode_type_get_type()) In file included from /usr/include/glib-2.0/glib-object.h:37, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from rb-gio2.h:21, from rb-gio2-pollable-source.c:21: /usr/include/glib-2.0/gobject/glib-enumtypes.h:13: note: this is the location of the previous definition #define G_TYPE_UNICODE_TYPE (g_unicode_type_get_type ()) In file included from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbglib.h:23, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbgobject.h:27, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection/rb-gobject-introspection.h:25, from rb-gio2.h:23, from rb-gio2-pollable-source.c:21: /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/glib-enum-types.h:91: warning: "G_TYPE_UNICODE_BREAK_TYPE" redefined #define G_TYPE_UNICODE_BREAK_TYPE (g_unicode_break_type_get_type()) In file included from /usr/include/glib-2.0/glib-object.h:37, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from rb-gio2.h:21, from rb-gio2-pollable-source.c:21: /usr/include/glib-2.0/gobject/glib-enumtypes.h:15: note: this is the location of the previous definition #define G_TYPE_UNICODE_BREAK_TYPE (g_unicode_break_type_get_type ()) In file included from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbglib.h:23, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbgobject.h:27, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection/rb-gobject-introspection.h:25, from rb-gio2.h:23, from rb-gio2-pollable-source.c:21: /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/glib-enum-types.h:93: warning: "G_TYPE_UNICODE_SCRIPT" redefined #define G_TYPE_UNICODE_SCRIPT (g_unicode_script_get_type()) In file included from /usr/include/glib-2.0/glib-object.h:37, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from rb-gio2.h:21, from rb-gio2-pollable-source.c:21: /usr/include/glib-2.0/gobject/glib-enumtypes.h:17: note: this is the location of the previous definition #define G_TYPE_UNICODE_SCRIPT (g_unicode_script_get_type ()) In file included from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbglib.h:23, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbgobject.h:27, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection/rb-gobject-introspection.h:25, from rb-gio2.h:23, from rb-gio2-pollable-source.c:21: /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/glib-enum-types.h:95: warning: "G_TYPE_NORMALIZE_MODE" redefined #define G_TYPE_NORMALIZE_MODE (g_normalize_mode_get_type()) In file included from /usr/include/glib-2.0/glib-object.h:37, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from rb-gio2.h:21, from rb-gio2-pollable-source.c:21: /usr/include/glib-2.0/gobject/glib-enumtypes.h:19: note: this is the location of the previous definition #define G_TYPE_NORMALIZE_MODE (g_normalize_mode_get_type ()) In file included from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbglib.h:23, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbgobject.h:27, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection/rb-gobject-introspection.h:25, from rb-gio2.h:23, from rb-gio2-application.c:21: /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/glib-enum-types.h:89: warning: "G_TYPE_UNICODE_TYPE" redefined #define G_TYPE_UNICODE_TYPE (g_unicode_type_get_type()) In file included from /usr/include/glib-2.0/glib-object.h:37, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from rb-gio2.h:21, from rb-gio2-application.c:21: /usr/include/glib-2.0/gobject/glib-enumtypes.h:13: note: this is the location of the previous definition #define G_TYPE_UNICODE_TYPE (g_unicode_type_get_type ()) In file included from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbglib.h:23, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbgobject.h:27, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection/rb-gobject-introspection.h:25, from rb-gio2.h:23, from rb-gio2-application.c:21: /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/glib-enum-types.h:91: warning: "G_TYPE_UNICODE_BREAK_TYPE" redefined #define G_TYPE_UNICODE_BREAK_TYPE (g_unicode_break_type_get_type()) In file included from /usr/include/glib-2.0/glib-object.h:37, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from rb-gio2.h:21, from rb-gio2-application.c:21: /usr/include/glib-2.0/gobject/glib-enumtypes.h:15: note: this is the location of the previous definition #define G_TYPE_UNICODE_BREAK_TYPE (g_unicode_break_type_get_type ()) In file included from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbglib.h:23, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbgobject.h:27, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection/rb-gobject-introspection.h:25, from rb-gio2.h:23, from rb-gio2-application.c:21: /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/glib-enum-types.h:93: warning: "G_TYPE_UNICODE_SCRIPT" redefined #define G_TYPE_UNICODE_SCRIPT (g_unicode_script_get_type()) In file included from /usr/include/glib-2.0/glib-object.h:37, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from rb-gio2.h:21, from rb-gio2-application.c:21: /usr/include/glib-2.0/gobject/glib-enumtypes.h:17: note: this is the location of the previous definition #define G_TYPE_UNICODE_SCRIPT (g_unicode_script_get_type ()) In file included from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbglib.h:23, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/rbgobject.h:27, from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection/rb-gobject-introspection.h:25, from rb-gio2.h:23, from rb-gio2-application.c:21: /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2/glib-enum-types.h:95: warning: "G_TYPE_NORMALIZE_MODE" redefined #define G_TYPE_NORMALIZE_MODE (g_normalize_mode_get_type()) In file included from /usr/include/glib-2.0/glib-object.h:37, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from rb-gio2.h:21, from rb-gio2-application.c:21: /usr/include/glib-2.0/gobject/glib-enumtypes.h:19: note: this is the location of the previous definition #define G_TYPE_NORMALIZE_MODE (g_normalize_mode_get_type ()) rb-gio2-pollable-source.c: In function ‘rg_set_callback’: rb-gio2-pollable-source.c:45:27: warning: cast between incompatible function types from ‘gboolean (*)(GObject *, void *)’ {aka ‘int (*)(struct _GObject *, void *)’} to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Wcast-function-type] (GSourceFunc)source_func, ^ rm -f gio2.so x86_64-pc-linux-gnu-gcc -shared -o gio2.so rb-gio2-application.o rb-gio2-pollable-source.o rb-gio2.o -L. -L/usr/lib64 -Wl,-O1 -Wl,--as-needed -L. -Wl,-O1 -Wl,--as-needed -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-O1 -Wl,--as-needed -Wl,--compress-debug-sections=zlib -lruby25 -lgio-2.0 -lglib-2.0 -lgobject-2.0 -lgirepository-1.0 -lglib-2.0 -lgobject-2.0 -lpthread -lgmp -ldl -lcrypt -lm -lc make[1]: Leaving directory '/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/ext/gio2' make -f Makefile.lib make[1]: Entering directory '/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2' * Running compile phase for all ... * Running test phase for ruby25 ... cd resource glib-compile-resources ruby-gio2.gresource.xml cd - cd schema/default glib-compile-schemas . cd - cd schema/source glib-compile-schemas . cd - Loaded suite test Started .........................E =============================================================================== 54: client.write("llo") 55: client.flush 56: end  => 57: assert_equal("Hell", @stream.read_all(4)) 58: thread.join 59: end 60: end /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/test/test-input-stream.rb:57:in `test_read_all' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/lib/gio2/input-stream.rb:42:in `read_all' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/lib/gio2/input-stream.rb:58:in `read_all_raw_compatible' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/lib/gobject-introspection/loader.rb:622:in `block in define_method' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/lib/gobject-introspection/loader.rb:622:in `invoke' Error: test_read_all(TestInputStream): TypeError: String isn't supported =============================================================================== E =============================================================================== 32: client = @server.accept 33: client.write(data) 34: client.flush  => 35: assert_equal("Hell", @stream.read(4)) 36: end 37: 38: def test_without_size /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/test/test-input-stream.rb:35:in `test_with_size' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/lib/gio2/input-stream.rb:33:in `read' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/lib/gio2/input-stream.rb:50:in `read_raw_compatible' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/lib/gobject-introspection/loader.rb:622:in `block in define_method' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/lib/gobject-introspection/loader.rb:622:in `invoke' Error: test_with_size(TestInputStream::#read): TypeError: String isn't supported =============================================================================== E =============================================================================== 41: client.write(data) 42: client.flush 43: client.close  => 44: assert_equal(data, @stream.read) 45: end 46: end 47: /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/test/test-input-stream.rb:44:in `test_without_size' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/lib/gio2/input-stream.rb:25:in `read' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/lib/gio2/input-stream.rb:25:in `loop' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/lib/gio2/input-stream.rb:26:in `block in read' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/lib/gio2/input-stream.rb:58:in `read_all_raw_compatible' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/lib/gobject-introspection/loader.rb:622:in `block in define_method' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/lib/gobject-introspection/loader.rb:622:in `invoke' Error: test_without_size(TestInputStream::#read): TypeError: String isn't supported =============================================================================== .............E =============================================================================== /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/test/test-resources.rb:42:in `test_open_stream' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/lib/gio2/resources.rb:44:in `open_stream' 41: def test_open_stream 42: Gio::Resources.open_stream("/org/ruby-gnome2/test/logo.png") do |input| 43: assert_equal(File.open(fixture_path("logo.png"), "rb", &:read),  => 44: input.read) 45: end 46: end 47: /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/test/test-resources.rb:44:in `block in test_open_stream' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/lib/gio2/input-stream.rb:25:in `read' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/lib/gio2/input-stream.rb:25:in `loop' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/lib/gio2/input-stream.rb:26:in `block in read' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/lib/gio2/input-stream.rb:58:in `read_all_raw_compatible' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/lib/gobject-introspection/loader.rb:622:in `block in define_method' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/lib/gobject-introspection/loader.rb:622:in `invoke' Error: test_open_stream(TestResources): TypeError: String isn't supported =============================================================================== .................# terminated with exception (report_on_exception is true): Traceback (most recent call last): 1: from /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/test/test-input-stream.rb:54:in `block in test_read_all' /var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2/test/test-input-stream.rb:54:in `write': Connection reset by peer (Errno::ECONNRESET) ..... Finished in 0.157311323 seconds. ------------------------------------------------------------------------------- 64 tests, 80 assertions, 0 failures, 4 errors, 0 pendings, 0 omissions, 0 notifications 93.75% passed ------------------------------------------------------------------------------- 406.84 tests/s, 508.55 assertions/s * ERROR: dev-ruby/ruby-gio2-3.3.2::gentoo failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 2127: Called ruby-ng_src_test * environment, line 1788: Called _ruby_each_implementation 'each_ruby_test' * environment, line 407: Called _ruby_invoke_environment 'ruby25' 'each_ruby_test' * environment, line 528: Called each_ruby_test * environment, line 746: Called die * The specific snippet of code: * XDG_RUNTIME_DIR=${T} dbus-launch ${RUBY} test/run-test.rb || die * * If you need support, post the output of `emerge --info '=dev-ruby/ruby-gio2-3.3.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/ruby-gio2-3.3.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ruby:ruby-gio2-3.3.2:20200617-020509.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2' * S: '/var/tmp/portage/dev-ruby/ruby-gio2-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gio2'