Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rubygem-mysql2.spec'], chrootPath='/var/lib/mock/module-ruby-3.1-9010020221204230336-5600d869-build-91560-37961/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rubygem-mysql2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1645056000 Wrote: /builddir/build/SRPMS/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps --nocheck /builddir/build/SPECS/rubygem-mysql2.spec'], chrootPath='/var/lib/mock/module-ruby-3.1-9010020221204230336-5600d869-build-91560-37961/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps --nocheck /builddir/build/SPECS/rubygem-mysql2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1645056000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9f8u1z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mysql2-0.5.3 + /usr/bin/tar -xof /builddir/build/SOURCES/mysql2-0.5.3-tests.txz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gem unpack /builddir/build/SOURCES/mysql2-0.5.3.gem Unpacked gem: '/builddir/build/BUILD/mysql2-0.5.3' + /usr/bin/gem spec /builddir/build/SOURCES/mysql2-0.5.3.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd mysql2-0.5.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd /builddir/build/BUILD/spec ~/build/BUILD/spec ~/build/BUILD/mysql2-0.5.3 Patch #2 (rubygem-mysql2-0.5.3-fix-assertion-mariadb-connector-c.patch): + echo 'Patch #2 (rubygem-mysql2-0.5.3-fix-assertion-mariadb-connector-c.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file mysql2/client_spec.rb + popd ~/build/BUILD/mysql2-0.5.3 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QF7DOf + umask 022 + cd /builddir/build/BUILD + cd mysql2-0.5.3 + gem build ../mysql2-0.5.3.gemspec Successfully built RubyGem Name: mysql2 Version: 0.5.3 File: mysql2-0.5.3.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc mysql2-0.5.3.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/mysql2-0.5.3 Bin dir: /builddir/build/BUILD/mysql2-0.5.3/usr/bin Gem home: /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems Plugins dir: /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/plugins /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/CHANGELOG.md /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/LICENSE /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/README.md /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2/client.c /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2/client.h /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2/extconf.rb /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2/infile.c /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2/infile.h /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2/mysql2_ext.c /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2/mysql2_ext.h /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2/mysql_enc_name_to_ruby.h /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2/mysql_enc_to_ruby.h /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2/result.c /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2/result.h /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2/statement.c /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2/statement.h /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2/wait_for_single_fd.h /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/lib/mysql2.rb /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/lib/mysql2/client.rb /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/lib/mysql2/console.rb /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/lib/mysql2/em.rb /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/lib/mysql2/error.rb /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/lib/mysql2/field.rb /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/lib/mysql2/result.rb /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/lib/mysql2/statement.rb /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/lib/mysql2/version.rb /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/support/5072E1F5.asc /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/support/libmysql.def /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/support/mysql_enc_to_ruby.rb /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/support/ruby_enc_to_mysql.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2 ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20221205-1290632-clkjd1.rb", "extconf.rb"] checking for rb_absint_size()... yes checking for rb_absint_singlebit_p()... yes checking for rb_wait_for_single_fd()... yes ----- Using mysql_config at /usr/bin/mysql_config ----- checking for mysql.h... yes checking for errmsg.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 checking for SERVER_QUERY_NO_GOOD_INDEX_USED in mysql.h... yes checking for SERVER_QUERY_NO_INDEX_USED in mysql.h... yes checking for SERVER_QUERY_WAS_SLOW in mysql.h... yes checking for MYSQL_OPTION_MULTI_STATEMENTS_ON in mysql.h... yes checking for MYSQL_OPTION_MULTI_STATEMENTS_OFF in mysql.h... yes checking for my_bool in mysql.h... yes ----- Setting rpath to /usr/lib64/ ----- creating Makefile current directory: /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2 ["make", "DESTDIR=", "clean"] rm -f rm -fr mysql2.so false *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/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/mysql -DHAVE_RB_ABSINT_SIZE -DHAVE_RB_ABSINT_SINGLEBIT_P -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -DHAVE_CONST_SERVER_QUERY_NO_GOOD_INDEX_USED -DHAVE_CONST_SERVER_QUERY_NO_INDEX_USED -DHAVE_CONST_SERVER_QUERY_WAS_SLOW -DHAVE_CONST_MYSQL_OPTION_MULTI_STATEMENTS_ON -DHAVE_CONST_MYSQL_OPTION_MULTI_STATEMENTS_OFF -DHAVE_TYPE_MY_BOOL -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 client.c: In function 'rb_raise_mysql2_error': client.c:178:3: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 178 | VALUE rb_sql_state = rb_tainted_str_new2(mysql_sqlstate(wrapper->client)); | ^~~~~ In file included from /usr/include/ruby/intern.h:57, from /usr/include/ruby/ruby.h:192, from /usr/include/ruby.h:38, from ./mysql2_ext.h:10, from client.c:1: /usr/include/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ client.c: In function 'rb_mysql_query': client.c:787:14: warning: passing argument 1 of 'rb_rescue2' from incompatible pointer type [-Wincompatible-pointer-types] 787 | rb_rescue2(do_send_query, (VALUE)&args, disconnect_and_raise, self, rb_eException, (VALUE)0); | ^~~~~~~~~~~~~ | | | VALUE (*)(void *) {aka long unsigned int (*)(void *)} In file included from /usr/include/ruby/ruby.h:40, from /usr/include/ruby.h:38, from ./mysql2_ext.h:10, from client.c:1: /usr/include/ruby/internal/iterator.h:388:26: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(void *)' {aka 'long unsigned int (*)(void *)'} 388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2, ...); | ~~~~~~~~^~~~~~~~~~~~~~ client.c:795:16: warning: passing argument 1 of 'rb_rescue2' from incompatible pointer type [-Wincompatible-pointer-types] 795 | rb_rescue2(do_query, (VALUE)&async_args, disconnect_and_raise, self, rb_eException, (VALUE)0); | ^~~~~~~~ | | | VALUE (*)(void *) {aka long unsigned int (*)(void *)} In file included from /usr/include/ruby/ruby.h:40, from /usr/include/ruby.h:38, from ./mysql2_ext.h:10, from client.c:1: /usr/include/ruby/internal/iterator.h:388:26: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(void *)' {aka 'long unsigned int (*)(void *)'} 388 | VALUE rb_rescue2(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2, ...); | ~~~~~~~~^~~~~~~~~~~~~~ client.c: At top level: cc1: note: unrecognized command-line option '-Wno-used-but-marked-unused' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-static-in-inline' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-reserved-id-macro' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-missing-variable-declarations' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-documentation-unknown-command' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-disabled-macro-expansion' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-covered-switch-default' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-conditional-uninitialized' may have been intended to silence earlier diagnostics gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I/usr/include/mysql -I/usr/include/mysql/mysql -DHAVE_RB_ABSINT_SIZE -DHAVE_RB_ABSINT_SINGLEBIT_P -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -DHAVE_CONST_SERVER_QUERY_NO_GOOD_INDEX_USED -DHAVE_CONST_SERVER_QUERY_NO_INDEX_USED -DHAVE_CONST_SERVER_QUERY_WAS_SLOW -DHAVE_CONST_MYSQL_OPTION_MULTI_STATEMENTS_ON -DHAVE_CONST_MYSQL_OPTION_MULTI_STATEMENTS_OFF -DHAVE_TYPE_MY_BOOL -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I/usr/include/mysql -I/usr/include/mysql/mysql -DHAVE_RB_ABSINT_SIZE -DHAVE_RB_ABSINT_SINGLEBIT_P -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -DHAVE_CONST_SERVER_QUERY_NO_GOOD_INDEX_USED -DHAVE_CONST_SERVER_QUERY_NO_INDEX_USED -DHAVE_CONST_SERVER_QUERY_WAS_SLOW -DHAVE_CONST_MYSQL_OPTION_MULTI_STATEMENTS_ON -DHAVE_CONST_MYSQL_OPTION_MULTI_STATEMENTS_OFF -DHAVE_TYPE_MY_BOOL -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I/usr/include/mysql -I/usr/include/mysql/mysql -DHAVE_RB_ABSINT_SIZE -DHAVE_RB_ABSINT_SINGLEBIT_P -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -DHAVE_CONST_SERVER_QUERY_NO_GOOD_INDEX_USED -DHAVE_CONST_SERVER_QUERY_NO_INDEX_USED -DHAVE_CONST_SERVER_QUERY_WAS_SLOW -DHAVE_CONST_MYSQL_OPTION_MULTI_STATEMENTS_ON -DHAVE_CONST_MYSQL_OPTION_MULTI_STATEMENTS_OFF -DHAVE_TYPE_MY_BOOL -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I/usr/include/mysql -I/usr/include/mysql/mysql -DHAVE_RB_ABSINT_SIZE -DHAVE_RB_ABSINT_SINGLEBIT_P -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -DHAVE_CONST_SERVER_QUERY_NO_GOOD_INDEX_USED -DHAVE_CONST_SERVER_QUERY_NO_INDEX_USED -DHAVE_CONST_SERVER_QUERY_WAS_SLOW -DHAVE_CONST_MYSQL_OPTION_MULTI_STATEMENTS_ON -DHAVE_CONST_MYSQL_OPTION_MULTI_STATEMENTS_OFF -DHAVE_TYPE_MY_BOOL -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 statement.c: In function 'rb_raise_mysql2_stmt_error': statement.c:49:3: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 49 | VALUE rb_sql_state = rb_tainted_str_new2(mysql_stmt_sqlstate(stmt_wrapper->stmt)); | ^~~~~ In file included from /usr/include/ruby/intern.h:57, from /usr/include/ruby/ruby.h:192, from /usr/include/ruby.h:38, from ./mysql2_ext.h:10, from statement.c:1: /usr/include/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ statement.c: At top level: cc1: note: unrecognized command-line option '-Wno-used-but-marked-unused' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-static-in-inline' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-reserved-id-macro' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-missing-variable-declarations' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-documentation-unknown-command' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-disabled-macro-expansion' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-covered-switch-default' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-conditional-uninitialized' may have been intended to silence earlier diagnostics rm -f mysql2.so gcc -shared -o mysql2.so client.o infile.o mysql2_ext.o result.o statement.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-rpath,/usr/lib64/ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -lruby -L/usr/lib64/ -lmariadb -lm -lc current directory: /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2 ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20221205-1290632-cygxkz/mysql2 exit > .sitearchdir.-.mysql2.time /usr/bin/install -c -m 0755 mysql2.so ./.gem.20221205-1290632-cygxkz/mysql2 current directory: /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2 /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20221205-1290632-clkjd1.rb extconf.rb current directory: /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2 make DESTDIR\= clean current directory: /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2 make DESTDIR\= current directory: /builddir/build/BUILD/mysql2-0.5.3/usr/share/gems/gems/mysql2-0.5.3/ext/mysql2 make DESTDIR\= install Successfully installed mysql2-0.5.3 Parsing documentation for mysql2-0.5.3 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.5.3 Installing darkfish documentation for mysql2-0.5.3 Done installing documentation for mysql2 after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rxjNiU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64 ++ dirname /builddir/build/BUILDROOT/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64 + cd mysql2-0.5.3 + mkdir -p /builddir/build/BUILDROOT/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64/usr/share/gems + cp -pa ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64/usr/lib64/gems/ruby/mysql2-0.5.3 + cp -a ./usr/lib64/gems/ruby/mysql2-0.5.3/gem.build_complete ./usr/lib64/gems/ruby/mysql2-0.5.3/gem_make.out ./usr/lib64/gems/ruby/mysql2-0.5.3/mkmf.log ./usr/lib64/gems/ruby/mysql2-0.5.3/mysql2 /builddir/build/BUILDROOT/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64/usr/lib64/gems/ruby/mysql2-0.5.3/ + rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64/usr/share/gems/gems/mysql2-0.5.3/ext + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 0.5.3-11.module+el9.1.0+608+ee6065b0 --unique-debug-suffix -0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64 --unique-debug-src-base rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/mysql2-0.5.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64/usr/lib64/gems/ruby/mysql2-0.5.3/mysql2/mysql2.so extracting debug info from /builddir/build/BUILDROOT/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64/usr/lib64/gems/ruby/mysql2-0.5.3/mysql2/mysql2.so original debug info size: 412kB, size after compression: 380kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 240 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64 Provides: rubygem(mysql2) = 0.5.3 rubygem-mysql2 = 0.5.3-11.module+el9.1.0+608+ee6065b0 rubygem-mysql2(aarch-64) = 0.5.3-11.module+el9.1.0+608+ee6065b0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libruby.so.3.1()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-mysql2-doc-0.5.3-11.module+el9.1.0+608+ee6065b0.noarch Provides: rubygem-mysql2-doc = 0.5.3-11.module+el9.1.0+608+ee6065b0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-mysql2-debugsource-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64 Provides: rubygem-mysql2-debugsource = 0.5.3-11.module+el9.1.0+608+ee6065b0 rubygem-mysql2-debugsource(aarch-64) = 0.5.3-11.module+el9.1.0+608+ee6065b0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-mysql2-debuginfo-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64 Provides: debuginfo(build-id) = 243c5ae179b3d582f72b8ad7b40efeff50fdc9b7 rubygem-mysql2-debuginfo = 0.5.3-11.module+el9.1.0+608+ee6065b0 rubygem-mysql2-debuginfo(aarch-64) = 0.5.3-11.module+el9.1.0+608+ee6065b0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-mysql2-debugsource(aarch-64) = 0.5.3-11.module+el9.1.0+608+ee6065b0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64 Wrote: /builddir/build/RPMS/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64.rpm Wrote: /builddir/build/RPMS/rubygem-mysql2-debugsource-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64.rpm Wrote: /builddir/build/RPMS/rubygem-mysql2-debuginfo-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64.rpm Wrote: /builddir/build/RPMS/rubygem-mysql2-doc-0.5.3-11.module+el9.1.0+608+ee6065b0.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SIVRca + umask 022 + cd /builddir/build/BUILD + cd mysql2-0.5.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.5.3-11.module+el9.1.0+608+ee6065b0.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0