* Package: dev-ruby/posix-spawn-0.3.15-r1:0 * Repository: gentoo * Maintainer: ruby@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby27 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/posix-spawn-0.3.15-r1/work >>> Preparing source in /var/tmp/portage/dev-ruby/posix-spawn-0.3.15-r1/work ... * Running prepare phase for all * Running prepare phase for all * Running source copy phase for ruby27 >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook (2022-11-24T21:47)! * Clang 16 testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/dev-ruby/posix-spawn-0.3.15-r1/work ... * Running configure phase for ruby27 creating Makefile >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ruby/posix-spawn-0.3.15-r1/work ... * Running compile phase for ruby27 make -j4 V=1 -C ext make: Entering directory '/var/tmp/portage/dev-ruby/posix-spawn-0.3.15-r1/work/ruby27/posix-spawn-0.3.15/ext' 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. -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -o posix-spawn.o -c posix-spawn.c posix-spawn.c:226:27: error: incompatible function pointer types passing 'int (VALUE, VALUE, posix_spawn_file_actions_t *)' (aka 'int (unsigned long, unsigned long, posix_spawn_file_actions_t *)') to parameter of type 'int (*)(VALUE, VALUE, VALUE)' (aka 'int (*)(unsigned long, unsigned long, unsigned long)') [-Werror,-Wincompatible-function-pointer-types] rb_hash_foreach(options, posixspawn_file_actions_operations_iter, (VALUE... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/intern.h:558:35: note: passing argument to parameter here void rb_hash_foreach(VALUE, int (*)(VALUE, VALUE, VALUE), VALUE); ^ 1 error generated. make: *** [Makefile:246: posix-spawn.o] Error 1 shuffle=2562799611 make: Leaving directory '/var/tmp/portage/dev-ruby/posix-spawn-0.3.15-r1/work/ruby27/posix-spawn-0.3.15/ext' * ERROR: dev-ruby/posix-spawn-0.3.15-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-ruby/posix-spawn-0.3.15-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/posix-spawn-0.3.15-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ruby:posix-spawn-0.3.15-r1:20221126-061747.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/posix-spawn-0.3.15-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/posix-spawn-0.3.15-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/posix-spawn-0.3.15-r1/work/ruby27/posix-spawn-0.3.15' * S: '/var/tmp/portage/dev-ruby/posix-spawn-0.3.15-r1/work/ruby27/posix-spawn-0.3.15'