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-17503/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-684730370 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/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-17503/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.GfwjGE + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf rubygem-mysql2-0.3.19 + /bin/mkdir -p rubygem-mysql2-0.3.19 + cd 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.uzQq5g + umask 022 + cd /builddir/build/BUILD + cd rubygem-mysql2-0.3.19 + LANG=C + export LANG + unset DISPLAY + /bin/rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 + mkdir -p .//usr/lib/ruby/gems/1.8 + gem install --local --install-dir .//usr/lib/ruby/gems/1.8 -V --force /builddir/build/SOURCES/mysql2-0.3.19.gem Installing gem mysql2-0.3.19 Using local gem /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/cache/mysql2-0.3.19.gem /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/LICENSE /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/README.md /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/client.c /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/client.h /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/extconf.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/infile.c /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/infile.h /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/mysql2_ext.c /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/mysql2_ext.h /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/mysql_enc_name_to_ruby.h /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/mysql_enc_to_ruby.h /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/result.c /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/result.h /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/wait_for_single_fd.h /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/lib/mysql2.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/lib/mysql2/client.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/lib/mysql2/console.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/lib/mysql2/em.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/lib/mysql2/error.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/lib/mysql2/result.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/lib/mysql2/version.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/support/libmysql.def /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/support/mysql_enc_to_ruby.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/support/ruby_enc_to_mysql.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/examples/eventmachine.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/examples/threaded.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/spec/configuration.yml.example /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/spec/em/em_spec.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/spec/my.cnf.example /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/spec/mysql2/client_spec.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/spec/mysql2/error_spec.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/spec/mysql2/result_spec.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/spec/rcov.opts /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/spec/spec_helper.rb /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/spec/test_data Building native extensions. This could take a while... /usr/bin/ruby extconf.rb checking for ruby/thread.h... no checking for rb_thread_blocking_region()... no checking for rb_wait_for_single_fd()... no checking for rb_hash_dup()... no checking for rb_intern3()... no ----- Using mysql_config at /usr/bin/mysql_config ----- checking for mysql.h... yes checking for errmsg.h... yes checking for mysqld_error.h... yes ----- Setting rpath to /usr/lib64/mysql ----- creating Makefile make gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -I/usr/include/mysql -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -Wall -funroll-loops -c result.c gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -I/usr/include/mysql -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -Wall -funroll-loops -c mysql2_ext.c ./client.h:22: warning: 'rb_thread_call_without_gvl' defined but not used gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -I/usr/include/mysql -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -Wall -funroll-loops -c infile.c ./client.h:22: warning: 'rb_thread_call_without_gvl' defined but not used gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -I/usr/include/mysql -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 -m64 -mtune=generic -fno-strict-aliasing -fPIC -Wall -funroll-loops -c client.c gcc -shared -o mysql2.so result.o mysql2_ext.o infile.o client.o -L. -L/usr/lib64 -L. -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/lib64/mysql -lruby -rdynamic -L/usr/lib64/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc make install /usr/bin/install -c -m 0755 mysql2.so /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/lib/mysql2 Successfully installed mysql2-0.3.19 1 gem installed Installing ri documentation for mysql2-0.3.19... rdoc --ri --op /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/doc/mysql2-0.3.19/ri --charset=UTF-8 --quiet lib --title mysql2-0.3.19 Documentation Installing RDoc documentation for mysql2-0.3.19... rdoc --op /builddir/build/BUILD/rubygem-mysql2-0.3.19/usr/lib/ruby/gems/1.8/doc/mysql2-0.3.19/rdoc --charset=UTF-8 --quiet lib --title mysql2-0.3.19 Documentation + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WyO6XY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 + cd rubygem-mysql2-0.3.19 + LANG=C + export LANG + unset DISPLAY + /bin/rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64/usr/lib/ruby/gems/1.8 + cp -a .//usr/lib/ruby/gems/1.8/cache .//usr/lib/ruby/gems/1.8/doc .//usr/lib/ruby/gems/1.8/gems .//usr/lib/ruby/gems/1.8/specifications /builddir/build/BUILDROOT/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64//usr/lib/ruby/gems/1.8 + rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/mysql2.so + rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/.RUBYARCHDIR.time + rm -rf '/builddir/build/BUILDROOT/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/ext/mysql2/siteconf*.rb' + find /builddir/build/BUILDROOT/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/rubygem-mysql2-0.3.19 extracting debug info from /builddir/build/BUILDROOT/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64/usr/lib/ruby/gems/1.8/gems/mysql2-0.3.19/lib/mysql2/mysql2.so 154 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 Provides: mysql2.so()(64bit) 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 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.1()(64bit) libcrypto.so.10()(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libmysqlclient_r.so.16()(64bit) libmysqlclient_r.so.16(libmysqlclient_16)(64bit) libnsl.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) librt.so.1()(64bit) libruby.so.1.8()(64bit) libssl.so.10()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: 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 Processing files: 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/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 warning: Could not canonicalize hostname: copr-builder-684730370 Wrote: /builddir/build/RPMS/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-mysql2-doc-0.3.19-3.git.0.4d755a4.el6.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-mysql2-debuginfo-0.3.19-3.git.0.4d755a4.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OwUX6R + umask 022 + cd /builddir/build/BUILD + cd rubygem-mysql2-0.3.19 + /bin/rm -rf /builddir/build/BUILDROOT/rubygem-mysql2-0.3.19-3.git.0.4d755a4.el6.x86_64 + exit 0 Child return code was: 0 LEAVE do -->