Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-mysql2.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-10608/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-mysql2.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-983864644 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-mysql2.spec '], chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-10608/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-mysql2.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zIkGZn + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf tfm-rubygem-mysql2-0.3.19 + /bin/mkdir -p tfm-rubygem-mysql2-0.3.19 + cd tfm-rubygem-mysql2-0.3.19 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Fee4Pj + umask 022 + cd /builddir/build/BUILD + cd tfm-rubygem-mysql2-0.3.19 + LANG=C + export LANG + unset DISPLAY + /bin/rm -rf /builddir/build/BUILDROOT/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 + mkdir -p .//opt/theforeman/tfm/root/usr/share/gems + scl enable tfm ' gem install --local --install-dir .//opt/theforeman/tfm/root/usr/share/gems -V --force /builddir/build/SOURCES/mysql2-0.3.19.gem ' /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/LICENSE /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/README.md /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/client.c /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/client.h /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/extconf.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/infile.c /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/infile.h /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/mysql2_ext.c /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/mysql2_ext.h /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/mysql_enc_name_to_ruby.h /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/mysql_enc_to_ruby.h /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/result.c /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/result.h /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/wait_for_single_fd.h /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/lib/mysql2.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/lib/mysql2/client.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/lib/mysql2/console.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/lib/mysql2/em.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/lib/mysql2/error.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/lib/mysql2/result.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/lib/mysql2/version.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/support/libmysql.def /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/support/mysql_enc_to_ruby.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/support/ruby_enc_to_mysql.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/examples/eventmachine.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/examples/threaded.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/spec/configuration.yml.example /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/spec/em/em_spec.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/spec/my.cnf.example /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/spec/mysql2/client_spec.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/spec/mysql2/error_spec.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/spec/mysql2/result_spec.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/spec/rcov.opts /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/spec/spec_helper.rb /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/spec/test_data Building native extensions. This could take a while... /opt/rh/rh-ruby22/root/usr/bin/ruby -r ./siteconf20151111-11584-1aeje3j.rb extconf.rb 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 ----- Using mysql_config at /usr/bin/mysql_config ----- checking for mysql.h... yes checking for errmsg.h... yes checking for mysqld_error.h... yes creating Makefile ----- Setting rpath to /usr/lib64/mysql ----- make "DESTDIR=" clean rm -f rm -f mysql2.so *.o *.bak mkmf.log .*.time make "DESTDIR=" gcc -I. -I/opt/rh/rh-ruby22/root/usr/include -I/opt/rh/rh-ruby22/root/usr/include/ruby/backward -I/opt/rh/rh-ruby22/root/usr/include -I. -I/usr/include/mysql -DHAVE_RUBY_THREAD_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_RB_HASH_DUP -DHAVE_RB_INTERN3 -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_MYSQLD_ERROR_H -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fPIC -Wall -funroll-loops -m64 -o result.o -c result.c gcc -I. -I/opt/rh/rh-ruby22/root/usr/include -I/opt/rh/rh-ruby22/root/usr/include/ruby/backward -I/opt/rh/rh-ruby22/root/usr/include -I. -I/usr/include/mysql -DHAVE_RUBY_THREAD_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_RB_HASH_DUP -DHAVE_RB_INTERN3 -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_MYSQLD_ERROR_H -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fPIC -Wall -funroll-loops -m64 -o mysql2_ext.o -c mysql2_ext.c gcc -I. -I/opt/rh/rh-ruby22/root/usr/include -I/opt/rh/rh-ruby22/root/usr/include/ruby/backward -I/opt/rh/rh-ruby22/root/usr/include -I. -I/usr/include/mysql -DHAVE_RUBY_THREAD_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_RB_HASH_DUP -DHAVE_RB_INTERN3 -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_MYSQLD_ERROR_H -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fPIC -Wall -funroll-loops -m64 -o infile.o -c infile.c gcc -I. -I/opt/rh/rh-ruby22/root/usr/include -I/opt/rh/rh-ruby22/root/usr/include/ruby/backward -I/opt/rh/rh-ruby22/root/usr/include -I. -I/usr/include/mysql -DHAVE_RUBY_THREAD_H -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_RB_HASH_DUP -DHAVE_RB_INTERN3 -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_MYSQLD_ERROR_H -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fPIC -Wall -funroll-loops -m64 -o client.o -c client.c rm -f mysql2.so gcc -shared -o mysql2.so result.o mysql2_ext.o infile.o client.o -L. -L/opt/rh/rh-ruby22/root/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/lib64/mysql -m64 -lruby -rdynamic -L/usr/lib64/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc make "DESTDIR=" install /bin/mkdir -p . ./.gem.20151111-11584-1fwgtex/mysql2 exit > .RUBYARCHDIR.-.mysql2.time /usr/bin/install -c -m 0755 mysql2.so ./.gem.20151111-11584-1fwgtex/mysql2 Successfully installed mysql2-0.3.19 Parsing documentation for mysql2-0.3.19 Parsing sources... 4% [ 1/25] ext/mysql2/Makefile 8% [ 2/25] ext/mysql2/client.c 12% [ 3/25] ext/mysql2/client.h 16% [ 4/25] ext/mysql2/client.o 20% [ 5/25] ext/mysql2/extconf.rb 24% [ 6/25] ext/mysql2/infile.c 28% [ 7/25] ext/mysql2/infile.h 32% [ 8/25] ext/mysql2/infile.o 36% [ 9/25] ext/mysql2/mysql2.so 40% [10/25] ext/mysql2/mysql2_ext.c 44% [11/25] ext/mysql2/mysql2_ext.h 48% [12/25] ext/mysql2/mysql2_ext.o 52% [13/25] ext/mysql2/mysql_enc_name_to_ruby.h 56% [14/25] ext/mysql2/mysql_enc_to_ruby.h 60% [15/25] ext/mysql2/result.c 64% [16/25] ext/mysql2/result.h 68% [17/25] ext/mysql2/result.o 72% [18/25] ext/mysql2/wait_for_single_fd.h 76% [19/25] lib/mysql2.rb 80% [20/25] lib/mysql2/client.rb 84% [21/25] lib/mysql2/console.rb 88% [22/25] lib/mysql2/em.rb 92% [23/25] lib/mysql2/error.rb 96% [24/25] lib/mysql2/result.rb 100% [25/25] lib/mysql2/version.rb Installing ri documentation for mysql2-0.3.19 Done installing documentation for mysql2 after 0 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1dAerp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 + cd tfm-rubygem-mysql2-0.3.19 + LANG=C + export LANG + unset DISPLAY + /bin/rm -rf /builddir/build/BUILDROOT/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems + cp -a .//opt/theforeman/tfm/root/usr/share/gems/build_info .//opt/theforeman/tfm/root/usr/share/gems/cache .//opt/theforeman/tfm/root/usr/share/gems/doc .//opt/theforeman/tfm/root/usr/share/gems/extensions .//opt/theforeman/tfm/root/usr/share/gems/gems .//opt/theforeman/tfm/root/usr/share/gems/specifications /builddir/build/BUILDROOT/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64//opt/theforeman/tfm/root/usr/share/gems + rm -rf /builddir/build/BUILDROOT/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/mysql2.so + rm -rf /builddir/build/BUILDROOT/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/.RUBYARCHDIR.time + rm -rf '/builddir/build/BUILDROOT/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64/opt/theforeman/tfm/root/usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/siteconf*.rb' + find /builddir/build/BUILDROOT/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 -type f -name '*.o' -exec rm -f '{}' + + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/tfm-rubygem-mysql2-0.3.19 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/theforeman/tfm/root + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python /opt/theforeman/tfm/root + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 Provides: tfm-rubygem(mysql2) = 0.3.19 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Obsoletes: ruby193-rubygem-mysql2 Processing files: tfm-rubygem-mysql2-doc-0.3.19-3.git.0.4d755a4.el6.noarch Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: ruby193-rubygem-mysql2-doc Processing files: tfm-rubygem-mysql2-debuginfo-0.3.19-3.git.0.4d755a4.el6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 warning: Could not canonicalize hostname: copr-builder-983864644 Wrote: /builddir/build/RPMS/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64.rpm Wrote: /builddir/build/RPMS/tfm-rubygem-mysql2-doc-0.3.19-3.git.0.4d755a4.el6.noarch.rpm Wrote: /builddir/build/RPMS/tfm-rubygem-mysql2-debuginfo-0.3.19-3.git.0.4d755a4.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Vc3W0N + umask 022 + cd /builddir/build/BUILD + cd tfm-rubygem-mysql2-0.3.19 + /bin/rm -rf /builddir/build/BUILDROOT/tfm-rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 + exit 0 Child return code was: 0 LEAVE do -->