* Package: dev-ruby/gpgme-2.0.21:0 * Repository: gentoo * Maintainer: sysadmin@gentoo.org ruby@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby27 ruby_targets_ruby31 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... * Running unpack phase for all >>> Unpacking ruby-gpgme-2.0.21.tar.gz to /var/tmp/portage/dev-ruby/gpgme-2.0.21/work/all >>> Source unpacked in /var/tmp/portage/dev-ruby/gpgme-2.0.21/work >>> Preparing source in /var/tmp/portage/dev-ruby/gpgme-2.0.21/work ... * Running prepare phase for all * Running prepare phase for all * Running source copy phase for ruby27 * Running source copy phase for ruby31 >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>> Configuring source in /var/tmp/portage/dev-ruby/gpgme-2.0.21/work ... * Running configure phase for ruby27 checking for gpgme-config... yes checking for gpgme >= 1.1.3... yes checking for gpgme_op_export_keys()... yes creating Makefile * Running configure phase for ruby31 checking for gpgme-config... yes checking for gpgme >= 1.1.3... yes checking for gpgme_op_export_keys()... yes creating Makefile >>> Source configured. '/var/tmp/portage/dev-ruby/gpgme-2.0.21/temp/clang16-errors.log' -> '/var/tmp/clang/dev-ruby/gpgme-2.0.21/clang16-errors.log' '/var/tmp/portage/dev-ruby/gpgme-2.0.21/temp/clang16-safe.log' -> '/var/tmp/clang/dev-ruby/gpgme-2.0.21/clang16-safe.log' >>> Compiling source in /var/tmp/portage/dev-ruby/gpgme-2.0.21/work ... * Running compile phase for ruby27 make -j4 V=1 -C ext/gpgme make: Entering directory '/var/tmp/portage/dev-ruby/gpgme-2.0.21/work/ruby27/ruby-gpgme-2.0.21/ext/gpgme' 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. -DHAVE_GPGME_OP_EXPORT_KEYS -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -o gpgme_n.o -c gpgme_n.c gpgme_n.c:1468:9: warning: 'gpgme_op_edit' is deprecated [-Wdeprecated-declarations] err = gpgme_op_edit (ctx, key, edit_cb, (void *)vcb, out); ^ /usr/include/gpgme.h:2621:33: note: 'gpgme_op_edit' has been explicitly marked deprecated here gpgme_data_t out) _GPGME_DEPRECATED(1,7); ^ /usr/include/gpgme.h:77:33: note: expanded from macro '_GPGME_DEPRECATED' # define _GPGME_DEPRECATED(a,b) GPGRT_ATTR_DEPRECATED ^ /usr/include/x86_64-pc-linux-gnu/gpg-error.h:834:49: note: expanded from macro 'GPGRT_ATTR_DEPRECATED' # define GPGRT_ATTR_DEPRECATED __attribute__ ((__deprecated__)) ^ gpgme_n.c:1497:9: warning: 'gpgme_op_edit_start' is deprecated [-Wdeprecated-declarations] err = gpgme_op_edit_start (ctx, key, edit_cb, (void *)vcb, out); ^ /usr/include/gpgme.h:2618:26: note: 'gpgme_op_edit_start' has been explicitly marked deprecated here gpgme_data_t out) _GPGME_DEPRECATED(1,7); ^ /usr/include/gpgme.h:77:33: note: expanded from macro '_GPGME_DEPRECATED' # define _GPGME_DEPRECATED(a,b) GPGRT_ATTR_DEPRECATED ^ /usr/include/x86_64-pc-linux-gnu/gpg-error.h:834:49: note: expanded from macro 'GPGRT_ATTR_DEPRECATED' # define GPGRT_ATTR_DEPRECATED __attribute__ ((__deprecated__)) ^ gpgme_n.c:1526:9: warning: 'gpgme_op_card_edit' is deprecated [-Wdeprecated-declarations] err = gpgme_op_card_edit (ctx, key, edit_cb, (void *)vcb, out); ^ /usr/include/gpgme.h:2629:41: note: 'gpgme_op_card_edit' has been explicitly marked deprecated here _GPGME_DEPRECATED(1,7); ^ /usr/include/gpgme.h:77:33: note: expanded from macro '_GPGME_DEPRECATED' # define _GPGME_DEPRECATED(a,b) GPGRT_ATTR_DEPRECATED ^ /usr/include/x86_64-pc-linux-gnu/gpg-error.h:834:49: note: expanded from macro 'GPGRT_ATTR_DEPRECATED' # define GPGRT_ATTR_DEPRECATED __attribute__ ((__deprecated__)) ^ gpgme_n.c:1555:9: warning: 'gpgme_op_card_edit_start' is deprecated [-Wdeprecated-declarations] err = gpgme_op_card_edit_start (ctx, key, edit_cb, (void *)vcb, out); ^ /usr/include/gpgme.h:2625:41: note: 'gpgme_op_card_edit_start' has been explicitly marked deprecated here _GPGME_DEPRECATED(1,7); ^ /usr/include/gpgme.h:77:33: note: expanded from macro '_GPGME_DEPRECATED' # define _GPGME_DEPRECATED(a,b) GPGRT_ATTR_DEPRECATED ^ /usr/include/x86_64-pc-linux-gnu/gpg-error.h:834:49: note: expanded from macro 'GPGRT_ATTR_DEPRECATED' # define GPGRT_ATTR_DEPRECATED __attribute__ ((__deprecated__)) ^ gpgme_n.c:2422:3: error: incompatible function pointer types passing 'VALUE (VALUE, VALUE, VALUE, VALUE)' (aka 'unsigned long (unsigned long, unsigned long, unsigned long, unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)') [-Werror,-Wincompatible-function-pointer-types] rb_define_module_function (mGPGME, "gpgme_op_keylist_ext_start", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2827:135: note: expanded from macro 'rb_define_module_function' ...(func),(arity)); ^~~~~~ /usr/include/ruby-2.7.0/ruby/ruby.h:2804:1: note: passing argument to parameter 'func' here RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass... ^ /usr/include/ruby-2.7.0/ruby/intern.h:1077:89: note: expanded from macro 'RB_METHOD_DEFINITION_DECL' ...,3 ,decl,vars,(VALUE,VALUE,VALUE,VALUE)) \ ^ /usr/include/ruby-2.7.0/ruby/intern.h:1069:5: note: expanded from macro '\ RB_METHOD_DEFINITION_DECL_1' RB_METHOD_DEFINITION_DECL_C(def,nonnull,defname,decl,vars,funcargs) \ ^ /usr/include/ruby-2.7.0/ruby/intern.h:1042:118: note: expanded from macro 'RB_METHOD_DEFINITION_DECL_C' ...nonnull))static void defname(RB_UNWRAP_MACRO decl,VALUE(*func)funcargs,i... ^ 4 warnings and 1 error generated. make: *** [Makefile:245: gpgme_n.o] Error 1 make: Leaving directory '/var/tmp/portage/dev-ruby/gpgme-2.0.21/work/ruby27/ruby-gpgme-2.0.21/ext/gpgme' * ERROR: dev-ruby/gpgme-2.0.21::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-ruby/gpgme-2.0.21::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/gpgme-2.0.21::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ruby:gpgme-2.0.21:20221113-115542.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/gpgme-2.0.21/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/gpgme-2.0.21/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/gpgme-2.0.21/work/ruby27/ruby-gpgme-2.0.21' * S: '/var/tmp/portage/dev-ruby/gpgme-2.0.21/work/ruby27/ruby-gpgme-2.0.21'