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-2.5-8060020220818084900-e829d8bc-build-25723-6939/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 Wrote: /builddir/build/SRPMS/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rubygem-mysql2.spec'], chrootPath='/var/lib/mock/module-ruby-2.5-8060020220818084900-e829d8bc-build-25723-6939/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 /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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bqPlx4 + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/mysql2-0.4.10.gem Unpacked gem: '/builddir/build/BUILD/mysql2-0.4.10' + cd /builddir/build/BUILD + cd mysql2-0.4.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (rubygem-mysql2-0.4.10-mariadb-connector-c-3.0.2-fix-wrong-local-infile-on-big-endian.patch): + echo 'Patch #0 (rubygem-mysql2-0.4.10-mariadb-connector-c-3.0.2-fix-wrong-local-infile-on-big-endian.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ext/mysql2/client.c Hunk #1 succeeded at 876 (offset 4 lines). Patch #1 (rubygem-mysql2-0.4.10-fix-wrong-type-year-value-on-big-endian.patch): + echo 'Patch #1 (rubygem-mysql2-0.4.10-fix-wrong-type-year-value-on-big-endian.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ext/mysql2/result.c + gem spec /builddir/build/SOURCES/mysql2-0.4.10.gem -l --ruby + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5w4DdG + umask 022 + cd /builddir/build/BUILD + cd mysql2-0.4.10 + gem build mysql2.gemspec Successfully built RubyGem Name: mysql2 Version: 0.4.10 File: mysql2-0.4.10.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc mysql2-0.4.10.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/mysql2-0.4.10 Bin dir: /builddir/build/BUILD/mysql2-0.4.10/usr/bin Gem home: /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/CHANGELOG.md /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/LICENSE /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/README.md /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/examples/eventmachine.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/examples/threaded.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2/client.c /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2/client.h /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2/extconf.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2/infile.c /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2/infile.h /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2/mysql2_ext.c /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2/mysql2_ext.h /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2/mysql_enc_name_to_ruby.h /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2/mysql_enc_to_ruby.h /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2/result.c /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2/result.h /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2/statement.c /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2/statement.h /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2/wait_for_single_fd.h /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/lib/mysql2.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/lib/mysql2/client.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/lib/mysql2/console.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/lib/mysql2/em.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/lib/mysql2/error.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/lib/mysql2/field.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/lib/mysql2/result.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/lib/mysql2/statement.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/lib/mysql2/version.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/configuration.yml.example /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/em/em_spec.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/my.cnf.example /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/mysql2/client_spec.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/mysql2/error_spec.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/mysql2/result_spec.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/mysql2/statement_spec.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/rcov.opts /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/spec_helper.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/ca-cert.pem /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/ca-key.pem /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/ca.cnf /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/cert.cnf /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/client-cert.pem /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/client-key.pem /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/client-req.pem /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/gen_certs.sh /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/pkcs8-client-key.pem /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/pkcs8-server-key.pem /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/server-cert.pem /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/server-key.pem /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/server-req.pem /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/spec/test_data /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/support/5072E1F5.asc /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/support/libmysql.def /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/support/mysql_enc_to_ruby.rb /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/support/ruby_enc_to_mysql.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2 /usr/bin/ruby -r ./siteconf20220818-2185029-17pqdnd.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 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: /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2 make "DESTDIR=" clean rm -f rm -f mysql2.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/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_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_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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_set_ssl_mode_option': client.c:145:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ client.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/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_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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_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_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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_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_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 result.c: In function 'rb_mysql_result_alloc_result_buffers': result.c:326:40: warning: assignment to 'my_bool *' {aka 'char *'} from incompatible pointer type '_Bool *' [-Wincompatible-pointer-types] wrapper->result_buffers[i].is_null = &wrapper->is_null[i]; ^ result.c:328:40: warning: assignment to 'my_bool *' {aka 'char *'} from incompatible pointer type '_Bool *' [-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/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_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 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,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/lib64/ -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lruby -L/usr/lib64/ -lmariadb -lc current directory: /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/ext/mysql2 make "DESTDIR=" install /usr/bin/mkdir -p . ./.gem.20220818-2185029-1oeln31/mysql2 exit > .sitearchdir.-.mysql2.time /usr/bin/install -c -m 0755 mysql2.so ./.gem.20220818-2185029-1oeln31/mysql2 Successfully installed mysql2-0.4.10 Parsing documentation for mysql2-0.4.10 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.10 Installing darkfish documentation for mysql2-0.4.10 Done installing documentation for mysql2 after 0 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9VG7If + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64 ++ dirname /builddir/build/BUILDROOT/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64 + cd mysql2-0.4.10 + mkdir -p /builddir/build/BUILDROOT/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.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/specifications /builddir/build/BUILDROOT/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64/usr/lib64/gems/ruby/mysql2-0.4.10 + cp -a ./usr/lib64/gems/ruby/mysql2-0.4.10/gem.build_complete ./usr/lib64/gems/ruby/mysql2-0.4.10/gem_make.out ./usr/lib64/gems/ruby/mysql2-0.4.10/mkmf.log ./usr/lib64/gems/ruby/mysql2-0.4.10/mysql2 /builddir/build/BUILDROOT/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64/usr/lib64/gems/ruby/mysql2-0.4.10/ + rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64/usr/share/gems/gems/mysql2-0.4.10/ext + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 0.4.10-4.module+oc8.6.0+340+adf3d1e7 --unique-debug-suffix -0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64 --unique-debug-src-base rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mysql2-0.4.10 extracting debug info from /builddir/build/BUILDROOT/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64/usr/lib64/gems/ruby/mysql2-0.4.10/mysql2/mysql2.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 234 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.EFqp9X + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10 ~/build/BUILD/mysql2-0.4.10 + cd mysql2-0.4.10 + pushd ./usr/share/gems/gems/mysql2-0.4.10 ++ pwd + TOP_DIR=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10 + MYSQL_TEST_PORT=13678 ++ id -un + MYSQL_TEST_USER=mockbuild + MYSQL_TEST_DATA_DIR=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/data + MYSQL_TEST_SOCKET=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.sock + MYSQL_TEST_LOG=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log + MYSQL_TEST_PID_FILE=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.pid + mkdir /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/data + mysql_install_db --datadir=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/data --log-error=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log Installing MariaDB/MySQL system tables in '/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/data' ... /usr/libexec/mysqld: Can't create file '/var/log/mariadb/mariadb.log' (errno: 13 "Permission denied") OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! To do so, start the server, then issue the following commands: '/usr/bin/mysqladmin' -u root password 'new-password' '/usr/bin/mysqladmin' -u root -h builder3.aarch64.opencloudos.tech password 'new-password' Alternatively you can run: '/usr/bin/mysql_secure_installation' which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the MariaDB Knowledgebase at http://mariadb.com/kb or the MySQL manual for more instructions. You can start the MariaDB daemon with: cd '/usr' ; /usr/bin/mysqld_safe --datadir='/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/data' You can test the MariaDB daemon with mysql-test-run.pl cd '/usr/mysql-test' ; perl mysql-test-run.pl Please report any problems at http://mariadb.org/jira The latest information about MariaDB is available at http://mariadb.org/. You can find additional information about the MySQL part at: http://dev.mysql.com Consider joining MariaDB's strong and vibrant community: https://mariadb.org/get-involved/ + /usr/libexec/mysqld --datadir=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/data --log-error=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log --socket=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.sock --pid-file=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.pid --port=13678 --ssl ++ seq 10 + for i in $(seq 10) + sleep 1 2022-08-18 19:32:32 0 [Note] /usr/libexec/mysqld (mysqld 10.3.28-MariaDB) starting as process 2185507 ... + grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log + break + mysql -u root -e 'CREATE DATABASE /*M!50701 IF NOT EXISTS */ test' -S /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.sock -P 13678 + cat + cat /builddir/build/SOURCES/rubygem-mysql2-0.4.10-Suppress-Fixnum-and-Bignum-warnings-on-Ruby2.4.patch + patch -p1 patching file spec/mysql2/client_spec.rb patching file spec/mysql2/result_spec.rb patching file spec/mysql2/statement_spec.rb patching file spec/spec_helper.rb + cat /builddir/build/SOURCES/rubygem-mysql2-0.4.10-Skip-statement-and-no-query-test-on-MariaDB-10.2.patch + patch -p1 patching file spec/mysql2/statement_spec.rb + sed -i '/^ it "returns error messages and sql state in Encoding.default_internal if set" do$/,/^ end$/ s/^/#/' spec/mysql2/error_spec.rb + sed -i '/^ it "should be able to connect via SSL options" do$/,/^ end$/ s/^/#/' spec/mysql2/client_spec.rb + rspec -Ilib:/builddir/build/BUILDROOT/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64/usr/lib64/gems/ruby/mysql2-0.4.10 -f d spec EventMachine not installed, skipping the specs that use it Mysql2::Client should raise an exception upon connection failure should raise an exception on create for invalid encodings should raise an exception on non-string encodings should not raise an exception on create for a valid encoding should accept connect flags and pass them to #connect should parse flags array should parse flags string should default flags to (REMEMBER_OPTIONS, LONG_PASSWORD, LONG_FLAG, TRANSACTIONS, PROTOCOL_41, SECURE_CONNECTION) should execute init command should send init_command after reconnect should have a global default_query_options hash should terminate connections when calling close should not leave dangling connections after garbage collection should be able to connect to database with numeric-only name should respond to #close should be able to close properly should not try to query closed mysql connection should respond to #query should respond to #warning_count should respond to #query_info should expect connect_timeout to be a positive integer should expect read_timeout to be a positive integer should expect write_timeout to be a positive integer should allow nil read_timeout should respond to #socket should respond to escape should respond to #escape should respond to #info #info should return a hash containing the client version ID and String should respond to #server_info #server_info should return a hash containing the client version ID and String #server_info should require an open connection should raise a Mysql2::Error exception upon connection failure should respond to #thread_id #thread_id should be a Fixnum should respond to #ping #thread_id should return a boolean should be able to connect using plaintext password should respond to #encoding using defaults file should not raise an exception for valid defaults group should not raise an exception without default group #automatic_close is enabled by default can be configured can be assigned should not close connections when running in a child process #closed? should return false when connected should return true after close #warning_count when no warnings should 0 when has a warnings should > 0 #query_info when no info present should 0 when has some info should retrieve it :local_infile should raise an error when local_infile is disabled should raise an error when a non-existent file is loaded should LOAD DATA LOCAL INFILE #query should let you query again if iterating is finished when streaming should not let you query again if iterating is not finished when streaming should only accept strings as the query parameter should not retain query options set on a query for subsequent queries, but should retain it in the result should allow changing query options for subsequent queries should return results as a hash by default should be able to return results as an array should be able to return results with symbolized keys should require an open connection should detect closed connection on query read error should not allow another query to be sent without fetching a result first should describe the thread holding the active query should timeout if we wait longer than :read_timeout should run signal handlers while waiting for a response #socket should return a Fixnum (file descriptor from C) #socket should require an open connection should be impervious to connection-corrupting timeouts in #execute threaded queries should be supported evented async queries should be supported when a non-standard exception class is raised should close the connection when an exception is raised should handle Timeouts without leaving the connection hanging if reconnect is true should handle Timeouts without leaving the connection hanging if reconnect is set to true after construction Multiple results sets should raise an exception when one of multiple statements fails returns multiple result sets does not interfere with other statements will raise on query if there are outstanding results to read #abandon_results! should work #more_results? should work #more_results? should work with stored procedures escape should return a new SQL-escape version of the passed string should return the passed string if nothing was escaped should not overflow the thread stack should not overflow the process stack should carry over the original string's encoding #escape should return a new SQL-escape version of the passed string should return the passed string if nothing was escaped should not overflow the thread stack should not overflow the process stack should require an open connection when mysql encoding is not utf8 should return a internal encoding string if Encoding.default_internal is set strings returned by #info should be tagged as ascii strings returned by .info should be tagged as ascii strings returned by #server_info should default to the connection's encoding if Encoding.default_internal is nil should use Encoding.default_internal write operations api should respond to #last_id #last_id should return a Fixnum, the from the last INSERT/UPDATE should respond to #last_id #last_id should return a Fixnum, the from the last INSERT/UPDATE #last_id should handle BIGINT auto-increment ids above 32 bits select_db should respond to #select_db should switch databases should raise a Mysql2::Error when the database doesn't exist should return the database switched to Mysql2::Error responds to error_number and sql_state, with aliases encoding returns error messages as UTF-8 by default returns sql state as ASCII Mysql2::Result should raise a TypeError exception when it doesn't wrap a result set should have included Enumerable should respond to #each should respond to #free should raise a Mysql2::Error exception upon a bad query should respond to #count, which is aliased as #size should be able to return the number of rows in the result set metadata queries should show tables #each should yield rows as hash's should yield rows as hash's with symbol keys if :symbolize_keys was set to true should be able to return results as an array should cache previously yielded results by default should not cache previously yielded results if cache_rows is disabled should be able to iterate a second time even if cache_rows is disabled should yield different value for #first if streaming should yield the same value for #first if streaming is disabled should throw an exception if we try to iterate twice when streaming is enabled #fields method should exist should return an array of field names in proper order streaming should maintain a count while streaming should retain the count when mixing first and each should not yield nil at the end of streaming #count should be zero for rows after streaming when there were no results should raise an exception if streaming ended due to a timeout row data type mapping should return nil values for NULL and strings for everything else when :cast is false should return nil for a NULL value should return String for a BIT(64) value should return String for a BIT(1) value should return Fixnum for a TINYINT value should return Fixnum for a SMALLINT value should return Fixnum for a MEDIUMINT value should return Fixnum for an INT value should return Fixnum for a BIGINT value should return Fixnum for a YEAR value should return BigDecimal for a DECIMAL value should return Float for a FLOAT value should return Float for a DOUBLE value should return Time for a DATETIME value when within the supported range should return Time values with microseconds should return DateTime values with microseconds should return Time when timestamp is < 1901-12-13 20:45:52 should return Time when timestamp is > 2038-01-19T03:14:07 should return Time for a TIMESTAMP value when within the supported range should return Time for a TIME value should return Date for a DATE value should return String for an ENUM value should raise an error given an invalid DATETIME should return String for a SET value should return String for a BINARY value should return a String for CHAR should return a String for VARCHAR should return a String for VARBINARY should return a String for TINYBLOB should return a String for TINYTEXT should return a String for BLOB should return a String for TEXT should return a String for MEDIUMBLOB should return a String for MEDIUMTEXT should return a String for LONGBLOB should return a String for LONGTEXT cast booleans for TINYINT if :cast_booleans is enabled should return TrueClass or FalseClass for a TINYINT value if :cast_booleans is enabled cast booleans for BIT(1) if :cast_booleans is enabled should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled string encoding for ENUM values should default to the connection's encoding if Encoding.default_internal is nil should use Encoding.default_internal string encoding for SET values should default to the connection's encoding if Encoding.default_internal is nil should use Encoding.default_internal string encoding for BINARY values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal string encoding for CHAR values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal string encoding for VARCHAR values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal string encoding for VARBINARY values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal string encoding for TINYBLOB values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal string encoding for TINYTEXT values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal string encoding for BLOB values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal string encoding for TEXT values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal string encoding for MEDIUMBLOB values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal string encoding for MEDIUMTEXT values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal string encoding for LONGBLOB values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal string encoding for LONGTEXT values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal Mysql2::Statement should create a statement should raise an exception when server disconnects should tell us the param count should tell us the field count should let us execute our statement should raise an exception without a block should tell us the result count should let us iterate over results should handle booleans should handle bignum but in int64_t should handle bignum but beyond int64_t should keep its result after other query should be reusable 1000 times should be reusable 10000 times should handle comparisons and likes should select dates should prepare Date values should prepare Time values with microseconds should prepare DateTime values with microseconds should tell us about the fields should handle as a decimal binding a BigDecimal should update a DECIMAL value passing a BigDecimal should warn but still work if cache_rows is set to false utf8_db should be able to retrieve utf8 field names correctly should be able to retrieve utf8 param query correctly should be able to retrieve query with param in different encoding correctly streaming result should be able to stream query result #each should yield rows as hash's should yield rows as hash's with symbol keys if :symbolize_keys was set to true should be able to return results as an array should cache previously yielded results by default should yield different value for #first if streaming should yield the same value for #first if streaming is disabled should throw an exception if we try to iterate twice when streaming is enabled #fields method should exist should return an array of field names in proper order should return nil for statement with no result fields row data type mapping should return nil for a NULL value should return String for a BIT(64) value should return String for a BIT(1) value should return Fixnum for a TINYINT value should return Fixnum for a SMALLINT value should return Fixnum for a MEDIUMINT value should return Fixnum for an INT value should return Fixnum for a BIGINT value should return Fixnum for a YEAR value should return BigDecimal for a DECIMAL value should return Float for a FLOAT value should return Float for a DOUBLE value should return Time for a DATETIME value when within the supported range should return Time when timestamp is < 1901-12-13 20:45:52 should return Time when timestamp is > 2038-01-19T03:14:07 should return Time for a TIMESTAMP value when within the supported range should return Time for a TIME value should return Date for a DATE value should return String for an ENUM value should raise an error given an invalid DATETIME should return String for a SET value should return String for a BINARY value should return a String for CHAR should return a String for VARCHAR should return a String for VARBINARY should return a String for TINYBLOB should return a String for TINYTEXT should return a String for BLOB should return a String for TEXT should return a String for MEDIUMBLOB should return a String for MEDIUMTEXT should return a String for LONGBLOB should return a String for LONGTEXT cast booleans for TINYINT if :cast_booleans is enabled should return TrueClass or FalseClass for a TINYINT value if :cast_booleans is enabled cast booleans for BIT(1) if :cast_booleans is enabled should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled string encoding for ENUM values should default to the connection's encoding if Encoding.default_internal is nil should use Encoding.default_internal string encoding for SET values should default to the connection's encoding if Encoding.default_internal is nil should use Encoding.default_internal string encoding for BINARY values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal string encoding for CHAR values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal string encoding for VARCHAR values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal string encoding for VARBINARY values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal string encoding for TINYBLOB values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal string encoding for TINYTEXT values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal string encoding for BLOB values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal string encoding for TEXT values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal string encoding for MEDIUMBLOB values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal string encoding for MEDIUMTEXT values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal string encoding for LONGBLOB values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal string encoding for LONGTEXT values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal last_id should return last insert id should handle bigint ids affected_rows should return number of rows affected by an insert should return number of rows affected by an update should return number of rows affected by a delete close should free server resources should raise an error on subsequent execution Finished in 7.24 seconds (files took 0.1533 seconds to load) 307 examples, 0 failures + popd ~/build/BUILD/mysql2-0.4.10 ++ cat /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.pid + kill 2185507 + exit 0 Processing files: rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64 Provides: rubygem(mysql2) = 0.4.10-1 rubygem-mysql2 = 0.4.10-4.module+oc8.6.0+340+adf3d1e7 rubygem-mysql2(aarch-64) = 0.4.10-4.module+oc8.6.0+340+adf3d1e7 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.2.5()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-mysql2-doc-0.4.10-4.module+oc8.6.0+340+adf3d1e7.noarch Provides: rubygem-mysql2-doc = 0.4.10-4.module+oc8.6.0+340+adf3d1e7 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.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64 Provides: rubygem-mysql2-debugsource = 0.4.10-4.module+oc8.6.0+340+adf3d1e7 rubygem-mysql2-debugsource(aarch-64) = 0.4.10-4.module+oc8.6.0+340+adf3d1e7 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.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64 Provides: debuginfo(build-id) = 17fa60934cae115f1c88fc1a6e11f6fb2d7a1b1c rubygem-mysql2-debuginfo = 0.4.10-4.module+oc8.6.0+340+adf3d1e7 rubygem-mysql2-debuginfo(aarch-64) = 0.4.10-4.module+oc8.6.0+340+adf3d1e7 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.4.10-4.module+oc8.6.0+340+adf3d1e7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64 Wrote: /builddir/build/RPMS/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64.rpm Wrote: /builddir/build/RPMS/rubygem-mysql2-doc-0.4.10-4.module+oc8.6.0+340+adf3d1e7.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-mysql2-debugsource-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64.rpm Wrote: /builddir/build/RPMS/rubygem-mysql2-debuginfo-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gq3TP6 + umask 022 + cd /builddir/build/BUILD + cd mysql2-0.4.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.4.10-4.module+oc8.6.0+340+adf3d1e7.aarch64 + exit 0 Child return code was: 0