Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'], chrootPath='/var/lib/mock/f31-build-95556-32658/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/rubygem-nio4r-2.4.0-2.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rubygem-nio4r.spec'], chrootPath='/var/lib/mock/f31-build-95556-32658/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7eRg5G + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nio4r-2.4.0 + /usr/bin/gem unpack /builddir/build/SOURCES/nio4r-2.4.0.gem + /usr/bin/gem spec /builddir/build/SOURCES/nio4r-2.4.0.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd nio4r-2.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Unpacked gem: '/builddir/build/BUILD/nio4r-2.4.0' Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MMFrPE + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.4.0 + gem build ../nio4r-2.4.0.gemspec BUILDSTDERR: WARNING: open-ended dependency on bundler (>= 0, development) is not recommended BUILDSTDERR: if bundler is semantically versioned, use: BUILDSTDERR: add_development_dependency 'bundler', '~> 0' BUILDSTDERR: WARNING: open-ended dependency on rake (>= 0, development) is not recommended BUILDSTDERR: if rake is semantically versioned, use: BUILDSTDERR: add_development_dependency 'rake', '~> 0' BUILDSTDERR: WARNING: See http://guides.rubygems.org/specification-reference/ for help + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc nio4r-2.4.0.gem BUILDSTDERR: WARNING: You build with buildroot. BUILDSTDERR: Build root: /builddir/build/BUILD/nio4r-2.4.0 BUILDSTDERR: Bin dir: /builddir/build/BUILD/nio4r-2.4.0/usr/bin BUILDSTDERR: Gem home: /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems Successfully built RubyGem Name: nio4r Version: 2.4.0 File: nio4r-2.4.0.gem /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/.gitignore /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/.rspec /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/.rubocop.yml /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/.travis.yml /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/CHANGES.md /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/Gemfile /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/Guardfile /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/LICENSE.txt /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/README.md /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/Rakefile /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/appveyor.yml /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/examples/echo_server.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/libev/Changes /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/libev/LICENSE /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/libev/README /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/libev/ev.c /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/libev/ev.h /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/libev/ev_epoll.c /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/libev/ev_kqueue.c /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/libev/ev_poll.c /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/libev/ev_port.c /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/libev/ev_select.c /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/libev/ev_vars.h /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/libev/ev_win32.c /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/libev/ev_wrap.h /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r/bytebuffer.c /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r/extconf.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r/libev.h /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r/monitor.c /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r/nio4r.h /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r/nio4r_ext.c /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r/org/nio4r/ByteBuffer.java /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r/org/nio4r/Monitor.java /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r/org/nio4r/Nio4r.java /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r/org/nio4r/Selector.java /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r/selector.c /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/lib/nio.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/lib/nio/bytebuffer.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/lib/nio/monitor.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/lib/nio/selector.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/lib/nio/version.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/logo.png /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/nio4r.gemspec /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/rakelib/extension.rake /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/rakelib/rspec.rake /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/rakelib/rubocop.rake /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/spec/nio/acceptables_spec.rb BUILDSTDERR: /builddir/build/BUILD/nio4r-2.4.0/usr/In file included from nio4r_ext.c:7: BUILDSTDERR: ../libev/ev.c:494:48: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 494 | /*#define MIN_INTERVAL 0.00000095367431640625 /* 1/2**20, good till 2200 */ BUILDSTDERR: | BUILDSTDERR: In file included from nio4r_ext.c:7: BUILDSTDERR: ../libev/ev.c:1845:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' BUILDSTDERR: 1845 | EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../libev/ev.c:193, BUILDSTDERR: from nio4r_ext.c:7: BUILDSTDERR: ../libev/ev_poll.c: In function 'poll_poll': BUILDSTDERR: ../libev/ev_poll.c:111:77: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 111 | assert (("libev: poll() returned illegal result, broken BSD kernel?", p < polls + pollcnt)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev_poll.c:111:77: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 111 | assert (("libev: poll() returned illegal result, broken BSD kernel?", p < polls + pollcnt)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c: In function 'verify_watcher': BUILDSTDERR: ../libev/ev.c:3135:49: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3135 | assert (("libev: watcher has invalid priority", ABSPRI (w) >= 0 && ABSPRI (w) < NUMPRI)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3135:49: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3135 | assert (("libev: watcher has invalid priority", ABSPRI (w) >= 0 && ABSPRI (w) < NUMPRI)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3138:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3138 | assert (("libev: pending watcher not on pending queue", pendings [ABSPRI (w)][w->pending - 1].w == w)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3138:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3138 | assert (("libev: pending watcher not on pending queue", pendings [ABSPRI (w)][w->pending - 1].w == w)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c: In function 'verify_heap': BUILDSTDERR: ../libev/ev.c:3149:54: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3149 | assert (("libev: active index mismatch in heap", ev_active (ANHE_w (heap [i])) == i)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3149:54: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3149 | assert (("libev: active index mismatch in heap", ev_active (ANHE_w (heap [i])) == i)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3150:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3150 | assert (("libev: heap condition violated", i == HEAP0 || ANHE_at (heap [HPARENT (i)]) <= ANHE_at (heap [i]))); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3150:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3150 | assert (("libev: heap condition violated", i == HEAP0 || ANHE_at (heap [HPARENT (i)]) <= ANHE_at (heap [i]))); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3151:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3151 | assert (("libev: heap at cache mismatch", ANHE_at (heap [i]) == ev_at (ANHE_w (heap [i])))); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3151:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3151 | assert (("libev: heap at cache mismatch", ANHE_at (heap [i]) == ev_at (ANHE_w (heap [i])))); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c: In function 'array_verify': BUILDSTDERR: ../libev/ev.c:3163:46: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3163 | assert (("libev: active index mismatch", ev_active (ws [cnt]) == cnt + 1)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3163:46: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3163 | assert (("libev: active index mismatch", ev_active (ws [cnt]) == cnt + 1)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c: In function 'ev_verify': BUILDSTDERR: ../libev/ev.c:3181:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3181 | assert (("libev: negative fd in fdchanges", fdchanges [i] >= 0)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3181:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3181 | assert (("libev: negative fd in fdchanges", fdchanges [i] >= 0)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3194:64: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3194 | assert (("libev: io watcher list contains a loop", w != w2)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3194:64: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3194 | assert (("libev: io watcher list contains a loop", w != w2)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3198:61: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3198 | assert (("libev: inactive fd watcher on anfd list", ev_active (w) == 1)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3198:61: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3198 | assert (("libev: inactive fd watcher on anfd list", ev_active (w) == 1)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3199:65: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3199 | assert (("libev: fd mismatch between watcher and anfd", ((ev_io *)w)->fd == i)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3199:65: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3199 | assert (("libev: fd mismatch between watcher and anfd", ((ev_io *)w)->fd == i)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c: In function 'timers_reify': BUILDSTDERR: ../libev/ev.c:3385:93: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3385 | assert (("libev: negative ev_timer repeat value found while processing timers", w->repeat > 0.)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3385:93: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3385 | assert (("libev: negative ev_timer repeat value found while processing timers", w->repeat > 0.)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c: In function 'periodics_reify': BUILDSTDERR: ../libev/ev.c:3448:90: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3448 | assert (("libev: ev_periodic reschedule callback returned time in the past", ev_at (w) >= ev_rt_now)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3448:90: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3448 | assert (("libev: ev_periodic reschedule callback returned time in the past", ev_at (w) >= ev_rt_now)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from nio4r_ext.c:7: BUILDSTDERR: ../libev/ev.c: In function 'ev_backend_poll': BUILDSTDERR: ../libev/ev.c:3594:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: 3594 | } BUILDSTDERR: | ^ BUILDSTDERR: In file included from ../libev/ev.c:193, BUILDSTDERR: from nio4r_ext.c:7: BUILDSTDERR: ../libev/ev.c: In function 'ev_run': BUILDSTDERR: ../libev/ev.c:3608:62: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3608 | assert (("libev: ev_loop recursion during release detected", loop_done != EVBREAK_RECURSE)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3608:62: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3608 | assert (("libev: ev_loop recursion during release detected", loop_done != EVBREAK_RECURSE)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from nio4r_ext.c:7: BUILDSTDERR: ../libev/ev.c:3764:36: warning: passing argument 1 of 'rb_thread_call_without_gvl' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 3764 | rb_thread_call_without_gvl(ev_backend_poll, (void *)&poll_args, RUBY_UBF_IO, 0); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | VALUE (*)(void *) {aka long unsigned int (*)(void *)} BUILDSTDERR: In file included from ../libev/ev.c:42, BUILDSTDERR: from nio4r_ext.c:7: BUILDSTDERR: /usr/include/ruby/thread.h:28:7: note: expected 'void * (*)(void *)' but argument is of type 'VALUE (*)(void *)' {aka 'long unsigned int (*)(void *)'} BUILDSTDERR: 28 | void *rb_thread_call_without_gvl(void *(*func)(void *), void *data1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ../libev/ev.c:193, BUILDSTDERR: from nio4r_ext.c:7: BUILDSTDERR: ../libev/ev.c:3776:70: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3776 | assert (("libev: pipe_w not active, but pipe not written", ev_is_active (&pipe_w))); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3776:70: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3776 | assert (("libev: pipe_w not active, but pipe not written", ev_is_active (&pipe_w))); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c: In function 'ev_io_start': BUILDSTDERR: ../libev/ev.c:3951:56: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3951 | assert (("libev: ev_io_start called with negative fd", fd >= 0)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3951:56: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3951 | assert (("libev: ev_io_start called with negative fd", fd >= 0)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3952:63: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3952 | assert (("libev: ev_io_start called with illegal event mask", !(w->events & ~(EV__IOFDSET | EV_READ | EV_WRITE)))); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3952:63: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3952 | assert (("libev: ev_io_start called with illegal event mask", !(w->events & ~(EV__IOFDSET | EV_READ | EV_WRITE)))); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3961:62: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3961 | assert (("libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3961:62: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3961 | assert (("libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from nio4r_ext.c:7: BUILDSTDERR: ../libev/ev.c:3963:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 3963 | fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY); BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from ../libev/ev.c:193, BUILDSTDERR: from nio4r_ext.c:7: BUILDSTDERR: ../libev/ev.c: In function 'ev_io_stop': BUILDSTDERR: ../libev/ev.c:3977:88: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3977 | assert (("libev: ev_io_stop called with illegal fd (must stay constant after start!)", w->fd >= 0 && w->fd < anfdmax)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3977:88: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3977 | assert (("libev: ev_io_stop called with illegal fd (must stay constant after start!)", w->fd >= 0 && w->fd < anfdmax)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c: In function 'ev_timer_start': BUILDSTDERR: ../libev/ev.c:3998:75: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3998 | assert (("libev: ev_timer_start called with negative timer repeat value", w->repeat >= 0.)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:3998:75: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 3998 | assert (("libev: ev_timer_start called with negative timer repeat value", w->repeat >= 0.)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c: In function 'ev_timer_stop': BUILDSTDERR: ../libev/ev.c:4027:53: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 4027 | assert (("libev: internal timer heap corruption", ANHE_w (timers [active]) == (WT)w)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:4027:53: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 4027 | assert (("libev: internal timer heap corruption", ANHE_w (timers [active]) == (WT)w)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c: In function 'ev_periodic_start': BUILDSTDERR: ../libev/ev.c:4091:78: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 4091 | assert (("libev: ev_periodic_start called with negative interval value", w->interval >= 0.)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:4091:78: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 4091 | assert (("libev: ev_periodic_start called with negative interval value", w->interval >= 0.)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c: In function 'ev_periodic_stop': BUILDSTDERR: ../libev/ev.c:4124:56: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 4124 | assert (("libev: internal periodic heap corruption", ANHE_w (periodics [active]) == (WT)w)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:4124:56: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 4124 | assert (("libev: internal periodic heap corruption", ANHE_w (periodics [active]) == (WT)w)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c: In function 'ev_signal_start': BUILDSTDERR: ../libev/ev.c:4163:70: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 4163 | assert (("libev: ev_signal_start called with illegal signal number", w->signum > 0 && w->signum < EV_NSIG)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:4163:70: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 4163 | assert (("libev: ev_signal_start called with illegal signal number", w->signum > 0 && w->signum < EV_NSIG)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:4166:73: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 4166 | assert (("libev: a signal must not be attached to two different loops", BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:4166:73: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 4166 | assert (("libev: a signal must not be attached to two different loops", BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c: In function 'ev_child_start': BUILDSTDERR: ../libev/ev.c:4285:74: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 4285 | assert (("libev: child watchers are only supported in the default loop", loop == ev_default_loop_ptr)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:4285:74: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 4285 | assert (("libev: child watchers are only supported in the default loop", loop == ev_default_loop_ptr)); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c: In function 'ev_embed_start': BUILDSTDERR: ../libev/ev.c:4870:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 4870 | assert (("libev: loop to be embedded is not embeddable", backend & ev_embeddable_backends ())); BUILDSTDERR: | ^ BUILDSTDERR: ../libev/ev.c:4870:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 4870 | assert (("libev: loop to be embedded is not embeddable", backend & ev_embeddable_backends ())); BUILDSTDERR: | ^ BUILDSTDERR: In file included from nio4r_ext.c:7: BUILDSTDERR: ../libev/ev.c: At top level: BUILDSTDERR: ../libev/ev.c:5220:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 5220 | /* EV_STAT 0x00001000 /* stat data changed */ BUILDSTDERR: | BUILDSTDERR: ../libev/ev.c:5221:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 5221 | /* EV_EMBED 0x00010000 /* embedded event loop needs sweep */ BUILDSTDERR: | BUILDSTDERR: nio4r_ext.c: In function 'Init_nio4r_ext': BUILDSTDERR: nio4r_ext.c:15:22: warning: passing argument 1 of 'ev_set_allocator' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 15 | ev_set_allocator(xrealloc); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | void * (*)(void *, size_t) {aka void * (*)(void *, long unsigned int)} BUILDSTDERR: In file included from nio4r_ext.c:7: BUILDSTDERR: ../libev/ev.c:1747:27: note: expected 'void * (*)(void *, long int)' but argument is of type 'void * (*)(void *, size_t)' {aka 'void * (*)(void *, long unsigned int)'} BUILDSTDERR: 1747 | ev_set_allocator (void *(*cb)(void *ptr, long size) EV_NOEXCEPT) EV_NOEXCEPT BUILDSTDERR: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from nio4r_ext.c:7: BUILDSTDERR: ../libev/ev.c: In function 'evpipe_write': BUILDSTDERR: ../libev/ev.c:2484:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2484 | write (evpipe [1], &counter, sizeof (uint64_t)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../libev/ev.c:2496:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2496 | write (evpipe [1], &(evpipe [1]), 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../libev/ev.c: In function 'pipecb': BUILDSTDERR: ../libev/ev.c:2517:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2517 | read (evpipe [1], &counter, sizeof (uint64_t)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../libev/ev.c:2531:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2531 | read (evpipe [0], &dummy, sizeof (dummy)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: selector.c: In function 'NIO_Selector_wakeup': BUILDSTDERR: selector.c:484:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 484 | write(selector->wakeup_writer, "\0", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ share/gems/gems/nio4r-2.4.0/spec/nio/bytebuffer_spec.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/spec/nio/monitor_spec.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/spec/nio/selectables/pipe_spec.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/spec/nio/selectables/ssl_socket_spec.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/spec/nio/selectables/tcp_socket_spec.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/spec/nio/selectables/udp_socket_spec.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/spec/nio/selector_spec.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/spec/spec_helper.rb /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/spec/support/selectable_examples.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r /usr/bin/ruby -r ./siteconf20190815-9121-18c1cnl.rb extconf.rb checking for unistd.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.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r make "DESTDIR=" clean rm -f rm -f nio4r_ext.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r make "DESTDIR=" gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -o bytebuffer.o -c bytebuffer.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -o monitor.o -c monitor.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -o nio4r_ext.o -c nio4r_ext.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_RESOURCE_H -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -o selector.o -c selector.c rm -f nio4r_ext.so BUILDSTDERR: gcc -shared -o nio4r_ext.so bytebuffer.o monitor.o nio4r_ext.o selector.o -L. -L/usr/lib64 -L. -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-z,relro + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lruby -lc current directory: /builddir/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0/ext/nio4r make "DESTDIR=" install /usr/bin/mkdir -p . ./.gem.20190815-9121-tgjqmr exit > .sitearchdir.time /usr/bin/install -c -m 0755 nio4r_ext.so ./.gem.20190815-9121-tgjqmr Successfully installed nio4r-2.4.0 Parsing documentation for nio4r-2.4.0 Parsing sources... 2% [ 1/35] ext/libev/Changes 5% [ 2/35] ext/libev/LICENSE 8% [ 3/35] ext/libev/README 11% [ 4/35] ext/libev/ev.c 14% [ 5/35] ext/libev/ev.h 17% [ 6/35] ext/libev/ev_epoll.c 20% [ 7/35] ext/libev/ev_kqueue.c 22% [ 8/35] ext/libev/ev_poll.c 25% [ 9/35] ext/libev/ev_port.c 28% [10/35] ext/libev/ev_select.c 31% [11/35] ext/libev/ev_vars.h 34% [12/35] ext/libev/ev_win32.c 37% [13/35] ext/libev/ev_wrap.h 40% [14/35] ext/nio4r/Makefile 42% [15/35] ext/nio4r/bytebuffer.c 45% [16/35] ext/nio4r/bytebuffer.o 48% [17/35] ext/nio4r/extconf.rb 51% [18/35] ext/nio4r/libev.h 54% [19/35] ext/nio4r/monitor.c 57% [20/35] ext/nio4r/monitor.o 60% [21/35] ext/nio4r/nio4r.h 62% [22/35] ext/nio4r/nio4r_ext.c 65% [23/35] ext/nio4r/nio4r_ext.o 68% [24/35] ext/nio4r/nio4r_ext.so 71% [25/35] ext/nio4r/org/nio4r/ByteBuffer.java 74% [26/35] ext/nio4r/org/nio4r/Monitor.java 77% [27/35] ext/nio4r/org/nio4r/Nio4r.java 80% [28/35] ext/nio4r/org/nio4r/Selector.java 82% [29/35] ext/nio4r/selector.c 85% [30/35] ext/nio4r/selector.o 88% [31/35] lib/nio.rb 91% [32/35] lib/nio/bytebuffer.rb 94% [33/35] lib/nio/monitor.rb 97% [34/35] lib/nio/selector.rb 100% [35/35] lib/nio/version.rb Installing ri documentation for nio4r-2.4.0 Installing darkfish documentation for nio4r-2.4.0 Done installing documentation for nio4r after 27 seconds 1 gem installed Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ghBSyG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-nio4r-2.4.0-2.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.4.0-2.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rubygem-nio4r-2.4.0-2.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-nio4r-2.4.0-2.fc31.riscv64 + cd nio4r-2.4.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-nio4r-2.4.0-2.fc31.riscv64/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/specifications /builddir/build/BUILDROOT/rubygem-nio4r-2.4.0-2.fc31.riscv64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-nio4r-2.4.0-2.fc31.riscv64/usr/lib64/gems/ruby/nio4r-2.4.0 + cp -a ./usr/lib64/gems/ruby/nio4r-2.4.0/gem.build_complete ./usr/lib64/gems/ruby/nio4r-2.4.0/nio4r_ext.so /builddir/build/BUILDROOT/rubygem-nio4r-2.4.0-2.fc31.riscv64/usr/lib64/gems/ruby/nio4r-2.4.0/ + rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.4.0-2.fc31.riscv64/usr/share/gems/gems/nio4r-2.4.0/ext/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.4.0-2.fc31 --unique-debug-suffix -2.4.0-2.fc31.riscv64 --unique-debug-src-base rubygem-nio4r-2.4.0-2.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/nio4r-2.4.0 BUILDSTDERR: 457 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-nio4r-2.4.0-2.fc31.riscv64/usr/lib64/gems/ruby/nio4r-2.4.0/nio4r_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-nio4r-2.4.0-2.fc31.riscv64/usr/lib64/gems/ruby/nio4r-2.4.0/nio4r_ext.so original debug info size: 384kB, size after compression: 360kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. mangling shebang in /usr/share/gems/gems/nio4r-2.4.0/examples/echo_server.rb from /usr/bin/env ruby to #!/usr/bin/ruby Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.0COikG + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.4.0 + pushd ./usr/share/gems/gems/nio4r-2.4.0 BUILDSTDERR: ++ cut -d ' ' -f3 BUILDSTDERR: ++ grep EV_VERSION_MAJOR ext/libev/ev.h + EV_VERSION_MAJOR=4 BUILDSTDERR: ++ cut -d ' ' -f3 BUILDSTDERR: ++ grep EV_VERSION_MINOR ext/libev/ev.h + EV_VERSION_MINOR=25 + '[' 4.25 = 4.25 ']' + sed -i '/require "coveralls"/ s/^/#/' spec/spec_helper.rb + sed -i '/Coveralls.wear!/ s/^/#/' spec/spec_helper.rb BUILDSTDERR: ++ dirs +1 + rspec -I~/build/BUILD/nio4r-2.4.0/usr/lib64/gems/ruby/nio4r-2.4.0 spec ~/build/BUILD/nio4r-2.4.0/usr/share/gems/gems/nio4r-2.4.0 ~/build/BUILD/nio4r-2.4.0 Randomized with seed 9614 NIO acceptables TCPServer behaves like an NIO acceptable selects for read readiness NIO::ByteBuffer #mark returns self #inspect inspects the buffer offsets #rewind rewinds the buffer leaving the limit intact #get 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 reads all remaining data if no length is given #initialize raises TypeError if given a bogus argument #flip flips the bytebuffer sets remaining to the previous position sets limit to the previous position 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 #each iterates over data in the buffer #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 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 sets the buffer's limit to a valid value #limit defaults to the buffer's capacity #<< 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 #[] 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 #capacity has the requested capacity #remaining calculates the number of bytes remaining #compact copies data from the current position to the beginning of the buffer #position defaults to zero #position= raises ArgumentError if the specified position is less than zero raises ArgumentError if the specified position exceeds the limit sets the buffer's position to a valid value #reset raises NIO::ByteBuffer::MarkUnsetError unless mark has been set returns to a previously marked position #full? returns false when there is space remaining in the buffer returns true when the buffer is full TCPSocket behaves like an NIO bidirectional stream keeps readiness after the selectable has been closed selects readable and writable behaves like an NIO selectable stream selects readable when the other end closes connect selects writable when connected behaves like an NIO selectable selects writable objects does not select unwritable objects does not select unreadable objects selects readable objects OpenSSL::SSL::SSLSocket using TLS 1.2 behaves like an NIO selectable selects readable objects selects writable objects does not select unreadable objects does not select unwritable objects behaves like an NIO selectable stream selects readable when the other end closes UDPSocket behaves like an NIO selectable selects writable objects selects readable objects does not select unreadable objects does not select unwritable objects (PENDING: come up with a UDPSocket that's blocked on writing) NIO::Monitor #remove_interest removes an interest from the set acts idempotently raises ArgumentError if given a bogus option can clear the last interest #interests= changes the interest set raises EOFError if interests are changed after the monitor is closed can set interests to nil #add_interest acts idempotently raises ArgumentError if given a bogus option sets a new interest if it isn't currently registered #interests knows its interests #close closes BUILDSTDERR: closes even if the selector has be+ popd + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 en shutdown #value= stores arbitrary values #selector knows its selector #io knows its IO object #readiness knows what operations IO objects are ready for NIO::Selector closes allows reregistration of the same IO object across select calls deregisters IO objects knows which IO objects are registered reports if it is empty wakeup raises IOError if asked to wake up a closed selector wakes up if signaled to from another thread timeouts raises ArgumentError if given a negative timeout waits for a timeout when selecting backend knows its backend select selects IO objects iterates across selected objects with a block raises IOError if asked to select on a closed selector does not block on super small precision intervals selects closed IO objects 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 raises ArgumentError if given an invalid backend allows explicitly specifying a backend raises TypeError if given a non-Symbol parameter IO.pipe behaves like an NIO selectable selects writable objects selects readable objects does not select unreadable objects does not select unwritable objects behaves like an NIO selectable stream selects readable when the other end closes 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 ' Finished in 18.65 seconds (files took 9.24 seconds to load) 104 examples, 0 failures, 1 pending Randomized with seed 9614 ~/build/BUILD/nio4r-2.4.0 Processing files: rubygem-nio4r-2.4.0-2.fc31.riscv64 Provides: bundled(libev) = 4.25 rubygem(nio4r) = 2.4.0-1 rubygem-nio4r = 2.4.0-2.fc31 rubygem-nio4r(riscv-64) = 2.4.0-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libruby.so.2.5()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-nio4r-doc-2.4.0-2.fc31.noarch Provides: rubygem-nio4r-doc = 2.4.0-2.fc31 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.4.0-2.fc31.riscv64 Provides: rubygem-nio4r-debugsource = 2.4.0-2.fc31 rubygem-nio4r-debugsource(riscv-64) = 2.4.0-2.fc31 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.4.0-2.fc31.riscv64 Provides: debuginfo(build-id) = e8543be36bde9e50d024a85455d40579a4506e9f rubygem-nio4r-debuginfo = 2.4.0-2.fc31 rubygem-nio4r-debuginfo(riscv-64) = 2.4.0-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-nio4r-debugsource(riscv-64) = 2.4.0-2.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-nio4r-2.4.0-2.fc31.riscv64 Wrote: /builddir/build/RPMS/rubygem-nio4r-2.4.0-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-debugsource-2.4.0-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-debuginfo-2.4.0-2.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-doc-2.4.0-2.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jvPK2G + umask 022 + cd /builddir/build/BUILD + cd nio4r-2.4.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.4.0-2.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0