Mock Version: 1.2.21 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-cool.io-1.4.5.spec'], printOutput=Falselogger=user='mockbuild'gid=135shell=Falsetimeout=0env={'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'}chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-11655/root'uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-cool.io-1.4.5.spec'] with env {'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'} and shell False warning: Could not canonicalize hostname: copr-builder-644739911.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-cool.io-1.4.5-2.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-cool.io-1.4.5.spec'], printOutput=Falselogger=user='mockbuild'gid=135shell=Falseprivate_network=Truetimeout=0env={'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'}chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-11655/root'uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-cool.io-1.4.5.spec'] with env {'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tZlTMI + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/cool.io-1.4.5.gem Unpacked gem: '/builddir/build/BUILD/cool.io-1.4.5' + cd /builddir/build/BUILD + cd cool.io-1.4.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/cool.io-1.4.5.gem -l --ruby + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RIUPJ2 + umask 022 + cd /builddir/build/BUILD + cd cool.io-1.4.5 + gem build cool.io.gemspec WARNING: licenses is empty Successfully built RubyGem Name: cool.io Version: 1.4.5 File: cool.io-1.4.5.gem + 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'\'' ' + gem install -V --local --install-dir ./usr/share/gems --bindir ./usr/bin --force --document=ri,rdoc cool.io-1.4.5.gem Installing gem cool.io-1.4.5 /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/.gitignore /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/.rspec /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/.travis.yml /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/CHANGES.md /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/Gemfile /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/LICENSE /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/README.md /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/Rakefile /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/appveyor.yml /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/cool.io.gemspec /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/examples/callbacked_echo_server.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/examples/dslified_echo_client.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/examples/dslified_echo_server.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/examples/echo_client.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/examples/echo_server.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/examples/google.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/cool.io/.gitignore /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/cool.io/cool.io.h /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/cool.io/cool.io_ext.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/cool.io/ev_wrap.h /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/cool.io/extconf.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/cool.io/iowatcher.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/cool.io/libev.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/cool.io/loop.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/cool.io/stat_watcher.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/cool.io/timer_watcher.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/cool.io/utils.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/cool.io/watcher.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/cool.io/watcher.h /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/iobuffer/extconf.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/iobuffer/iobuffer.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/Changes /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/LICENSE /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/README /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/README.embed /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/ev.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/ev.h /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/ev_epoll.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/ev_kqueue.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/ev_poll.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/ev_port.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/ev_select.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/ev_vars.h /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/ev_win32.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/ev_wrap.h /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/ruby_gil.patch /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/test_libev_win32.c /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/ext/libev/win_select.patch /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/.gitignore /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io/async_watcher.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io/custom_require.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io/dns_resolver.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io/dsl.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io/io.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io/iowatcher.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io/listener.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io/loop.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io/meta.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io/server.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io/socket.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io/timer_watcher.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io/version.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/lib/coolio.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/spec/async_watcher_spec.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/spec/dns_spec.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/spec/iobuffer_spec.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/spec/spec_helper.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/spec/stat_watcher_spec.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/spec/tcp_server_spec.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/spec/tcp_socket_spec.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/spec/timer_watcher_spec.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/spec/udp_socket_spec.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/spec/unix_listener_spec.rb /builddir/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5/spec/unix_server_spec.rb Building native extensions. This could take a while... /usr/bin/ruby extconf.rb checking for rb_thread_blocking_region()... yes checking for rb_thread_call_without_gvl()... yes checking for rb_thread_alone()... yes checking for rb_str_set_len()... yes checking for clock_gettime() in -lrt... yes checking for sys/select.h... yes checking for poll.h... yes checking for sys/epoll.h... yes checking for sys/event.h... no checking for port.h... no checking for sys/resource.h... yes creating Makefile make "DESTDIR=" gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_VERSION_CODE=200 -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -m64 -o watcher.o -c watcher.c In file included from cool.io.h:11:0, from watcher.c:10: /usr/include/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" [-Wcpp] #warning use "ruby/io.h" instead of "rubyio.h" ^ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_VERSION_CODE=200 -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -m64 -o utils.o -c utils.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_VERSION_CODE=200 -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -m64 -o timer_watcher.o -c timer_watcher.c In file included from cool.io.h:11:0, from timer_watcher.c:10: /usr/include/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" [-Wcpp] #warning use "ruby/io.h" instead of "rubyio.h" ^ timer_watcher.c: In function 'Coolio_TimerWatcher_initialize': timer_watcher.c:74:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_timer_init( ^ timer_watcher.c:74:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] timer_watcher.c:74:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] timer_watcher.c:74:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] timer_watcher.c:74:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] timer_watcher.c: In function 'Coolio_TimerWatcher_attach': timer_watcher.c:113:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_timer_set( ^ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_VERSION_CODE=200 -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -m64 -o stat_watcher.o -c stat_watcher.c In file included from cool.io.h:11:0, from stat_watcher.c:10: /usr/include/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" [-Wcpp] #warning use "ruby/io.h" instead of "rubyio.h" ^ stat_watcher.c: In function 'Coolio_StatWatcher_initialize': stat_watcher.c:95:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_stat_init( ^ stat_watcher.c:95:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] stat_watcher.c:95:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] stat_watcher.c:95:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] stat_watcher.c: In function 'Coolio_StatWatcher_attach': stat_watcher.c:115:23: warning: unused variable 'timeout' [-Wunused-variable] ev_tstamp interval, timeout; ^ stat_watcher.c:115:13: warning: unused variable 'interval' [-Wunused-variable] ev_tstamp interval, timeout; ^ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_VERSION_CODE=200 -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -m64 -o loop.o -c loop.c In file included from loop.c:9:0: /usr/include/ruby/backward/rubysig.h:14:2: warning: #warning rubysig.h is obsolete [-Wcpp] #warning rubysig.h is obsolete ^ In file included from cool.io.h:11:0, from loop.c:12: /usr/include/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" [-Wcpp] #warning use "ruby/io.h" instead of "rubyio.h" ^ loop.c: In function 'Coolio_Loop_allocate': loop.c:56:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_init(&loop->timer, Coolio_Loop_timeout_callback); ^ loop.c:56:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] loop.c:56:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] loop.c:56:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_VERSION_CODE=200 -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -m64 -o libev.o -c libev.c In file included from libev.c:8:0: ../libev/ev.c:488:48: warning: "/*" within comment [-Wcomment] /*#define MIN_INTERVAL 0.00000095367431640625 /* 1/2**20, good till 2200 */ ^ In file included from libev.c:8:0: ../libev/ev.c:1697: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 */ ^ ../libev/ev.c: In function 'evpipe_init': ../libev/ev.c:2256:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (!ev_is_active (&pipe_w)) ^ In file included from ../libev/ev.c:178:0, from libev.c:8: ../libev/ev_poll.c: In function 'poll_poll': ../libev/ev_poll.c:110:77: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: poll() returned illegal result, broken BSD kernel?", p < polls + pollcnt)); ^ In file included from libev.c:8:0: ../libev/ev.c: In function 'loop_init': ../libev/ev.c:2785:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_prepare_init (&pending_w, pendingcb); ^ ../libev/ev.c:2785:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:2785:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:2785:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:2788:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_init (&pipe_w, pipecb); ^ ../libev/ev.c:2788:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:2788:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:2788:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:2789:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_set_priority (&pipe_w, EV_MAXPRI); ^ ../libev/ev.c: In function 'ev_loop_destroy': ../libev/ev.c:2816:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (ev_is_default_loop (EV_A) && ev_is_active (&childev)) ^ ../libev/ev.c:2823:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (ev_is_active (&pipe_w)) ^ ../libev/ev.c:2833:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (ev_is_active (&sigfd_w)) ^ ../libev/ev.c: In function 'loop_fork': ../libev/ev.c:2926:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (ev_is_active (&pipe_w)) ^ In file included from ../libev/ev.c:178:0, from libev.c:8: ../libev/ev.c: In function 'verify_watcher': ../libev/ev.c:2968:49: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: watcher has invalid priority", ABSPRI (w) >= 0 && ABSPRI (w) < NUMPRI)); ^ ../libev/ev.c:2971:59: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: pending watcher not on pending queue", pendings [ABSPRI (w)][w->pending - 1].w == w)); ^ ../libev/ev.c: In function 'verify_heap': ../libev/ev.c:2981:54: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: active index mismatch in heap", ev_active (ANHE_w (heap [i])) == i)); ^ ../libev/ev.c:2982:48: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: heap condition violated", i == HEAP0 || ANHE_at (heap [HPARENT (i)]) <= ANHE_at (heap [i]))); ^ ../libev/ev.c:2983:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: heap at cache mismatch", ANHE_at (heap [i]) == ev_at (ANHE_w (heap [i])))); ^ ../libev/ev.c: In function 'array_verify': ../libev/ev.c:2994:46: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: active index mismatch", ev_active (ws [cnt]) == cnt + 1)); ^ ../libev/ev.c: In function 'ev_verify': ../libev/ev.c:3012:47: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: negative fd in fdchanges", fdchanges [i] >= 0)); ^ ../libev/ev.c:3025:64: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: io watcher list contains a loop", w != w2)); ^ ../libev/ev.c:3029:61: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: inactive fd watcher on anfd list", ev_active (w) == 1)); ^ ../libev/ev.c:3030: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)); ^ In file included from libev.c:8:0: ../libev/ev.c: In function 'ev_default_loop': ../libev/ev.c:3107:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_signal_init (&childev, childcb, SIGCHLD); ^ ../libev/ev.c:3107:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:3107:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:3107:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:3108:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_set_priority (&childev, EV_MAXPRI); ^ In file included from ../libev/ev.c:178:0, from libev.c:8: ../libev/ev.c: In function 'timers_reify': ../libev/ev.c:3212: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.)); ^ ../libev/ev.c: In function 'periodics_reify': ../libev/ev.c:3274:90: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_periodic reschedule callback returned time in the past", ev_at (w) >= ev_rt_now)); ^ ../libev/ev.c: In function 'ev_run': ../libev/ev.c:3437: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)); ^ In file included from libev.c:8:0: ../libev/ev.c:3606:9: warning: implicit declaration of function 'rb_thread_call_without_gvl' [-Wimplicit-function-declaration] rb_thread_call_without_gvl(ev_backend_poll, (void *)&poll_args, RUBY_UBF_IO, 0); ^ ../libev/ev.c:3621:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] assert (("libev: pipe_w not active, but pipe not written", ev_is_active (&pipe_w))); ^ In file included from ../libev/ev.c:178:0, from libev.c:8: ../libev/ev.c:3621:70: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: pipe_w not active, but pipe not written", ev_is_active (&pipe_w))); ^ ../libev/ev.c: In function 'ev_io_start': ../libev/ev.c:3795:56: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_io_start called with negative fd", fd >= 0)); ^ ../libev/ev.c:3796:63: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_io_start called with illegal event mask", !(w->events & ~(EV__IOFDSET | EV_READ | EV_WRITE)))); ^ ../libev/ev.c:3805: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)); ^ In file included from libev.c:8:0: ../libev/ev.c:3807:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY); ^ In file included from ../libev/ev.c:178:0, from libev.c:8: ../libev/ev.c: In function 'ev_io_stop': ../libev/ev.c:3820:88: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_io_stop called with illegal fd (must stay constant after start!)", w->fd >= 0 && w->fd < anfdmax)); ^ ../libev/ev.c: In function 'ev_timer_start': ../libev/ev.c:3840:75: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_timer_start called with negative timer repeat value", w->repeat >= 0.)); ^ ../libev/ev.c: In function 'ev_timer_stop': ../libev/ev.c:3868:53: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: internal timer heap corruption", ANHE_w (timers [active]) == (WT)w)); ^ ../libev/ev.c: In function 'ev_periodic_start': ../libev/ev.c:3930:78: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_periodic_start called with negative interval value", w->interval >= 0.)); ^ ../libev/ev.c: In function 'ev_periodic_stop': ../libev/ev.c:3962:56: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: internal periodic heap corruption", ANHE_w (periodics [active]) == (WT)w)); ^ ../libev/ev.c: In function 'ev_signal_start': ../libev/ev.c:3999:70: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: ev_signal_start called with illegal signal number", w->signum > 0 && w->signum < EV_NSIG)); ^ ../libev/ev.c:4002: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", ^ In file included from libev.c:8:0: ../libev/ev.c:4024:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_io_init (&sigfd_w, sigfdcb, sigfd, EV_READ); ^ ../libev/ev.c:4024:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4024:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4024:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4025:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_set_priority (&sigfd_w, EV_MAXPRI); ^ In file included from ../libev/ev.c:178:0, from libev.c:8: ../libev/ev.c: In function 'ev_child_start': ../libev/ev.c:4120: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)); ^ In file included from libev.c:8:0: ../libev/ev.c: In function 'infy_add': ../libev/ev.c:4237:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (ev_is_active (&w->timer)) ev_ref (EV_A); ^ ../libev/ev.c:4239:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (ev_is_active (&w->timer)) ev_unref (EV_A); ^ ../libev/ev.c: In function 'infy_init': ../libev/ev.c:4343:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_io_init (&fs_w, infy_cb, fs_fd, EV_READ); ^ ../libev/ev.c:4343:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4343:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4343:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4344:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_set_priority (&fs_w, EV_MAXPRI); ^ ../libev/ev.c: In function 'infy_fork': ../libev/ev.c:4388:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (ev_is_active (&w->timer)) ev_ref (EV_A); ^ ../libev/ev.c:4390:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (ev_is_active (&w->timer)) ev_unref (EV_A); ^ ../libev/ev.c: In function 'ev_stat_start': ../libev/ev.c:4464:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_timer_init (&w->timer, stat_timer_cb, 0., w->interval ? w->interval : DEF_STAT_INTERVAL); ^ ../libev/ev.c:4464:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4464:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4464:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4464:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4465:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_set_priority (&w->timer, ev_priority (w)); ^ ../libev/ev.c: In function 'ev_stat_stop': ../libev/ev.c:4497:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (ev_is_active (&w->timer)) ^ In file included from ../libev/ev.c:178:0, from libev.c:8: ../libev/ev.c: In function 'ev_embed_start': ../libev/ev.c:4699:60: warning: left-hand operand of comma expression has no effect [-Wunused-value] assert (("libev: loop to be embedded is not embeddable", backend & ev_embeddable_backends ())); ^ In file included from libev.c:8:0: ../libev/ev.c:4700:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_io_init (&w->io, embed_io_cb, backend_fd, EV_READ); ^ ../libev/ev.c:4700:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4700:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4700:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4705:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_set_priority (&w->io, ev_priority (w)); ^ ../libev/ev.c:4708:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_prepare_init (&w->prepare, embed_prepare_cb); ^ ../libev/ev.c:4708:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4708:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4708:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4709:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_set_priority (&w->prepare, EV_MINPRI); ^ ../libev/ev.c:4712:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_fork_init (&w->fork, embed_fork_cb); ^ ../libev/ev.c:4712:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4712:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4712:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c: In function 'ev_once': ../libev/ev.c:4922:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_init (&once->io, once_cb_io); ^ ../libev/ev.c:4922:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4922:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4922:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4929:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_init (&once->to, once_cb_to); ^ ../libev/ev.c:4929:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4929:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4929:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4932:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_timer_set (&once->to, timeout, 0.); ^ ../libev/ev.c: At top level: ../libev/ev.c:5048:27: warning: "/*" within comment [-Wcomment] /* EV_STAT 0x00001000 /* stat data changed */ ^ ../libev/ev.c:5049:27: warning: "/*" within comment [-Wcomment] /* EV_EMBED 0x00010000 /* embedded event loop needs sweep */ ^ In file included from libev.c:8:0: ../libev/ev.c: In function 'evpipe_write': ../libev/ev.c:2326:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (evpipe [1], &counter, sizeof (uint64_t)); ^ ../libev/ev.c:2338:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (evpipe [1], &(evpipe [1]), 1); ^ ../libev/ev.c: In function 'pipecb': ../libev/ev.c:2359:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (evpipe [1], &counter, sizeof (uint64_t)); ^ ../libev/ev.c:2373:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (evpipe [0], &dummy, sizeof (dummy)); ^ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_VERSION_CODE=200 -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -m64 -o iowatcher.o -c iowatcher.c In file included from iowatcher.c:8:0: /usr/include/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" [-Wcpp] #warning use "ruby/io.h" instead of "rubyio.h" ^ In file included from cool.io.h:11:0, from iowatcher.c:12: /usr/include/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" [-Wcpp] #warning use "ruby/io.h" instead of "rubyio.h" ^ iowatcher.c: In function 'Coolio_IOWatcher_initialize': iowatcher.c:90:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_io_init(&watcher_data->event_types.ev_io, Coolio_IOWatcher_libev_callback, FPTR_TO_FD(fptr), events); ^ iowatcher.c:90:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] iowatcher.c:90:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] iowatcher.c:90:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_VERSION_CODE=200 -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H -DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H -DHAVE_LINUX_PROCFS -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -m64 -o cool.io_ext.o -c cool.io_ext.c In file included from cool.io.h:11:0, from cool.io_ext.c:11: /usr/include/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h" [-Wcpp] #warning use "ruby/io.h" instead of "rubyio.h" ^ cool.io_ext.c: In function 'Init_cool': cool.io_ext.c:19:3: warning: implicit declaration of function 'Init_coolio_loop' [-Wimplicit-function-declaration] Init_coolio_loop(); ^ cool.io_ext.c:20:3: warning: implicit declaration of function 'Init_coolio_watcher' [-Wimplicit-function-declaration] Init_coolio_watcher(); ^ cool.io_ext.c:21:3: warning: implicit declaration of function 'Init_coolio_iowatcher' [-Wimplicit-function-declaration] Init_coolio_iowatcher(); ^ cool.io_ext.c:22:3: warning: implicit declaration of function 'Init_coolio_timer_watcher' [-Wimplicit-function-declaration] Init_coolio_timer_watcher(); ^ cool.io_ext.c:23:3: warning: implicit declaration of function 'Init_coolio_stat_watcher' [-Wimplicit-function-declaration] Init_coolio_stat_watcher(); ^ cool.io_ext.c:24:3: warning: implicit declaration of function 'Init_coolio_utils' [-Wimplicit-function-declaration] Init_coolio_utils(); ^ cool.io_ext.c: At top level: cool.io_ext.c:13:14: warning: 'mCoolio' defined but not used [-Wunused-variable] static VALUE mCoolio = Qnil; ^ rm -f cool.io_ext.so gcc -shared -o cool.io_ext.so watcher.o utils.o timer_watcher.o stat_watcher.o loop.o libev.o iowatcher.o cool.io_ext.o -L. -L/usr/lib64 -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lruby -lrt -lpthread -lrt -ldl -lcrypt -lm -lc make "DESTDIR=" install /usr/bin/mkdir -p ./.gem.20161011-12355-jtglyc exit > .RUBYARCHDIR.time /usr/bin/install -c -m 0755 cool.io_ext.so ./.gem.20161011-12355-jtglyc /usr/bin/ruby extconf.rb checking for main() in -lc... yes checking for HAVE_RB_IO_T in rubyio.h... yes checking for rb_io_t.fd in rubyio.h... yes creating Makefile make "DESTDIR=" gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RB_IO_T_FD -DHAVE_ST_FD -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 -m64 -o iobuffer.o -c iobuffer.c iobuffer.c: In function 'buffer_read_frame': iobuffer.c:636:35: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *loc, *s = head->data + head->start, *e = head->data + head->end; ^ iobuffer.c:636:66: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *loc, *s = head->data + head->start, *e = head->data + head->end; ^ iobuffer.c:632:25: warning: unused variable 'tmp' [-Wunused-variable] struct buffer_node *tmp; ^ rm -f iobuffer_ext.so gcc -shared -o iobuffer_ext.so iobuffer.o -L. -L/usr/lib64 -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lruby -lc -lpthread -lrt -ldl -lcrypt -lm -lc make "DESTDIR=" install /usr/bin/mkdir -p ./.gem.20161011-12355-1t7j2u5 exit > .RUBYARCHDIR.time /usr/bin/install -c -m 0755 iobuffer_ext.so ./.gem.20161011-12355-1t7j2u5 unable to convert "\xA0" from ASCII-8BIT to UTF-8 for lib/cool.io_ext.so, skipping unable to convert "\xE0" from ASCII-8BIT to UTF-8 for lib/iobuffer_ext.so, skipping Successfully installed cool.io-1.4.5 Parsing documentation for cool.io-1.4.5 Installing ri documentation for cool.io-1.4.5 Installing darkfish documentation for cool.io-1.4.5 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.J3Zffw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64 + cd cool.io-1.4.5 + mkdir -p /builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/gems ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64/usr/lib64/gems/ruby/cool.io-1.4.5/lib + cp -ar ./usr/share/gems/gems/cool.io-1.4.5/lib/cool.io_ext.so ./usr/share/gems/gems/cool.io-1.4.5/lib/iobuffer_ext.so /builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64/usr/lib64/gems/ruby/cool.io-1.4.5/lib + rm -rf /builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64/usr/share/gems/gems/cool.io-1.4.5/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/cool.io-1.4.5 extracting debug info from /builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64/usr/lib64/gems/ruby/cool.io-1.4.5/lib/iobuffer_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64/usr/lib64/gems/ruby/cool.io-1.4.5/lib/cool.io_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64/usr/share/gems/gems/cool.io-1.4.5/lib/cool.io_ext.so *** WARNING: identical binaries are copied, not linked: /usr/share/gems/gems/cool.io-1.4.5/lib/cool.io_ext.so and /usr/lib64/gems/ruby/cool.io-1.4.5/lib/cool.io_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64/usr/share/gems/gems/cool.io-1.4.5/lib/iobuffer_ext.so *** WARNING: identical binaries are copied, not linked: /usr/share/gems/gems/cool.io-1.4.5/lib/iobuffer_ext.so and /usr/lib64/gems/ruby/cool.io-1.4.5/lib/iobuffer_ext.so /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 489 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Jw1NX0 + umask 022 + cd /builddir/build/BUILD + cd cool.io-1.4.5 + pushd ./usr/share/gems/gems/cool.io-1.4.5 ~/build/BUILD/cool.io-1.4.5/usr/share/gems/gems/cool.io-1.4.5 ~/build/BUILD/cool.io-1.4.5 + rm -f spec/dns_spec.rb + rspec -Ilib -I/builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64/usr/lib64/gems/ruby/cool.io-1.4.5 spec Coolio::AsyncWatcher does not signal on spurious wakeups IO::Buffer provides a subset of the methods available in Strings provides append and prepend #read can be used to retrieve the contents of a buffer provides methods for performing non-blocking I/O #read_from using local file will read as much data as possible using udp socket will read as much data as possible #write_to using local file writes the contents of the buffer using udp socket will read as much data as possible #clear clear all data #read_frame Read up to and including the given frame marker Coolio::StatWatcher fire on_change when the file it is watching is modified should pass previous and current file stat info given a stat watcher should raise when the handler does not take 2 parameters Coolio::TCPServer #run #run_once #run_once(timeout) #run_once(-timeout) #run(timeout) functionaltest #on_connect connected socket called on_connect #on_close closed socket called on_close #on_read server socket received data Coolio::TCPSocket #close detaches all watchers on #close before loop#run #on_connect connected client called on_connect #on_connect_failed try to connect dead host #on_close disconnect from client disconnect from server #on_read receive 5 times #on_write_complete on_write_complete is called Coolio::TimerWatcher can have the on_timer callback defined after creation can be subclassed can have the on_timer callback redefined between runs Coolio::UDPSocket receive message #on_readable 5 times Coolio::UNIXListener creates a new UNIXListener builds off an existing UNIXServer Coolio::UNIXServer creates a new Cool.io::UNIXServer builds off an existing ::UNIXServer Finished in 5.4 seconds 36 examples, 0 failures ~/build/BUILD/cool.io-1.4.5 + popd + exit 0 Processing files: rubygem-cool.io-1.4.5-2.el7.centos.x86_64 Provides: rubygem-cool.io = 1.4.5-2.el7.centos rubygem-cool.io(x86-64) = 1.4.5-2.el7.centos 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.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) libcrypt.so.1()(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) libruby.so.2.0()(64bit) rtld(GNU_HASH) Processing files: rubygem-cool.io-doc-1.4.5-2.el7.centos.noarch Provides: rubygem-cool.io-doc = 1.4.5-2.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-cool.io-debuginfo-1.4.5-2.el7.centos.x86_64 Provides: rubygem-cool.io-debuginfo = 1.4.5-2.el7.centos rubygem-cool.io-debuginfo(x86-64) = 1.4.5-2.el7.centos 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-cool.io-1.4.5-2.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-644739911.novalocal Wrote: /builddir/build/RPMS/rubygem-cool.io-1.4.5-2.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-cool.io-doc-1.4.5-2.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-cool.io-debuginfo-1.4.5-2.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.sa2fd9 + umask 022 + cd /builddir/build/BUILD + cd cool.io-1.4.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-cool.io-1.4.5-2.el7.centos.x86_64 + exit 0 Child return code was: 0