* Package: dev-ruby/coolio-1.7.1-r1:0 * Repository: gentoo * Maintainer: 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 .gem file... * Uncompressing metadata * Unpacking data.tar.gz >>> Source unpacked in /var/tmp/portage/dev-ruby/coolio-1.7.1-r1/work >>> Preparing source in /var/tmp/portage/dev-ruby/coolio-1.7.1-r1/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 (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/coolio-1.7.1-r1/work ... * Running configure phase for ruby27 checking for rb_thread_blocking_region()... no checking for rb_thread_call_without_gvl()... yes checking for rb_thread_alone()... yes checking for rb_str_set_len()... yes checking for clock_gettime() in -lrt... yes checking for ruby/io.h... yes checking for ruby/thread.h... yes checking for sys/select.h... yes checking for poll.h... yes checking for sys/epoll.h... yes checking for sys/event.h... no checking for port.h... no checking for sys/resource.h... yes creating Makefile checking for main() in -lc... yes checking for HAVE_RB_IO_T in ruby/io.h... yes checking for rb_io_t.fd in ruby/io.h... yes creating Makefile * Running configure phase for ruby31 checking for rb_thread_blocking_region()... no checking for rb_thread_call_without_gvl()... yes checking for rb_thread_alone()... yes checking for rb_str_set_len()... yes checking for clock_gettime() in -lrt... yes checking for ruby/io.h... yes checking for ruby/thread.h... yes checking for sys/select.h... yes checking for poll.h... yes checking for sys/epoll.h... yes checking for sys/event.h... no checking for port.h... no checking for sys/resource.h... yes creating Makefile checking for main() in -lc... yes checking for HAVE_RB_IO_T in ruby/io.h... yes checking for rb_io_t.fd in ruby/io.h... yes creating Makefile >>> Source configured. '/var/tmp/portage/dev-ruby/coolio-1.7.1-r1/temp/clang16-errors.log' -> '/var/tmp/clang/dev-ruby/coolio-1.7.1-r1/clang16-errors.log' '/var/tmp/portage/dev-ruby/coolio-1.7.1-r1/temp/clang16-safe.log' -> '/var/tmp/clang/dev-ruby/coolio-1.7.1-r1/clang16-safe.log' >>> Compiling source in /var/tmp/portage/dev-ruby/coolio-1.7.1-r1/work ... * Running compile phase for ruby27 make -j4 V=1 -C ext/cool.io make: Entering directory '/var/tmp/portage/dev-ruby/coolio-1.7.1-r1/work/ruby27/coolio-1.7.1/ext/cool.io' 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. -DRUBY_VERSION_CODE=277 -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_RUBY_IO_H -DHAVE_RUBY_IO_H -DHAVE_RUBY_THREAD_H -DHAVE_RUBY_THREAD_H -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o cool.io_ext.o -c cool.io_ext.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. -DRUBY_VERSION_CODE=277 -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_RUBY_IO_H -DHAVE_RUBY_IO_H -DHAVE_RUBY_THREAD_H -DHAVE_RUBY_THREAD_H -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o iowatcher.o -c iowatcher.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. -DRUBY_VERSION_CODE=277 -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_RUBY_IO_H -DHAVE_RUBY_IO_H -DHAVE_RUBY_THREAD_H -DHAVE_RUBY_THREAD_H -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o libev.o -c libev.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. -DRUBY_VERSION_CODE=277 -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_RUBY_IO_H -DHAVE_RUBY_IO_H -DHAVE_RUBY_THREAD_H -DHAVE_RUBY_THREAD_H -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o loop.o -c loop.c In file included from libev.c:8: ./../libev/ev.c:491:48: warning: '/*' within block comment [-Wcomment] /*#define MIN_INTERVAL 0.00000095367431640625 /* 1/2**20, good till 2200 */ ^ ./../libev/ev.c:1839:31: warning: 'extern' variable has an initializer [-Wextern-initializer] EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be in... ^ In file included from libev.c:8: In file included from ./../libev/ev.c:2713: ./../libev/ev_poll.c:111:18: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: poll() returned illegal result, broken BSD kernel?", p ... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ 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. -DRUBY_VERSION_CODE=277 -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_RUBY_IO_H -DHAVE_RUBY_IO_H -DHAVE_RUBY_THREAD_H -DHAVE_RUBY_THREAD_H -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o stat_watcher.o -c stat_watcher.c In file included from libev.c:8: ./../libev/ev.c:3126:12: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: watcher has invalid priority", ABSPRI (w) >= 0 && ABS... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3129:14: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: pending watcher not on pending queue", pendings [AB... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3140:16: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: active index mismatch in heap", ev_active (ANHE_... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3141:16: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: heap condition violated", i == HEAP0 || ANHE_at (... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3142:16: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: heap at cache mismatch", ANHE_at (heap [i]) == ev... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3154:16: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: active index mismatch", ev_active (ws [cnt]) == c... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3172:14: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: negative fd in fdchanges", fdchanges [i] >= 0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3185:24: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: io watcher list contains a loop", w != w2)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3189:20: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: inactive fd watcher on anfd list", ev_active ... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3190:20: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: fd mismatch between watcher and anfd", ((ev_i... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3374:24: warning: left operand of comma operator has no effect [-Wunused-value] ...(("libev: negative ev_timer repeat value found while processing timers"... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3437:24: warning: left operand of comma operator has no effect [-Wunused-value] ...(("libev: ev_periodic reschedule callback returned time in the past", ev... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3771:36: error: incompatible function pointer types passing 'VALUE (void *)' (aka 'unsigned long (void *)') to parameter of type 'void *(*)(void *)' [-Werror,-Wincompatible-function-pointer-types] rb_thread_call_without_gvl(ev_backend_poll, (void *)&poll_args, ... ^~~~~~~~~~~~~~~ /usr/include/ruby-2.7.0/ruby/thread.h:32:42: note: passing argument to parameter 'func' here void *rb_thread_call_without_gvl(void *(*func)(void *), void *data1, ^ In file included from libev.c:8: ./../libev/ev.c:3602:12: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: ev_loop recursion during release detected", loop_don... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3786:22: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: pipe_w not active, but pipe not written", e... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3961:12: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: ev_io_start called with negative fd", fd >= 0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3962:12: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: ev_io_start called with illegal event mask", !(w->eve... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3971:12: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: ev_io_start called with corrupted watcher", ((WL)w)->... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:3987:12: warning: left operand of comma operator has no effect [-Wunused-value] ..."libev: ev_io_stop called with illegal fd (must stay constant after start!)"... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:4008:12: warning: left operand of comma operator has no effect [-Wunused-value] ...(("libev: ev_timer_start called with negative timer repeat value", w->re... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:4037:14: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: internal timer heap corruption", ANHE_w (timers [ac... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:4101:16: warning: left operand of comma operator has no effect [-Wunused-value] ...(("libev: ev_periodic_start called with negative interval value", w->int... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:4134:14: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: internal periodic heap corruption", ANHE_w (periodi... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ 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. -DRUBY_VERSION_CODE=277 -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_RUBY_IO_H -DHAVE_RUBY_IO_H -DHAVE_RUBY_THREAD_H -DHAVE_RUBY_THREAD_H -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o timer_watcher.o -c timer_watcher.c In file included from libev.c:8: ./../libev/ev.c:4173:12: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: ev_signal_start called with illegal signal number", w... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:4176:12: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: a signal must not be attached to two different loops", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ In file included from libev.c:8: ./../libev/ev.c:4295:12: warning: left operand of comma operator has no effect [-Wunused-value] ...(("libev: child watchers are only supported in the default loop", loop =... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ 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. -DRUBY_VERSION_CODE=277 -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_RUBY_IO_H -DHAVE_RUBY_IO_H -DHAVE_RUBY_THREAD_H -DHAVE_RUBY_THREAD_H -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o utils.o -c utils.c In file included from libev.c:8: ./../libev/ev.c:4880:14: warning: left operand of comma operator has no effect [-Wunused-value] assert (("libev: loop to be embedded is not embeddable", backend & e... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/assert.h:106:11: note: expanded from macro 'assert' if (expr) \ ^~~~ 29 warnings and 1 error generated. make: *** [Makefile:246: libev.o] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory '/var/tmp/portage/dev-ruby/coolio-1.7.1-r1/work/ruby27/coolio-1.7.1/ext/cool.io' * ERROR: dev-ruby/coolio-1.7.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-ruby/coolio-1.7.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/coolio-1.7.1-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ruby:coolio-1.7.1-r1:20221126-123109.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/coolio-1.7.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/coolio-1.7.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/coolio-1.7.1-r1/work/ruby27/coolio-1.7.1' * S: '/var/tmp/portage/dev-ruby/coolio-1.7.1-r1/work/ruby27/coolio-1.7.1'