* Package: dev-ruby/rbtree-0.4.5:0 * Repository: gentoo * Maintainer: ruby@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby27 ruby_targets_ruby30 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... * Running unpack phase for all * Unpacking .gem file... * Uncompressing metadata * Unpacking data.tar.gz >>> Source unpacked in /var/tmp/portage/dev-ruby/rbtree-0.4.5/work >>> Preparing source in /var/tmp/portage/dev-ruby/rbtree-0.4.5/work ... * Running prepare phase for all * Running prepare phase for all * Running source copy phase for ruby27 * Running source copy phase for ruby30 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ruby/rbtree-0.4.5/work ... * Running configure phase for ruby27 checking for rb_exec_recursive() in ruby.h... yes checking for rb_exec_recursive_paired() in ruby.h... yes checking for rb_proc_lambda_p() in ruby.h... yes checking for rb_ary_resize() in ruby.h... yes checking for rb_obj_hide() in ruby.h... yes checking for rb_safe_level() in ruby.h... yes checking for rb_cData() in ruby.h... yes creating Makefile * Running configure phase for ruby30 checking for rb_exec_recursive() in ruby.h... yes checking for rb_exec_recursive_paired() in ruby.h... yes checking for rb_proc_lambda_p() in ruby.h... yes checking for rb_ary_resize() in ruby.h... yes checking for rb_obj_hide() in ruby.h... yes checking for rb_safe_level() in ruby.h... no checking for rb_cData() in ruby.h... yes creating Makefile >>> Source configured. '/var/tmp/portage/dev-ruby/rbtree-0.4.5/temp/clang14.log' -> '/var/tmp/clang/dev-ruby/rbtree-0.4.5/clang14.log' '/var/tmp/portage/dev-ruby/rbtree-0.4.5/temp/clang15.log' -> '/var/tmp/clang/dev-ruby/rbtree-0.4.5/clang15.log' >>> Compiling source in /var/tmp/portage/dev-ruby/rbtree-0.4.5/work ... * Running compile phase for ruby27 make -j4 V=1 -C . make: Entering directory '/var/tmp/portage/dev-ruby/rbtree-0.4.5/work/ruby27/rbtree-0.4.5' clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DNDEBUG -DHAVE_RB_EXEC_RECURSIVE -DHAVE_RB_EXEC_RECURSIVE_PAIRED -DHAVE_RB_PROC_LAMBDA_P -DHAVE_RB_ARY_RESIZE -DHAVE_RB_OBJ_HIDE -DHAVE_RB_SAFE_LEVEL -DHAVE_RB_CDATA -DHAVE_HASH_FLATTEN -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o dict.o -c dict.c clang -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DNDEBUG -DHAVE_RB_EXEC_RECURSIVE -DHAVE_RB_EXEC_RECURSIVE_PAIRED -DHAVE_RB_PROC_LAMBDA_P -DHAVE_RB_ARY_RESIZE -DHAVE_RB_OBJ_HIDE -DHAVE_RB_SAFE_LEVEL -DHAVE_RB_CDATA -DHAVE_HASH_FLATTEN -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o rbtree.o -c rbtree.c rbtree.c:168:24: warning: incompatible function pointer types passing 'VALUE (VALUE *)' (aka 'unsigned long (unsigned long *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] result = rb_ensure(rbtree_user_cmp_body, (VALUE)&args, ^~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:1992:24: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:169:24: warning: incompatible function pointer types passing 'VALUE (rbtree_t *)' (aka 'unsigned long (rbtree_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] rbtree_user_cmp_ensure, (VALUE)rbtree); ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:1992:46: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:376:15: warning: incompatible function pointer types passing 'VALUE (rbtree_insert_arg_t *)' (aka 'unsigned long (rbtree_insert_arg_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] rb_ensure(insert_node_body, (VALUE)&arg, ^~~~~~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:1992:24: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:377:15: warning: incompatible function pointer types passing 'VALUE (rbtree_insert_arg_t *)' (aka 'unsigned long (rbtree_insert_arg_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] insert_node_ensure, (VALUE)&arg); ^~~~~~~~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:1992:46: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:632:22: warning: incompatible function pointer types passing 'VALUE (rbtree_each_arg_t *)' (aka 'unsigned long (rbtree_each_arg_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] return rb_ensure(rbtree_each_body, (VALUE)&each_arg, ^~~~~~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:1992:24: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:644:22: warning: incompatible function pointer types passing 'VALUE (rbtree_each_arg_t *)' (aka 'unsigned long (rbtree_each_arg_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] return rb_ensure(rbtree_each_body, (VALUE)&each_arg, ^~~~~~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:1992:24: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:948:22: warning: incompatible function pointer types passing 'VALUE (rbtree_remove_if_arg_t *)' (aka 'unsigned long (rbtree_remove_if_arg_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] return rb_ensure(rbtree_remove_if_body, (VALUE)&arg, ^~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:1992:24: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:949:22: warning: incompatible function pointer types passing 'VALUE (rbtree_remove_if_arg_t *)' (aka 'unsigned long (rbtree_remove_if_arg_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] rbtree_remove_if_ensure, (VALUE)&arg); ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:1992:46: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:1569:26: warning: incompatible function pointer types passing 'VALUE (rbtree_bound_arg_t *)' (aka 'unsigned long (rbtree_bound_arg_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] return rb_ensure(rbtree_bound_body, (VALUE)&arg, ^~~~~~~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:1992:24: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:1736:53: warning: incompatible function pointer types passing 'VALUE (VALUE, pp_pair_arg_t *)' (aka 'unsigned long (unsigned long, pp_pair_arg_t *)') to parameter of type 'rb_block_call_func_t' (aka 'unsigned long (*)(unsigned long, unsigned long, int, const unsigned long *, unsigned long)') [-Wincompatible-function-pointer-types] return rb_iterate(pp_group, (VALUE)&group_args, pp_value, (VALUE)pair_arg); ^~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:1986:60: note: passing argument to parameter here VALUE rb_iterate(VALUE(*)(VALUE),VALUE,rb_block_call_func_t,VALUE); ^ rbtree.c:1765:46: warning: incompatible function pointer types passing 'VALUE (VALUE, pp_pair_arg_t *)' (aka 'unsigned long (unsigned long, pp_pair_arg_t *)') to parameter of type 'rb_block_call_func_t' (aka 'unsigned long (*)(unsigned long, unsigned long, int, const unsigned long *, unsigned long)') [-Wincompatible-function-pointer-types] rb_iterate(pp_group, (VALUE)&group_args, pp_pair, (VALUE)&pair_arg); ^~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:1986:60: note: passing argument to parameter here VALUE rb_iterate(VALUE(*)(VALUE),VALUE,rb_block_call_func_t,VALUE); ^ rbtree.c:1796:46: warning: incompatible function pointer types passing 'VALUE (VALUE, pp_rbtree_arg_t *)' (aka 'unsigned long (unsigned long, pp_rbtree_arg_t *)') to parameter of type 'rb_block_call_func_t' (aka 'unsigned long (*)(unsigned long, unsigned long, int, const unsigned long *, unsigned long)') [-Wincompatible-function-pointer-types] rb_iterate(pp_group, (VALUE)&group_args, pp_each_pair, (VALUE)rbtree_arg); ^~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:1986:60: note: passing argument to parameter here VALUE rb_iterate(VALUE(*)(VALUE),VALUE,rb_block_call_func_t,VALUE); ^ rbtree.c:1823:53: warning: incompatible function pointer types passing 'VALUE (VALUE, pp_rbtree_arg_t *)' (aka 'unsigned long (unsigned long, pp_rbtree_arg_t *)') to parameter of type 'rb_block_call_func_t' (aka 'unsigned long (*)(unsigned long, unsigned long, int, const unsigned long *, unsigned long)') [-Wincompatible-function-pointer-types] return rb_iterate(pp_rbtree_group, (VALUE)&arg, pp_rbtree, (VALUE)&arg); ^~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:1986:60: note: passing argument to parameter here VALUE rb_iterate(VALUE(*)(VALUE),VALUE,rb_block_call_func_t,VALUE); ^ 13 warnings generated. rm -f rbtree.so clang -shared -o rbtree.so dict.o rbtree.o -L. -L/usr/lib64 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--compress-debug-sections=zlib -lruby27 -lm -lc make: Leaving directory '/var/tmp/portage/dev-ruby/rbtree-0.4.5/work/ruby27/rbtree-0.4.5' * Running compile phase for ruby30 make -j4 V=1 -C . make: Entering directory '/var/tmp/portage/dev-ruby/rbtree-0.4.5/work/ruby30/rbtree-0.4.5' clang -fdeclspec -I. -I/usr/include/ruby-3.0.0/x86_64-linux -I/usr/include/ruby-3.0.0/ruby/backward -I/usr/include/ruby-3.0.0 -I. -DNDEBUG -DHAVE_RB_EXEC_RECURSIVE -DHAVE_RB_EXEC_RECURSIVE_PAIRED -DHAVE_RB_PROC_LAMBDA_P -DHAVE_RB_ARY_RESIZE -DHAVE_RB_OBJ_HIDE -DHAVE_RB_CDATA -DHAVE_HASH_FLATTEN -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o rbtree.o -c rbtree.c clang -fdeclspec -I. -I/usr/include/ruby-3.0.0/x86_64-linux -I/usr/include/ruby-3.0.0/ruby/backward -I/usr/include/ruby-3.0.0 -I. -DNDEBUG -DHAVE_RB_EXEC_RECURSIVE -DHAVE_RB_EXEC_RECURSIVE_PAIRED -DHAVE_RB_PROC_LAMBDA_P -DHAVE_RB_ARY_RESIZE -DHAVE_RB_OBJ_HIDE -DHAVE_RB_CDATA -DHAVE_HASH_FLATTEN -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o dict.o -c dict.c rbtree.c:137:14: error: incompatible pointer to integer conversion passing 'const void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] if (TYPE(key1) == T_STRING && TYPE(key2) == T_STRING) ^~~~ /usr/include/ruby-3.0.0/ruby/internal/value_type.h:105:52: note: expanded from macro 'TYPE' #define TYPE(_) RBIMPL_CAST((int)rb_type(_)) ^ /usr/include/ruby-3.0.0/ruby/internal/cast.h:33:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /usr/include/ruby-3.0.0/ruby/internal/value_type.h:178:15: note: passing argument to parameter 'obj' here rb_type(VALUE obj) ^ rbtree.c:137:40: error: incompatible pointer to integer conversion passing 'const void *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] if (TYPE(key1) == T_STRING && TYPE(key2) == T_STRING) ^~~~ /usr/include/ruby-3.0.0/ruby/internal/value_type.h:105:52: note: expanded from macro 'TYPE' #define TYPE(_) RBIMPL_CAST((int)rb_type(_)) ^ /usr/include/ruby-3.0.0/ruby/internal/cast.h:33:29: note: expanded from macro 'RBIMPL_CAST' # define RBIMPL_CAST(expr) (expr) ^~~~ /usr/include/ruby-3.0.0/ruby/internal/value_type.h:178:15: note: passing argument to parameter 'obj' here rb_type(VALUE obj) ^ rbtree.c:168:24: warning: incompatible function pointer types passing 'VALUE (VALUE *)' (aka 'unsigned long (unsigned long *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] result = rb_ensure(rbtree_user_cmp_body, (VALUE)&args, ^~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.0.0/ruby/internal/iterator.h:53:24: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:169:24: warning: incompatible function pointer types passing 'VALUE (rbtree_t *)' (aka 'unsigned long (rbtree_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] rbtree_user_cmp_ensure, (VALUE)rbtree); ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.0.0/ruby/internal/iterator.h:53:46: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:376:15: warning: incompatible function pointer types passing 'VALUE (rbtree_insert_arg_t *)' (aka 'unsigned long (rbtree_insert_arg_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] rb_ensure(insert_node_body, (VALUE)&arg, ^~~~~~~~~~~~~~~~ /usr/include/ruby-3.0.0/ruby/internal/iterator.h:53:24: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:377:15: warning: incompatible function pointer types passing 'VALUE (rbtree_insert_arg_t *)' (aka 'unsigned long (rbtree_insert_arg_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] insert_node_ensure, (VALUE)&arg); ^~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.0.0/ruby/internal/iterator.h:53:46: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:632:22: warning: incompatible function pointer types passing 'VALUE (rbtree_each_arg_t *)' (aka 'unsigned long (rbtree_each_arg_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] return rb_ensure(rbtree_each_body, (VALUE)&each_arg, ^~~~~~~~~~~~~~~~ /usr/include/ruby-3.0.0/ruby/internal/iterator.h:53:24: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:644:22: warning: incompatible function pointer types passing 'VALUE (rbtree_each_arg_t *)' (aka 'unsigned long (rbtree_each_arg_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] return rb_ensure(rbtree_each_body, (VALUE)&each_arg, ^~~~~~~~~~~~~~~~ /usr/include/ruby-3.0.0/ruby/internal/iterator.h:53:24: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:948:22: warning: incompatible function pointer types passing 'VALUE (rbtree_remove_if_arg_t *)' (aka 'unsigned long (rbtree_remove_if_arg_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] return rb_ensure(rbtree_remove_if_body, (VALUE)&arg, ^~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.0.0/ruby/internal/iterator.h:53:24: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:949:22: warning: incompatible function pointer types passing 'VALUE (rbtree_remove_if_arg_t *)' (aka 'unsigned long (rbtree_remove_if_arg_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] rbtree_remove_if_ensure, (VALUE)&arg); ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.0.0/ruby/internal/iterator.h:53:46: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:1569:26: warning: incompatible function pointer types passing 'VALUE (rbtree_bound_arg_t *)' (aka 'unsigned long (rbtree_bound_arg_t *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] return rb_ensure(rbtree_bound_body, (VALUE)&arg, ^~~~~~~~~~~~~~~~~ /usr/include/ruby-3.0.0/ruby/internal/iterator.h:53:24: note: passing argument to parameter here VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); ^ rbtree.c:1736:53: warning: incompatible function pointer types passing 'VALUE (VALUE, pp_pair_arg_t *)' (aka 'unsigned long (unsigned long, pp_pair_arg_t *)') to parameter of type 'rb_block_call_func_t' (aka 'unsigned long (*)(unsigned long, unsigned long, int, const unsigned long *, unsigned long)') [-Wincompatible-function-pointer-types] return rb_iterate(pp_group, (VALUE)&group_args, pp_value, (VALUE)pair_arg); ^~~~~~~~ /usr/include/ruby-3.0.0/ruby/internal/iterator.h:47:60: note: passing argument to parameter here VALUE rb_iterate(VALUE(*)(VALUE),VALUE,rb_block_call_func_t,VALUE); ^ rbtree.c:1765:46: warning: incompatible function pointer types passing 'VALUE (VALUE, pp_pair_arg_t *)' (aka 'unsigned long (unsigned long, pp_pair_arg_t *)') to parameter of type 'rb_block_call_func_t' (aka 'unsigned long (*)(unsigned long, unsigned long, int, const unsigned long *, unsigned long)') [-Wincompatible-function-pointer-types] rb_iterate(pp_group, (VALUE)&group_args, pp_pair, (VALUE)&pair_arg); ^~~~~~~ /usr/include/ruby-3.0.0/ruby/internal/iterator.h:47:60: note: passing argument to parameter here VALUE rb_iterate(VALUE(*)(VALUE),VALUE,rb_block_call_func_t,VALUE); ^ rbtree.c:1796:46: warning: incompatible function pointer types passing 'VALUE (VALUE, pp_rbtree_arg_t *)' (aka 'unsigned long (unsigned long, pp_rbtree_arg_t *)') to parameter of type 'rb_block_call_func_t' (aka 'unsigned long (*)(unsigned long, unsigned long, int, const unsigned long *, unsigned long)') [-Wincompatible-function-pointer-types] rb_iterate(pp_group, (VALUE)&group_args, pp_each_pair, (VALUE)rbtree_arg); ^~~~~~~~~~~~ /usr/include/ruby-3.0.0/ruby/internal/iterator.h:47:60: note: passing argument to parameter here VALUE rb_iterate(VALUE(*)(VALUE),VALUE,rb_block_call_func_t,VALUE); ^ rbtree.c:1823:53: warning: incompatible function pointer types passing 'VALUE (VALUE, pp_rbtree_arg_t *)' (aka 'unsigned long (unsigned long, pp_rbtree_arg_t *)') to parameter of type 'rb_block_call_func_t' (aka 'unsigned long (*)(unsigned long, unsigned long, int, const unsigned long *, unsigned long)') [-Wincompatible-function-pointer-types] return rb_iterate(pp_rbtree_group, (VALUE)&arg, pp_rbtree, (VALUE)&arg); ^~~~~~~~~ /usr/include/ruby-3.0.0/ruby/internal/iterator.h:47:60: note: passing argument to parameter here VALUE rb_iterate(VALUE(*)(VALUE),VALUE,rb_block_call_func_t,VALUE); ^ rbtree.c:1902:9: warning: 'rb_cData' is deprecated: by: rb_cObject. Will be removed in 3.1. [-Wdeprecated-declarations] rb_cData ^ /usr/include/ruby-3.0.0/ruby/internal/core/rdata.h:173:18: note: expanded from macro 'rb_cData' #define rb_cData rb_cData() ^ /usr/include/ruby-3.0.0/ruby/internal/core/rdata.h:166:1: note: 'rb_cData' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("by: rb_cObject. Will be removed in 3.1.")) ^ /usr/include/ruby-3.0.0/ruby/internal/attr/deprecated.h:32:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ 14 warnings and 2 errors generated. make: *** [Makefile:244: rbtree.o] Error 1 make: Leaving directory '/var/tmp/portage/dev-ruby/rbtree-0.4.5/work/ruby30/rbtree-0.4.5' * ERROR: dev-ruby/rbtree-0.4.5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-ruby/rbtree-0.4.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/rbtree-0.4.5::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ruby:rbtree-0.4.5:20221006-023728.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/rbtree-0.4.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rbtree-0.4.5/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/rbtree-0.4.5/work/ruby30/rbtree-0.4.5' * S: '/var/tmp/portage/dev-ruby/rbtree-0.4.5/work/ruby30/rbtree-0.4.5'