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/sclo7-rh-ror41-rh-el7-build-6509-8305/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'} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rh-ror41-rubygem-bson_ext-1.10.2-5.el7.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/sclo7-rh-ror41-rh-el7-build-6509-8305/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.6mTvAe + umask 022 + cd /builddir/build/BUILD + 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.MINOt4 + umask 022 + cd /builddir/build/BUILD + cd bson_ext-1.10.2 + 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 ./siteconf20151002-7626-1dhfpx1.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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -m64 -o cbson.o -c cbson.c cbson.c: In function 'objectid_generate': cbson.c:1079:9: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] t = htonl((int)time(NULL)); ^ cbson.c:1087:5: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] pid = htons(getpid()); ^ cbson.c: In function 'write_element': cbson.c:179:39: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] #define INT2STRING(buffer, i) asprintf(buffer, "%d", i); ^ cbson.c:401:17: note: in expansion of macro 'INT2STRING' INT2STRING(&name, i); ^ 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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lruby -lpthread -ldl -lcrypt -lm -lc make "DESTDIR=" install /usr/bin/mkdir -p . ./.gem.20151002-7626-8jve8r/bson_ext exit > .RUBYARCHDIR.-.bson_ext.time /usr/bin/install -c -m 0755 cbson.so ./.gem.20151002-7626-8jve8r/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.qrMcYY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el7.x86_64 + cd bson_ext-1.10.2 + mkdir -p /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el7.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.el7.x86_64/opt/rh/rh-ror41/root/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el7.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.el7.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.el7.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.el7.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 -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/bson_ext-1.10.2 extracting debug info from /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el7.x86_64/opt/rh/rh-ror41/root/usr/lib64/gems/ruby/bson_ext-1.10.2/bson_ext/cbson.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 102 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/rh-ror41/root + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python 1 /opt/rh/rh-ror41/root + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.0fZp2U + umask 022 + cd /builddir/build/BUILD + cd bson_ext-1.10.2 + 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.056400641 seconds. 175 tests, 382 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed 3102.80 tests/s, 6772.97 assertions/s ~/build/BUILD/bson_ext-1.10.2 + exit 0 Processing files: rh-ror41-rubygem-bson_ext-1.10.2-5.el7.x86_64 Provides: rh-ror41-rubygem(bson_ext) = 1.10.2 rh-ror41-rubygem-bson_ext = 1.10.2-5.el7 rh-ror41-rubygem-bson_ext(x86-64) = 1.10.2-5.el7 scl-package(rh-ror41) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(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) libruby.so.2.2()(64bit) rh-ror41-runtime rtld(GNU_HASH) Processing files: rh-ror41-rubygem-bson_ext-doc-1.10.2-5.el7.noarch Provides: rh-ror41-rubygem-bson_ext-doc = 1.10.2-5.el7 scl-package(rh-ror41) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: rh-ror41-runtime Processing files: rh-ror41-rubygem-bson_ext-debuginfo-1.10.2-5.el7.x86_64 Provides: scl-package(rh-ror41) rh-ror41-rubygem-bson_ext-debuginfo = 1.10.2-5.el7 rh-ror41-rubygem-bson_ext-debuginfo(x86-64) = 1.10.2-5.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el7.x86_64 Wrote: /builddir/build/RPMS/rh-ror41-rubygem-bson_ext-1.10.2-5.el7.x86_64.rpm Wrote: /builddir/build/RPMS/rh-ror41-rubygem-bson_ext-doc-1.10.2-5.el7.noarch.rpm Wrote: /builddir/build/RPMS/rh-ror41-rubygem-bson_ext-debuginfo-1.10.2-5.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2hqlFQ + umask 022 + cd /builddir/build/BUILD + cd bson_ext-1.10.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rh-ror41-rubygem-bson_ext-1.10.2-5.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->