D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ruby-mysql2-0.4.9-2.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gRDDcy + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf mysql2-0.4.9 + /usr/bin/gem unpack /home/pterjan/rpmbuild/SOURCES/mysql2-0.4.9.gem Unpacked gem: '/home/pterjan/rpmbuild/BUILD/mysql2-0.4.9' + /usr/bin/gem spec /home/pterjan/rpmbuild/SOURCES/mysql2-0.4.9.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd mysql2-0.4.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2IzoPw + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd mysql2-0.4.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/gem build ../mysql2-0.4.9.gemspec Successfully built RubyGem Name: mysql2 Version: 0.4.9 File: mysql2-0.4.9.gem + /usr/bin/gem install mysql2-0.4.9.gem -V --local --env-shebang --rdoc --ri --force --ignore-dependencies --install-dir /usr/share/gems --bindir /usr/bin --build-root . WARNING: You build with buildroot. Build root: /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9 Bin dir: /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/bin Gem home: /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/CHANGELOG.md /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/LICENSE /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/README.md /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/examples/eventmachine.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/examples/threaded.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2/client.c /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2/client.h /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2/extconf.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2/infile.c /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2/infile.h /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2/mysql2_ext.c /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2/mysql2_ext.h /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2/mysql_enc_name_to_ruby.h /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2/mysql_enc_to_ruby.h /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2/result.c /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2/result.h /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2/statement.c /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2/statement.h /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2/wait_for_single_fd.h /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/lib/mysql2.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/lib/mysql2/client.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/lib/mysql2/console.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/lib/mysql2/em.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/lib/mysql2/error.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/lib/mysql2/field.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/lib/mysql2/result.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/lib/mysql2/statement.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/lib/mysql2/version.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/configuration.yml.example /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/em/em_spec.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/my.cnf.example /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/mysql2/client_spec.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/mysql2/error_spec.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/mysql2/result_spec.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/mysql2/statement_spec.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/rcov.opts /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/spec_helper.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/ssl/ca-cert.pem /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/ssl/ca-key.pem /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/ssl/ca.cnf /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/ssl/cert.cnf /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/ssl/client-cert.pem /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/ssl/client-key.pem /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/ssl/client-req.pem /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/ssl/gen_certs.sh /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/ssl/pkcs8-client-key.pem /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/ssl/pkcs8-server-key.pem /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/ssl/server-cert.pem /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/ssl/server-key.pem /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/ssl/server-req.pem /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/spec/test_data /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/support/libmysql.def /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/support/mysql_enc_to_ruby.rb /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/support/ruby_enc_to_mysql.rb Building native extensions. This could take a while... current directory: /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2 /usr/bin/ruby -r ./siteconf20171228-31562-9rldct.rb extconf.rb checking for rb_absint_size()... yes checking for rb_absint_singlebit_p()... yes checking for ruby/thread.h... yes checking for rb_thread_call_without_gvl() in ruby/thread.h... yes checking for rb_thread_blocking_region()... no checking for rb_wait_for_single_fd()... yes checking for rb_hash_dup()... yes checking for rb_intern3()... yes checking for rb_big_cmp()... yes ----- Using mysql_config at /usr/bin/mysql_config ----- checking for mysql.h... yes checking for errmsg.h... yes checking for mysqld_error.h... yes checking for SSL_MODE_DISABLED in mysql.h... no checking for MYSQL_OPT_SSL_ENFORCE in mysql.h... yes checking for MYSQL.net.vio in mysql.h... no checking for MYSQL.net.pvio in mysql.h... yes checking for MYSQL_ENABLE_CLEARTEXT_PLUGIN in mysql.h... yes ----- Setting rpath to /usr/lib64 ----- creating Makefile current directory: /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2 make "DESTDIR=" clean rm -f rm -f mysql2.so *.o *.bak mkmf.log .*.time current directory: /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2 make "DESTDIR=" gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I/usr/include/mysql -I/usr/include/mysql/.. -DHAVE_RB_ABSINT_SIZE -DHAVE_RB_ABSINT_SINGLEBIT_P -DHAVE_RUBY_THREAD_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_RB_HASH_DUP -DHAVE_RB_INTERN3 -DHAVE_RB_BIG_CMP -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_MYSQLD_ERROR_H -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wno-bad-function-cast -Wno-conditional-uninitialized -Wno-covered-switch-default -Wno-declaration-after-statement -Wno-disabled-macro-expansion -Wno-documentation-unknown-command -Wno-missing-field-initializers -Wno-missing-variable-declarations -Wno-padded -Wno-reserved-id-macro -Wno-sign-conversion -Wno-static-in-inline -Wno-switch-enum -Wno-undef -Wno-unreachable-code -Wno-used-but-marked-unused -o client.o -c client.c In file included from ./mysql2_ext.h:14:0, from client.c:1: /usr/include/mysql/mysql_com.h:3:2: warning: #warning This file should not be included by clients, include only [-Wcpp] #warning This file should not be included by clients, include only ^~~~~~~ In file included from ./mysql2_ext.h:17:0, from client.c:1: /usr/include/mysql/mysql_version.h:3:2: warning: #warning This file should not be included by clients, include only [-Wcpp] #warning This file should not be included by clients, include only ^~~~~~~ cc1: warning: unrecognized command line option '-Wno-used-but-marked-unused' cc1: warning: unrecognized command line option '-Wno-static-in-inline' cc1: warning: unrecognized command line option '-Wno-reserved-id-macro' cc1: warning: unrecognized command line option '-Wno-missing-variable-declarations' cc1: warning: unrecognized command line option '-Wno-documentation-unknown-command' cc1: warning: unrecognized command line option '-Wno-disabled-macro-expansion' cc1: warning: unrecognized command line option '-Wno-covered-switch-default' cc1: warning: unrecognized command line option '-Wno-conditional-uninitialized' gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I/usr/include/mysql -I/usr/include/mysql/.. -DHAVE_RB_ABSINT_SIZE -DHAVE_RB_ABSINT_SINGLEBIT_P -DHAVE_RUBY_THREAD_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_RB_HASH_DUP -DHAVE_RB_INTERN3 -DHAVE_RB_BIG_CMP -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_MYSQLD_ERROR_H -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wno-bad-function-cast -Wno-conditional-uninitialized -Wno-covered-switch-default -Wno-declaration-after-statement -Wno-disabled-macro-expansion -Wno-documentation-unknown-command -Wno-missing-field-initializers -Wno-missing-variable-declarations -Wno-padded -Wno-reserved-id-macro -Wno-sign-conversion -Wno-static-in-inline -Wno-switch-enum -Wno-undef -Wno-unreachable-code -Wno-used-but-marked-unused -o infile.o -c infile.c In file included from ./mysql2_ext.h:14:0, from infile.c:1: /usr/include/mysql/mysql_com.h:3:2: warning: #warning This file should not be included by clients, include only [-Wcpp] #warning This file should not be included by clients, include only ^~~~~~~ In file included from ./mysql2_ext.h:17:0, from infile.c:1: /usr/include/mysql/mysql_version.h:3:2: warning: #warning This file should not be included by clients, include only [-Wcpp] #warning This file should not be included by clients, include only ^~~~~~~ cc1: warning: unrecognized command line option '-Wno-used-but-marked-unused' cc1: warning: unrecognized command line option '-Wno-static-in-inline' cc1: warning: unrecognized command line option '-Wno-reserved-id-macro' cc1: warning: unrecognized command line option '-Wno-missing-variable-declarations' cc1: warning: unrecognized command line option '-Wno-documentation-unknown-command' cc1: warning: unrecognized command line option '-Wno-disabled-macro-expansion' cc1: warning: unrecognized command line option '-Wno-covered-switch-default' cc1: warning: unrecognized command line option '-Wno-conditional-uninitialized' gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I/usr/include/mysql -I/usr/include/mysql/.. -DHAVE_RB_ABSINT_SIZE -DHAVE_RB_ABSINT_SINGLEBIT_P -DHAVE_RUBY_THREAD_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_RB_HASH_DUP -DHAVE_RB_INTERN3 -DHAVE_RB_BIG_CMP -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_MYSQLD_ERROR_H -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wno-bad-function-cast -Wno-conditional-uninitialized -Wno-covered-switch-default -Wno-declaration-after-statement -Wno-disabled-macro-expansion -Wno-documentation-unknown-command -Wno-missing-field-initializers -Wno-missing-variable-declarations -Wno-padded -Wno-reserved-id-macro -Wno-sign-conversion -Wno-static-in-inline -Wno-switch-enum -Wno-undef -Wno-unreachable-code -Wno-used-but-marked-unused -o mysql2_ext.o -c mysql2_ext.c In file included from ./mysql2_ext.h:14:0, from mysql2_ext.c:1: /usr/include/mysql/mysql_com.h:3:2: warning: #warning This file should not be included by clients, include only [-Wcpp] #warning This file should not be included by clients, include only ^~~~~~~ In file included from ./mysql2_ext.h:17:0, from mysql2_ext.c:1: /usr/include/mysql/mysql_version.h:3:2: warning: #warning This file should not be included by clients, include only [-Wcpp] #warning This file should not be included by clients, include only ^~~~~~~ cc1: warning: unrecognized command line option '-Wno-used-but-marked-unused' cc1: warning: unrecognized command line option '-Wno-static-in-inline' cc1: warning: unrecognized command line option '-Wno-reserved-id-macro' cc1: warning: unrecognized command line option '-Wno-missing-variable-declarations' cc1: warning: unrecognized command line option '-Wno-documentation-unknown-command' cc1: warning: unrecognized command line option '-Wno-disabled-macro-expansion' cc1: warning: unrecognized command line option '-Wno-covered-switch-default' cc1: warning: unrecognized command line option '-Wno-conditional-uninitialized' gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I/usr/include/mysql -I/usr/include/mysql/.. -DHAVE_RB_ABSINT_SIZE -DHAVE_RB_ABSINT_SINGLEBIT_P -DHAVE_RUBY_THREAD_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_RB_HASH_DUP -DHAVE_RB_INTERN3 -DHAVE_RB_BIG_CMP -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_MYSQLD_ERROR_H -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wno-bad-function-cast -Wno-conditional-uninitialized -Wno-covered-switch-default -Wno-declaration-after-statement -Wno-disabled-macro-expansion -Wno-documentation-unknown-command -Wno-missing-field-initializers -Wno-missing-variable-declarations -Wno-padded -Wno-reserved-id-macro -Wno-sign-conversion -Wno-static-in-inline -Wno-switch-enum -Wno-undef -Wno-unreachable-code -Wno-used-but-marked-unused -o result.o -c result.c In file included from ./mysql2_ext.h:14:0, from result.c:1: /usr/include/mysql/mysql_com.h:3:2: warning: #warning This file should not be included by clients, include only [-Wcpp] #warning This file should not be included by clients, include only ^~~~~~~ In file included from ./mysql2_ext.h:17:0, from result.c:1: /usr/include/mysql/mysql_version.h:3:2: warning: #warning This file should not be included by clients, include only [-Wcpp] #warning This file should not be included by clients, include only ^~~~~~~ result.c: In function 'rb_mysql_result_alloc_result_buffers': result.c:326:40: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] wrapper->result_buffers[i].is_null = &wrapper->is_null[i]; ^ result.c:328:40: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] wrapper->result_buffers[i].error = &wrapper->error[i]; ^ result.c: At top level: cc1: warning: unrecognized command line option '-Wno-used-but-marked-unused' cc1: warning: unrecognized command line option '-Wno-static-in-inline' cc1: warning: unrecognized command line option '-Wno-reserved-id-macro' cc1: warning: unrecognized command line option '-Wno-missing-variable-declarations' cc1: warning: unrecognized command line option '-Wno-documentation-unknown-command' cc1: warning: unrecognized command line option '-Wno-disabled-macro-expansion' cc1: warning: unrecognized command line option '-Wno-covered-switch-default' cc1: warning: unrecognized command line option '-Wno-conditional-uninitialized' gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I/usr/include/mysql -I/usr/include/mysql/.. -DHAVE_RB_ABSINT_SIZE -DHAVE_RB_ABSINT_SINGLEBIT_P -DHAVE_RUBY_THREAD_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_RB_HASH_DUP -DHAVE_RB_INTERN3 -DHAVE_RB_BIG_CMP -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_MYSQLD_ERROR_H -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wno-bad-function-cast -Wno-conditional-uninitialized -Wno-covered-switch-default -Wno-declaration-after-statement -Wno-disabled-macro-expansion -Wno-documentation-unknown-command -Wno-missing-field-initializers -Wno-missing-variable-declarations -Wno-padded -Wno-reserved-id-macro -Wno-sign-conversion -Wno-static-in-inline -Wno-switch-enum -Wno-undef -Wno-unreachable-code -Wno-used-but-marked-unused -o statement.o -c statement.c In file included from ./mysql2_ext.h:14:0, from statement.c:1: /usr/include/mysql/mysql_com.h:3:2: warning: #warning This file should not be included by clients, include only [-Wcpp] #warning This file should not be included by clients, include only ^~~~~~~ In file included from ./mysql2_ext.h:17:0, from statement.c:1: /usr/include/mysql/mysql_version.h:3:2: warning: #warning This file should not be included by clients, include only [-Wcpp] #warning This file should not be included by clients, include only ^~~~~~~ cc1: warning: unrecognized command line option '-Wno-used-but-marked-unused' cc1: warning: unrecognized command line option '-Wno-static-in-inline' cc1: warning: unrecognized command line option '-Wno-reserved-id-macro' cc1: warning: unrecognized command line option '-Wno-missing-variable-declarations' cc1: warning: unrecognized command line option '-Wno-documentation-unknown-command' cc1: warning: unrecognized command line option '-Wno-disabled-macro-expansion' cc1: warning: unrecognized command line option '-Wno-covered-switch-default' cc1: warning: unrecognized command line option '-Wno-conditional-uninitialized' rm -f mysql2.so gcc -shared -o mysql2.so client.o infile.o mysql2_ext.o result.o statement.o -L. -L/usr/lib64 -L. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/lib64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lruby -L/usr/lib64 -lmariadb -lpthread -lnsl -lz -ldl -lm -lssl -lcrypto -lpthread -ldl -lcrypt -lm -lc current directory: /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9/usr/share/gems/gems/mysql2-0.4.9/ext/mysql2 make "DESTDIR=" install /usr/bin/mkdir -p . ./.gem.20171228-31562-1a1pay8/mysql2 exit > .sitearchdir.-.mysql2.time /usr/bin/install -c -m 0755 mysql2.so ./.gem.20171228-31562-1a1pay8/mysql2 Successfully installed mysql2-0.4.9 Parsing documentation for mysql2-0.4.9 Parsing sources... 3% [ 1/30] ext/mysql2/Makefile 6% [ 2/30] ext/mysql2/client.c 10% [ 3/30] ext/mysql2/client.h 13% [ 4/30] ext/mysql2/client.o 16% [ 5/30] ext/mysql2/extconf.rb 20% [ 6/30] ext/mysql2/infile.c 23% [ 7/30] ext/mysql2/infile.h 26% [ 8/30] ext/mysql2/infile.o 30% [ 9/30] ext/mysql2/mysql2.so 33% [10/30] ext/mysql2/mysql2_ext.c 36% [11/30] ext/mysql2/mysql2_ext.h 40% [12/30] ext/mysql2/mysql2_ext.o 43% [13/30] ext/mysql2/mysql_enc_name_to_ruby.h 46% [14/30] ext/mysql2/mysql_enc_to_ruby.h 50% [15/30] ext/mysql2/result.c 53% [16/30] ext/mysql2/result.h 56% [17/30] ext/mysql2/result.o 60% [18/30] ext/mysql2/statement.c 63% [19/30] ext/mysql2/statement.h 66% [20/30] ext/mysql2/statement.o 70% [21/30] ext/mysql2/wait_for_single_fd.h 73% [22/30] lib/mysql2.rb 76% [23/30] lib/mysql2/client.rb 80% [24/30] lib/mysql2/console.rb 83% [25/30] lib/mysql2/em.rb 86% [26/30] lib/mysql2/error.rb 90% [27/30] lib/mysql2/field.rb 93% [28/30] lib/mysql2/result.rb 96% [29/30] lib/mysql2/statement.rb 100% [30/30] lib/mysql2/version.rb Installing ri documentation for mysql2-0.4.9 Installing darkfish documentation for mysql2-0.4.9 Done installing documentation for mysql2 after 0 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kRhvVO + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64 + cd mysql2-0.4.9 + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/specifications /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64/usr/share/gems/ + '[' -d ./usr/lib64/gems/ruby/mysql2-0.4.9 ']' + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64/usr/lib64/gems/ruby/mysql2-0.4.9 + cp -pa ./usr/lib64/gems/ruby/mysql2-0.4.9/gem.build_complete ./usr/lib64/gems/ruby/mysql2-0.4.9/gem_make.out ./usr/lib64/gems/ruby/mysql2-0.4.9/mkmf.log ./usr/lib64/gems/ruby/mysql2-0.4.9/mysql2 /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64/usr/lib64/gems/ruby/mysql2-0.4.9 + '[' -d ./usr/bin ']' + rm -fr /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64/usr/share/gems/cache /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64/usr/share/gems/extensions /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64/usr/share/gems/gems/mysql2-0.4.9/ext /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64/usr/share/gems/gems/mysql2-0.4.9/mysql2.gemspec + rm -f /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64/usr/lib64/gems/ruby/mysql2-0.4.9/gem_make.out /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64/usr/lib64/gems/ruby/mysql2-0.4.9/mkmf.log + /usr/lib/rpm/find-debuginfo.sh -j8 -m -i --build-id-seed 0.4.9-2.mga7 --unique-debug-suffix -0.4.9-2.mga7.x86_64 --unique-debug-src-base ruby-mysql2-0.4.9-2.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/mysql2-0.4.9 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64/usr/lib64/gems/ruby/mysql2-0.4.9/mysql2/mysql2.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 232 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: ruby-mysql2-0.4.9-2.mga7.x86_64 Provides: ruby-mysql2 = 0.4.9-2.mga7 ruby-mysql2(x86-64) = 0.4.9-2.mga7 rubygem(mysql2) = 0.4.9-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libruby.so.2.4()(64bit) ruby(rubygems) Processing files: ruby-mysql2-doc-0.4.9-2.mga7.noarch pcregrep: line 3 of file /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64/usr/share/gems/doc/mysql2-0.4.9/rdoc/js/jquery.js is too long for the internal buffer pcregrep: check the --buffer-size option pcregrep: line 3 of file /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64/usr/share/gems/doc/mysql2-0.4.9/rdoc/js/jquery.js is too long for the internal buffer pcregrep: check the --buffer-size option Provides: ruby-mysql2-doc = 0.4.9-2.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ruby-mysql2-debugsource-0.4.9-2.mga7.x86_64 Provides: ruby-mysql2-debugsource = 0.4.9-2.mga7 ruby-mysql2-debugsource(x86-64) = 0.4.9-2.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ruby-mysql2-debuginfo-0.4.9-2.mga7.x86_64 Provides: debuginfo(build-id) = 4a8fc2e32e715fd411ac69635e5a95c80cc7cec1 ruby-mysql2-debuginfo = 0.4.9-2.mga7 ruby-mysql2-debuginfo(x86-64) = 0.4.9-2.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ruby-mysql2-debugsource(x86-64) = 0.4.9-2.mga7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ruby-mysql2-0.4.9-2.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/ruby-mysql2-doc-0.4.9-2.mga7.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ruby-mysql2-debugsource-0.4.9-2.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ruby-mysql2-debuginfo-0.4.9-2.mga7.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cZqnkd + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd mysql2-0.4.9 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/ruby-mysql2-0.4.9-2.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6xkGNB + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf mysql2-0.4.9 + exit 0 D: [iurt_root_command] Success!