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-rh-ror41-rh-el6-build-7816-10323/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: c1bk.rdu2.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rh-ror41-rubygem-bson_ext-1.10.2-5.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-rh-ror41-rh-el6-build-7816-10323/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.5gxwM0 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + scl enable rh-ror41 - Unpacked gem: '/builddir/build/BUILD/bson_ext-1.10.2' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gd10IF + umask 022 + cd /builddir/build/BUILD + cd bson_ext-1.10.2 + LANG=C + export LANG + unset DISPLAY + mkdir -p ./opt/rh/rh-ror41/root/usr/share/gems + scl enable rh-ror41 - WARNING: pessimistic dependency on bson (~> 1.10.2) may be overly strict if bson is semantically versioned, use: add_runtime_dependency 'bson', '~> 1.10', '>= 1.10.2' WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: bson_ext Version: 1.10.2 File: bson_ext-1.10.2.gem /builddir/build/BUILD/bson_ext-1.10.2/opt/rh/rh-ror41/root/usr/share/gems/gems/bson_ext-1.10.2/LICENSE /builddir/build/BUILD/bson_ext-1.10.2/opt/rh/rh-ror41/root/usr/share/gems/gems/bson_ext-1.10.2/VERSION /builddir/build/BUILD/bson_ext-1.10.2/opt/rh/rh-ror41/root/usr/share/gems/gems/bson_ext-1.10.2/bson_ext.gemspec /builddir/build/BUILD/bson_ext-1.10.2/opt/rh/rh-ror41/root/usr/share/gems/gems/bson_ext-1.10.2/ext/cbson/bson_buffer.c /builddir/build/BUILD/bson_ext-1.10.2/opt/rh/rh-ror41/root/usr/share/gems/gems/bson_ext-1.10.2/ext/cbson/bson_buffer.h /builddir/build/BUILD/bson_ext-1.10.2/opt/rh/rh-ror41/root/usr/share/gems/gems/bson_ext-1.10.2/ext/cbson/cbson.c /builddir/build/BUILD/bson_ext-1.10.2/opt/rh/rh-ror41/root/usr/share/gems/gems/bson_ext-1.10.2/ext/cbson/encoding_helpers.c /builddir/build/BUILD/bson_ext-1.10.2/opt/rh/rh-ror41/root/usr/share/gems/gems/bson_ext-1.10.2/ext/cbson/encoding_helpers.h /builddir/build/BUILD/bson_ext-1.10.2/opt/rh/rh-ror41/root/usr/share/gems/gems/bson_ext-1.10.2/ext/cbson/extconf.rb /builddir/build/BUILD/bson_ext-1.10.2/opt/rh/rh-ror41/root/usr/share/gems/gems/bson_ext-1.10.2/ext/cbson/version.h Building native extensions. This could take a while... /opt/rh/rh-ruby22/root/usr/bin/ruby -r ./siteconf20151004-9082-1ehaaiw.rb 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 "DESTDIR=" clean rm -f rm -f cbson.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. -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/rh-ruby22/root/usr/include -I/opt/rh/rh-ruby22/root/usr/include/ruby/backward -I/opt/rh/rh-ruby22/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:401: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result cbson.c: In function 'objectid_generate': cbson.c:1079: warning: implicit declaration of function 'htonl' cbson.c:1087: warning: implicit declaration of function 'htons' 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. -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 rm -f cbson.so gcc -shared -o cbson.so bson_buffer.o cbson.o encoding_helpers.o -L. -L/opt/rh/rh-ruby22/root/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lruby -lpthread -lrt -ldl -lcrypt -lm -lc make "DESTDIR=" install /bin/mkdir -p . ./.gem.20151004-9082-15l2i2u/bson_ext exit > .RUBYARCHDIR.-.bson_ext.time /usr/bin/install -c -m 0755 cbson.so ./.gem.20151004-9082-15l2i2u/bson_ext Successfully installed bson_ext-1.10.2 Parsing documentation for bson_ext-1.10.2 Parsing sources... 8% [ 1/12] ext/cbson/Makefile 16% [ 2/12] ext/cbson/bson_buffer.c 25% [ 3/12] ext/cbson/bson_buffer.h 33% [ 4/12] ext/cbson/bson_buffer.o 41% [ 5/12] ext/cbson/cbson.c 50% [ 6/12] ext/cbson/cbson.o 58% [ 7/12] ext/cbson/cbson.so 66% [ 8/12] ext/cbson/encoding_helpers.c 75% [ 9/12] ext/cbson/encoding_helpers.h 83% [10/12] ext/cbson/encoding_helpers.o 91% [11/12] ext/cbson/extconf.rb 100% [12/12] ext/cbson/version.h Installing ri documentation for bson_ext-1.10.2 Installing darkfish documentation for bson_ext-1.10.2 Done installing documentation for bson_ext after 0 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lVHbfp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64 + cd bson_ext-1.10.2 + LANG=C + export LANG + unset DISPLAY + mkdir -p /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64/opt/rh/rh-ror41/root/usr/share/gems + cp -a ./opt/rh/rh-ror41/root/usr/share/gems/build_info ./opt/rh/rh-ror41/root/usr/share/gems/cache ./opt/rh/rh-ror41/root/usr/share/gems/doc ./opt/rh/rh-ror41/root/usr/share/gems/extensions ./opt/rh/rh-ror41/root/usr/share/gems/gems ./opt/rh/rh-ror41/root/usr/share/gems/specifications /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64/opt/rh/rh-ror41/root/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64/opt/rh/rh-ror41/root/usr/lib64/gems/ruby/bson_ext-1.10.2/bson_ext + cp -a ./opt/rh/rh-ror41/root/usr/lib64/gems/ruby/bson_ext-1.10.2/bson_ext/cbson.so /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64/opt/rh/rh-ror41/root/usr/lib64/gems/ruby/bson_ext-1.10.2/bson_ext/cbson.so + cp -a ./opt/rh/rh-ror41/root/usr/lib64/gems/ruby/bson_ext-1.10.2/gem.build_complete /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64/opt/rh/rh-ror41/root/usr/lib64/gems/ruby/bson_ext-1.10.2/gem.build_complete + rm -rf /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64/opt/rh/rh-ror41/root/usr/share/gems/gems/bson_ext-1.10.2/ext + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/bson_ext-1.10.2 extracting debug info from /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64/opt/rh/rh-ror41/root/usr/lib64/gems/ruby/bson_ext-1.10.2/bson_ext/cbson.so 102 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/rh-ror41/root + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python /opt/rh/rh-ror41/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.i6jVx9 + umask 022 + cd /builddir/build/BUILD + cd bson_ext-1.10.2 + unset DISPLAY + scl enable rh-ror41 - ~/build/BUILD/bson_ext-1.10.2/opt/rh/rh-ror41/root/usr/share/gems/gems/bson_ext-1.10.2 ~/build/BUILD/bson_ext-1.10.2 test/bson/ test/bson/timestamp_test.rb test/bson/bson_regex_test.rb test/bson/grow_test.rb test/bson/bson_test.rb test/bson/ordered_hash_test.rb test/bson/object_id_test.rb test/bson/byte_buffer_test.rb test/bson/binary_test.rb test/bson/hash_with_indifferent_access_test.rb Loaded suite -e Started ............................................................................... ............................................................................... ................. Finished in 0.059774534 seconds. 175 tests, 382 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed 2927.67 tests/s, 6390.68 assertions/s ~/build/BUILD/bson_ext-1.10.2 + exit 0 Processing files: rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64 Finding Provides: /bin/sh -c " while read FILE; do /usr/lib/rpm/rpmdeps -P ${FILE}; done | /bin/sort -u | /bin/sed -e '/cbson.so()(64bit)/d'" Finding Requires: /bin/sh -c " while read FILE; do /usr/lib/rpm/rpmdeps -R ${FILE}; done | /bin/sort -u " Provides: rh-ror41-rubygem(bson_ext) = 1.10.2 Requires(rpmlib): rpmlib(VersionedDependencies) <= 3.0.3-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires: libcrypt.so.1()(64bit) 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) 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.2.2()(64bit) rtld(GNU_HASH) Processing files: rh-ror41-rubygem-bson_ext-doc-1.10.2-5.el6.noarch Finding Provides: /bin/sh -c " while read FILE; do /usr/lib/rpm/rpmdeps -P ${FILE}; done | /bin/sort -u | /bin/sed -e '/cbson.so()(64bit)/d'" Finding Requires: /bin/sh -c " while read FILE; do /usr/lib/rpm/rpmdeps -R ${FILE}; done | /bin/sort -u " Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Processing files: rh-ror41-rubygem-bson_ext-debuginfo-1.10.2-5.el6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64 warning: Could not canonicalize hostname: c1bk.rdu2.centos.org Wrote: /builddir/build/RPMS/rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64.rpm Wrote: /builddir/build/RPMS/rh-ror41-rubygem-bson_ext-doc-1.10.2-5.el6.noarch.rpm Wrote: /builddir/build/RPMS/rh-ror41-rubygem-bson_ext-debuginfo-1.10.2-5.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EphVO9 + umask 022 + cd /builddir/build/BUILD + cd bson_ext-1.10.2 + /bin/rm -rf /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el6.x86_64 + exit 0 Child return code was: 0 LEAVE do -->