Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Wrote: /builddir/build/SRPMS/rubygem-nio4r-2.5.2-6.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.O1BpvC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nio4r-2.5.2 + /usr/bin/gem unpack /builddir/build/SOURCES/nio4r-2.5.2.gem Unpacked gem: '/builddir/build/BUILD/nio4r-2.5.2' + /usr/bin/gem spec /builddir/build/SOURCES/nio4r-2.5.2.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd nio4r-2.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.u5n58v + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.5.2 + gem build ../nio4r-2.5.2.gemspec WARNING: open-ended dependency on bundler (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: nio4r Version: 2.5.2 File: nio4r-2.5.2.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc nio4r-2.5.2.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/nio4r-2.5.2 Bin dir: /builddir/build/BUILD/nio4r-2.5.2/usr/bin Gem home: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems Plugins dir: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/plugins /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.gitignore /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.rspec /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.rubocop.yml /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.travis.yml /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/CHANGES.md /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/Gemfile /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/Guardfile /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/README.md /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/Rakefile /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/appveyor.yml /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/examples/echo_server.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/Changes /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/LICENSE /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/README /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_epoll.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_kqueue.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_linuxaio.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_poll.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_port.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_select.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_vars.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_win32.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_wrap.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/bytebuffer.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/extconf.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/libev.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/monitor.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/nio4r.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/nio4r_ext.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/ByteBuffer.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/Monitor.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/Nio4r.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/Selector.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/selector.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/bytebuffer.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/monitor.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/selector.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/version.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/logo.png /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/nio4r.gemspec /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/rakelib/extension.rake /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/rakelib/rspec.rake /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/rakelib/rubocop.rake /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/acceptables_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/bytebuffer_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/monitor_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/pipe_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/ssl_socket_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/tcp_socket_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/udp_socket_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selector_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/spec_helper.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/support/selectable_examples.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20220109-3917632-y1mki7.rb", "extconf.rb"] checking for unistd.h... yes checking for linux/aio_abi.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: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["make", "DESTDIR=", "clean"] rm -f rm -f nio4r_ext.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o bytebuffer.o -c bytebuffer.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o monitor.o -c monitor.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o nio4r_ext.o -c nio4r_ext.c In file included from nio4r_ext.c:7: ../libev/ev.c:511:48: warning: "/*" within comment [-Wcomment] 511 | /*#define MIN_INTERVAL 0.00000095367431640625 /* 1/2**20, good till 2200 */ | In file included from nio4r_ext.c:7: ../libev/ev.c:1867:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' 1867 | EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */ | ^~~~~~~~~~~~~~~~~~~ In file included from ../libev/ev.c:2745, from nio4r_ext.c:7: ../libev/ev_linuxaio.c: In function 'linuxaio_poll': ../libev/ev_linuxaio.c:498:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 498 | if (expect_false (res < 0)) | ^ In file included from libev.h:9, from nio4r.h:11, from nio4r_ext.c:6: ../libev/ev_linuxaio.c: In function 'linuxaio_init': ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:689:27: note: in definition of macro 'ev_init' 689 | ((ev_watcher *)(void *)(ev))->active = \ | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:690:27: note: in definition of macro 'ev_init' 690 | ((ev_watcher *)(void *)(ev))->pending = 0; \ | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:734:73: note: in definition of macro 'ev_set_priority' 734 | # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri) | ^~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' 726 | #define ev_cb_(ev) (ev)->cb /* rw */ | ^~ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' 692 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:740:94: note: in definition of macro 'ev_set_cb' 740 | # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev)))) | ^~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' 726 | #define ev_cb_(ev) (ev)->cb /* rw */ | ^~ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' 692 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' 726 | #define ev_cb_(ev) (ev)->cb /* rw */ | ^~ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' 692 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:52: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:70: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev_linuxaio.c: In function 'linuxaio_fork': ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:52: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:636:16: note: in expansion of macro 'EV_A_' 636 | ev_io_set (EV_A_ &linuxaio_epoll_w, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:70: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:636:16: note: in expansion of macro 'EV_A_' 636 | ev_io_set (EV_A_ &linuxaio_epoll_w, backend_fd, EV_READ); | ^~~~~ In file included from nio4r_ext.c:7: ../libev/ev.c: In function 'ev_io_start': ../libev/ev.c:4014:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4014 | fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY); | ~~~~~~~~~~^~~~~~~~~~~~~ ../libev/ev.c: At top level: ../libev/ev.c:5268:27: warning: "/*" within comment [-Wcomment] 5268 | /* EV_STAT 0x00001000 /* stat data changed */ | ../libev/ev.c:5269:27: warning: "/*" within comment [-Wcomment] 5269 | /* EV_EMBED 0x00010000 /* embedded event loop needs sweep */ | In file included from nio4r_ext.c:7: ../libev/ev.c: In function 'evpipe_write': ../libev/ev.c:2508:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2508 | write (evpipe [1], &counter, sizeof (uint64_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c:2520:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2520 | write (evpipe [1], &(evpipe [1]), 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c: In function 'pipecb': ../libev/ev.c:2541:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2541 | read (evpipe [1], &counter, sizeof (uint64_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c:2555:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2555 | read (evpipe [0], &dummy, sizeof (dummy)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o selector.o -c selector.c selector.c: In function 'NIO_Selector_synchronize': selector.c:286:26: warning: passing argument 1 of 'rb_ensure' from incompatible pointer type [-Wincompatible-pointer-types] 286 | return rb_ensure(func, (VALUE)args, NIO_Selector_unlock, self); | ^~~~ | | | VALUE (*)(VALUE *) {aka long unsigned int (*)(long unsigned int *)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from nio4r.h:9, from selector.c:6: /usr/include/ruby/internal/iterator.h:53:17: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE *)' {aka 'long unsigned int (*)(long unsigned int *)'} 53 | VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); | ^~~~~~~~~~~~~~~ selector.c: In function 'NIO_Selector_wakeup': selector.c:484:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 484 | write(selector->wakeup_writer, "\0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f nio4r_ext.so gcc -shared -o nio4r_ext.so bytebuffer.o monitor.o nio4r_ext.o selector.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -lruby -lm -lc current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20220109-3917632-b4o2wx exit > .sitearchdir.time /usr/bin/install -c -m 0755 nio4r_ext.so ./.gem.20220109-3917632-b4o2wx current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20220109-3917632-y1mki7.rb extconf.rb current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make DESTDIR\= clean current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make DESTDIR\= current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make DESTDIR\= install Successfully installed nio4r-2.5.2 Parsing documentation for nio4r-2.5.2 Parsing sources... 2% [ 1/36] ext/libev/Changes 5% [ 2/36] ext/libev/LICENSE 8% [ 3/36] ext/libev/README 11% [ 4/36] ext/libev/ev.c 13% [ 5/36] ext/libev/ev.h 16% [ 6/36] ext/libev/ev_epoll.c 19% [ 7/36] ext/libev/ev_kqueue.c 22% [ 8/36] ext/libev/ev_linuxaio.c 25% [ 9/36] ext/libev/ev_poll.c 27% [10/36] ext/libev/ev_port.c 30% [11/36] ext/libev/ev_select.c 33% [12/36] ext/libev/ev_vars.h 36% [13/36] ext/libev/ev_win32.c 38% [14/36] ext/libev/ev_wrap.h 41% [15/36] ext/nio4r/Makefile 44% [16/36] ext/nio4r/bytebuffer.c 47% [17/36] ext/nio4r/bytebuffer.o 50% [18/36] ext/nio4r/extconf.rb 52% [19/36] ext/nio4r/libev.h 55% [20/36] ext/nio4r/monitor.c 58% [21/36] ext/nio4r/monitor.o 61% [22/36] ext/nio4r/nio4r.h 63% [23/36] ext/nio4r/nio4r_ext.c 66% [24/36] ext/nio4r/nio4r_ext.o 69% [25/36] ext/nio4r/nio4r_ext.so 72% [26/36] ext/nio4r/org/nio4r/ByteBuffer.java 75% [27/36] ext/nio4r/org/nio4r/Monitor.java 77% [28/36] ext/nio4r/org/nio4r/Nio4r.java 80% [29/36] ext/nio4r/org/nio4r/Selector.java 83% [30/36] ext/nio4r/selector.c 86% [31/36] ext/nio4r/selector.o 88% [32/36] lib/nio.rb 91% [33/36] lib/nio/bytebuffer.rb 94% [34/36] lib/nio/monitor.rb 97% [35/36] lib/nio/selector.rb 100% [36/36] lib/nio/version.rb Installing ri documentation for nio4r-2.5.2 Installing darkfish documentation for nio4r-2.5.2 Done installing documentation for nio4r after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2tGg5h + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 + cd nio4r-2.5.2 + mkdir -p /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2 + cp -a ./usr/lib64/gems/ruby/nio4r-2.5.2/gem.build_complete ./usr/lib64/gems/ruby/nio4r-2.5.2/nio4r_ext.so /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2/ + rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/share/gems/gems/nio4r-2.5.2/ext/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.5.2-6.el9 --unique-debug-suffix -2.5.2-6.el9.x86_64 --unique-debug-src-base rubygem-nio4r-2.5.2-6.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/nio4r-2.5.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2/nio4r_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2/nio4r_ext.so original debug info size: 348kB, size after compression: 324kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 507 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/nio4r-2.5.2/examples/echo_server.rb from /usr/bin/env ruby to #!/usr/bin/ruby Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Pjybac + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.5.2 + pushd ./usr/share/gems/gems/nio4r-2.5.2 ~/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2 ~/build/BUILD/nio4r-2.5.2 ++ grep EV_VERSION_MAJOR ext/libev/ev.h ++ cut -d ' ' -f3 + EV_VERSION_MAJOR=4 ++ grep EV_VERSION_MINOR ext/libev/ev.h ++ cut -d ' ' -f3 + EV_VERSION_MINOR=27 + '[' 4.27 = 4.27 ']' + sed -i '/require "coveralls"/ s/^/#/' spec/spec_helper.rb + sed -i '/Coveralls.wear!/ s/^/#/' spec/spec_helper.rb ++ dirs +1 + rspec -I~/build/BUILD/nio4r-2.5.2/usr/lib64/gems/ruby/nio4r-2.5.2 spec Randomized with seed 21607 NIO::Selector allows deregistering closed IO objects deregisters IO objects knows which IO objects are registered reports if it is empty closes allows reregistration of the same IO object across select calls wakeup wakes up if signaled to from another thread raises IOError if asked to wake up a closed selector register registers IO objects raises TypeError if asked to register non-IO objects raises when asked to register after closing timeouts waits for a timeout when selecting with reader waits for timeout when selecting from empty selector raises ArgumentError if given a negative timeout backend knows its backend Current backend: epoll select raises IOError if asked to select on a closed selector does not block on super small precision intervals iterates across selected objects with a block selects IO objects selects closed IO objects #initialize raises ArgumentError if given an invalid backend raises TypeError if given a non-Symbol parameter allows explicitly specifying a backend Supported backends: [:epoll, :poll, :select] .backends knows all supported backends IO.pipe behaves like an NIO selectable selects writable objects does not select unwritable objects selects readable objects does not select unreadable objects behaves like an NIO selectable stream selects readable when the other end closes NIO acceptables TCPServer behaves like an NIO acceptable selects for read readiness UDPSocket behaves like an NIO selectable selects writable objects selects readable objects does not select unwritable objects (PENDING: come up with a UDPSocket that's blocked on writing) does not select unreadable objects TCPSocket behaves like an NIO bidirectional stream selects readable and writable keeps readiness after the selectable has been closed behaves like an NIO selectable stream selects readable when the other end closes connect selects writable when connected behaves like an NIO selectable does not select unreadable objects does not select unwritable objects (PENDING: Failed to produce an unwritable socket) selects writable objects selects readable objects OpenSSL::SSL::SSLSocket using TLS 1.2 behaves like an NIO selectable stream selects readable when the other end closes behaves like an NIO selectable selects readable objects selects writable objects does not select unwritable objects does not select unreadable objects using TLS 1.3 behaves like an NIO selectable stream selects readable when the other end closes behaves like an NIO selectable does not select unwritable objects does not select unreadable objects selects writable objects selects readable objects NIO::ByteBuffer #clear clears the buffer #full? returns false when there is space remaining in the buffer returns true when the buffer is full #rewind rewinds the buffer leaving the limit intact #compact copies data from the current position to the beginning of the buffer #capacity has the requested capacity #[] obtains bytes at a given index without altering position raises ArgumentError if the index exceeds the limit raises ArgumentError if the index is less than zero #limit= raises ArgumentError if specified limit exceeds capacity raises ArgumentError if specified limit is less than zero sets position to the new limit if the previous position is beyond the limit preserves position and mark if they're less than the new limit clears the mark if the new limit is before the current mark sets the buffer's limit to a valid value #initialize raises TypeError if given a bogus argument #reset returns to a previously marked position raises NIO::ByteBuffer::MarkUnsetError unless mark has been set #inspect inspects the buffer offsets #<< raises NIO::ByteBuffer::OverflowError if the buffer is full raises TypeError if given a non-String type adds strings to the buffer #limit defaults to the buffer's capacity #remaining calculates the number of bytes remaining #flip sets limit to the previous position flips the bytebuffer sets remaining to the previous position I/O #read_from raises NIO::ByteBuffer::OverflowError if the buffer is already full reads data into the buffer returns 0 if no data is available #write_to writes data from the buffer raises NIO::ByteBuffer::UnderflowError if the buffer is out of data #get raises NIO::ByteBuffer::UnderflowError if there is not enough data in the buffer reads zeroes from a newly initialized buffer advances position as data is read reads all remaining data if no length is given #position= raises ArgumentError if the specified position exceeds the limit sets the buffer's position to a valid value raises ArgumentError if the specified position is less than zero #each iterates over data in the buffer #mark returns self #position defaults to zero NIO::Monitor #value= stores arbitrary values #close closes closes even if the selector has been shutdown #io knows its IO object #add_interest sets a new interest if it isn't currently registered acts idempotently raises ArgumentError if given a bogus option #interests knows its interests #interests= can set interests to nil changes the interest set raises EOFError if interests are changed after the monitor is closed #remove_interest raises ArgumentError if given a bogus option removes an interest from the set can clear the last interest acts idempotently #readiness knows what operations IO objects are ready for #selector knows its selector Pending: (Failures listed here are expected and do not affect your suite's status) 1) UDPSocket behaves like an NIO selectable does not select unwritable objects # come up with a UDPSocket that's blocked on writing Failure/Error: selector.register(unwritable_subject, :w) TypeError: no implicit conversion of false into IO Shared Example Group: "an NIO selectable" called from ./spec/nio/selectables/udp_socket_spec.rb:47 # ./spec/support/selectable_examples.rb:36:in `initialize' # ./spec/support/selectable_examples.rb:36:in `register' # ./spec/support/selectable_examples.rb:36:in `block (2 levels) in ' 2) TCPSocket behaves like an NIO selectable does not select unwritable objects # Failed to produce an unwritable socket Failure/Error: expect(ready).to be_nil expected: nil got: [#] Shared Example Group: "an NIO selectable" called from ./spec/nio/selectables/tcp_socket_spec.rb:72 # ./spec/support/selectable_examples.rb:38:in `block (2 levels) in ' Finished in 10.16 seconds (files took 0.17609 seconds to load) 111 examples, 0 failures, 2 pending Randomized with seed 21607 + popd ~/build/BUILD/nio4r-2.5.2 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-nio4r-2.5.2-6.el9.x86_64 Provides: bundled(libev) = 4.27 rubygem(nio4r) = 2.5.2 rubygem-nio4r = 2.5.2-6.el9 rubygem-nio4r(x86-64) = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.9)(64bit) libruby.so.3.0()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-nio4r-doc-2.5.2-6.el9.noarch Provides: rubygem-nio4r-doc = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/ruby Processing files: rubygem-nio4r-debugsource-2.5.2-6.el9.x86_64 Provides: rubygem-nio4r-debugsource = 2.5.2-6.el9 rubygem-nio4r-debugsource(x86-64) = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-nio4r-debuginfo-2.5.2-6.el9.x86_64 Provides: debuginfo(build-id) = 0f563a07c8aa714911450f8a8d16dc734532ca29 rubygem-nio4r-debuginfo = 2.5.2-6.el9 rubygem-nio4r-debuginfo(x86-64) = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-nio4r-debugsource(x86-64) = 2.5.2-6.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 Wrote: /builddir/build/RPMS/rubygem-nio4r-2.5.2-6.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-debuginfo-2.5.2-6.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-debugsource-2.5.2-6.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-doc-2.5.2-6.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e5FyXw + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Wrote: /builddir/build/SRPMS/rubygem-nio4r-2.5.2-6.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.i5ApIt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nio4r-2.5.2 + /usr/bin/gem unpack /builddir/build/SOURCES/nio4r-2.5.2.gem Unpacked gem: '/builddir/build/BUILD/nio4r-2.5.2' + /usr/bin/gem spec /builddir/build/SOURCES/nio4r-2.5.2.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd nio4r-2.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1jHBNA + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.5.2 + gem build ../nio4r-2.5.2.gemspec WARNING: open-ended dependency on bundler (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: nio4r Version: 2.5.2 File: nio4r-2.5.2.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc nio4r-2.5.2.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/nio4r-2.5.2 Bin dir: /builddir/build/BUILD/nio4r-2.5.2/usr/bin Gem home: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems Plugins dir: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/plugins /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.gitignore /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.rspec /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.rubocop.yml /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.travis.yml /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/CHANGES.md /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/Gemfile /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/Guardfile /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/README.md /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/Rakefile /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/appveyor.yml /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/examples/echo_server.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/Changes /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/LICENSE /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/README /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_epoll.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_kqueue.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_linuxaio.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_poll.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_port.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_select.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_vars.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_win32.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_wrap.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/bytebuffer.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/extconf.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/libev.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/monitor.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/nio4r.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/nio4r_ext.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/ByteBuffer.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/Monitor.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/Nio4r.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/Selector.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/selector.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/bytebuffer.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/monitor.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/selector.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/version.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/logo.png /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/nio4r.gemspec /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/rakelib/extension.rake /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/rakelib/rspec.rake /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/rakelib/rubocop.rake /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/acceptables_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/bytebuffer_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/monitor_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/pipe_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/ssl_socket_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/tcp_socket_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/udp_socket_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selector_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/spec_helper.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/support/selectable_examples.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20220109-427751-i11xjq.rb", "extconf.rb"] checking for unistd.h... yes checking for linux/aio_abi.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: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["make", "DESTDIR=", "clean"] rm -f rm -f nio4r_ext.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o bytebuffer.o -c bytebuffer.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o monitor.o -c monitor.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o nio4r_ext.o -c nio4r_ext.c In file included from nio4r_ext.c:7: ../libev/ev.c:511:48: warning: "/*" within comment [-Wcomment] 511 | /*#define MIN_INTERVAL 0.00000095367431640625 /* 1/2**20, good till 2200 */ | In file included from nio4r_ext.c:7: ../libev/ev.c:1867:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' 1867 | EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */ | ^~~~~~~~~~~~~~~~~~~ In file included from ../libev/ev.c:2745, from nio4r_ext.c:7: ../libev/ev_linuxaio.c: In function 'linuxaio_poll': ../libev/ev_linuxaio.c:498:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 498 | if (expect_false (res < 0)) | ^ In file included from libev.h:9, from nio4r.h:11, from nio4r_ext.c:6: ../libev/ev_linuxaio.c: In function 'linuxaio_init': ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:689:27: note: in definition of macro 'ev_init' 689 | ((ev_watcher *)(void *)(ev))->active = \ | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:690:27: note: in definition of macro 'ev_init' 690 | ((ev_watcher *)(void *)(ev))->pending = 0; \ | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:734:73: note: in definition of macro 'ev_set_priority' 734 | # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri) | ^~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' 726 | #define ev_cb_(ev) (ev)->cb /* rw */ | ^~ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' 692 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:740:94: note: in definition of macro 'ev_set_cb' 740 | # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev)))) | ^~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' 726 | #define ev_cb_(ev) (ev)->cb /* rw */ | ^~ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' 692 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' 726 | #define ev_cb_(ev) (ev)->cb /* rw */ | ^~ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' 692 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:52: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:70: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev_linuxaio.c: In function 'linuxaio_fork': ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:52: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:636:16: note: in expansion of macro 'EV_A_' 636 | ev_io_set (EV_A_ &linuxaio_epoll_w, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:70: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:636:16: note: in expansion of macro 'EV_A_' 636 | ev_io_set (EV_A_ &linuxaio_epoll_w, backend_fd, EV_READ); | ^~~~~ In file included from nio4r_ext.c:7: ../libev/ev.c: In function 'ev_io_start': ../libev/ev.c:4014:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4014 | fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY); | ~~~~~~~~~~^~~~~~~~~~~~~ ../libev/ev.c: At top level: ../libev/ev.c:5268:27: warning: "/*" within comment [-Wcomment] 5268 | /* EV_STAT 0x00001000 /* stat data changed */ | ../libev/ev.c:5269:27: warning: "/*" within comment [-Wcomment] 5269 | /* EV_EMBED 0x00010000 /* embedded event loop needs sweep */ | In file included from nio4r_ext.c:7: ../libev/ev.c: In function 'evpipe_write': ../libev/ev.c:2508:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2508 | write (evpipe [1], &counter, sizeof (uint64_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c:2520:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2520 | write (evpipe [1], &(evpipe [1]), 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c: In function 'pipecb': ../libev/ev.c:2541:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2541 | read (evpipe [1], &counter, sizeof (uint64_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c:2555:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2555 | read (evpipe [0], &dummy, sizeof (dummy)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o selector.o -c selector.c selector.c: In function 'NIO_Selector_synchronize': selector.c:286:26: warning: passing argument 1 of 'rb_ensure' from incompatible pointer type [-Wincompatible-pointer-types] 286 | return rb_ensure(func, (VALUE)args, NIO_Selector_unlock, self); | ^~~~ | | | VALUE (*)(VALUE *) {aka long unsigned int (*)(long unsigned int *)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from nio4r.h:9, from selector.c:6: /usr/include/ruby/internal/iterator.h:53:17: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE *)' {aka 'long unsigned int (*)(long unsigned int *)'} 53 | VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); | ^~~~~~~~~~~~~~~ selector.c: In function 'NIO_Selector_wakeup': selector.c:484:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 484 | write(selector->wakeup_writer, "\0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f nio4r_ext.so gcc -shared -o nio4r_ext.so bytebuffer.o monitor.o nio4r_ext.o selector.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -lruby -lm -lc current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20220109-427751-b4gslz exit > .sitearchdir.time /usr/bin/install -c -m 0755 nio4r_ext.so ./.gem.20220109-427751-b4gslz current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20220109-427751-i11xjq.rb extconf.rb current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make DESTDIR\= clean current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make DESTDIR\= current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make DESTDIR\= install Successfully installed nio4r-2.5.2 Parsing documentation for nio4r-2.5.2 Parsing sources... 2% [ 1/36] ext/libev/Changes 5% [ 2/36] ext/libev/LICENSE 8% [ 3/36] ext/libev/README 11% [ 4/36] ext/libev/ev.c 13% [ 5/36] ext/libev/ev.h 16% [ 6/36] ext/libev/ev_epoll.c 19% [ 7/36] ext/libev/ev_kqueue.c 22% [ 8/36] ext/libev/ev_linuxaio.c 25% [ 9/36] ext/libev/ev_poll.c 27% [10/36] ext/libev/ev_port.c 30% [11/36] ext/libev/ev_select.c 33% [12/36] ext/libev/ev_vars.h 36% [13/36] ext/libev/ev_win32.c 38% [14/36] ext/libev/ev_wrap.h 41% [15/36] ext/nio4r/Makefile 44% [16/36] ext/nio4r/bytebuffer.c 47% [17/36] ext/nio4r/bytebuffer.o 50% [18/36] ext/nio4r/extconf.rb 52% [19/36] ext/nio4r/libev.h 55% [20/36] ext/nio4r/monitor.c 58% [21/36] ext/nio4r/monitor.o 61% [22/36] ext/nio4r/nio4r.h 63% [23/36] ext/nio4r/nio4r_ext.c 66% [24/36] ext/nio4r/nio4r_ext.o 69% [25/36] ext/nio4r/nio4r_ext.so 72% [26/36] ext/nio4r/org/nio4r/ByteBuffer.java 75% [27/36] ext/nio4r/org/nio4r/Monitor.java 77% [28/36] ext/nio4r/org/nio4r/Nio4r.java 80% [29/36] ext/nio4r/org/nio4r/Selector.java 83% [30/36] ext/nio4r/selector.c 86% [31/36] ext/nio4r/selector.o 88% [32/36] lib/nio.rb 91% [33/36] lib/nio/bytebuffer.rb 94% [34/36] lib/nio/monitor.rb 97% [35/36] lib/nio/selector.rb 100% [36/36] lib/nio/version.rb Installing ri documentation for nio4r-2.5.2 Installing darkfish documentation for nio4r-2.5.2 Done installing documentation for nio4r after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SFN0Oe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 + cd nio4r-2.5.2 + mkdir -p /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2 + cp -a ./usr/lib64/gems/ruby/nio4r-2.5.2/gem.build_complete ./usr/lib64/gems/ruby/nio4r-2.5.2/nio4r_ext.so /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2/ + rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/share/gems/gems/nio4r-2.5.2/ext/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.5.2-6.el9 --unique-debug-suffix -2.5.2-6.el9.x86_64 --unique-debug-src-base rubygem-nio4r-2.5.2-6.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/nio4r-2.5.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2/nio4r_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2/nio4r_ext.so original debug info size: 348kB, size after compression: 324kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 507 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/nio4r-2.5.2/examples/echo_server.rb from /usr/bin/env ruby to #!/usr/bin/ruby Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.zFZbtQ + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2 ~/build/BUILD/nio4r-2.5.2 + cd nio4r-2.5.2 + pushd ./usr/share/gems/gems/nio4r-2.5.2 ++ grep EV_VERSION_MAJOR ext/libev/ev.h ++ cut -d ' ' -f3 + EV_VERSION_MAJOR=4 ++ grep EV_VERSION_MINOR ext/libev/ev.h ++ cut -d ' ' -f3 + EV_VERSION_MINOR=27 + '[' 4.27 = 4.27 ']' + sed -i '/require "coveralls"/ s/^/#/' spec/spec_helper.rb + sed -i '/Coveralls.wear!/ s/^/#/' spec/spec_helper.rb ++ dirs +1 + rspec -I~/build/BUILD/nio4r-2.5.2/usr/lib64/gems/ruby/nio4r-2.5.2 spec Randomized with seed 3036 NIO::ByteBuffer #rewind rewinds the buffer leaving the limit intact #get raises NIO::ByteBuffer::UnderflowError if there is not enough data in the buffer reads zeroes from a newly initialized buffer reads all remaining data if no length is given advances position as data is read #reset returns to a previously marked position raises NIO::ByteBuffer::MarkUnsetError unless mark has been set #position defaults to zero #clear clears the buffer #limit defaults to the buffer's capacity #capacity has the requested capacity #compact copies data from the current position to the beginning of the buffer #full? returns false when there is space remaining in the buffer returns true when the buffer is full #<< raises NIO::ByteBuffer::OverflowError if the buffer is full raises TypeError if given a non-String type adds strings to the buffer #remaining calculates the number of bytes remaining #mark returns self #limit= sets position to the new limit if the previous position is beyond the limit preserves position and mark if they're less than the new limit clears the mark if the new limit is before the current mark raises ArgumentError if specified limit exceeds capacity sets the buffer's limit to a valid value raises ArgumentError if specified limit is less than zero #[] obtains bytes at a given index without altering position raises ArgumentError if the index is less than zero raises ArgumentError if the index exceeds the limit #flip sets remaining to the previous position flips the bytebuffer sets limit to the previous position #position= sets the buffer's position to a valid value raises ArgumentError if the specified position is less than zero raises ArgumentError if the specified position exceeds the limit #initialize raises TypeError if given a bogus argument I/O #read_from reads data into the buffer raises NIO::ByteBuffer::OverflowError if the buffer is already full returns 0 if no data is available #write_to writes data from the buffer raises NIO::ByteBuffer::UnderflowError if the buffer is out of data #each iterates over data in the buffer #inspect inspects the buffer offsets IO.pipe behaves like an NIO selectable does not select unreadable objects selects writable objects selects readable objects does not select unwritable objects behaves like an NIO selectable stream selects readable when the other end closes NIO acceptables TCPServer behaves like an NIO acceptable selects for read readiness UDPSocket behaves like an NIO selectable selects writable objects does not select unreadable objects selects readable objects does not select unwritable objects (PENDING: come up with a UDPSocket that's blocked on writing) NIO::Monitor #io knows its IO object #interests= raises EOFError if interests are changed after the monitor is closed can set interests to nil changes the interest set #add_interest acts idempotently raises ArgumentError if given a bogus option sets a new interest if it isn't currently registered #remove_interest acts idempotently can clear the last interest raises ArgumentError if given a bogus option removes an interest from the set #selector knows its selector #value= stores arbitrary values #close closes closes even if the selector has been shutdown #readiness knows what operations IO objects are ready for #interests knows its interests TCPSocket behaves like an NIO selectable selects writable objects does not select unwritable objects (PENDING: Failed to produce an unwritable socket) selects readable objects does not select unreadable objects behaves like an NIO selectable stream selects readable when the other end closes connect selects writable when connected behaves like an NIO bidirectional stream selects readable and writable keeps readiness after the selectable has been closed OpenSSL::SSL::SSLSocket using TLS 1.3 behaves like an NIO selectable stream selects readable when the other end closes behaves like an NIO selectable does not select unreadable objects does not select unwritable objects selects writable objects selects readable objects using TLS 1.2 behaves like an NIO selectable selects writable objects does not select unreadable objects selects readable objects does not select unwritable objects behaves like an NIO selectable stream selects readable when the other end closes NIO::Selector deregisters IO objects allows reregistration of the same IO object across select calls reports if it is empty allows deregistering closed IO objects knows which IO objects are registered closes .backends knows all supported backends #initialize allows explicitly specifying a backend Supported backends: [:epoll, :poll, :select] raises ArgumentError if given an invalid backend raises TypeError if given a non-Symbol parameter timeouts waits for a timeout when selecting with reader raises ArgumentError if given a negative timeout waits for timeout when selecting from empty selector register raises TypeError if asked to register non-IO objects raises when asked to register after closing registers IO objects wakeup wakes up if signaled to from another thread raises IOError if asked to wake up a closed selector backend knows its backend Current backend: epoll select does not block on super small precision intervals selects IO objects iterates across selected objects with a block raises IOError if asked to select on a closed selector selects closed IO objects Pending: (Failures listed here are expected and do not affect your suite's status) 1) UDPSocket behaves like an NIO selectable does not select unwritable objects # come up with a UDPSocket that's blocked on writing Failure/Error: selector.register(unwritable_subject, :w) TypeError: no implicit conversion of false into IO Shared Example Group: "an NIO selectable" called from ./spec/nio/selectables/udp_socket_spec.rb:47 # ./spec/support/selectable_examples.rb:36:in `initialize' # ./spec/support/selectable_examples.rb:36:in `register' # ./spec/support/selectable_examples.rb:36:in `block (2 levels) in ' 2) TCPSocket behaves like an NIO selectable does not select unwritable objects # Failed to produce an unwritable socket Failure/Error: expect(ready).to be_nil expected: nil got: [#] Shared Example Group: "an NIO selectable" called from ./spec/nio/selectables/tcp_socket_spec.rb:72 # ./spec/support/selectable_examples.rb:38:in `block (2 levels) in ' Finished in 11.4 seconds (files took 0.17413 seconds to load) 111 examples, 0 failures, 2 pending Randomized with seed 3036 + popd ~/build/BUILD/nio4r-2.5.2 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-nio4r-2.5.2-6.el9.x86_64 Provides: bundled(libev) = 4.27 rubygem(nio4r) = 2.5.2 rubygem-nio4r = 2.5.2-6.el9 rubygem-nio4r(x86-64) = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.9)(64bit) libruby.so.3.0()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-nio4r-doc-2.5.2-6.el9.noarch Provides: rubygem-nio4r-doc = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/ruby Processing files: rubygem-nio4r-debugsource-2.5.2-6.el9.x86_64 Provides: rubygem-nio4r-debugsource = 2.5.2-6.el9 rubygem-nio4r-debugsource(x86-64) = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-nio4r-debuginfo-2.5.2-6.el9.x86_64 Provides: debuginfo(build-id) = 0f563a07c8aa714911450f8a8d16dc734532ca29 rubygem-nio4r-debuginfo = 2.5.2-6.el9 rubygem-nio4r-debuginfo(x86-64) = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-nio4r-debugsource(x86-64) = 2.5.2-6.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 Wrote: /builddir/build/RPMS/rubygem-nio4r-2.5.2-6.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-debugsource-2.5.2-6.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-debuginfo-2.5.2-6.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-doc-2.5.2-6.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0aMifm + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Wrote: /builddir/build/SRPMS/rubygem-nio4r-2.5.2-6.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IBSZDU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nio4r-2.5.2 + /usr/bin/gem unpack /builddir/build/SOURCES/nio4r-2.5.2.gem Unpacked gem: '/builddir/build/BUILD/nio4r-2.5.2' + /usr/bin/gem spec /builddir/build/SOURCES/nio4r-2.5.2.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd nio4r-2.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vW7nE8 + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.5.2 + gem build ../nio4r-2.5.2.gemspec WARNING: open-ended dependency on bundler (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: nio4r Version: 2.5.2 File: nio4r-2.5.2.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc nio4r-2.5.2.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/nio4r-2.5.2 Bin dir: /builddir/build/BUILD/nio4r-2.5.2/usr/bin Gem home: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems Plugins dir: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/plugins /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.gitignore /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.rspec /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.rubocop.yml /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.travis.yml /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/CHANGES.md /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/Gemfile /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/Guardfile /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/README.md /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/Rakefile /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/appveyor.yml /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/examples/echo_server.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/Changes /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/LICENSE /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/README /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_epoll.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_kqueue.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_linuxaio.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_poll.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_port.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_select.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_vars.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_win32.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_wrap.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/bytebuffer.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/extconf.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/libev.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/monitor.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/nio4r.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/nio4r_ext.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/ByteBuffer.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/Monitor.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/Nio4r.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/Selector.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/selector.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/bytebuffer.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/monitor.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/selector.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/version.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/logo.png /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/nio4r.gemspec /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/rakelib/extension.rake /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/rakelib/rspec.rake /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/rakelib/rubocop.rake /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/acceptables_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/bytebuffer_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/monitor_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/pipe_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/ssl_socket_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/tcp_socket_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/udp_socket_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selector_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/spec_helper.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/support/selectable_examples.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20220110-1170484-1skbu5.rb", "extconf.rb"] checking for unistd.h... yes checking for linux/aio_abi.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: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["make", "DESTDIR=", "clean"] rm -f rm -f nio4r_ext.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o bytebuffer.o -c bytebuffer.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o monitor.o -c monitor.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o nio4r_ext.o -c nio4r_ext.c In file included from nio4r_ext.c:7: ../libev/ev.c:511:48: warning: "/*" within comment [-Wcomment] 511 | /*#define MIN_INTERVAL 0.00000095367431640625 /* 1/2**20, good till 2200 */ | In file included from nio4r_ext.c:7: ../libev/ev.c:1867:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' 1867 | EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */ | ^~~~~~~~~~~~~~~~~~~ In file included from ../libev/ev.c:2745, from nio4r_ext.c:7: ../libev/ev_linuxaio.c: In function 'linuxaio_poll': ../libev/ev_linuxaio.c:498:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 498 | if (expect_false (res < 0)) | ^ In file included from libev.h:9, from nio4r.h:11, from nio4r_ext.c:6: ../libev/ev_linuxaio.c: In function 'linuxaio_init': ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:689:27: note: in definition of macro 'ev_init' 689 | ((ev_watcher *)(void *)(ev))->active = \ | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:690:27: note: in definition of macro 'ev_init' 690 | ((ev_watcher *)(void *)(ev))->pending = 0; \ | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:734:73: note: in definition of macro 'ev_set_priority' 734 | # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri) | ^~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' 726 | #define ev_cb_(ev) (ev)->cb /* rw */ | ^~ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' 692 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:740:94: note: in definition of macro 'ev_set_cb' 740 | # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev)))) | ^~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' 726 | #define ev_cb_(ev) (ev)->cb /* rw */ | ^~ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' 692 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' 726 | #define ev_cb_(ev) (ev)->cb /* rw */ | ^~ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' 692 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:52: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:70: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev_linuxaio.c: In function 'linuxaio_fork': ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:52: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:636:16: note: in expansion of macro 'EV_A_' 636 | ev_io_set (EV_A_ &linuxaio_epoll_w, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:70: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:636:16: note: in expansion of macro 'EV_A_' 636 | ev_io_set (EV_A_ &linuxaio_epoll_w, backend_fd, EV_READ); | ^~~~~ In file included from nio4r_ext.c:7: ../libev/ev.c: In function 'ev_io_start': ../libev/ev.c:4014:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4014 | fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY); | ~~~~~~~~~~^~~~~~~~~~~~~ ../libev/ev.c: At top level: ../libev/ev.c:5268:27: warning: "/*" within comment [-Wcomment] 5268 | /* EV_STAT 0x00001000 /* stat data changed */ | ../libev/ev.c:5269:27: warning: "/*" within comment [-Wcomment] 5269 | /* EV_EMBED 0x00010000 /* embedded event loop needs sweep */ | In file included from nio4r_ext.c:7: ../libev/ev.c: In function 'evpipe_write': ../libev/ev.c:2508:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2508 | write (evpipe [1], &counter, sizeof (uint64_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c:2520:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2520 | write (evpipe [1], &(evpipe [1]), 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c: In function 'pipecb': ../libev/ev.c:2541:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2541 | read (evpipe [1], &counter, sizeof (uint64_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c:2555:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2555 | read (evpipe [0], &dummy, sizeof (dummy)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o selector.o -c selector.c selector.c: In function 'NIO_Selector_synchronize': selector.c:286:26: warning: passing argument 1 of 'rb_ensure' from incompatible pointer type [-Wincompatible-pointer-types] 286 | return rb_ensure(func, (VALUE)args, NIO_Selector_unlock, self); | ^~~~ | | | VALUE (*)(VALUE *) {aka long unsigned int (*)(long unsigned int *)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from nio4r.h:9, from selector.c:6: /usr/include/ruby/internal/iterator.h:53:17: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE *)' {aka 'long unsigned int (*)(long unsigned int *)'} 53 | VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); | ^~~~~~~~~~~~~~~ selector.c: In function 'NIO_Selector_wakeup': selector.c:484:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 484 | write(selector->wakeup_writer, "\0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f nio4r_ext.so gcc -shared -o nio4r_ext.so bytebuffer.o monitor.o nio4r_ext.o selector.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -lruby -lm -lc current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20220110-1170484-ecd850 exit > .sitearchdir.time /usr/bin/install -c -m 0755 nio4r_ext.so ./.gem.20220110-1170484-ecd850 current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20220110-1170484-1skbu5.rb extconf.rb current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make DESTDIR\= clean current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make DESTDIR\= current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make DESTDIR\= install Successfully installed nio4r-2.5.2 Parsing documentation for nio4r-2.5.2 Parsing sources... 2% [ 1/36] ext/libev/Changes 5% [ 2/36] ext/libev/LICENSE 8% [ 3/36] ext/libev/README 11% [ 4/36] ext/libev/ev.c 13% [ 5/36] ext/libev/ev.h 16% [ 6/36] ext/libev/ev_epoll.c 19% [ 7/36] ext/libev/ev_kqueue.c 22% [ 8/36] ext/libev/ev_linuxaio.c 25% [ 9/36] ext/libev/ev_poll.c 27% [10/36] ext/libev/ev_port.c 30% [11/36] ext/libev/ev_select.c 33% [12/36] ext/libev/ev_vars.h 36% [13/36] ext/libev/ev_win32.c 38% [14/36] ext/libev/ev_wrap.h 41% [15/36] ext/nio4r/Makefile 44% [16/36] ext/nio4r/bytebuffer.c 47% [17/36] ext/nio4r/bytebuffer.o 50% [18/36] ext/nio4r/extconf.rb 52% [19/36] ext/nio4r/libev.h 55% [20/36] ext/nio4r/monitor.c 58% [21/36] ext/nio4r/monitor.o 61% [22/36] ext/nio4r/nio4r.h 63% [23/36] ext/nio4r/nio4r_ext.c 66% [24/36] ext/nio4r/nio4r_ext.o 69% [25/36] ext/nio4r/nio4r_ext.so 72% [26/36] ext/nio4r/org/nio4r/ByteBuffer.java 75% [27/36] ext/nio4r/org/nio4r/Monitor.java 77% [28/36] ext/nio4r/org/nio4r/Nio4r.java 80% [29/36] ext/nio4r/org/nio4r/Selector.java 83% [30/36] ext/nio4r/selector.c 86% [31/36] ext/nio4r/selector.o 88% [32/36] lib/nio.rb 91% [33/36] lib/nio/bytebuffer.rb 94% [34/36] lib/nio/monitor.rb 97% [35/36] lib/nio/selector.rb 100% [36/36] lib/nio/version.rb Installing ri documentation for nio4r-2.5.2 Installing darkfish documentation for nio4r-2.5.2 Done installing documentation for nio4r after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pG3lZJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 + cd nio4r-2.5.2 + mkdir -p /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2 + cp -a ./usr/lib64/gems/ruby/nio4r-2.5.2/gem.build_complete ./usr/lib64/gems/ruby/nio4r-2.5.2/nio4r_ext.so /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2/ + rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/share/gems/gems/nio4r-2.5.2/ext/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.5.2-6.el9 --unique-debug-suffix -2.5.2-6.el9.x86_64 --unique-debug-src-base rubygem-nio4r-2.5.2-6.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/nio4r-2.5.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2/nio4r_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2/nio4r_ext.so original debug info size: 348kB, size after compression: 324kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 507 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/nio4r-2.5.2/examples/echo_server.rb from /usr/bin/env ruby to #!/usr/bin/ruby Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.0kMQzO + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.5.2 ~/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2 ~/build/BUILD/nio4r-2.5.2 + pushd ./usr/share/gems/gems/nio4r-2.5.2 ++ grep EV_VERSION_MAJOR ext/libev/ev.h ++ cut -d ' ' -f3 + EV_VERSION_MAJOR=4 ++ grep EV_VERSION_MINOR ext/libev/ev.h ++ cut -d ' ' -f3 + EV_VERSION_MINOR=27 + '[' 4.27 = 4.27 ']' + sed -i '/require "coveralls"/ s/^/#/' spec/spec_helper.rb + sed -i '/Coveralls.wear!/ s/^/#/' spec/spec_helper.rb ++ dirs +1 + rspec -I~/build/BUILD/nio4r-2.5.2/usr/lib64/gems/ruby/nio4r-2.5.2 spec Randomized with seed 20535 NIO::Monitor #value= stores arbitrary values #close closes even if the selector has been shutdown closes #interests= raises EOFError if interests are changed after the monitor is closed changes the interest set can set interests to nil #remove_interest can clear the last interest removes an interest from the set acts idempotently raises ArgumentError if given a bogus option #interests knows its interests #selector knows its selector #io knows its IO object #readiness knows what operations IO objects are ready for #add_interest sets a new interest if it isn't currently registered acts idempotently raises ArgumentError if given a bogus option UDPSocket behaves like an NIO selectable does not select unwritable objects (PENDING: come up with a UDPSocket that's blocked on writing) selects readable objects does not select unreadable objects selects writable objects NIO::Selector closes allows reregistration of the same IO object across select calls knows which IO objects are registered deregisters IO objects allows deregistering closed IO objects reports if it is empty wakeup raises IOError if asked to wake up a closed selector wakes up if signaled to from another thread backend knows its backend Current backend: epoll select selects closed IO objects raises IOError if asked to select on a closed selector selects IO objects iterates across selected objects with a block does not block on super small precision intervals timeouts waits for timeout when selecting from empty selector waits for a timeout when selecting with reader raises ArgumentError if given a negative timeout register raises when asked to register after closing registers IO objects raises TypeError if asked to register non-IO objects .backends knows all supported backends #initialize allows explicitly specifying a backend Supported backends: [:epoll, :poll, :select] raises TypeError if given a non-Symbol parameter raises ArgumentError if given an invalid backend TCPSocket behaves like an NIO selectable selects writable objects selects readable objects does not select unwritable objects (PENDING: Failed to produce an unwritable socket) does not select unreadable objects behaves like an NIO bidirectional stream selects readable and writable keeps readiness after the selectable has been closed connect selects writable when connected behaves like an NIO selectable stream selects readable when the other end closes NIO::ByteBuffer #rewind rewinds the buffer leaving the limit intact I/O #write_to raises NIO::ByteBuffer::UnderflowError if the buffer is out of data writes data from the buffer #read_from raises NIO::ByteBuffer::OverflowError if the buffer is already full reads data into the buffer returns 0 if no data is available #flip flips the bytebuffer sets limit to the previous position sets remaining to the previous position #each iterates over data in the buffer #limit defaults to the buffer's capacity #capacity has the requested capacity #compact copies data from the current position to the beginning of the buffer #mark returns self #initialize raises TypeError if given a bogus argument #limit= preserves position and mark if they're less than the new limit sets position to the new limit if the previous position is beyond the limit raises ArgumentError if specified limit exceeds capacity clears the mark if the new limit is before the current mark raises ArgumentError if specified limit is less than zero sets the buffer's limit to a valid value #get reads all remaining data if no length is given advances position as data is read reads zeroes from a newly initialized buffer raises NIO::ByteBuffer::UnderflowError if there is not enough data in the buffer #position defaults to zero #reset returns to a previously marked position raises NIO::ByteBuffer::MarkUnsetError unless mark has been set #position= sets the buffer's position to a valid value raises ArgumentError if the specified position is less than zero raises ArgumentError if the specified position exceeds the limit #full? returns true when the buffer is full returns false when there is space remaining in the buffer #[] obtains bytes at a given index without altering position raises ArgumentError if the index exceeds the limit raises ArgumentError if the index is less than zero #<< raises NIO::ByteBuffer::OverflowError if the buffer is full raises TypeError if given a non-String type adds strings to the buffer #clear clears the buffer #inspect inspects the buffer offsets #remaining calculates the number of bytes remaining NIO acceptables TCPServer behaves like an NIO acceptable selects for read readiness IO.pipe behaves like an NIO selectable selects writable objects does not select unwritable objects does not select unreadable objects selects readable objects behaves like an NIO selectable stream selects readable when the other end closes OpenSSL::SSL::SSLSocket using TLS 1.3 behaves like an NIO selectable selects writable objects does not select unwritable objects does not select unreadable objects selects readable objects behaves like an NIO selectable stream selects readable when the other end closes using TLS 1.2 behaves like an NIO selectable stream selects readable when the other end closes behaves like an NIO selectable selects readable objects does not select unreadable objects selects writable objects does not select unwritable objects Pending: (Failures listed here are expected and do not affect your suite's status) 1) UDPSocket behaves like an NIO selectable does not select unwritable objects # come up with a UDPSocket that's blocked on writing Failure/Error: selector.register(unwritable_subject, :w) TypeError: no implicit conversion of false into IO Shared Example Group: "an NIO selectable" called from ./spec/nio/selectables/udp_socket_spec.rb:47 # ./spec/support/selectable_examples.rb:36:in `initialize' # ./spec/support/selectable_examples.rb:36:in `register' # ./spec/support/selectable_examples.rb:36:in `block (2 levels) in ' 2) TCPSocket behaves like an NIO selectable does not select unwritable objects # Failed to produce an unwritable socket Failure/Error: expect(ready).to be_nil expected: nil got: [#] Shared Example Group: "an NIO selectable" called from ./spec/nio/selectables/tcp_socket_spec.rb:72 # ./spec/support/selectable_examples.rb:38:in `block (2 levels) in ' Finished in 9.81 seconds (files took 0.1838 seconds to load) 111 examples, 0 failures, 2 pending Randomized with seed 20535 + popd + RPM_EC=0 ~/build/BUILD/nio4r-2.5.2 ++ jobs -p + exit 0 Processing files: rubygem-nio4r-2.5.2-6.el9.x86_64 Provides: bundled(libev) = 4.27 rubygem(nio4r) = 2.5.2 rubygem-nio4r = 2.5.2-6.el9 rubygem-nio4r(x86-64) = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.9)(64bit) libruby.so.3.0()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-nio4r-doc-2.5.2-6.el9.noarch Provides: rubygem-nio4r-doc = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/ruby Processing files: rubygem-nio4r-debugsource-2.5.2-6.el9.x86_64 Provides: rubygem-nio4r-debugsource = 2.5.2-6.el9 rubygem-nio4r-debugsource(x86-64) = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-nio4r-debuginfo-2.5.2-6.el9.x86_64 Provides: debuginfo(build-id) = 0f563a07c8aa714911450f8a8d16dc734532ca29 rubygem-nio4r-debuginfo = 2.5.2-6.el9 rubygem-nio4r-debuginfo(x86-64) = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-nio4r-debugsource(x86-64) = 2.5.2-6.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 Wrote: /builddir/build/RPMS/rubygem-nio4r-2.5.2-6.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-debugsource-2.5.2-6.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-debuginfo-2.5.2-6.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-doc-2.5.2-6.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6MPPGo + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Wrote: /builddir/build/SRPMS/rubygem-nio4r-2.5.2-6.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WXX7sC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nio4r-2.5.2 + /usr/bin/gem unpack /builddir/build/SOURCES/nio4r-2.5.2.gem Unpacked gem: '/builddir/build/BUILD/nio4r-2.5.2' + /usr/bin/gem spec /builddir/build/SOURCES/nio4r-2.5.2.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd nio4r-2.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oHTBEl + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.5.2 + gem build ../nio4r-2.5.2.gemspec WARNING: open-ended dependency on bundler (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: nio4r Version: 2.5.2 File: nio4r-2.5.2.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc nio4r-2.5.2.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/nio4r-2.5.2 Bin dir: /builddir/build/BUILD/nio4r-2.5.2/usr/bin Gem home: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems Plugins dir: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/plugins /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.gitignore /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.rspec /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.rubocop.yml /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/.travis.yml /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/CHANGES.md /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/Gemfile /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/Guardfile /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/README.md /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/Rakefile /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/appveyor.yml /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/examples/echo_server.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/Changes /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/LICENSE /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/README /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_epoll.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_kqueue.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_linuxaio.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_poll.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_port.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_select.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_vars.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_win32.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/libev/ev_wrap.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/bytebuffer.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/extconf.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/libev.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/monitor.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/nio4r.h /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/nio4r_ext.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/ByteBuffer.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/Monitor.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/Nio4r.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/org/nio4r/Selector.java /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r/selector.c /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/bytebuffer.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/monitor.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/selector.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/lib/nio/version.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/logo.png /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/nio4r.gemspec /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/rakelib/extension.rake /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/rakelib/rspec.rake /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/rakelib/rubocop.rake /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/acceptables_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/bytebuffer_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/monitor_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/pipe_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/ssl_socket_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/tcp_socket_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selectables/udp_socket_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/nio/selector_spec.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/spec_helper.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/support/selectable_examples.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20220110-1902059-189nba.rb", "extconf.rb"] checking for unistd.h... yes checking for linux/aio_abi.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: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["make", "DESTDIR=", "clean"] rm -f rm -f nio4r_ext.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o bytebuffer.o -c bytebuffer.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o monitor.o -c monitor.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o nio4r_ext.o -c nio4r_ext.c In file included from nio4r_ext.c:7: ../libev/ev.c:511:48: warning: "/*" within comment [-Wcomment] 511 | /*#define MIN_INTERVAL 0.00000095367431640625 /* 1/2**20, good till 2200 */ | In file included from nio4r_ext.c:7: ../libev/ev.c:1867:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' 1867 | EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */ | ^~~~~~~~~~~~~~~~~~~ In file included from ../libev/ev.c:2745, from nio4r_ext.c:7: ../libev/ev_linuxaio.c: In function 'linuxaio_poll': ../libev/ev_linuxaio.c:498:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 498 | if (expect_false (res < 0)) | ^ In file included from libev.h:9, from nio4r.h:11, from nio4r_ext.c:6: ../libev/ev_linuxaio.c: In function 'linuxaio_init': ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:689:27: note: in definition of macro 'ev_init' 689 | ((ev_watcher *)(void *)(ev))->active = \ | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:690:27: note: in definition of macro 'ev_init' 690 | ((ev_watcher *)(void *)(ev))->pending = 0; \ | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:734:73: note: in definition of macro 'ev_set_priority' 734 | # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri) | ^~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' 726 | #define ev_cb_(ev) (ev)->cb /* rw */ | ^~ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' 692 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:740:94: note: in definition of macro 'ev_set_cb' 740 | # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev)))) | ^~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' 726 | #define ev_cb_(ev) (ev)->cb /* rw */ | ^~ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' 692 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' 726 | #define ev_cb_(ev) (ev)->cb /* rw */ | ^~ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' 692 | ev_set_cb ((ev), cb_); \ | ^~~~~~~~~ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' 709 | #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) | ^~~~~~~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:52: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:70: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~~~~~~ ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' 592 | ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); | ^~~~~ ../libev/ev_linuxaio.c: In function 'linuxaio_fork': ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:52: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:636:16: note: in expansion of macro 'EV_A_' 636 | ev_io_set (EV_A_ &linuxaio_epoll_w, backend_fd, EV_READ); | ^~~~~ ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] 177 | # define EV_A_ EV_A, /* a loop as first of multiple arguments */ | ^ ../libev/ev.h:695:70: note: in definition of macro 'ev_io_set' 695 | #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) | ^~ ../libev/ev_linuxaio.c:636:16: note: in expansion of macro 'EV_A_' 636 | ev_io_set (EV_A_ &linuxaio_epoll_w, backend_fd, EV_READ); | ^~~~~ In file included from nio4r_ext.c:7: ../libev/ev.c: In function 'ev_io_start': ../libev/ev.c:4014:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 4014 | fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY); | ~~~~~~~~~~^~~~~~~~~~~~~ ../libev/ev.c: At top level: ../libev/ev.c:5268:27: warning: "/*" within comment [-Wcomment] 5268 | /* EV_STAT 0x00001000 /* stat data changed */ | ../libev/ev.c:5269:27: warning: "/*" within comment [-Wcomment] 5269 | /* EV_EMBED 0x00010000 /* embedded event loop needs sweep */ | In file included from nio4r_ext.c:7: ../libev/ev.c: In function 'evpipe_write': ../libev/ev.c:2508:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2508 | write (evpipe [1], &counter, sizeof (uint64_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c:2520:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2520 | write (evpipe [1], &(evpipe [1]), 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c: In function 'pipecb': ../libev/ev.c:2541:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2541 | read (evpipe [1], &counter, sizeof (uint64_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c:2555:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2555 | read (evpipe [0], &dummy, sizeof (dummy)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LINUX_AIO_ABI_H -DEV_USE_LINUXAIO -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -m64 -o selector.o -c selector.c selector.c: In function 'NIO_Selector_synchronize': selector.c:286:26: warning: passing argument 1 of 'rb_ensure' from incompatible pointer type [-Wincompatible-pointer-types] 286 | return rb_ensure(func, (VALUE)args, NIO_Selector_unlock, self); | ^~~~ | | | VALUE (*)(VALUE *) {aka long unsigned int (*)(long unsigned int *)} In file included from /usr/include/ruby/ruby.h:38, from /usr/include/ruby.h:38, from nio4r.h:9, from selector.c:6: /usr/include/ruby/internal/iterator.h:53:17: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE *)' {aka 'long unsigned int (*)(long unsigned int *)'} 53 | VALUE rb_ensure(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE),VALUE); | ^~~~~~~~~~~~~~~ selector.c: In function 'NIO_Selector_wakeup': selector.c:484:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 484 | write(selector->wakeup_writer, "\0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f nio4r_ext.so gcc -shared -o nio4r_ext.so bytebuffer.o monitor.o nio4r_ext.o selector.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -lruby -lm -lc current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20220110-1902059-dkxk0u exit > .sitearchdir.time /usr/bin/install -c -m 0755 nio4r_ext.so ./.gem.20220110-1902059-dkxk0u current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20220110-1902059-189nba.rb extconf.rb current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make DESTDIR\= clean current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make DESTDIR\= current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make DESTDIR\= install Successfully installed nio4r-2.5.2 Parsing documentation for nio4r-2.5.2 Parsing sources... 2% [ 1/36] ext/libev/Changes 5% [ 2/36] ext/libev/LICENSE 8% [ 3/36] ext/libev/README 11% [ 4/36] ext/libev/ev.c 13% [ 5/36] ext/libev/ev.h 16% [ 6/36] ext/libev/ev_epoll.c 19% [ 7/36] ext/libev/ev_kqueue.c 22% [ 8/36] ext/libev/ev_linuxaio.c 25% [ 9/36] ext/libev/ev_poll.c 27% [10/36] ext/libev/ev_port.c 30% [11/36] ext/libev/ev_select.c 33% [12/36] ext/libev/ev_vars.h 36% [13/36] ext/libev/ev_win32.c 38% [14/36] ext/libev/ev_wrap.h 41% [15/36] ext/nio4r/Makefile 44% [16/36] ext/nio4r/bytebuffer.c 47% [17/36] ext/nio4r/bytebuffer.o 50% [18/36] ext/nio4r/extconf.rb 52% [19/36] ext/nio4r/libev.h 55% [20/36] ext/nio4r/monitor.c 58% [21/36] ext/nio4r/monitor.o 61% [22/36] ext/nio4r/nio4r.h 63% [23/36] ext/nio4r/nio4r_ext.c 66% [24/36] ext/nio4r/nio4r_ext.o 69% [25/36] ext/nio4r/nio4r_ext.so 72% [26/36] ext/nio4r/org/nio4r/ByteBuffer.java 75% [27/36] ext/nio4r/org/nio4r/Monitor.java 77% [28/36] ext/nio4r/org/nio4r/Nio4r.java 80% [29/36] ext/nio4r/org/nio4r/Selector.java 83% [30/36] ext/nio4r/selector.c 86% [31/36] ext/nio4r/selector.o 88% [32/36] lib/nio.rb 91% [33/36] lib/nio/bytebuffer.rb 94% [34/36] lib/nio/monitor.rb 97% [35/36] lib/nio/selector.rb 100% [36/36] lib/nio/version.rb Installing ri documentation for nio4r-2.5.2 Installing darkfish documentation for nio4r-2.5.2 Done installing documentation for nio4r after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qdieva + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 + cd nio4r-2.5.2 + mkdir -p /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2 + cp -a ./usr/lib64/gems/ruby/nio4r-2.5.2/gem.build_complete ./usr/lib64/gems/ruby/nio4r-2.5.2/nio4r_ext.so /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2/ + rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/share/gems/gems/nio4r-2.5.2/ext/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.5.2-6.el9 --unique-debug-suffix -2.5.2-6.el9.x86_64 --unique-debug-src-base rubygem-nio4r-2.5.2-6.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/nio4r-2.5.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2/nio4r_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2/nio4r_ext.so original debug info size: 348kB, size after compression: 324kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 507 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/nio4r-2.5.2/examples/echo_server.rb from /usr/bin/env ruby to #!/usr/bin/ruby Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.34KKlz + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.5.2 ~/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2 ~/build/BUILD/nio4r-2.5.2 + pushd ./usr/share/gems/gems/nio4r-2.5.2 ++ grep EV_VERSION_MAJOR ext/libev/ev.h ++ cut -d ' ' -f3 + EV_VERSION_MAJOR=4 ++ grep EV_VERSION_MINOR ext/libev/ev.h ++ cut -d ' ' -f3 + EV_VERSION_MINOR=27 + '[' 4.27 = 4.27 ']' + sed -i '/require "coveralls"/ s/^/#/' spec/spec_helper.rb + sed -i '/Coveralls.wear!/ s/^/#/' spec/spec_helper.rb ++ dirs +1 + rspec -I~/build/BUILD/nio4r-2.5.2/usr/lib64/gems/ruby/nio4r-2.5.2 spec Randomized with seed 57058 IO.pipe behaves like an NIO selectable does not select unreadable objects does not select unwritable objects selects readable objects selects writable objects behaves like an NIO selectable stream selects readable when the other end closes TCPSocket behaves like an NIO selectable does not select unwritable objects (PENDING: Failed to produce an unwritable socket) does not select unreadable objects selects writable objects selects readable objects behaves like an NIO selectable stream selects readable when the other end closes behaves like an NIO bidirectional stream selects readable and writable keeps readiness after the selectable has been closed connect selects writable when connected UDPSocket behaves like an NIO selectable does not select unwritable objects (PENDING: come up with a UDPSocket that's blocked on writing) selects writable objects selects readable objects does not select unreadable objects NIO::ByteBuffer #full? returns false when there is space remaining in the buffer returns true when the buffer is full #<< raises NIO::ByteBuffer::OverflowError if the buffer is full raises TypeError if given a non-String type adds strings to the buffer #compact copies data from the current position to the beginning of the buffer #each iterates over data in the buffer I/O #read_from reads data into the buffer returns 0 if no data is available raises NIO::ByteBuffer::OverflowError if the buffer is already full #write_to raises NIO::ByteBuffer::UnderflowError if the buffer is out of data writes data from the buffer #get reads all remaining data if no length is given raises NIO::ByteBuffer::UnderflowError if there is not enough data in the buffer advances position as data is read reads zeroes from a newly initialized buffer #initialize raises TypeError if given a bogus argument #[] raises ArgumentError if the index exceeds the limit obtains bytes at a given index without altering position raises ArgumentError if the index is less than zero #remaining calculates the number of bytes remaining #clear clears the buffer #mark returns self #rewind rewinds the buffer leaving the limit intact #reset returns to a previously marked position raises NIO::ByteBuffer::MarkUnsetError unless mark has been set #inspect inspects the buffer offsets #capacity has the requested capacity #limit= sets the buffer's limit to a valid value clears the mark if the new limit is before the current mark preserves position and mark if they're less than the new limit raises ArgumentError if specified limit is less than zero raises ArgumentError if specified limit exceeds capacity sets position to the new limit if the previous position is beyond the limit #limit defaults to the buffer's capacity #flip flips the bytebuffer sets remaining to the previous position sets limit to the previous position #position= sets the buffer's position to a valid value raises ArgumentError if the specified position exceeds the limit raises ArgumentError if the specified position is less than zero #position defaults to zero OpenSSL::SSL::SSLSocket using TLS 1.3 behaves like an NIO selectable does not select unreadable objects selects readable objects selects writable objects does not select unwritable objects behaves like an NIO selectable stream selects readable when the other end closes using TLS 1.2 behaves like an NIO selectable selects writable objects does not select unwritable objects selects readable objects does not select unreadable objects behaves like an NIO selectable stream selects readable when the other end closes NIO::Monitor #selector knows its selector #io knows its IO object #interests= can set interests to nil changes the interest set raises EOFError if interests are changed after the monitor is closed #add_interest raises ArgumentError if given a bogus option sets a new interest if it isn't currently registered acts idempotently #value= stores arbitrary values #remove_interest acts idempotently removes an interest from the set can clear the last interest raises ArgumentError if given a bogus option #readiness knows what operations IO objects are ready for #close closes even if the selector has been shutdown closes #interests knows its interests NIO::Selector allows reregistration of the same IO object across select calls deregisters IO objects reports if it is empty knows which IO objects are registered closes allows deregistering closed IO objects timeouts waits for a timeout when selecting with reader raises ArgumentError if given a negative timeout waits for timeout when selecting from empty selector wakeup raises IOError if asked to wake up a closed selector wakes up if signaled to from another thread register registers IO objects raises TypeError if asked to register non-IO objects raises when asked to register after closing .backends knows all supported backends backend knows its backend Current backend: epoll select iterates across selected objects with a block does not block on super small precision intervals raises IOError if asked to select on a closed selector selects closed IO objects selects IO objects #initialize raises TypeError if given a non-Symbol parameter allows explicitly specifying a backend Supported backends: [:epoll, :poll, :select] raises ArgumentError if given an invalid backend NIO acceptables TCPServer behaves like an NIO acceptable selects for read readiness Pending: (Failures listed here are expected and do not affect your suite's status) 1) TCPSocket behaves like an NIO selectable does not select unwritable objects # Failed to produce an unwritable socket Failure/Error: expect(ready).to be_nil expected: nil got: [#] Shared Example Group: "an NIO selectable" called from ./spec/nio/selectables/tcp_socket_spec.rb:72 # ./spec/support/selectable_examples.rb:38:in `block (2 levels) in ' 2) UDPSocket behaves like an NIO selectable does not select unwritable objects # come up with a UDPSocket that's blocked on writing Failure/Error: selector.register(unwritable_subject, :w) TypeError: no implicit conversion of false into IO Shared Example Group: "an NIO selectable" called from ./spec/nio/selectables/udp_socket_spec.rb:47 # ./spec/support/selectable_examples.rb:36:in `initialize' # ./spec/support/selectable_examples.rb:36:in `register' # ./spec/support/selectable_examples.rb:36:in `block (2 levels) in ' Finished in 9.8 seconds (files took 0.18157 seconds to load) 111 examples, 0 failures, 2 pending Randomized with seed 57058 + popd ~/build/BUILD/nio4r-2.5.2 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-nio4r-2.5.2-6.el9.x86_64 Provides: bundled(libev) = 4.27 rubygem(nio4r) = 2.5.2 rubygem-nio4r = 2.5.2-6.el9 rubygem-nio4r(x86-64) = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.9)(64bit) libruby.so.3.0()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-nio4r-doc-2.5.2-6.el9.noarch Provides: rubygem-nio4r-doc = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/ruby Processing files: rubygem-nio4r-debugsource-2.5.2-6.el9.x86_64 Provides: rubygem-nio4r-debugsource = 2.5.2-6.el9 rubygem-nio4r-debugsource(x86-64) = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-nio4r-debuginfo-2.5.2-6.el9.x86_64 Provides: debuginfo(build-id) = 0f563a07c8aa714911450f8a8d16dc734532ca29 rubygem-nio4r-debuginfo = 2.5.2-6.el9 rubygem-nio4r-debuginfo(x86-64) = 2.5.2-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-nio4r-debugsource(x86-64) = 2.5.2-6.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 Wrote: /builddir/build/RPMS/rubygem-nio4r-2.5.2-6.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-debugsource-2.5.2-6.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-debuginfo-2.5.2-6.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-doc-2.5.2-6.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9eqSLJ + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-6.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0