Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/rubygem-bcrypt-ruby.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1632/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-bcrypt-ruby.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-00012bf5 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ruby193-rubygem-bcrypt-ruby-3.0.1-8.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-bcrypt-ruby.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1632/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-bcrypt-ruby.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.WxBatH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ruby193-rubygem-bcrypt-ruby-3.0.1 + /usr/bin/mkdir -p ruby193-rubygem-bcrypt-ruby-3.0.1 + cd ruby193-rubygem-bcrypt-ruby-3.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TAgkrq + umask 022 + cd /builddir/build/BUILD + cd ruby193-rubygem-bcrypt-ruby-3.0.1 + mkdir -p .//opt/rh/ruby193/root/usr/share/gems + export 'CONFIGURE_ARGS=--with-cflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'\''' + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'\''' + scl enable ruby193 ' gem install --local --install-dir .//opt/rh/ruby193/root/usr/share/gems --force -V --rdoc /builddir/build/SOURCES/bcrypt-ruby-3.0.1.gem ' Installing gem bcrypt-ruby-3.0.1 Using local gem /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/cache/bcrypt-ruby-3.0.1.gem /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/.gitignore /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/.rspec /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/CHANGELOG /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/COPYING /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/Gemfile /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/Gemfile.lock /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/README.md /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/Rakefile /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/bcrypt-ruby.gemspec /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/ext/jruby/bcrypt_jruby/BCrypt.java /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/ext/mri/bcrypt_ext.c /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/ext/mri/crypt.c /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/ext/mri/crypt.h /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/ext/mri/crypt_blowfish.c /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/ext/mri/crypt_gensalt.c /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/ext/mri/extconf.rb /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/ext/mri/ow-crypt.h /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/ext/mri/wrapper.c /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/lib/bcrypt.rb /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/lib/bcrypt_engine.rb /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/spec/TestBCrypt.java /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/spec/bcrypt/engine_spec.rb /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/spec/bcrypt/password_spec.rb /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/spec/spec_helper.rb Building native extensions. This could take a while... unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.md, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.md, skipping /opt/rh/ruby193/root/usr/bin/ruby extconf.rb 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. -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 crypt.o -c crypt.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. -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 bcrypt_ext.o -c bcrypt_ext.c bcrypt_ext.c: In function 'bcrypt_wrapper': bcrypt_ext.c:27:5: warning: implicit declaration of function 'ruby_bcrypt' [-Wimplicit-function-declaration] return (VALUE)ruby_bcrypt(args->output, args->key, args->salt); ^ bcrypt_ext.c: At top level: bcrypt_ext.c:25:14: warning: 'bcrypt_wrapper' defined but not used [-Wunused-function] static VALUE bcrypt_wrapper(void *_args) { ^ 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. -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 crypt_gensalt.o -c crypt_gensalt.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. -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 crypt_blowfish.o -c crypt_blowfish.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. -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 wrapper.o -c wrapper.c In file included from wrapper.c:27:0: /opt/rh/ruby193/root/usr/include/ruby/backward/util.h:2:2: warning: #warning use "ruby/util.h" instead of bare "util.h" [-Wcpp] #warning use "ruby/util.h" instead of bare "util.h" ^ rm -f bcrypt_ext.so gcc -shared -o bcrypt_ext.so crypt.o bcrypt_ext.o crypt_gensalt.o crypt_blowfish.o wrapper.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/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/lib /usr/bin/install -c -m 0755 bcrypt_ext.so /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/lib Successfully installed bcrypt-ruby-3.0.1 1 gem installed Installing ri documentation for bcrypt-ruby-3.0.1... rdoc --ri --op /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/doc/bcrypt-ruby-3.0.1/ri --title bcrypt-ruby --line-numbers --main README.md lib README.md COPYING CHANGELOG lib/bcrypt.rb lib/bcrypt_engine.rb --title bcrypt-ruby-3.0.1 Documentation --quiet Installing RDoc documentation for bcrypt-ruby-3.0.1... rdoc --op /builddir/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/doc/bcrypt-ruby-3.0.1/rdoc --title bcrypt-ruby --line-numbers --main README.md lib README.md COPYING CHANGELOG lib/bcrypt.rb lib/bcrypt_engine.rb --title bcrypt-ruby-3.0.1 Documentation --quiet Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6Sin4f + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ruby193-rubygem-bcrypt-ruby-3.0.1-8.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ruby193-rubygem-bcrypt-ruby-3.0.1-8.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/ruby193-rubygem-bcrypt-ruby-3.0.1-8.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ruby193-rubygem-bcrypt-ruby-3.0.1-8.el7.centos.x86_64 + cd ruby193-rubygem-bcrypt-ruby-3.0.1 + rm -rf /builddir/build/BUILDROOT/ruby193-rubygem-bcrypt-ruby-3.0.1-8.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT/ruby193-rubygem-bcrypt-ruby-3.0.1-8.el7.centos.x86_64/opt/rh/ruby193/root/usr/share/gems + mkdir -p /builddir/build/BUILDROOT/ruby193-rubygem-bcrypt-ruby-3.0.1-8.el7.centos.x86_64/opt/rh/ruby193/root/usr/lib64/gems/exts/bcrypt-ruby-3.0.1/lib + 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-bcrypt-ruby-3.0.1-8.el7.centos.x86_64/opt/rh/ruby193/root/usr/share/gems/ + mv /builddir/build/BUILDROOT/ruby193-rubygem-bcrypt-ruby-3.0.1-8.el7.centos.x86_64/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/lib/bcrypt_ext.so /builddir/build/BUILDROOT/ruby193-rubygem-bcrypt-ruby-3.0.1-8.el7.centos.x86_64/opt/rh/ruby193/root/usr/lib64/gems/exts/bcrypt-ruby-3.0.1/lib + rm -rf /builddir/build/BUILDROOT/ruby193-rubygem-bcrypt-ruby-3.0.1-8.el7.centos.x86_64/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1/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/ruby193-rubygem-bcrypt-ruby-3.0.1 extracting debug info from /builddir/build/BUILDROOT/ruby193-rubygem-bcrypt-ruby-3.0.1-8.el7.centos.x86_64/opt/rh/ruby193/root/usr/lib64/gems/exts/bcrypt-ruby-3.0.1/lib/bcrypt_ext.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 80 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.jsmWj9 + umask 022 + cd /builddir/build/BUILD + cd ruby193-rubygem-bcrypt-ruby-3.0.1 + pushd ./opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1 ~/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1/opt/rh/ruby193/root/usr/share/gems/gems/bcrypt-ruby-3.0.1 ~/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1 + scl enable ruby193 ' rspec spec ' Creating a hashed password should return a BCrypt::Password should return a valid bcrypt password should behave normally if the secret is not a string should tolerate empty string secrets Reading a hashed password the cost is too damn high should read the version, cost, salt, and hash should raise an InvalidHashError when given an invalid hash Comparing a hashed password with a secret should compare successfully to the original secret should compare unsuccessfully to anything besides original secret Validating a generated salt should not accept an invalid salt should accept a valid salt The BCrypt engine should calculate the optimal cost factor to fit in a specific time Generating BCrypt salts should produce strings should produce random data should raise a InvalidCostError if the cost parameter isn't numeric should raise a InvalidCostError if the cost parameter isn't greater than 0 Autodetecting of salt cost should work Generating BCrypt hashes should produce a string should raise an InvalidSalt error if the salt is invalid should raise an InvalidSecret error if the secret is invalid should call #to_s on the secret and use the return value as the actual secret data should be interoperable with other implementations Finished in 1.9 seconds 22 examples, 0 failures ~/build/BUILD/ruby193-rubygem-bcrypt-ruby-3.0.1 + popd + exit 0 Processing files: ruby193-rubygem-bcrypt-ruby-3.0.1-8.el7.centos.x86_64 Provides: ruby193-rubygem(bcrypt-ruby) = 3.0.1 ruby193-rubygem-bcrypt-ruby = 3.0.1-8.el7.centos ruby193-rubygem-bcrypt-ruby(x86-64) = 3.0.1-8.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.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.1()(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) librt.so.1()(64bit) libruby.so.1.9()(64bit) rtld(GNU_HASH) Processing files: ruby193-rubygem-bcrypt-ruby-debuginfo-3.0.1-8.el7.centos.x86_64 Provides: scl-package(ruby193) ruby193-rubygem-bcrypt-ruby-debuginfo = 3.0.1-8.el7.centos ruby193-rubygem-bcrypt-ruby-debuginfo(x86-64) = 3.0.1-8.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-bcrypt-ruby-3.0.1-8.el7.centos.x86_64 warning: Could not canonicalize hostname: i-00012bf5 Wrote: /builddir/build/RPMS/ruby193-rubygem-bcrypt-ruby-3.0.1-8.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/ruby193-rubygem-bcrypt-ruby-debuginfo-3.0.1-8.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yTSqIg + umask 022 + cd /builddir/build/BUILD + cd ruby193-rubygem-bcrypt-ruby-3.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ruby193-rubygem-bcrypt-ruby-3.0.1-8.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->