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/epel-7-x86_64-mockbuilder-1695/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/rubygem-bson_ext.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'} warning: Could not canonicalize hostname: i-00012bf6 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ruby193-rubygem-bson_ext-1.9.2-2.el7.centos.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/epel-7-x86_64-mockbuilder-1695/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/rubygem-bson_ext.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vuye8E + umask 022 + cd /builddir/build/BUILD + 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.AxrAF7 + umask 022 + cd /builddir/build/BUILD + cd bson_ext-1.9.2 + 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-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:1023:9: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] t = htonl((int)time(NULL)); ^ cbson.c:1031:5: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] pid = htons(getpid()); ^ cbson.c: In function 'write_element': cbson.c:317:25: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] INT2STRING(&name, i); ^ 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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -m64 -o bson_buffer.o -c bson_buffer.c rm -f cbson.so gcc -shared -o cbson.so cbson.o encoding_helpers.o bson_buffer.o -L. -L/opt/rh/ruby193/root/usr/lib64 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -m64 -lruby -lpthread -lrt -ldl -lcrypt -lm -lc make install /usr/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 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PjAVZE + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.el7.centos.x86_64 + cd bson_ext-1.9.2 + mkdir -p /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.el7.centos.x86_64/opt/rh/ruby193/root/usr/share/gems + mkdir -p /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.el7.centos.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.el7.centos.x86_64/opt/rh/ruby193/root/usr/share/gems/ + mv /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.el7.centos.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.el7.centos.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.el7.centos.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 -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/bson_ext-1.9.2 extracting debug info from /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.el7.centos.x86_64/opt/rh/ruby193/root/usr/lib64/gems/exts/bson_ext-1.9.2/ext/bson_ext/bson_ext/cbson.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 98 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/ruby193/root + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python 1 /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.Yz7V5e + umask 022 + cd /builddir/build/BUILD + cd bson_ext-1.9.2 + 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.034308s, 4226.4201 tests/s, 9735.3401 assertions/s. 145 tests, 334 assertions, 0 failures, 0 errors, 0 skips ~/build/BUILD/bson_ext-1.9.2 + popd + exit 0 Processing files: ruby193-rubygem-bson_ext-1.9.2-2.el7.centos.x86_64 Provides: ruby193-rubygem(bson_ext) = 1.9.2 ruby193-rubygem-bson_ext = 1.9.2-2.el7.centos ruby193-rubygem-bson_ext(x86-64) = 1.9.2-2.el7.centos scl-package(ruby193) 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) librt.so.1()(64bit) libruby.so.1.9()(64bit) rtld(GNU_HASH) Processing files: ruby193-rubygem-bson_ext-doc-1.9.2-2.el7.centos.noarch Provides: ruby193-rubygem-bson_ext-doc = 1.9.2-2.el7.centos scl-package(ruby193) 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.el7.centos.x86_64 Provides: scl-package(ruby193) ruby193-rubygem-bson_ext-debuginfo = 1.9.2-2.el7.centos ruby193-rubygem-bson_ext-debuginfo(x86-64) = 1.9.2-2.el7.centos 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/ruby193-rubygem-bson_ext-1.9.2-2.el7.centos.x86_64 warning: Could not canonicalize hostname: i-00012bf6 Wrote: /builddir/build/RPMS/ruby193-rubygem-bson_ext-1.9.2-2.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/ruby193-rubygem-bson_ext-doc-1.9.2-2.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/ruby193-rubygem-bson_ext-debuginfo-1.9.2-2.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wpwfkM + umask 022 + cd /builddir/build/BUILD + cd bson_ext-1.9.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ruby193-rubygem-bson_ext-1.9.2-2.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->