Mock Version: 4.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/fedora-38-aarch64-1685752334.303968/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a7s8dkfj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a7s8dkfj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1c619fa980f34ac0970327daea409c8f', '-D', '/var/lib/mock/fedora-38-aarch64-1685752334.303968/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a7s8dkfj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/rubygem-mysql2-0.5.4-5.fc38_clang16_03.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) 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/fedora-38-aarch64-1685752334.303968/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a7s8dkfj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a7s8dkfj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '92596c0a9cf34ea09f361ba2c89dfbb4', '-D', '/var/lib/mock/fedora-38-aarch64-1685752334.303968/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a7s8dkfj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7S3Bay + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mysql2-0.5.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mysql2-0.5.4-tests.txz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mysql2-0.5.4.gem Unpacked gem: '/builddir/build/BUILD/mysql2-0.5.4' + STATUS=0 + '[' 0 -ne 0 ']' + cd mysql2-0.5.4 + /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.4 Patch #0 (rubygem-mysql2-0.5.4-use-ssl-pem-files-in-repo.patch): + echo 'Patch #0 (rubygem-mysql2-0.5.4-use-ssl-pem-files-in-repo.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file mysql2/client_spec.rb + popd ~/build/BUILD/mysql2-0.5.4 + '[' -e /usr/lib/rpm/clang/rubygem-mysql2-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QtNZG5 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd mysql2-0.5.4 + gem build ../mysql2-0.5.4.gemspec Successfully built RubyGem Name: mysql2 Version: 0.5.4 File: mysql2-0.5.4.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'\'' --with-cxxflags='\''-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc mysql2-0.5.4.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/mysql2-0.5.4 Bin dir: /builddir/build/BUILD/mysql2-0.5.4/usr/bin Gem home: /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems Plugins dir: /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/plugins /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/CHANGELOG.md /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/LICENSE /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/README.md /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2/client.c /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2/client.h /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2/extconf.rb /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2/infile.c /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2/infile.h /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2/mysql2_ext.c /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2/mysql2_ext.h /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2/mysql_enc_name_to_ruby.h /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2/mysql_enc_to_ruby.h /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2/result.c /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2/result.h /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2/statement.c /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2/statement.h /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2/wait_for_single_fd.h /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/lib/mysql2.rb /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/lib/mysql2/client.rb /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/lib/mysql2/console.rb /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/lib/mysql2/em.rb /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/lib/mysql2/error.rb /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/lib/mysql2/field.rb /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/lib/mysql2/result.rb /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/lib/mysql2/statement.rb /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/lib/mysql2/version.rb /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/support/3A79BD29.asc /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/support/5072E1F5.asc /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/support/libmysql.def /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/support/mysql_enc_to_ruby.rb /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/support/ruby_enc_to_mysql.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2 ["/usr/bin/ruby", "-I/usr/share/rubygems", "extconf.rb"] checking for rb_absint_size()... yes checking for rb_absint_singlebit_p()... yes checking for rb_wait_for_single_fd()... yes checking for rb_enc_interned_str() in ruby.h... 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_VERIFY_SERVER_CERT in mysql.h... yes 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_DEFAULT_AUTH 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.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2 ["make", "DESTDIR=", "sitearchdir=./.gem.20230603-40-4haswq", "sitelibdir=./.gem.20230603-40-4haswq", "clean"] rm -f rm -fr mysql2.so false client.o infile.o mysql2_ext.o result.o statement.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2 ["make", "DESTDIR=", "sitearchdir=./.gem.20230603-40-4haswq", "sitelibdir=./.gem.20230603-40-4haswq"] clang -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_RB_ENC_INTERNED_STR -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_CONST_MYSQL_OPT_SSL_VERIFY_SERVER_CERT -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_DEFAULT_AUTH -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 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 client.c:15: ./mysql_enc_name_to_ruby.h:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 43 | mysql2_mysql_enc_name_to_rb_hash (str, len) | ^ ./mysql_enc_name_to_ruby.h:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 86 | mysql2_mysql_enc_name_to_rb (str, len) | ^ 2 warnings generated. clang -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_RB_ENC_INTERNED_STR -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_CONST_MYSQL_OPT_SSL_VERIFY_SERVER_CERT -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_DEFAULT_AUTH -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 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 clang -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_RB_ENC_INTERNED_STR -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_CONST_MYSQL_OPT_SSL_VERIFY_SERVER_CERT -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_DEFAULT_AUTH -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 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 clang -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_RB_ENC_INTERNED_STR -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_CONST_MYSQL_OPT_SSL_VERIFY_SERVER_CERT -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_DEFAULT_AUTH -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 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 clang -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_RB_ENC_INTERNED_STR -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_CONST_MYSQL_OPT_SSL_VERIFY_SERVER_CERT -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_DEFAULT_AUTH -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 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 clang -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 -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -Wl,-rpath,/usr/lib64/ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -lruby -L/usr/lib64/ -lmariadb -lm -lpthread -lc current directory: /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2 ["make", "DESTDIR=", "sitearchdir=./.gem.20230603-40-4haswq", "sitelibdir=./.gem.20230603-40-4haswq", "install"] /usr/bin/mkdir -p . ./.gem.20230603-40-4haswq/mysql2 exit > .sitearchdir.-.mysql2.time /usr/bin/install -c -m 0755 mysql2.so ./.gem.20230603-40-4haswq/mysql2 current directory: /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2 ["make", "DESTDIR=", "sitearchdir=./.gem.20230603-40-4haswq", "sitelibdir=./.gem.20230603-40-4haswq", "clean"] rm -f rm -fr mysql2.so false client.o infile.o mysql2_ext.o result.o statement.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2 /usr/bin/ruby -I/usr/share/rubygems extconf.rb current directory: /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2 make DESTDIR\= sitearchdir\=./.gem.20230603-40-4haswq sitelibdir\=./.gem.20230603-40-4haswq clean current directory: /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2 make DESTDIR\= sitearchdir\=./.gem.20230603-40-4haswq sitelibdir\=./.gem.20230603-40-4haswq current directory: /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2 make DESTDIR\= sitearchdir\=./.gem.20230603-40-4haswq sitelibdir\=./.gem.20230603-40-4haswq install current directory: /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/ext/mysql2 make DESTDIR\= sitearchdir\=./.gem.20230603-40-4haswq sitelibdir\=./.gem.20230603-40-4haswq clean Successfully installed mysql2-0.5.4 Parsing documentation for mysql2-0.5.4 Parsing sources... 4% [ 1/24] ext/mysql2/Makefile 8% [ 2/24] ext/mysql2/client.c 12% [ 3/24] ext/mysql2/client.h 16% [ 4/24] ext/mysql2/extconf.rb 20% [ 5/24] ext/mysql2/infile.c 25% [ 6/24] ext/mysql2/infile.h 29% [ 7/24] ext/mysql2/mysql2_ext.c 33% [ 8/24] ext/mysql2/mysql2_ext.h 37% [ 9/24] ext/mysql2/mysql_enc_name_to_ruby.h 41% [10/24] ext/mysql2/mysql_enc_to_ruby.h 45% [11/24] ext/mysql2/result.c 50% [12/24] ext/mysql2/result.h 54% [13/24] ext/mysql2/statement.c 58% [14/24] ext/mysql2/statement.h 62% [15/24] ext/mysql2/wait_for_single_fd.h 66% [16/24] lib/mysql2.rb 70% [17/24] lib/mysql2/client.rb 75% [18/24] lib/mysql2/console.rb 79% [19/24] lib/mysql2/em.rb 83% [20/24] lib/mysql2/error.rb 87% [21/24] lib/mysql2/field.rb 91% [22/24] lib/mysql2/result.rb 95% [23/24] lib/mysql2/statement.rb 100% [24/24] lib/mysql2/version.rb Installing ri documentation for mysql2-0.5.4 Installing darkfish documentation for mysql2-0.5.4 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.8wckwV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64 ++ dirname /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64 + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd mysql2-0.5.4 + mkdir -p /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.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.4-5.fc38_clang16_03.aarch64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64/usr/lib64/gems/ruby/mysql2-0.5.4/mysql2 + cp -a ./usr/lib64/gems/ruby/mysql2-0.5.4/gem.build_complete /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64/usr/lib64/gems/ruby/mysql2-0.5.4/ + cp -a ./usr/lib64/gems/ruby/mysql2-0.5.4/mysql2/mysql2.so /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64/usr/lib64/gems/ruby/mysql2-0.5.4/mysql2 + rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64/usr/share/gems/gems/mysql2-0.5.4/ext + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64/usr/lib64/gems/ruby/mysql2-0.5.4/mysql2/mysql2.so [ 2e] clang version 17.0.0 (Fedora 17.0.0~pre20230602.g032d91cb2fb539-1.fc38) /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64/usr/lib64/gems/ruby/mysql2-0.5.4/mysql2/mysql2.so built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 Checking for LLVM bitcode artifacts + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.5.4-5.fc38_clang16_03 --unique-debug-suffix -0.5.4-5.fc38_clang16_03.aarch64 --unique-debug-src-base rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mysql2-0.5.4 extracting debug info from /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64/usr/lib64/gems/ruby/mysql2-0.5.4/mysql2/mysql2.so original debug info size: 300kB, size after compression: 276kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 263 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64/usr/lib/debug/usr/lib64/gems/ruby/mysql2-0.5.4/mysql2/mysql2.so-0.5.4-5.fc38_clang16_03.aarch64.debug [ 2e] clang version 17.0.0 (Fedora 17.0.0~pre20230602.g032d91cb2fb539-1.fc38) /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64/usr/lib/debug/usr/lib64/gems/ruby/mysql2-0.5.4/mysql2/mysql2.so-0.5.4-5.fc38_clang16_03.aarch64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64/usr/lib64/gems/ruby/mysql2-0.5.4/mysql2/mysql2.so [ 2e] clang version 17.0.0 (Fedora 17.0.0~pre20230602.g032d91cb2fb539-1.fc38) /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64/usr/lib/debug/usr/lib64/gems/ruby/mysql2-0.5.4/mysql2/mysql2.so-0.5.4-5.fc38_clang16_03.aarch64.debug built with clang + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qIeqOZ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS ~/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4 ~/build/BUILD/mysql2-0.5.4 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd mysql2-0.5.4 + pushd ./usr/share/gems/gems/mysql2-0.5.4 + ln -s /builddir/build/BUILD/spec spec ++ pwd + TOP_DIR=/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4 + sed -i '/host/ s/mysql2gem\.example\.com/localhost/' spec/mysql2/client_spec.rb + sed -i '/commonName_default/ s/mysql2gem\.example\.com/localhost/' spec/ssl/gen_certs.sh + pushd spec/ssl ~/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/spec/ssl ~/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4 ~/build/BUILD/mysql2-0.5.4 + bash gen_certs.sh + echo ' [ ca ] # January 1, 2015 default_startdate = 2015010360000Z [ req ] distinguished_name = req_distinguished_name [ req_distinguished_name ] # If this isn'\''t set, the error is error,' no objects specified in config 'file commonName = Common Name (hostname, IP, or your name) countryName_default = US stateOrProvinceName_default = CA localityName_default = San Francisco 0.organizationName_default = mysql2_gem organizationalUnitName_default = Mysql2Gem emailAddress_default = mysql2gem@example.com ' + tee ca.cnf cert.cnf [ ca ] # January 1, 2015 default_startdate = 2015010360000Z [ req ] distinguished_name = req_distinguished_name [ req_distinguished_name ] # If this isn't set, the error is error, no objects specified in config file commonName = Common Name (hostname, IP, or your name) countryName_default = US stateOrProvinceName_default = CA localityName_default = San Francisco 0.organizationName_default = mysql2_gem organizationalUnitName_default = Mysql2Gem emailAddress_default = mysql2gem@example.com + echo ' commonName_default = ca_mysql2gem ' + echo ' commonName_default = localhost ' + openssl genrsa -out ca-key.pem 2048 + openssl req -new -x509 -nodes -days 3600 -key ca-key.pem -out ca-cert.pem -batch -config ca.cnf + openssl req -newkey rsa:2048 -days 3600 -nodes -keyout pkcs8-server-key.pem -out server-req.pem -batch -config cert.cnf Ignoring -days without -x509; not generating a certificate ...+..+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+..+.........+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+............+..+....+.................+............+......+....+..+...+.............+...+.....+....+..+.........+...............+....+..+.+.....+.............+......+...+...+...............+..+.+......+...........+....+.....+...+............+.+........+....+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .+...+.....+...+...+.+......+...+.....+..........+...........+......+...+.+...........+.......+..+.............+.....+.+..+..........+..+.+..+....+...+.....+.+...........+...+.+.....+.+.....+.........+......+.........+....+......+..+...............+...+............+....+...+..+.+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+..+....+......+........+.+........+.+.....+.........+......+.+...+...+.................+...+.......+..+.........+.+...+.....+.+......+.....+.+..+.+...........+...+..........+...+..+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.......+..+.........+....+..+....+......+.....................+...+............+........+.........+......+.+.....+.+..+..........+..+...................+..+....+.....+....+...............+..+.......+.....+.+............+..+...............+...+...+.+......+...+.........+...+..+...+.......+..+..........+...........+...+.+.....+.+..+......+............+..........+........+....+......+..+.........+.+...+...............+......+...+.....+.+......+.....+....+............+...+..+.........+.........+....+...+.....+...................+........+.+......+........+.............+.........+......+........+......+.+.........+...+..+....+.....................+...+......+.....+..........+..+...+......+...+.........................+........+...+.......+...+..+...+....+...+...+..+.........+....+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- + openssl x509 -req -in server-req.pem -days 3600 -CA ca-cert.pem -CAkey ca-key.pem -set_serial 01 -out server-cert.pem Certificate request self-signature ok subject=CN = localhost + openssl req -newkey rsa:2048 -days 3600 -nodes -keyout pkcs8-client-key.pem -out client-req.pem -batch -config cert.cnf Ignoring -days without -x509; not generating a certificate .....+........+.............+............+..+...+...+....+...............+......+..+.+..+...+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+.....+...................+.....+..........+..+......+.......+...+..+..........+..+.............+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.................+...+.....+.......+.....+......................+.....+...+....+........+......+......+.+........+.+...+...+........+......+.........+......+......+............+................+.....+.+......+..+............+.+...+.........+..+..........+.....+......+.......+..+....+..+....+...........+...+.......+............+..+...+.+......+.........+......+...........+..........+...+.....+.......+..+.......+........+.+..+....+...+.....+.+..+............+......+.........+.+............+.........+.........+...........+.+..................+..+.......+...........+....+..+.........+.+..............+................+...........+.............+..+...............+....+......+..+...+..........+.........+......+.........+...+........+...............+...+....+..+....+.........+..+....+..+...+.+........+.+.........+..+.+..+......+.+.....+....+..+....+........+...+...+......+.............+...+............+..+...+......+..........+..+.......+......+..........................+.........+..........+.................+....+........+.+......+...+...+..+..........+..+.+..+.......+......+..+.+.....+.+......+..+......+.......+...+...........+....+..+.......+.....+.+......+...+........+....+.....+..........+......+.....+....+...+..+...+..........+..+.............+..+...+..................+....+......+..+..........+...+........+.......+..+...+...+....+...+..+.......+...+..+...................+..+.......+..+..................+...+....+.....+.+..+.+.....+.......+........+....+.....+.....................+......+..........+.....+....+..............+.+......+.....+.+..+.+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .........+...+.+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+...+.....+.......+..+................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.....+...+............+.+...+..+....+........+......+.+...+........+...+....+..+.+..+...+............+...+....+......+...+..+....+...+..+...............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- + openssl x509 -req -in client-req.pem -days 3600 -CA ca-cert.pem -CAkey ca-key.pem -set_serial 01 -out client-cert.pem Certificate request self-signature ok subject=CN = localhost + openssl rsa -in pkcs8-server-key.pem -out server-key.pem writing RSA key + openssl rsa -in pkcs8-client-key.pem -out client-key.pem writing RSA key + echo done done + popd ~/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4 ~/build/BUILD/mysql2-0.5.4 + echo ' [mysqld] ssl-ca=/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/spec/ssl/ca-cert.pem ssl-cert=/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/spec/ssl/server-cert.pem ssl-key=/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/spec/ssl/server-key.pem ' + MYSQL_TEST_PORT=14130 ++ id -un + MYSQL_TEST_USER=mockbuild + MYSQL_TEST_DATA_DIR=/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/data + MYSQL_TEST_SOCKET=/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/mysql.sock + MYSQL_TEST_LOG=/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/mysql.log + MYSQL_TEST_PID_FILE=/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/mysql.pid + mkdir /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/data + mysql_install_db --datadir=/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/data --log-error=/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/mysql.log Installing MariaDB/MySQL system tables in '/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/data' ... OK To start mariadbd at boot time you have to copy support-files/mariadb.service to the right place for your system Two all-privilege accounts were created. One is root@localhost, it has no password, but you need to be system 'root' user to connect. Use, for example, sudo mysql The second is mockbuild@localhost, it has no password either, but you need to be the system 'mockbuild' user to connect. After connecting you can set the password, if you would need to be able to connect as any of these users with a password and without sudo See the MariaDB Knowledgebase at https://mariadb.com/kb You can start the MariaDB daemon with: cd '/usr' ; /usr/bin/mariadb-safe --datadir='/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/data' You can test the MariaDB daemon with mysql-test-run.pl cd '/usr/share/mysql-test' ; perl mariadb-test-run.pl Please report any problems at https://mariadb.org/jira The latest information about MariaDB is available at https://mariadb.org/. Consider joining MariaDB's strong and vibrant community: https://mariadb.org/get-involved/ + conn_found=false + /usr/libexec/mysqld --datadir=/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/data --log-error=/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/mysql.log --socket=/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/mysql.sock --pid-file=/builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/mysql.pid --port=14130 --ssl ++ seq 10 + for i in $(seq 10) Waiting for the DB server to accept connections... 1 + echo 'Waiting for the DB server to accept connections... 1' + sleep 1 2023-06-03 0:33:54 0 [Warning] Could not increase number of max_open_files to more than 10240 (request: 32186) + grep -q 'ready for connections' /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/mysql.log + conn_found=true + break + true + mysql -u mockbuild -e 'ALTER USER '\''root'\''@'\''localhost'\'' IDENTIFIED VIA mysql_native_password USING PASSWORD('\'''\'')' -S /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/mysql.sock -P 14130 + mysql -u root -e 'CREATE DATABASE /*M!50701 IF NOT EXISTS */ test' -S /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/mysql.sock -P 14130 + cat + rspec -Ilib:/builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64/usr/lib64/gems/ruby/mysql2-0.5.4 -f d spec :251: warning: double_heap is deprecated, please use expand_heap instead Mysql2::EM::Client should support async queries should support queries in callbacks should not swallow exceptions raised in callbacks should not raise error when closing client with no query running when an exception is raised by the client should swallow exceptions raised in by the client should fail the deferrable Mysql2::Client should raise a Mysql::Error::ConnectionError 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 set default program_name in connect_attrs (PENDING: DON'T WORRY, THIS TEST PASSES - but PERFORMANCE SCHEMA is not enabled in your MySQL daemon.) should set custom connect_attrs (PENDING: DON'T WORRY, THIS TEST PASSES - but PERFORMANCE SCHEMA is not enabled in your MySQL daemon.) 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::ConnectionError exception upon connection failure due to invalid credentials 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 SSL /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/lib/mysql2/client.rb:56: warning: Your mysql client library does not support setting ssl_mode; full support comes with 5.7.11. should set ssl_mode option disabled /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/lib/mysql2/client.rb:56: warning: Your mysql client library does not support setting ssl_mode; full support comes with 5.7.11. should set ssl_mode option preferred /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/lib/mysql2/client.rb:56: warning: Your mysql client library does not support setting ssl_mode; full support comes with 5.7.11. should set ssl_mode option required /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/lib/mysql2/client.rb:56: warning: Your mysql client library does not support setting ssl_mode; full support comes with 5.7.11. should set ssl_mode option verify_ca /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/lib/mysql2/client.rb:56: warning: Your mysql client library does not support setting ssl_mode; full support comes with 5.7.11. should set ssl_mode option verify_identity should be able to connect via SSL options #set_server_option returns true when multi_statements is enable returns true when multi_statements is disable returns false when multi_statements is neither OPTION_MULTI_STATEMENTS_OFF or OPTION_MULTI_STATEMENTS_ON enables multiple-statement disables multiple-statement #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 session_track returns changes system variables for SESSION_TRACK_SYSTEM_VARIABLES returns database name for SESSION_TRACK_SCHEMA returns multiple session track type values when available returns valid transaction state inside a transaction returns empty array if session track type not found 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 returns error messages and sql state in Encoding.default_internal if set 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 should return an array of frozen strings #field_types method should exist should return correct types should return an array of field types in proper order should return json type on mysql 8.0 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 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 server flags should set a definitive value for query_was_slow should set a definitive value for no_index_used should set a definitive value for no_good_index_used 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 accept keyword arguments on statement execute should accept bind arguments and keyword arguments on statement execute 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 /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/spec/mysql2/statement_spec.rb:311: warning: :cache_rows is ignored if :stream is true /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/spec/mysql2/statement_spec.rb:311: warning: :cache_rows is ignored if :stream is true 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 Pending: (Failures listed here are expected and do not affect your suite's status) 1) Mysql2::Client should set default program_name in connect_attrs # DON'T WORRY, THIS TEST PASSES - but PERFORMANCE SCHEMA is not enabled in your MySQL daemon. # ./spec/mysql2/client_spec.rb:510 2) Mysql2::Client should set custom connect_attrs # DON'T WORRY, THIS TEST PASSES - but PERFORMANCE SCHEMA is not enabled in your MySQL daemon. # ./spec/mysql2/client_spec.rb:520 Finished in 9.97 seconds (files took 0.14783 seconds to load) 340 examples, 0 failures, 2 pending + popd ~/build/BUILD/mysql2-0.5.4 ++ cat /builddir/build/BUILD/mysql2-0.5.4/usr/share/gems/gems/mysql2-0.5.4/mysql.pid + kill 1833 + RPM_EC=0 ++ jobs -p + for pid in $(jobs -p) + kill -9 1833 + exit 0 Processing files: rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64 Provides: rubygem(mysql2) = 0.5.4 rubygem-mysql2 = 0.5.4-5.fc38_clang16_03 rubygem-mysql2(aarch-64) = 0.5.4-5.fc38_clang16_03 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.2()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-mysql2-doc-0.5.4-5.fc38_clang16_03.noarch Provides: rubygem-mysql2-doc = 0.5.4-5.fc38_clang16_03 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.4-5.fc38_clang16_03.aarch64 Provides: rubygem-mysql2-debugsource = 0.5.4-5.fc38_clang16_03 rubygem-mysql2-debugsource(aarch-64) = 0.5.4-5.fc38_clang16_03 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.4-5.fc38_clang16_03.aarch64 Provides: debuginfo(build-id) = b39a2394cb4bd8e4f4c1c631cf78703b0f2fc072 rubygem-mysql2-debuginfo = 0.5.4-5.fc38_clang16_03 rubygem-mysql2-debuginfo(aarch-64) = 0.5.4-5.fc38_clang16_03 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.4-5.fc38_clang16_03 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64 Wrote: /builddir/build/RPMS/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64.rpm Wrote: /builddir/build/RPMS/rubygem-mysql2-debugsource-0.5.4-5.fc38_clang16_03.aarch64.rpm Wrote: /builddir/build/RPMS/rubygem-mysql2-debuginfo-0.5.4-5.fc38_clang16_03.aarch64.rpm Wrote: /builddir/build/RPMS/rubygem-mysql2-doc-0.5.4-5.fc38_clang16_03.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.K4dr5F + umask 022 + cd /builddir/build/BUILD + cd mysql2-0.5.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.5.4-5.fc38_clang16_03.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ISJF6r + umask 022 + cd /builddir/build/BUILD + rm -rf mysql2-0.5.4 mysql2-0.5.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0