Mock Version: 1.4.21 Mock Version: 1.4.21 Mock Version: 1.4.21 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/1240953-epel-7-x86_64-1581799177.909955/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kwoj35wo:/etc/resolv.conf']unshare_net=TrueprintOutput=True) 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/1240953-epel-7-x86_64-1581799177.909955/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kwoj35wo:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kwoj35wo:/etc/resolv.conf'] Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kwoj35wo:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ce588afba38c45a8b81d5c1d6fe05a3d', '-D', '/var/lib/mock/1240953-epel-7-x86_64-1581799177.909955/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kwoj35wo:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', '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': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ce588afba38c45a8b81d5c1d6fe05a3d', '-D', '/var/lib/mock/1240953-epel-7-x86_64-1581799177.909955/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kwoj35wo:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', '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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-nio4r-2.5.2-1.el7.1.src.rpm Wrote: /builddir/build/SRPMS/rubygem-nio4r-2.5.2-1.el7.1.src.rpm Child return code was: 0 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/1240953-epel-7-x86_64-1581799177.909955/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kwoj35wo:/etc/resolv.conf']unshare_net=TrueprintOutput=True) 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/1240953-epel-7-x86_64-1581799177.909955/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kwoj35wo:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kwoj35wo:/etc/resolv.conf'] Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kwoj35wo:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7bac46b12796481b8ad267fabb956b3a', '-D', '/var/lib/mock/1240953-epel-7-x86_64-1581799177.909955/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kwoj35wo:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', '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': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7bac46b12796481b8ad267fabb956b3a', '-D', '/var/lib/mock/1240953-epel-7-x86_64-1581799177.909955/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kwoj35wo:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', '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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tCV6sk Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tCV6sk + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/nio4r-2.5.2.gem + gem unpack /builddir/build/SOURCES/nio4r-2.5.2.gem Unpacked gem: '/builddir/build/BUILD/nio4r-2.5.2' Unpacked gem: '/builddir/build/BUILD/nio4r-2.5.2' + gem specification /builddir/build/SOURCES/nio4r-2.5.2.gem -l --ruby + gem specification /builddir/build/SOURCES/nio4r-2.5.2.gem -l --ruby + cd /builddir/build/BUILD + cd /builddir/build/BUILD + /usr/bin/tar -xf /builddir/build/SOURCES/nio4r-2.5.2.gem + /usr/bin/tar -xf /builddir/build/SOURCES/nio4r-2.5.2.gem + cd nio4r-2.5.2 + cd nio4r-2.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.z3CP6F Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.z3CP6F + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd nio4r-2.5.2 + cd nio4r-2.5.2 + gem build ../nio4r-2.5.2.gemspec + gem build ../nio4r-2.5.2.gemspec WARNING: open-ended dependency on bundler (>= 0, development) is not recommended WARNING: open-ended dependency on bundler (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rake (>= 0, development) is not recommended WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' use a bounded requirement, such as '~> x.y' WARNING: See http://guides.rubygems.org/specification-reference/ for help WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Successfully built RubyGem Name: nio4r Name: nio4r Version: 2.5.2 Version: 2.5.2 File: nio4r-2.5.2.gem File: nio4r-2.5.2.gem + mkdir -p ./usr/share/gems + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing'\'' --with-cxxflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing'\'' ' + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing'\'' --with-cxxflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc nio4r-2.5.2.gem + gem install -V --local --build-root . --force --document=ri,rdoc nio4r-2.5.2.gem WARNING: You build with buildroot. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/nio4r-2.5.2 Build root: /builddir/build/BUILD/nio4r-2.5.2 Bin dir: /builddir/build/BUILD/nio4r-2.5.2/usr/bin Bin dir: /builddir/build/BUILD/nio4r-2.5.2/usr/bin Gem home: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems Gem home: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems /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/.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/.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/.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/.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/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/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/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/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/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/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/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/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/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/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.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.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_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_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_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_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_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_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_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_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/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/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/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/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/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.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/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/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/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/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/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/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.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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/spec_helper.rb /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/spec/support/selectable_examples.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... 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 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", "./siteconf20200215-26-1wtzukf.rb", "extconf.rb"] ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20200215-26-1wtzukf.rb", "extconf.rb"] checking for unistd.h... yes checking for unistd.h... yes checking for linux/aio_abi.h... yes checking for linux/aio_abi.h... yes checking for sys/select.h... yes checking for sys/select.h... yes checking for port_event_t in poll.h... no checking for port_event_t in poll.h... no checking for sys/epoll.h... yes checking for sys/epoll.h... yes checking for sys/event.h... no checking for sys/event.h... no checking for port_event_t in port.h... no checking for port_event_t in port.h... no checking for sys/resource.h... yes checking for sys/resource.h... yes creating Makefile creating Makefile current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r "make \"DESTDIR=\" clean" "make \"DESTDIR=\" clean" rm -f rm -f rm -f nio4r_ext.so *.o *.bak mkmf.log .*.time 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 current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r "make \"DESTDIR=\"" "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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -m64 -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_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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -m64 -o nio4r_ext.o -c nio4r_ext.c In file included from nio4r_ext.c:7:0: In file included from nio4r_ext.c:7:0: ../libev/ev.c:511:48: warning: "/*" within comment [-Wcomment] ../libev/ev.c:511:48: warning: "/*" within comment [-Wcomment] /*#define MIN_INTERVAL 0.00000095367431640625 /* 1/2**20, good till 2200 */ /*#define MIN_INTERVAL 0.00000095367431640625 /* 1/2**20, good till 2200 */ ^ ^ In file included from nio4r_ext.c:7:0: In file included from nio4r_ext.c:7:0: ../libev/ev.c:1867:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' [enabled by default] ../libev/ev.c:1867:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' [enabled by default] EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */ 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:202:0, In file included from ../libev/ev.c:202:0, from nio4r_ext.c:7: from nio4r_ext.c:7: ../libev/ev_epoll.c: In function 'epoll_modify': ../libev/ev_epoll.c: In function 'epoll_modify': ../libev/ev_epoll.c:134:69: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev_epoll.c:134:69: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: I/O watcher with invalid fd found in epoll_ctl", errno != EBADF && errno != ELOOP && errno != EINVAL)); assert (("libev: I/O watcher with invalid fd found in epoll_ctl", errno != EBADF && errno != ELOOP && errno != EINVAL)); ^ ^ ../libev/ev_linuxaio.c: In function 'linuxaio_modify': ../libev/ev_linuxaio.c: In function 'linuxaio_modify': ../libev/ev_linuxaio.c:304:61: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev_linuxaio.c:304:61: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: linuxaio unexpected io_cancel failed", errno == EINPROGRESS)); assert (("libev: linuxaio unexpected io_cancel failed", errno == EINPROGRESS)); ^ ^ ../libev/ev_linuxaio.c: In function 'linuxaio_parse_events': ../libev/ev_linuxaio.c: In function 'linuxaio_parse_events': ../libev/ev_linuxaio.c:344:50: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev_linuxaio.c:344:50: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: iocb fd must be in-bounds", fd >= 0 && fd < anfdmax)); assert (("libev: iocb fd must be in-bounds", fd >= 0 && fd < anfdmax)); ^ ^ ../libev/ev_linuxaio.c: In function 'linuxaio_poll': ../libev/ev_linuxaio.c: In function 'linuxaio_poll': ../libev/ev_linuxaio.c:553:57: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev_linuxaio.c:553:57: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: event loop rejected bad fd", errno != EBADF)); assert (("libev: event loop rejected bad fd", errno != EBADF)); ^ ^ In file included from ../libev/ev.c:2745:0, In file included from ../libev/ev.c:2745:0, from nio4r_ext.c:7: from nio4r_ext.c:7: ../libev/ev_linuxaio.c:498:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] ../libev/ev_linuxaio.c:498:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (expect_false (res < 0)) if (expect_false (res < 0)) ^ ^ In file included from libev.h:9:0, In file included from libev.h:9:0, from nio4r.h:11, from nio4r.h:11, from nio4r_ext.c:6: from nio4r_ext.c:6: ../libev/ev_linuxaio.c: In function 'linuxaio_init': ../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] ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] # define EV_A_ EV_A, /* a loop as first of multiple arguments */ # define EV_A_ EV_A, /* a loop as first of multiple arguments */ ^ ^ ../libev/ev.h:689:27: note: in definition of macro 'ev_init' ../libev/ev.h:689:27: note: in definition of macro 'ev_init' ((ev_watcher *)(void *)(ev))->active = \ ((ev_watcher *)(void *)(ev))->active = \ ^ ^ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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_' ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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] ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] # define EV_A_ EV_A, /* a loop as first of multiple arguments */ # define EV_A_ EV_A, /* a loop as first of multiple arguments */ ^ ^ ../libev/ev.h:690:27: note: in definition of macro 'ev_init' ../libev/ev.h:690:27: note: in definition of macro 'ev_init' ((ev_watcher *)(void *)(ev))->pending = 0; \ ((ev_watcher *)(void *)(ev))->pending = 0; \ ^ ^ ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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_' ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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] ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] # define EV_A_ EV_A, /* a loop as first of multiple arguments */ # 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' ../libev/ev.h:734:73: note: in definition of macro 'ev_set_priority' # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri) # define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri) ^ ^ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) #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' ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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_' ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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] ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] # define EV_A_ EV_A, /* a loop as first of multiple arguments */ # define EV_A_ EV_A, /* a loop as first of multiple arguments */ ^ ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' #define ev_cb_(ev) (ev)->cb /* rw */ #define ev_cb_(ev) (ev)->cb /* rw */ ^ ^ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' ev_set_cb ((ev), cb_); \ ev_set_cb ((ev), cb_); \ ^ ^ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) #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' ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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_' ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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] ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] # define EV_A_ EV_A, /* a loop as first of multiple arguments */ # 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' ../libev/ev.h:740:94: note: in definition of macro 'ev_set_cb' # define ev_set_cb(ev,cb_) (ev_cb_ (ev) = (cb_), memmove (&((ev_watcher *)(ev))->cb, &ev_cb_ (ev), sizeof (ev_cb_ (ev)))) # 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' ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) #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' ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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_' ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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] ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] # define EV_A_ EV_A, /* a loop as first of multiple arguments */ # define EV_A_ EV_A, /* a loop as first of multiple arguments */ ^ ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' #define ev_cb_(ev) (ev)->cb /* rw */ #define ev_cb_(ev) (ev)->cb /* rw */ ^ ^ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' ev_set_cb ((ev), cb_); \ ev_set_cb ((ev), cb_); \ ^ ^ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) #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' ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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_' ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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] ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] # define EV_A_ EV_A, /* a loop as first of multiple arguments */ # define EV_A_ EV_A, /* a loop as first of multiple arguments */ ^ ^ ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' ../libev/ev.h:726:47: note: in definition of macro 'ev_cb_' #define ev_cb_(ev) (ev)->cb /* rw */ #define ev_cb_(ev) (ev)->cb /* rw */ ^ ^ ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' ../libev/ev.h:692:3: note: in expansion of macro 'ev_set_cb' ev_set_cb ((ev), cb_); \ ev_set_cb ((ev), cb_); \ ^ ^ ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' ../libev/ev.h:709:51: note: in expansion of macro 'ev_init' #define ev_io_init(ev,cb,fd,events) do { ev_init ((ev), (cb)); ev_io_set ((ev),(fd),(events)); } while (0) #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' ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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_' ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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] ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] # define EV_A_ EV_A, /* a loop as first of multiple arguments */ # 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' ../libev/ev.h:695:52: note: in definition of macro 'ev_io_set' #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) #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' ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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_' ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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] ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] # define EV_A_ EV_A, /* a loop as first of multiple arguments */ # 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' ../libev/ev.h:695:70: note: in definition of macro 'ev_io_set' #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) #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' ../libev/ev_linuxaio.c:592:3: note: in expansion of macro 'ev_io_init' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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_' ../libev/ev_linuxaio.c:592:16: note: in expansion of macro 'EV_A_' ev_io_init (EV_A_ &linuxaio_epoll_w, linuxaio_epoll_cb, backend_fd, EV_READ); 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_linuxaio.c: In function 'linuxaio_fork': ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] # define EV_A_ EV_A, /* a loop as first of multiple arguments */ # 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' ../libev/ev.h:695:52: note: in definition of macro 'ev_io_set' #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) #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_' ../libev/ev_linuxaio.c:636:16: note: in expansion of macro 'EV_A_' ev_io_set (EV_A_ &linuxaio_epoll_w, backend_fd, EV_READ); 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] ../libev/ev.h:177:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] # define EV_A_ EV_A, /* a loop as first of multiple arguments */ # 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' ../libev/ev.h:695:70: note: in definition of macro 'ev_io_set' #define ev_io_set(ev,fd_,events_) do { (ev)->fd = (fd_); (ev)->events = (events_) | EV__IOFDSET; } while (0) #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_' ../libev/ev_linuxaio.c:636:16: note: in expansion of macro 'EV_A_' ev_io_set (EV_A_ &linuxaio_epoll_w, backend_fd, EV_READ); ev_io_set (EV_A_ &linuxaio_epoll_w, backend_fd, EV_READ); ^ ^ In file included from ../libev/ev.c:202:0, In file included from ../libev/ev.c:202:0, from nio4r_ext.c:7: from nio4r_ext.c:7: ../libev/ev_poll.c: In function 'poll_poll': ../libev/ev_poll.c: In function 'poll_poll': ../libev/ev_poll.c:113:75: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev_poll.c:113:75: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: poll returned illegal result, broken BSD kernel?", p < polls + pollcnt)); assert (("libev: poll returned illegal result, broken BSD kernel?", p < polls + pollcnt)); ^ ^ ../libev/ev_poll.c:121:68: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev_poll.c:121:68: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: poll found invalid fd in poll set", 0)); assert (("libev: poll found invalid fd in poll set", 0)); ^ ^ ../libev/ev.c: In function 'verify_watcher': ../libev/ev.c: In function 'verify_watcher': ../libev/ev.c:3181:49: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3181:49: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: watcher has invalid priority", ABSPRI (w) >= 0 && ABSPRI (w) < NUMPRI)); assert (("libev: watcher has invalid priority", ABSPRI (w) >= 0 && ABSPRI (w) < NUMPRI)); ^ ^ ../libev/ev.c:3184:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3184:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: pending watcher not on pending queue", pendings [ABSPRI (w)][w->pending - 1].w == w)); assert (("libev: pending watcher not on pending queue", pendings [ABSPRI (w)][w->pending - 1].w == w)); ^ ^ ../libev/ev.c: In function 'verify_heap': ../libev/ev.c: In function 'verify_heap': ../libev/ev.c:3195:54: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3195:54: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: active index mismatch in heap", ev_active (ANHE_w (heap [i])) == i)); assert (("libev: active index mismatch in heap", ev_active (ANHE_w (heap [i])) == i)); ^ ^ ../libev/ev.c:3196:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3196:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: heap condition violated", i == HEAP0 || ANHE_at (heap [HPARENT (i)]) <= ANHE_at (heap [i]))); assert (("libev: heap condition violated", i == HEAP0 || ANHE_at (heap [HPARENT (i)]) <= ANHE_at (heap [i]))); ^ ^ ../libev/ev.c:3197:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3197:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: heap at cache mismatch", ANHE_at (heap [i]) == ev_at (ANHE_w (heap [i])))); assert (("libev: heap at cache mismatch", ANHE_at (heap [i]) == ev_at (ANHE_w (heap [i])))); ^ ^ ../libev/ev.c: In function 'array_verify': ../libev/ev.c: In function 'array_verify': ../libev/ev.c:3209:46: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3209:46: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: active index mismatch", ev_active (ws [cnt]) == cnt + 1)); assert (("libev: active index mismatch", ev_active (ws [cnt]) == cnt + 1)); ^ ^ ../libev/ev.c: In function 'ev_verify': ../libev/ev.c: In function 'ev_verify': ../libev/ev.c:3227:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3227:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: negative fd in fdchanges", fdchanges [i] >= 0)); assert (("libev: negative fd in fdchanges", fdchanges [i] >= 0)); ^ ^ ../libev/ev.c:3240:64: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3240:64: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: io watcher list contains a loop", w != w2)); assert (("libev: io watcher list contains a loop", w != w2)); ^ ^ ../libev/ev.c:3244:61: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3244:61: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: inactive fd watcher on anfd list", ev_active (w) == 1)); assert (("libev: inactive fd watcher on anfd list", ev_active (w) == 1)); ^ ^ ../libev/ev.c:3245:65: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3245:65: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: fd mismatch between watcher and anfd", ((ev_io *)w)->fd == i)); assert (("libev: fd mismatch between watcher and anfd", ((ev_io *)w)->fd == i)); ^ ^ ../libev/ev.c: In function 'timers_reify': ../libev/ev.c: In function 'timers_reify': ../libev/ev.c:3431:93: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3431:93: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: negative ev_timer repeat value found while processing timers", w->repeat > 0.)); assert (("libev: negative ev_timer repeat value found while processing timers", w->repeat > 0.)); ^ ^ ../libev/ev.c: In function 'periodics_reify': ../libev/ev.c: In function 'periodics_reify': ../libev/ev.c:3494:90: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3494:90: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_periodic reschedule callback returned time in the past", ev_at (w) >= ev_rt_now)); assert (("libev: ev_periodic reschedule callback returned time in the past", ev_at (w) >= ev_rt_now)); ^ ^ ../libev/ev.c: In function 'ev_run': ../libev/ev.c: In function 'ev_run': ../libev/ev.c:3656:62: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3656:62: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_loop recursion during release detected", loop_done != EVBREAK_RECURSE)); assert (("libev: ev_loop recursion during release detected", loop_done != EVBREAK_RECURSE)); ^ ^ ../libev/ev.c:3824:70: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3824:70: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: pipe_w not active, but pipe not written", ev_is_active (&pipe_w))); assert (("libev: pipe_w not active, but pipe not written", ev_is_active (&pipe_w))); ^ ^ ../libev/ev.c: In function 'ev_io_start': ../libev/ev.c: In function 'ev_io_start': ../libev/ev.c:3999:56: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:3999:56: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_io_start called with negative fd", fd >= 0)); assert (("libev: ev_io_start called with negative fd", fd >= 0)); ^ ^ ../libev/ev.c:4000:63: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:4000:63: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_io_start called with illegal event mask", !(w->events & ~(EV__IOFDSET | EV_READ | EV_WRITE)))); assert (("libev: ev_io_start called with illegal event mask", !(w->events & ~(EV__IOFDSET | EV_READ | EV_WRITE)))); ^ ^ ../libev/ev.c:4012:62: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:4012:62: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w)); assert (("libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w)); ^ ^ In file included from nio4r_ext.c:7:0: In file included from nio4r_ext.c:7:0: ../libev/ev.c:4014:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] ../libev/ev.c:4014:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY); fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY); ^ ^ In file included from ../libev/ev.c:202:0, In file included from ../libev/ev.c:202:0, from nio4r_ext.c:7: from nio4r_ext.c:7: ../libev/ev.c: In function 'ev_io_stop': ../libev/ev.c: In function 'ev_io_stop': ../libev/ev.c:4028:88: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:4028:88: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_io_stop called with illegal fd (must stay constant after start!)", w->fd >= 0 && w->fd < anfdmax)); assert (("libev: ev_io_stop called with illegal fd (must stay constant after start!)", w->fd >= 0 && w->fd < anfdmax)); ^ ^ ../libev/ev.c: In function 'ev_timer_start': ../libev/ev.c: In function 'ev_timer_start': ../libev/ev.c:4052:75: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:4052:75: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_timer_start called with negative timer repeat value", w->repeat >= 0.)); assert (("libev: ev_timer_start called with negative timer repeat value", w->repeat >= 0.)); ^ ^ ../libev/ev.c: In function 'ev_timer_stop': ../libev/ev.c: In function 'ev_timer_stop': ../libev/ev.c:4081:53: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:4081:53: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: internal timer heap corruption", ANHE_w (timers [active]) == (WT)w)); assert (("libev: internal timer heap corruption", ANHE_w (timers [active]) == (WT)w)); ^ ^ ../libev/ev.c: In function 'ev_periodic_start': ../libev/ev.c: In function 'ev_periodic_start': ../libev/ev.c:4145:78: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:4145:78: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_periodic_start called with negative interval value", w->interval >= 0.)); assert (("libev: ev_periodic_start called with negative interval value", w->interval >= 0.)); ^ ^ ../libev/ev.c: In function 'ev_periodic_stop': ../libev/ev.c: In function 'ev_periodic_stop': ../libev/ev.c:4178:56: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:4178:56: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: internal periodic heap corruption", ANHE_w (periodics [active]) == (WT)w)); assert (("libev: internal periodic heap corruption", ANHE_w (periodics [active]) == (WT)w)); ^ ^ ../libev/ev.c: In function 'ev_signal_start': ../libev/ev.c: In function 'ev_signal_start': ../libev/ev.c:4217:70: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:4217:70: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_signal_start called with illegal signal number", w->signum > 0 && w->signum < EV_NSIG)); assert (("libev: ev_signal_start called with illegal signal number", w->signum > 0 && w->signum < EV_NSIG)); ^ ^ ../libev/ev.c:4220:73: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:4220:73: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: a signal must not be attached to two different loops", assert (("libev: a signal must not be attached to two different loops", ^ ^ ../libev/ev.c: In function 'ev_child_start': ../libev/ev.c: In function 'ev_child_start': ../libev/ev.c:4339:74: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:4339:74: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: child watchers are only supported in the default loop", loop == ev_default_loop_ptr)); assert (("libev: child watchers are only supported in the default loop", loop == ev_default_loop_ptr)); ^ ^ ../libev/ev.c: In function 'ev_embed_start': ../libev/ev.c: In function 'ev_embed_start': ../libev/ev.c:4924:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] ../libev/ev.c:4924:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: loop to be embedded is not embeddable", backend & ev_embeddable_backends ())); assert (("libev: loop to be embedded is not embeddable", backend & ev_embeddable_backends ())); ^ ^ In file included from nio4r_ext.c:7:0: In file included from nio4r_ext.c:7:0: ../libev/ev.c: At top level: ../libev/ev.c: At top level: ../libev/ev.c:5268:27: warning: "/*" within comment [-Wcomment] ../libev/ev.c:5268:27: warning: "/*" within comment [-Wcomment] /* EV_STAT 0x00001000 /* stat data changed */ /* EV_STAT 0x00001000 /* stat data changed */ ^ ^ ../libev/ev.c:5269:27: warning: "/*" within comment [-Wcomment] ../libev/ev.c:5269:27: warning: "/*" within comment [-Wcomment] /* EV_EMBED 0x00010000 /* embedded event loop needs sweep */ /* EV_EMBED 0x00010000 /* embedded event loop needs sweep */ ^ ^ In file included from nio4r_ext.c:7:0: In file included from nio4r_ext.c:7:0: ../libev/ev.c: In function 'evpipe_write': ../libev/ev.c: In function 'evpipe_write': ../libev/ev.c:2508:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] ../libev/ev.c:2508:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (evpipe [1], &counter, sizeof (uint64_t)); write (evpipe [1], &counter, sizeof (uint64_t)); ^ ^ ../libev/ev.c:2520:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] ../libev/ev.c:2520:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (evpipe [1], &(evpipe [1]), 1); write (evpipe [1], &(evpipe [1]), 1); ^ ^ ../libev/ev.c: In function 'pipecb': ../libev/ev.c: In function 'pipecb': ../libev/ev.c:2541:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] ../libev/ev.c:2541:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (evpipe [1], &counter, sizeof (uint64_t)); read (evpipe [1], &counter, sizeof (uint64_t)); ^ ^ ../libev/ev.c:2555:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] ../libev/ev.c:2555:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (evpipe [0], &dummy, sizeof (dummy)); 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -m64 -o selector.o -c selector.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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -m64 -o selector.o -c selector.c selector.c: In function 'NIO_Selector_wakeup': selector.c: In function 'NIO_Selector_wakeup': selector.c:484:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] selector.c:484:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(selector->wakeup_writer, "\0", 1); write(selector->wakeup_writer, "\0", 1); ^ ^ rm -f nio4r_ext.so rm -f nio4r_ext.so gcc -shared -o nio4r_ext.so bytebuffer.o monitor.o nio4r_ext.o selector.o -L. -L/usr/lib64 -L. -Wl,-z,relro -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-z,relro -m64 -lruby -lm -lc gcc -shared -o nio4r_ext.so bytebuffer.o monitor.o nio4r_ext.o selector.o -L. -L/usr/lib64 -L. -Wl,-z,relro -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-z,relro -m64 -lruby -lm -lc current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r "make \"DESTDIR=\" install" "make \"DESTDIR=\" install" /usr/bin/mkdir -p . ./.gem.20200215-26-fhaqpv /usr/bin/mkdir -p . ./.gem.20200215-26-fhaqpv exit > .sitearchdir.time exit > .sitearchdir.time /usr/bin/install -c -m 0755 nio4r_ext.so ./.gem.20200215-26-fhaqpv /usr/bin/install -c -m 0755 nio4r_ext.so ./.gem.20200215-26-fhaqpv current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r 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 ./siteconf20200215-26-1wtzukf.rb extconf.rb /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20200215-26-1wtzukf.rb extconf.rb current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make "DESTDIR=" clean make "DESTDIR=" clean current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make "DESTDIR=" make "DESTDIR=" current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r current directory: /builddir/build/BUILD/nio4r-2.5.2/usr/share/gems/gems/nio4r-2.5.2/ext/nio4r make "DESTDIR=" install make "DESTDIR=" install Successfully installed nio4r-2.5.2 Successfully installed nio4r-2.5.2 Parsing documentation for nio4r-2.5.2 Parsing documentation for nio4r-2.5.2 Parsing sources... Parsing sources... 2% [ 1/36] ext/libev/Changes 2% [ 1/36] ext/libev/Changes 5% [ 2/36] ext/libev/LICENSE 5% [ 2/36] ext/libev/LICENSE 8% [ 3/36] ext/libev/README 8% [ 3/36] ext/libev/README 11% [ 4/36] ext/libev/ev.c 11% [ 4/36] ext/libev/ev.c 13% [ 5/36] ext/libev/ev.h 13% [ 5/36] ext/libev/ev.h 16% [ 6/36] ext/libev/ev_epoll.c 16% [ 6/36] ext/libev/ev_epoll.c 19% [ 7/36] ext/libev/ev_kqueue.c 19% [ 7/36] ext/libev/ev_kqueue.c 22% [ 8/36] ext/libev/ev_linuxaio.c 22% [ 8/36] ext/libev/ev_linuxaio.c 25% [ 9/36] ext/libev/ev_poll.c 25% [ 9/36] ext/libev/ev_poll.c 27% [10/36] ext/libev/ev_port.c 27% [10/36] ext/libev/ev_port.c 30% [11/36] ext/libev/ev_select.c 30% [11/36] ext/libev/ev_select.c 33% [12/36] ext/libev/ev_vars.h 33% [12/36] ext/libev/ev_vars.h 36% [13/36] ext/libev/ev_win32.c 36% [13/36] ext/libev/ev_win32.c 38% [14/36] ext/libev/ev_wrap.h 38% [14/36] ext/libev/ev_wrap.h 41% [15/36] ext/nio4r/Makefile 41% [15/36] ext/nio4r/Makefile 44% [16/36] ext/nio4r/bytebuffer.c 44% [16/36] ext/nio4r/bytebuffer.c 47% [17/36] ext/nio4r/bytebuffer.o 47% [17/36] ext/nio4r/bytebuffer.o 50% [18/36] ext/nio4r/extconf.rb 50% [18/36] ext/nio4r/extconf.rb 52% [19/36] ext/nio4r/libev.h 52% [19/36] ext/nio4r/libev.h 55% [20/36] ext/nio4r/monitor.c 55% [20/36] ext/nio4r/monitor.c 58% [21/36] ext/nio4r/monitor.o 58% [21/36] ext/nio4r/monitor.o 61% [22/36] ext/nio4r/nio4r.h 61% [22/36] ext/nio4r/nio4r.h 63% [23/36] ext/nio4r/nio4r_ext.c 63% [23/36] ext/nio4r/nio4r_ext.c 66% [24/36] ext/nio4r/nio4r_ext.o 66% [24/36] ext/nio4r/nio4r_ext.o 69% [25/36] ext/nio4r/nio4r_ext.so 69% [25/36] ext/nio4r/nio4r_ext.so 72% [26/36] ext/nio4r/org/nio4r/ByteBuffer.java 72% [26/36] ext/nio4r/org/nio4r/ByteBuffer.java 75% [27/36] ext/nio4r/org/nio4r/Monitor.java 75% [27/36] ext/nio4r/org/nio4r/Monitor.java 77% [28/36] ext/nio4r/org/nio4r/Nio4r.java 77% [28/36] ext/nio4r/org/nio4r/Nio4r.java 80% [29/36] ext/nio4r/org/nio4r/Selector.java 80% [29/36] ext/nio4r/org/nio4r/Selector.java 83% [30/36] ext/nio4r/selector.c 83% [30/36] ext/nio4r/selector.c 86% [31/36] ext/nio4r/selector.o 86% [31/36] ext/nio4r/selector.o 88% [32/36] lib/nio.rb 88% [32/36] lib/nio.rb 91% [33/36] lib/nio/bytebuffer.rb 91% [33/36] lib/nio/bytebuffer.rb 94% [34/36] lib/nio/monitor.rb 94% [34/36] lib/nio/monitor.rb 97% [35/36] lib/nio/selector.rb 97% [35/36] lib/nio/selector.rb 100% [36/36] lib/nio/version.rb 100% [36/36] lib/nio/version.rb Installing ri documentation for nio4r-2.5.2 Installing ri documentation for nio4r-2.5.2 Installing darkfish documentation for nio4r-2.5.2 Installing darkfish documentation for nio4r-2.5.2 Done installing documentation for nio4r after 0 seconds Done installing documentation for nio4r after 0 seconds 1 gem installed 1 gem installed + exit 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rDnQGh Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rDnQGh + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64 '!=' / ']' + '[' /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64 + rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64 + mkdir /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64 + cd nio4r-2.5.2 + cd nio4r-2.5.2 + mkdir -p /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64/usr/share/gems + mkdir -p /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.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/specifications /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.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/specifications /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2 + mkdir -p /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.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-1.el7.1.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-1.el7.1.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2/ + rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64/usr/share/gems/gems/nio4r-2.5.2/ext/ + rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64/usr/share/gems/gems/nio4r-2.5.2/ext/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/nio4r-2.5.2 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/nio4r-2.5.2 extracting debug info from /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.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-1.el7.1.x86_64/usr/lib64/gems/ruby/nio4r-2.5.2/nio4r_ext.so dwz: Too few files for multifile optimization dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 507 blocks 507 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.p8N6nU Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.p8N6nU + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd nio4r-2.5.2 + cd nio4r-2.5.2 + pushd ./usr/share/gems/gems/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 ~/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 ++ grep EV_VERSION_MAJOR ext/libev/ev.h ++ cut -d ' ' -f3 ++ cut -d ' ' -f3 + EV_VERSION_MAJOR=4 + EV_VERSION_MAJOR=4 ++ grep EV_VERSION_MINOR ext/libev/ev.h ++ grep EV_VERSION_MINOR ext/libev/ev.h ++ cut -d ' ' -f3 ++ cut -d ' ' -f3 + EV_VERSION_MINOR=27 + EV_VERSION_MINOR=27 + '[' 4.27 = 4.27 ']' + '[' 4.27 = 4.27 ']' + sed -i '/require "coveralls"/ s/^/#/' spec/spec_helper.rb + sed -i '/require "coveralls"/ s/^/#/' spec/spec_helper.rb + sed -i '/Coveralls.wear!/ s/^/#/' spec/spec_helper.rb + sed -i '/Coveralls.wear!/ s/^/#/' spec/spec_helper.rb ++ dirs +1 ++ dirs +1 + rspec -I~/build/BUILD/nio4r-2.5.2/usr/lib64/gems/ruby/nio4r-2.5.2 spec + rspec -I~/build/BUILD/nio4r-2.5.2/usr/lib64/gems/ruby/nio4r-2.5.2 spec Randomized with seed 44788 Randomized with seed 44788 NIO::Monitor NIO::Monitor #io #io knows its IO object knows its IO object #readiness #readiness knows what operations IO objects are ready for knows what operations IO objects are ready for #close #close closes closes closes even if the selector has been shutdown closes even if the selector has been shutdown #value= #value= stores arbitrary values stores arbitrary values #add_interest #add_interest sets a new interest if it isn't currently registered sets a new interest if it isn't currently registered acts idempotently acts idempotently raises ArgumentError if given a bogus option raises ArgumentError if given a bogus option #interests= #interests= can set interests to nil can set interests to nil changes the interest set changes the interest set raises EOFError if interests are changed after the monitor is closed raises EOFError if interests are changed after the monitor is closed #remove_interest #remove_interest can clear the last interest can clear the last interest raises ArgumentError if given a bogus option raises ArgumentError if given a bogus option acts idempotently acts idempotently removes an interest from the set removes an interest from the set #interests #interests knows its interests knows its interests #selector #selector knows its selector knows its selector TCPSocket TCPSocket behaves like an NIO bidirectional stream behaves like an NIO bidirectional stream selects readable and writable selects readable and writable keeps readiness after the selectable has been closed keeps readiness after the selectable has been closed connect connect selects writable when connected selects writable when connected behaves like an NIO selectable stream behaves like an NIO selectable stream selects readable when the other end closes selects readable when the other end closes behaves like an NIO selectable behaves like an NIO selectable does not select unreadable objects does not select unreadable objects selects readable objects selects readable objects selects writable objects selects writable objects does not select unwritable objects does not select unwritable objects NIO acceptables NIO acceptables TCPServer TCPServer behaves like an NIO acceptable behaves like an NIO acceptable selects for read readiness selects for read readiness OpenSSL::SSL::SSLSocket OpenSSL::SSL::SSLSocket using TLS 1.2 using TLS 1.2 behaves like an NIO selectable behaves like an NIO selectable selects writable objects selects writable objects does not select unreadable objects does not select unreadable objects does not select unwritable objects does not select unwritable objects selects readable objects selects readable objects behaves like an NIO selectable stream behaves like an NIO selectable stream selects readable when the other end closes selects readable when the other end closes UDPSocket UDPSocket behaves like an NIO selectable behaves like an NIO selectable selects writable objects selects writable objects does not select unreadable objects does not select unreadable objects selects readable objects selects readable objects does not select unwritable objects (PENDING: come up with a UDPSocket that's blocked on writing) does not select unwritable objects (PENDING: come up with a UDPSocket that's blocked on writing) NIO::ByteBuffer NIO::ByteBuffer #capacity #capacity has the requested capacity has the requested capacity #remaining #remaining calculates the number of bytes remaining calculates the number of bytes remaining #reset #reset returns to a previously marked position returns to a previously marked position raises NIO::ByteBuffer::MarkUnsetError unless mark has been set raises NIO::ByteBuffer::MarkUnsetError unless mark has been set #each #each iterates over data in the buffer iterates over data in the buffer #rewind #rewind rewinds the buffer leaving the limit intact rewinds the buffer leaving the limit intact #full? #full? returns true when the buffer is full returns true when the buffer is full returns false when there is space remaining in the buffer returns false when there is space remaining in the buffer #position= #position= sets the buffer's position to a valid value 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 is less than zero raises ArgumentError if the specified position exceeds the limit raises ArgumentError if the specified position exceeds the limit #mark #mark returns self returns self I/O I/O #read_from #read_from reads data into the buffer reads data into the buffer returns 0 if no data is available returns 0 if no data is available raises NIO::ByteBuffer::OverflowError if the buffer is already full raises NIO::ByteBuffer::OverflowError if the buffer is already full #write_to #write_to writes data from the buffer writes data from the buffer raises NIO::ByteBuffer::UnderflowError if the buffer is out of data raises NIO::ByteBuffer::UnderflowError if the buffer is out of data #compact #compact copies data from the current position to the beginning of the buffer copies data from the current position to the beginning of the buffer #clear #clear clears the buffer clears the buffer #<< #<< adds strings to the buffer adds strings to the buffer raises TypeError if given a non-String type raises TypeError if given a non-String type raises NIO::ByteBuffer::OverflowError if the buffer is full raises NIO::ByteBuffer::OverflowError if the buffer is full #limit= #limit= raises ArgumentError if specified limit is less than zero raises ArgumentError if specified limit is less than zero preserves position and mark if they're less than the new limit preserves position and mark if they're less than the new limit sets the buffer's limit to a valid value sets the buffer's limit to a valid value clears the mark if the new limit is before the current mark clears the mark if the new limit is before the current mark raises ArgumentError if specified limit exceeds capacity raises ArgumentError if specified limit exceeds capacity sets position to the new limit if the previous position is beyond the limit sets position to the new limit if the previous position is beyond the limit #limit #limit defaults to the buffer's capacity defaults to the buffer's capacity #initialize #initialize raises TypeError if given a bogus argument raises TypeError if given a bogus argument #flip #flip sets limit to the previous position sets limit to the previous position flips the bytebuffer flips the bytebuffer sets remaining to the previous position sets remaining to the previous position #[] #[] raises ArgumentError if the index is less than zero raises ArgumentError if the index is less than zero raises ArgumentError if the index exceeds the limit raises ArgumentError if the index exceeds the limit obtains bytes at a given index without altering position obtains bytes at a given index without altering position #get #get advances position as data is read advances position as data is read raises NIO::ByteBuffer::UnderflowError if there is not enough data in the buffer raises NIO::ByteBuffer::UnderflowError if there is not enough data in the buffer reads all remaining data if no length is given reads all remaining data if no length is given reads zeroes from a newly initialized buffer reads zeroes from a newly initialized buffer #position #position defaults to zero defaults to zero #inspect #inspect inspects the buffer offsets inspects the buffer offsets NIO::Selector NIO::Selector deregisters IO objects deregisters IO objects knows which IO objects are registered knows which IO objects are registered allows deregistering closed IO objects allows deregistering closed IO objects reports if it is empty reports if it is empty allows reregistration of the same IO object across select calls allows reregistration of the same IO object across select calls closes closes #initialize #initialize allows explicitly specifying a backend allows explicitly specifying a backend Supported backends: [:epoll, :poll, :select] Supported backends: [:epoll, :poll, :select] raises TypeError if given a non-Symbol parameter raises TypeError if given a non-Symbol parameter raises ArgumentError if given an invalid backend raises ArgumentError if given an invalid backend .backends .backends knows all supported backends knows all supported backends timeouts timeouts raises ArgumentError if given a negative timeout raises ArgumentError if given a negative timeout waits for a timeout when selecting with reader waits for a timeout when selecting with reader waits for timeout when selecting from empty selector waits for timeout when selecting from empty selector register register raises when asked to register after closing raises when asked to register after closing raises TypeError if asked to register non-IO objects raises TypeError if asked to register non-IO objects registers IO objects registers IO objects select select iterates across selected objects with a block iterates across selected objects with a block does not block on super small precision intervals does not block on super small precision intervals raises IOError if asked to select on a closed selector raises IOError if asked to select on a closed selector selects closed IO objects selects closed IO objects selects IO objects selects IO objects backend backend knows its backend knows its backend Current backend: epoll Current backend: epoll wakeup wakeup raises IOError if asked to wake up a closed selector raises IOError if asked to wake up a closed selector wakes up if signaled to from another thread wakes up if signaled to from another thread IO.pipe IO.pipe behaves like an NIO selectable behaves like an NIO selectable selects readable objects selects readable objects does not select unwritable objects does not select unwritable objects selects writable objects selects writable objects does not select unreadable objects does not select unreadable objects behaves like an NIO selectable stream behaves like an NIO selectable stream selects readable when the other end closes selects readable when the other end closes Pending: (Failures listed here are expected and do not affect your suite's status) 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 1) UDPSocket behaves like an NIO selectable does not select unwritable objects # come up with a UDPSocket that's blocked on writing # come up with a UDPSocket that's blocked on writing Failure/Error: selector.register(unwritable_subject, :w) Failure/Error: selector.register(unwritable_subject, :w) TypeError: TypeError: no implicit conversion of false into IO no implicit conversion of false into IO Shared Example Group: "an NIO selectable" called from ./spec/nio/selectables/udp_socket_spec.rb:47 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 `initialize' # ./spec/support/selectable_examples.rb:36:in `register' # ./spec/support/selectable_examples.rb:36:in `register' # ./spec/support/selectable_examples.rb:36:in `block (2 levels) in ' # ./spec/support/selectable_examples.rb:36:in `block (2 levels) in ' Finished in 8.06 seconds (files took 0.19475 seconds to load) Finished in 8.06 seconds (files took 0.19475 seconds to load) 106 examples, 0 failures, 1 pending 106 examples, 0 failures, 1 pending Randomized with seed 44788 Randomized with seed 44788 ~/build/BUILD/nio4r-2.5.2 ~/build/BUILD/nio4r-2.5.2 + popd + popd + exit 0 + exit 0 Processing files: rubygem-nio4r-2.5.2-1.el7.1.x86_64 Processing files: rubygem-nio4r-2.5.2-1.el7.1.x86_64 Provides: bundled(libev) = 4.27 rubygem(nio4r) = 2.5.2 rubygem-nio4r = 2.5.2-1.el7.1 rubygem-nio4r(x86-64) = 2.5.2-1.el7.1 Provides: bundled(libev) = 4.27 rubygem(nio4r) = 2.5.2 rubygem-nio4r = 2.5.2-1.el7.1 rubygem-nio4r(x86-64) = 2.5.2-1.el7.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.9)(64bit) libm.so.6()(64bit) libruby.so.2.6()(64bit) rtld(GNU_HASH) ruby(rubygems) 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.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.9)(64bit) libm.so.6()(64bit) libruby.so.2.6()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-nio4r-doc-2.5.2-1.el7.1.noarch Processing files: rubygem-nio4r-doc-2.5.2-1.el7.1.noarch Provides: rubygem-nio4r-doc = 2.5.2-1.el7.1 Provides: rubygem-nio4r-doc = 2.5.2-1.el7.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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-1.el7.1.x86_64 Processing files: rubygem-nio4r-debuginfo-2.5.2-1.el7.1.x86_64 Provides: rubygem-nio4r-debuginfo = 2.5.2-1.el7.1 rubygem-nio4r-debuginfo(x86-64) = 2.5.2-1.el7.1 Provides: rubygem-nio4r-debuginfo = 2.5.2-1.el7.1 rubygem-nio4r-debuginfo(x86-64) = 2.5.2-1.el7.1 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64 Wrote: /builddir/build/RPMS/rubygem-nio4r-2.5.2-1.el7.1.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-2.5.2-1.el7.1.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-doc-2.5.2-1.el7.1.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-doc-2.5.2-1.el7.1.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-debuginfo-2.5.2-1.el7.1.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-nio4r-debuginfo-2.5.2-1.el7.1.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BSVI8H Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BSVI8H + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd nio4r-2.5.2 + cd nio4r-2.5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-nio4r-2.5.2-1.el7.1.x86_64 + exit 0 + exit 0 Child return code was: 0 Child return code was: 0