File: //usr/local/rvm/gems/ruby-2.5.9/extensions/x86_64-linux/2.5.0/nio4r-2.5.8/gem_make.out
current directory: /usr/local/rvm/gems/ruby-2.5.9/gems/nio4r-2.5.8/ext/nio4r
/usr/local/rvm/rubies/ruby-2.5.9/bin/ruby -I /usr/local/rvm/rubies/ruby-2.5.9/lib/ruby/site_ruby/2.5.0 -r ./siteconf20211109-158315-4m6qmq.rb extconf.rb
checking for unistd.h... yes
checking for linux/aio_abi.h... yes
checking for linux/io_uring.h... yes
checking for sys/select.h... yes
checking for port_event_t in poll.h... no
checking for sys/epoll.h... yes
checking for sys/event.h... no
checking for port_event_t in port.h... no
checking for sys/resource.h... yes
creating Makefile
current directory: /usr/local/rvm/gems/ruby-2.5.9/gems/nio4r-2.5.8/ext/nio4r
make "DESTDIR=" clean
current directory: /usr/local/rvm/gems/ruby-2.5.9/gems/nio4r-2.5.8/ext/nio4r
make "DESTDIR="
compiling bytebuffer.c
compiling monitor.c
compiling nio4r_ext.c
In file included from nio4r_ext.c:6:
../libev/ev.c:573:48: warning: "/*" within comment [-Wcomment]
/*#define MIN_INTERVAL 0.00000095367431640625 /* 1/2**20, good till 2200 */
In file included from nio4r_ext.c:6:
../libev/ev.c: In function ‘ecb_binary32_to_binary16’:
../libev/ev.c:1510:13: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
if (e < (14 - 24)) /* might not be sharp, but is good enough */
^
In file included from nio4r_ext.c:6:
../libev/ev.c: At top level:
../libev/ev.c:2136:31: warning: ‘ev_default_loop_ptr’ initialized and declared ‘extern’
EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */
^~~~~~~~~~~~~~~~~~~
../libev/ev.c: In function ‘array_nextsize’:
../libev/ev.c:2249:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
if (elem * ncur > MALLOC_ROUND - sizeof (void *) * 4)
^
In file included from ../libev/ev.c:220,
from nio4r_ext.c:6:
../libev/ev_epoll.c: In function ‘epoll_modify’:
../libev/ev_epoll.c:134:69: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: I/O watcher with invalid fd found in epoll_ctl", errno != EBADF && errno != ELOOP && errno != EINVAL));
^
../libev/ev_epoll.c:134:69: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: I/O watcher with invalid fd found in epoll_ctl", errno != EBADF && errno != ELOOP && errno != EINVAL));
^
In file included from ../libev/ev.c:3086,
from nio4r_ext.c:6:
../libev/ev_linuxaio.c: In function ‘linuxaio_modify’:
../libev/ev_linuxaio.c:237:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
ANIOCBP iocb = linuxaio_iocbps [fd];
^~~~~~~
In file included from ../libev/ev.c:220,
from nio4r_ext.c:6:
../libev/ev_linuxaio.c:264:69: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: linuxaio unexpected io_cancel failed", errno != EINTR && errno != EINPROGRESS));
^
../libev/ev_linuxaio.c:264:69: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: linuxaio unexpected io_cancel failed", errno != EINTR && errno != EINPROGRESS));
^
../libev/ev_linuxaio.c: In function ‘linuxaio_parse_events’:
../libev/ev_linuxaio.c:312:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: iocb fd must be in-bounds", fd >= 0 && fd < anfdmax));
^
../libev/ev_linuxaio.c:312:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: iocb fd must be in-bounds", fd >= 0 && fd < anfdmax));
^
../libev/ev_linuxaio.c: In function ‘linuxaio_poll’:
../libev/ev_linuxaio.c:527:57: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: event loop rejected bad fd", errno != EBADF));
^
../libev/ev_linuxaio.c:527:57: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: event loop rejected bad fd", errno != EBADF));
^
In file included from ../libev/ev.c:231,
from nio4r_ext.c:6:
../libev/ev_linuxaio.c: In function ‘linuxaio_fork’:
../libev/ev.h:180:20: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# define EV_A_ EV_A, /* a loop as first of multiple arguments */
^
../libev/ev.h:698:52: note: in definition of macro ‘ev_io_set’
#define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0)
^~
../libev/ev_linuxaio.c:617:16: note: in expansion of macro ‘EV_A_’
ev_io_set (EV_A_ &linuxaio_epoll_w, backend_fd, EV_READ);
^~~~~
../libev/ev.h:180:20: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# define EV_A_ EV_A, /* a loop as first of multiple arguments */
^
../libev/ev.h:698:70: note: in definition of macro ‘ev_io_set’
#define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0)
^~
../libev/ev_linuxaio.c:617:16: note: in expansion of macro ‘EV_A_’
ev_io_set (EV_A_ &linuxaio_epoll_w, backend_fd, EV_READ);
^~~~~
In file included from ../libev/ev.c:220,
from nio4r_ext.c:6:
../libev/ev_iouring.c: In function ‘iouring_enter’:
../libev/ev_iouring.c:240:60: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: io_uring_enter did not consume all sqes", (res < 0 || res == iouring_to_submit)));
^
../libev/ev_iouring.c:240:78: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
assert (("libev: io_uring_enter did not consume all sqes", (res < 0 || res == iouring_to_submit)));
^~
../libev/ev_iouring.c:240:60: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: io_uring_enter did not consume all sqes", (res < 0 || res == iouring_to_submit)));
^
In file included from ../libev/ev.c:3089,
from nio4r_ext.c:6:
../libev/ev_iouring.c: In function ‘iouring_sqe_get’:
../libev/ev_iouring.c:270:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int res = iouring_enter (EV_A_ EV_TS_CONST (0.));
^~~
../libev/ev_iouring.c: In function ‘iouring_sqe_submit’:
../libev/ev_iouring.c:298:31: warning: "/*" within comment [-Wcomment]
/*ECB_MEMORY_FENCE_RELEASE; /* for the time being we assume this is not needed */
In file included from ../libev/ev.c:231,
from nio4r_ext.c:6:
../libev/ev_iouring.c: In function ‘iouring_fork’:
../libev/ev.h:180:20: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# define EV_A_ EV_A, /* a loop as first of multiple arguments */
^
../libev/ev.h:698:52: note: in definition of macro ‘ev_io_set’
#define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0)
^~
../libev/ev_iouring.c:428:16: note: in expansion of macro ‘EV_A_’
ev_io_set (EV_A_ &iouring_tfd_w, iouring_tfd, EV_READ);
^~~~~
../libev/ev.h:180:20: warning: left-hand operand of comma expression has no effect [-Wunused-value]
# define EV_A_ EV_A, /* a loop as first of multiple arguments */
^
../libev/ev.h:698:70: note: in definition of macro ‘ev_io_set’
#define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0)
^~
../libev/ev_iouring.c:428:16: note: in expansion of macro ‘EV_A_’
ev_io_set (EV_A_ &iouring_tfd_w, iouring_tfd, EV_READ);
^~~~~
In file included from ../libev/ev.c:220,
from nio4r_ext.c:6:
../libev/ev_iouring.c: In function ‘iouring_tfd_update’:
../libev/ev_iouring.c:489:58: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: iouring timerfd_settime failed", 0));
^
../libev/ev_iouring.c:489:58: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: iouring timerfd_settime failed", 0));
^
../libev/ev_iouring.c: In function ‘iouring_process_cqe’:
../libev/ev_iouring.c:505:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: io_uring fd must be in-bounds", fd >= 0 && fd < anfdmax));
^
../libev/ev_iouring.c:505:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: io_uring fd must be in-bounds", fd >= 0 && fd < anfdmax));
^
../libev/ev_iouring.c:525:55: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: event loop rejected bad fd", res != -EBADF));
^
../libev/ev_iouring.c:525:55: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: event loop rejected bad fd", res != -EBADF));
^
../libev/ev_poll.c: In function ‘poll_poll’:
../libev/ev_poll.c:113:75: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: poll returned illegal result, broken BSD kernel?", p < polls + pollcnt));
^
../libev/ev_poll.c:113:75: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: poll returned illegal result, broken BSD kernel?", p < polls + pollcnt));
^
../libev/ev_poll.c:121:68: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: poll found invalid fd in poll set", 0));
^
../libev/ev_poll.c:121:68: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: poll found invalid fd in poll set", 0));
^
../libev/ev.c: In function ‘verify_watcher’:
../libev/ev.c:3568:49: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: watcher has invalid priority", ABSPRI (w) >= 0 && ABSPRI (w) < NUMPRI));
^
../libev/ev.c:3568:49: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: watcher has invalid priority", ABSPRI (w) >= 0 && ABSPRI (w) < NUMPRI));
^
../libev/ev.c:3571:59: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: pending watcher not on pending queue", pendings [ABSPRI (w)][w->pending - 1].w == w));
^
../libev/ev.c:3571:59: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: pending watcher not on pending queue", pendings [ABSPRI (w)][w->pending - 1].w == w));
^
../libev/ev.c: In function ‘verify_heap’:
../libev/ev.c:3582:54: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: active index mismatch in heap", ev_active (ANHE_w (heap [i])) == i));
^
../libev/ev.c:3582:54: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: active index mismatch in heap", ev_active (ANHE_w (heap [i])) == i));
^
../libev/ev.c:3583:48: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: heap condition violated", i == HEAP0 || ANHE_at (heap [HPARENT (i)]) <= ANHE_at (heap [i])));
^
../libev/ev.c:3583:48: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: heap condition violated", i == HEAP0 || ANHE_at (heap [HPARENT (i)]) <= ANHE_at (heap [i])));
^
../libev/ev.c:3584:47: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: heap at cache mismatch", ANHE_at (heap [i]) == ev_at (ANHE_w (heap [i]))));
^
../libev/ev.c:3584:47: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: heap at cache mismatch", ANHE_at (heap [i]) == ev_at (ANHE_w (heap [i]))));
^
../libev/ev.c: In function ‘array_verify’:
../libev/ev.c:3596:46: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: active index mismatch", ev_active (ws [cnt]) == cnt + 1));
^
../libev/ev.c:3596:46: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: active index mismatch", ev_active (ws [cnt]) == cnt + 1));
^
../libev/ev.c: In function ‘ev_verify’:
../libev/ev.c:3614:47: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: negative fd in fdchanges", fdchanges [i] >= 0));
^
../libev/ev.c:3614:47: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: negative fd in fdchanges", fdchanges [i] >= 0));
^
../libev/ev.c:3627:64: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: io watcher list contains a loop", w != w2));
^
../libev/ev.c:3627:64: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: io watcher list contains a loop", w != w2));
^
../libev/ev.c:3631:61: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: inactive fd watcher on anfd list", ev_active (w) == 1));
^
../libev/ev.c:3631:61: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: inactive fd watcher on anfd list", ev_active (w) == 1));
^
../libev/ev.c:3632:65: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: fd mismatch between watcher and anfd", ((ev_io *)w)->fd == i));
^
../libev/ev.c:3632:65: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: fd mismatch between watcher and anfd", ((ev_io *)w)->fd == i));
^
../libev/ev.c: In function ‘timers_reify’:
../libev/ev.c:3818:93: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: negative ev_timer repeat value found while processing timers", w->repeat > EV_TS_CONST (0.)));
^
../libev/ev.c:3818:93: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: negative ev_timer repeat value found while processing timers", w->repeat > EV_TS_CONST (0.)));
^
../libev/ev.c: In function ‘periodics_reify’:
../libev/ev.c:3881:90: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_periodic reschedule callback returned time in the past", ev_at (w) >= ev_rt_now));
^
../libev/ev.c:3881:90: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_periodic reschedule callback returned time in the past", ev_at (w) >= ev_rt_now));
^
../libev/ev.c: In function ‘ev_run’:
../libev/ev.c:4043:62: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_loop recursion during release detected", loop_done != EVBREAK_RECURSE));
^
../libev/ev.c:4043:62: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_loop recursion during release detected", loop_done != EVBREAK_RECURSE));
^
../libev/ev.c:4228:70: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: pipe_w not active, but pipe not written", ev_is_active (&pipe_w)));
^
../libev/ev.c:4228:70: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: pipe_w not active, but pipe not written", ev_is_active (&pipe_w)));
^
../libev/ev.c: In function ‘ev_io_start’:
../libev/ev.c:4402:56: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_io_start called with negative fd", fd >= 0));
^
../libev/ev.c:4402:56: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_io_start called with negative fd", fd >= 0));
^
../libev/ev.c:4403:63: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_io_start called with illegal event mask", !(w->events & ~(EV__IOFDSET | EV_READ | EV_WRITE))));
^
../libev/ev.c:4403:63: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_io_start called with illegal event mask", !(w->events & ~(EV__IOFDSET | EV_READ | EV_WRITE))));
^
../libev/ev.c:4415:62: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w));
^
../libev/ev.c:4415:62: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w));
^
../libev/ev.c: In function ‘ev_io_stop’:
../libev/ev.c:4431:88: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_io_stop called with illegal fd (must stay constant after start!)", w->fd >= 0 && w->fd < anfdmax));
^
../libev/ev.c:4431:88: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_io_stop called with illegal fd (must stay constant after start!)", w->fd >= 0 && w->fd < anfdmax));
^
../libev/ev.c: In function ‘ev_timer_start’:
../libev/ev.c:4455:75: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_timer_start called with negative timer repeat value", w->repeat >= 0.));
^
../libev/ev.c:4455:75: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_timer_start called with negative timer repeat value", w->repeat >= 0.));
^
../libev/ev.c: In function ‘ev_timer_stop’:
../libev/ev.c:4484:53: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: internal timer heap corruption", ANHE_w (timers [active]) == (WT)w));
^
../libev/ev.c:4484:53: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: internal timer heap corruption", ANHE_w (timers [active]) == (WT)w));
^
../libev/ev.c: In function ‘ev_periodic_start’:
../libev/ev.c:4553:78: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_periodic_start called with negative interval value", w->interval >= 0.));
^
../libev/ev.c:4553:78: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_periodic_start called with negative interval value", w->interval >= 0.));
^
../libev/ev.c: In function ‘ev_periodic_stop’:
../libev/ev.c:4586:56: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: internal periodic heap corruption", ANHE_w (periodics [active]) == (WT)w));
^
../libev/ev.c:4586:56: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: internal periodic heap corruption", ANHE_w (periodics [active]) == (WT)w));
^
../libev/ev.c: In function ‘ev_signal_start’:
../libev/ev.c:4625:70: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_signal_start called with illegal signal number", w->signum > 0 && w->signum < EV_NSIG));
^
../libev/ev.c:4625:70: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: ev_signal_start called with illegal signal number", w->signum > 0 && w->signum < EV_NSIG));
^
../libev/ev.c:4628:73: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: a signal must not be attached to two different loops",
^
../libev/ev.c:4628:73: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: a signal must not be attached to two different loops",
^
../libev/ev.c: In function ‘ev_child_start’:
../libev/ev.c:4747:74: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: child watchers are only supported in the default loop", loop == ev_default_loop_ptr));
^
../libev/ev.c:4747:74: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: child watchers are only supported in the default loop", loop == ev_default_loop_ptr));
^
../libev/ev.c: In function ‘ev_embed_start’:
../libev/ev.c:5334:60: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: loop to be embedded is not embeddable", backend & ev_embeddable_backends ()));
^
../libev/ev.c:5334:60: warning: left-hand operand of comma expression has no effect [-Wunused-value]
assert (("libev: loop to be embedded is not embeddable", backend & ev_embeddable_backends ()));
^
In file included from nio4r_ext.c:6:
../libev/ev.c: At top level:
../libev/ev.c:5682:27: warning: "/*" within comment [-Wcomment]
/* EV_STAT 0x00001000 /* stat data changed */
../libev/ev.c:5683:27: warning: "/*" within comment [-Wcomment]
/* EV_EMBED 0x00010000 /* embedded event loop needs sweep */
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
compiling selector.c
linking shared-object nio4r_ext.so
current directory: /usr/local/rvm/gems/ruby-2.5.9/gems/nio4r-2.5.8/ext/nio4r
make "DESTDIR=" install
/usr/bin/install -c -m 0755 nio4r_ext.so ./.gem.20211109-158315-1j6u8q3