Mock Version: 1.2.3 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-cool.io.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-2857/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}gid=135user='mockbuild'timeout=0logger=uid=500) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-cool.io.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: Could not canonicalize hostname: i-0002a8c9 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-cool.io-1.2.4-1.el7.centos.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-cool.io.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-2857/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}gid=135user='mockbuild'timeout=0logger=uid=500) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-cool.io.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QJ5Jzb + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/cool.io-1.2.4.gem Unpacked gem: '/builddir/build/BUILD/cool.io-1.2.4' + cd /builddir/build/BUILD + cd cool.io-1.2.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/cool.io-1.2.4.gem -l --ruby + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Qzp9Xs + umask 022 + cd /builddir/build/BUILD + cd cool.io-1.2.4 + gem build cool.io.gemspec WARNING: licenses is empty Successfully built RubyGem Name: cool.io Version: 1.2.4 File: cool.io-1.2.4.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 --no-document cool.io-1.2.4.gem Installing gem cool.io-1.2.4 /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/.gitignore /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/.rspec /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/.travis.yml /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/CHANGES.md /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/Gemfile /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/LICENSE /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/README.md /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/Rakefile /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/cool.io.gemspec /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/examples/dslified_echo_client.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/examples/dslified_echo_server.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/examples/echo_client.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/examples/echo_server.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/examples/google.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/examples/httpclient.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/cool.io/.gitignore /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/cool.io/cool.io.h /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/cool.io/cool.io_ext.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/cool.io/ev_wrap.h /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/cool.io/extconf.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/cool.io/iowatcher.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/cool.io/libev.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/cool.io/loop.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/cool.io/stat_watcher.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/cool.io/timer_watcher.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/cool.io/utils.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/cool.io/watcher.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/cool.io/watcher.h /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/http11_client/.gitignore /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/http11_client/LICENSE /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/http11_client/ext_help.h /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/http11_client/extconf.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/http11_client/http11_client.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/http11_client/http11_parser.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/http11_client/http11_parser.h /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/http11_client/http11_parser.rl /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/iobuffer/extconf.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/iobuffer/iobuffer.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/Changes /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/LICENSE /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/README /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/README.embed /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/ev.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/ev.h /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/ev_epoll.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/ev_kqueue.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/ev_poll.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/ev_port.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/ev_select.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/ev_vars.h /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/ev_win32.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/ev_wrap.h /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/ruby_gil.patch /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/ext/libev/test_libev_win32.c /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/.gitignore /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/async_watcher.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/custom_require.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/dns_resolver.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/dsl.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/eventmachine.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/http_client.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/io.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/iowatcher.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/listener.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/loop.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/meta.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/server.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/socket.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/timer_watcher.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io/version.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/lib/coolio.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/spec/async_watcher_spec.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/spec/dns_spec.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/spec/spec_helper.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/spec/stat_watcher_spec.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/spec/tcp_server_spec.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/spec/tcp_socket_spec.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/spec/timer_watcher_spec.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/spec/unix_listener_spec.rb /builddir/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4/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_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THEREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -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_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 -mtune=generic -fPIC -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_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THEREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -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_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 -mtune=generic -fPIC -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: 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_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THEREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -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_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 -mtune=generic -fPIC -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:58:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_init(&loop->timer, Coolio_Loop_timeout_callback); ^ loop.c:58:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] loop.c:58:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] loop.c: In function 'Coolio_Loop_initialize': loop.c:85:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ 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_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THEREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -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_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 -mtune=generic -fPIC -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] 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_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THEREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -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_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 -mtune=generic -fPIC -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; ^ 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_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THEREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -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_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 -mtune=generic -fPIC -m64 -o libev.o -c libev.c In file included from libev.c:8:0: ../libev/ev.c:481: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:1535: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:2094: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:2623:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_prepare_init (&pending_w, pendingcb); ^ ../libev/ev.c:2623:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:2623:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:2626:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_init (&pipe_w, pipecb); ^ ../libev/ev.c:2626:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:2626:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:2627: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:2654: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:2661:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (ev_is_active (&pipe_w)) ^ ../libev/ev.c:2671: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:2764: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:2806: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:2809: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:2819: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:2820: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:2821: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:2832: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:2850: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:2863: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:2867: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:2868: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:2945:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_signal_init (&childev, childcb, SIGCHLD); ^ ../libev/ev.c:2945:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:2945:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:2946: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:3050: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:3112: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)); ^ In file included from libev.c:8:0: ../libev/ev.c: In function 'ev_backend_poll': ../libev/ev.c:3252:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ In file included from ../libev/ev.c:178:0, from libev.c:8: ../libev/ev.c: In function 'ev_run': ../libev/ev.c:3269: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:3435: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:3450: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:3450: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:3624: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:3625: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:3634: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:3636: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:3649: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:3669: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:3697: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:3759: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:3791: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:3828: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:3831: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:3853: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:3853:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:3853:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:3854: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:3949: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:4066: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:4068: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:4172: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:4172:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4172:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4173: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:4217: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:4219: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:4293: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:4293:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4293:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4293:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4294: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:4326: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:4528: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:4529: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:4529:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4529:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4534:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_set_priority (&w->io, ev_priority (w)); ^ ../libev/ev.c:4537:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_prepare_init (&w->prepare, embed_prepare_cb); ^ ../libev/ev.c:4537:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4537:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4538:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_set_priority (&w->prepare, EV_MINPRI); ^ ../libev/ev.c:4541:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_fork_init (&w->fork, embed_fork_cb); ^ ../libev/ev.c:4541:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4541:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c: In function 'ev_once': ../libev/ev.c:4751:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_init (&once->io, once_cb_io); ^ ../libev/ev.c:4751:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4751:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4758:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ev_init (&once->to, once_cb_to); ^ ../libev/ev.c:4758:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4758:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../libev/ev.c:4761: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:4877:27: warning: "/*" within comment [-Wcomment] /* EV_STAT 0x00001000 /* stat data changed */ ^ ../libev/ev.c:4878: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:2164: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:2176: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:2197: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:2211: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_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THEREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -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_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 -mtune=generic -fPIC -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: 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_BLOCKING_REGION -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_THEREAD_CALL_WITHOUT_GVL -DHAVE_RB_THREAD_ALONE -DHAVE_RB_THREAD_ALONE -DHAVE_RB_STR_SET_LEN -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_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 -mtune=generic -fPIC -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" ^ rm -f cool.io_ext.so gcc -shared -o cool.io_ext.so utils.o stat_watcher.o loop.o iowatcher.o cool.io_ext.o libev.o timer_watcher.o watcher.o -L. -L/usr/lib64 -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lruby -lrt -lpthread -lrt -ldl -lcrypt -lm -lc -lrt make "DESTDIR=" install /usr/bin/mkdir -p ./.gem.20150113-3759-e59wyi exit > .RUBYARCHDIR.time /usr/bin/install -c -m 0755 cool.io_ext.so ./.gem.20150113-3759-e59wyi /usr/bin/ruby extconf.rb checking for main() in -lc... yes creating Makefile make "DESTDIR=" gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic -fPIC -m64 -o http11_client.o -c http11_client.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic -fPIC -m64 -o http11_parser.o -c http11_parser.c rm -f http11_client.so gcc -shared -o http11_client.so http11_client.o http11_parser.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.20150113-3759-1gsxgvq exit > .RUBYARCHDIR.time /usr/bin/install -c -m 0755 http11_client.so ./.gem.20150113-3759-1gsxgvq /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 -mtune=generic -fPIC -m64 -o iobuffer.o -c iobuffer.c iobuffer.c: In function 'buffer_read_frame': iobuffer.c:634: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:634: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:630: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.20150113-3759-o8mpnx exit > .RUBYARCHDIR.time /usr/bin/install -c -m 0755 iobuffer_ext.so ./.gem.20150113-3759-o8mpnx Successfully installed cool.io-1.2.4 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uCSpOY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64 + cd cool.io-1.2.4 + mkdir -p /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.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.2.4-1.el7.centos.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64/usr/lib64/gems/ruby/cool.io-1.2.4/lib + cp -ar ./usr/share/gems/gems/cool.io-1.2.4/lib/cool.io_ext.so ./usr/share/gems/gems/cool.io-1.2.4/lib/http11_client.so ./usr/share/gems/gems/cool.io-1.2.4/lib/iobuffer_ext.so /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64/usr/lib64/gems/ruby/cool.io-1.2.4/lib + rm -rf /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64/usr/share/gems/gems/cool.io-1.2.4/ext/ + rm -f /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64/usr/share/gems/gems/cool.io-1.2.4/.gitignore /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64/usr/share/gems/gems/cool.io-1.2.4/.travis.yml /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64/usr/share/gems/gems/cool.io-1.2.4/.rspec + /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.2.4 extracting debug info from /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64/usr/share/gems/gems/cool.io-1.2.4/lib/iobuffer_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64/usr/share/gems/gems/cool.io-1.2.4/lib/http11_client.so extracting debug info from /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64/usr/share/gems/gems/cool.io-1.2.4/lib/cool.io_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64/usr/lib64/gems/ruby/cool.io-1.2.4/lib/iobuffer_ext.so *** WARNING: identical binaries are copied, not linked: /usr/lib64/gems/ruby/cool.io-1.2.4/lib/iobuffer_ext.so and /usr/share/gems/gems/cool.io-1.2.4/lib/iobuffer_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64/usr/lib64/gems/ruby/cool.io-1.2.4/lib/http11_client.so *** WARNING: identical binaries are copied, not linked: /usr/lib64/gems/ruby/cool.io-1.2.4/lib/http11_client.so and /usr/share/gems/gems/cool.io-1.2.4/lib/http11_client.so extracting debug info from /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64/usr/lib64/gems/ruby/cool.io-1.2.4/lib/cool.io_ext.so *** WARNING: identical binaries are copied, not linked: /usr/lib64/gems/ruby/cool.io-1.2.4/lib/cool.io_ext.so and /usr/share/gems/gems/cool.io-1.2.4/lib/cool.io_ext.so /usr/lib/rpm/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. 520 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.sZRFky + umask 022 + cd /builddir/build/BUILD + cd cool.io-1.2.4 + pushd ./usr/share/gems/gems/cool.io-1.2.4 ~/build/BUILD/cool.io-1.2.4/usr/share/gems/gems/cool.io-1.2.4 ~/build/BUILD/cool.io-1.2.4 + rspec -Ilib -I/builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64/usr/lib64/gems/ruby/cool.io-1.2.4 spec Coolio::AsyncWatcher does not signal on spurious wakeups DNS connects to valid domains fires on_resolve_failed for invalid domains 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) Coolio::TCPSocket #close detaches all watchers on #close before loop#run Coolio::TimerWatcher can have the on_timer callback defined after creation can be subclassed can have the on_timer callback redefined between runs 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.46 seconds 19 examples, 0 failures ~/build/BUILD/cool.io-1.2.4 + popd + exit 0 Processing files: rubygem-cool.io-1.2.4-1.el7.centos.x86_64 Provides: rubygem-cool.io = 1.2.4-1.el7.centos rubygem-cool.io(x86-64) = 1.2.4-1.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)(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) libruby.so.2.0()(64bit) rtld(GNU_HASH) Processing files: rubygem-cool.io-doc-1.2.4-1.el7.centos.noarch Provides: rubygem-cool.io-doc = 1.2.4-1.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.2.4-1.el7.centos.x86_64 Provides: rubygem-cool.io-debuginfo = 1.2.4-1.el7.centos rubygem-cool.io-debuginfo(x86-64) = 1.2.4-1.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.2.4-1.el7.centos.x86_64 warning: Could not canonicalize hostname: i-0002a8c9 Wrote: /builddir/build/RPMS/rubygem-cool.io-1.2.4-1.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-cool.io-doc-1.2.4-1.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-cool.io-debuginfo-1.2.4-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8URDEm + umask 022 + cd /builddir/build/BUILD + cd cool.io-1.2.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-cool.io-1.2.4-1.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->