Mock Version: 1.1.41 Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/rubygem-bson_ext.spec'], False, '/var/lib/mock/sclo6-ruby193-rh-el6-build-9101-12679/root/', None, 86400, True, False, 497, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/rubygem-bson_ext.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: Could not canonicalize hostname: c1bj.rdu2.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/rubygem-bson_ext.spec'], False, '/var/lib/mock/sclo6-ruby193-rh-el6-build-9101-12679/root/', None, 86400, True, False, 497, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/rubygem-bson_ext.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PHkHYy + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + scl enable ruby193 - Unpacked gem: '/builddir/build/BUILD/bson_ext-1.9.2' Patch #1 (rubygem-bson_ext-1.9.2-Fix-min_key-decoding-on-ARM.patch): patching file ext/cbson/cbson.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.A2tR9E + umask 022 + cd /builddir/build/BUILD + cd bson_ext-1.9.2 + LANG=C + export LANG + unset DISPLAY + mkdir -p ./opt/rh/ruby193/root/usr/share/gems + scl enable ruby193 - Successfully built RubyGem Name: bson_ext Version: 1.9.2 File: bson_ext-1.9.2.gem Installing gem bson_ext-1.9.2 Using local gem /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/cache/bson_ext-1.9.2.gem /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2/bson_ext.gemspec /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2/LICENSE /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2/VERSION /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2/ext/cbson/extconf.rb /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2/ext/cbson/bson_buffer.c /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2/ext/cbson/cbson.c /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2/ext/cbson/encoding_helpers.c /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2/ext/cbson/bson_buffer.h /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2/ext/cbson/encoding_helpers.h /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2/ext/cbson/version.h Building native extensions. This could take a while... /opt/rh/ruby193/root/usr/bin/ruby extconf.rb checking for asprintf()... yes checking for ruby/st.h... yes checking for ruby/regex.h... yes checking for ruby/encoding.h... yes creating Makefile make gcc -I. -I/opt/rh/ruby193/root/usr/include/x86_64-linux -I/opt/rh/ruby193/root/usr/include/ruby/backward -I/opt/rh/ruby193/root/usr/include -I. -DHAVE_ASPRINTF -DHAVE_RUBY_ST_H -DHAVE_RUBY_REGEX_H -DHAVE_RUBY_ENCODING_H -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -m64 -o bson_buffer.o -c bson_buffer.c gcc -I. -I/opt/rh/ruby193/root/usr/include/x86_64-linux -I/opt/rh/ruby193/root/usr/include/ruby/backward -I/opt/rh/ruby193/root/usr/include -I. -DHAVE_ASPRINTF -DHAVE_RUBY_ST_H -DHAVE_RUBY_REGEX_H -DHAVE_RUBY_ENCODING_H -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -m64 -o encoding_helpers.o -c encoding_helpers.c gcc -I. -I/opt/rh/ruby193/root/usr/include/x86_64-linux -I/opt/rh/ruby193/root/usr/include/ruby/backward -I/opt/rh/ruby193/root/usr/include -I. -DHAVE_ASPRINTF -DHAVE_RUBY_ST_H -DHAVE_RUBY_REGEX_H -DHAVE_RUBY_ENCODING_H -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -m64 -o cbson.o -c cbson.c cbson.c: In function 'write_element': cbson.c:317: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result cbson.c: In function 'objectid_generate': cbson.c:1023: warning: implicit declaration of function 'htonl' cbson.c:1031: warning: implicit declaration of function 'htons' rm -f cbson.so gcc -shared -o cbson.so bson_buffer.o encoding_helpers.o cbson.o -L. -L/opt/rh/ruby193/root/usr/lib64 -L. -rdynamic -Wl,-export-dynamic -m64 -lruby -lpthread -lrt -ldl -lcrypt -lm -lc make install /bin/mkdir -p /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2/ext/bson_ext/bson_ext /usr/bin/install -c -m 0755 cbson.so /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2/ext/bson_ext/bson_ext Successfully installed bson_ext-1.9.2 1 gem installed Installing ri documentation for bson_ext-1.9.2... rdoc --ri --op /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/doc/bson_ext-1.9.2/ri ext/bson_ext --title bson_ext-1.9.2 Documentation --quiet Installing RDoc documentation for bson_ext-1.9.2... rdoc --op /builddir/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/doc/bson_ext-1.9.2/rdoc ext/bson_ext --title bson_ext-1.9.2 Documentation --quiet + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5gIGeO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64 + cd bson_ext-1.9.2 + LANG=C + export LANG + unset DISPLAY + mkdir -p /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64/opt/rh/ruby193/root/usr/share/gems + mkdir -p /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64/opt/rh/ruby193/root/usr/lib64/gems/exts/bson_ext-1.9.2/ext/bson_ext/bson_ext + cp -a ./opt/rh/ruby193/root/usr/share/gems/cache ./opt/rh/ruby193/root/usr/share/gems/doc ./opt/rh/ruby193/root/usr/share/gems/gems ./opt/rh/ruby193/root/usr/share/gems/specifications /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64/opt/rh/ruby193/root/usr/share/gems/ + mv /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2/ext/bson_ext/bson_ext/cbson.so /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64/opt/rh/ruby193/root/usr/lib64/gems/exts/bson_ext-1.9.2/ext/bson_ext/bson_ext + rm -rf /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2/ext + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/bson_ext-1.9.2 extracting debug info from /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64/opt/rh/ruby193/root/usr/lib64/gems/exts/bson_ext-1.9.2/ext/bson_ext/bson_ext/cbson.so 98 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/ruby193/root + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python /opt/rh/ruby193/root + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wnekWX + umask 022 + cd /builddir/build/BUILD + cd bson_ext-1.9.2 + unset DISPLAY + pushd ./opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2 ~/build/BUILD/bson_ext-1.9.2/opt/rh/ruby193/root/usr/share/gems/gems/bson_ext-1.9.2 ~/build/BUILD/bson_ext-1.9.2 + tar xzvf /builddir/build/SOURCES/bson_ext-1.9.2-tests.tgz test/bson/ test/bson/binary_test.rb test/bson/bson_test.rb test/bson/byte_buffer_test.rb test/bson/hash_with_indifferent_access_test.rb test/bson/json_test.rb test/bson/object_id_test.rb test/bson/ordered_hash_test.rb test/bson/timestamp_test.rb + cp /builddir/build/SOURCES/test_helper.rb test/bson + sed -i '/require File.join(File.dirname(__FILE__), '\''..'\'', '\''..'\'', '\''lib'\'', '\''bson'\'')/d' test/bson/test_helper.rb + sed -i s/assert_false/refute/ test/bson/ordered_hash_test.rb + sed -i -r 's|('\''this.c.d < this.e'\'')\.to_bson_code|BSON::Code.new\(\1\)|' test/bson/bson_test.rb + scl enable ruby193 - Run options: # Running tests: ................................................................................................................................................. Finished tests in 0.042262s, 3431.0171 tests/s, 7903.1704 assertions/s. 145 tests, 334 assertions, 0 failures, 0 errors, 0 skips + popd ~/build/BUILD/bson_ext-1.9.2 + exit 0 Processing files: ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64 Provides: cbson.so()(64bit) ruby193-rubygem(bson_ext) = 1.9.2 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) libc.so.6(GLIBC_2.8)(64bit) libcrypt.so.1()(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) librt.so.1()(64bit) libruby.so.1.9()(64bit) rtld(GNU_HASH) Processing files: ruby193-rubygem-bson_ext-doc-1.9.2-2.sc1.el6.noarch Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ruby193-rubygem-bson_ext-debuginfo-1.9.2-2.sc1.el6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64 warning: Could not canonicalize hostname: c1bj.rdu2.centos.org Wrote: /builddir/build/RPMS/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64.rpm Wrote: /builddir/build/RPMS/ruby193-rubygem-bson_ext-doc-1.9.2-2.sc1.el6.noarch.rpm Wrote: /builddir/build/RPMS/ruby193-rubygem-bson_ext-debuginfo-1.9.2-2.sc1.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cdgTjD + umask 022 + cd /builddir/build/BUILD + cd bson_ext-1.9.2 + /bin/rm -rf /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.sc1.el6.x86_64 + exit 0 Child return code was: 0 LEAVE do -->