Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Wrote: /builddir/build/SRPMS/rubygem-bcrypt-3.1.16-3.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XHsdfM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bcrypt-3.1.16 + /usr/bin/gem unpack /builddir/build/SOURCES/bcrypt-3.1.16.gem Unpacked gem: '/builddir/build/BUILD/bcrypt-3.1.16' + /usr/bin/gem spec /builddir/build/SOURCES/bcrypt-3.1.16.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd bcrypt-3.1.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.h853Uj + umask 022 + cd /builddir/build/BUILD + cd bcrypt-3.1.16 + gem build ../bcrypt-3.1.16.gemspec WARNING: open-ended dependency on rspec (>= 3, development) is not recommended if rspec is semantically versioned, use: add_development_dependency 'rspec', '~> 3' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: bcrypt Version: 3.1.16 File: bcrypt-3.1.16.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc bcrypt-3.1.16.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/bcrypt-3.1.16 Bin dir: /builddir/build/BUILD/bcrypt-3.1.16/usr/bin Gem home: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems Plugins dir: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/plugins /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/.gitignore /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/.rspec /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/.travis.yml /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/CHANGELOG /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/COPYING /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/Gemfile /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/README.md /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/Rakefile /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/appveyor.yml /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/bcrypt.gemspec /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/jruby/bcrypt_jruby/BCrypt.java /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/bcrypt_ext.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_blowfish.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_blowfish.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_gensalt.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_gensalt.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/extconf.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/ow-crypt.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/wrapper.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/x86.S /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt/engine.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt/error.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt/password.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/TestBCrypt.java /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/bcrypt/engine_spec.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/bcrypt/error_spec.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/bcrypt/password_spec.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/spec_helper.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20220109-3771431-odie7i.rb", "extconf.rb"] creating Makefile current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["make", "DESTDIR=", "clean"] rm -f rm -f bcrypt_ext.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o bcrypt_ext.o -c bcrypt_ext.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o crypt_blowfish.o -c crypt_blowfish.c gcc -D__SKIP_GNU -c -o x86.o x86.S gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o crypt_gensalt.o -c crypt_gensalt.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o wrapper.o -c wrapper.c wrapper.c:182:60: warning: 'struct crypt_data' declared inside parameter list will not be visible outside of this definition or declaration 182 | char *crypt_r(const char *key, const char *setting, struct crypt_data *data) | ^~~~~~~~~~ rm -f bcrypt_ext.so gcc -shared -o bcrypt_ext.so bcrypt_ext.o crypt_blowfish.o x86.o crypt_gensalt.o wrapper.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -lruby -lm -lc current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20220109-3771431-z8iixc exit > .sitearchdir.time /usr/bin/install -c -m 0755 bcrypt_ext.so ./.gem.20220109-3771431-z8iixc current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20220109-3771431-odie7i.rb extconf.rb current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri make DESTDIR\= clean current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri make DESTDIR\= current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri make DESTDIR\= install Successfully installed bcrypt-3.1.16 Parsing documentation for bcrypt-3.1.16 Parsing sources... 3% [ 1/26] CHANGELOG 7% [ 2/26] COPYING 11% [ 3/26] README.md 15% [ 4/26] ext/jruby/bcrypt_jruby/BCrypt.java 19% [ 5/26] ext/mri/Makefile 23% [ 6/26] ext/mri/bcrypt_ext.c 26% [ 7/26] ext/mri/bcrypt_ext.o 30% [ 8/26] ext/mri/bcrypt_ext.so 34% [ 9/26] ext/mri/crypt.c 38% [10/26] ext/mri/crypt.h 42% [11/26] ext/mri/crypt_blowfish.c 46% [12/26] ext/mri/crypt_blowfish.h 50% [13/26] ext/mri/crypt_blowfish.o 53% [14/26] ext/mri/crypt_gensalt.c 57% [15/26] ext/mri/crypt_gensalt.h 61% [16/26] ext/mri/crypt_gensalt.o 65% [17/26] ext/mri/extconf.rb 69% [18/26] ext/mri/ow-crypt.h 73% [19/26] ext/mri/wrapper.c 76% [20/26] ext/mri/wrapper.o 80% [21/26] ext/mri/x86.S 84% [22/26] ext/mri/x86.o 88% [23/26] lib/bcrypt.rb 92% [24/26] lib/bcrypt/engine.rb 96% [25/26] lib/bcrypt/error.rb 100% [26/26] lib/bcrypt/password.rb Installing ri documentation for bcrypt-3.1.16 Installing darkfish documentation for bcrypt-3.1.16 Done installing documentation for bcrypt after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DqWucj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 + cd bcrypt-3.1.16 + mkdir -p /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16 + cp -a ./usr/lib64/gems/ruby/bcrypt-3.1.16/gem.build_complete ./usr/lib64/gems/ruby/bcrypt-3.1.16/bcrypt_ext.so /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16/ + rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/share/gems/gems/bcrypt-3.1.16/ext/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 3.1.16-3.el9 --unique-debug-suffix -3.1.16-3.el9.x86_64 --unique-debug-src-base rubygem-bcrypt-3.1.16-3.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/bcrypt-3.1.16 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16/bcrypt_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16/bcrypt_ext.so original debug info size: 104kB, size after compression: 100kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 112 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4ZwSSv + umask 022 + cd /builddir/build/BUILD + cd bcrypt-3.1.16 + pushd ./usr/share/gems/gems/bcrypt-3.1.16 ~/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16 ~/build/BUILD/bcrypt-3.1.16 ++ dirs +1 + rspec -I~/build/BUILD/bcrypt-3.1.16/usr/lib64/gems/ruby/bcrypt-3.1.16 spec BCrypt::Engine .calibrate(upper_time_limit_in_ms) a tiny upper time limit provided returns a minimum cost supported by the algorithm 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 Errors BCrypt::Error can be rescued as a StandardError BCrypt::Errors::InvalidCost can be rescued as a BCrypt::Error BCrypt::Errors::InvalidHash can be rescued as a BCrypt::Error BCrypt::Errors::InvalidSalt can be rescued as a BCrypt::Error BCrypt::Errors::InvalidSecret can be rescued as a BCrypt::Error 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 the cost should be set to the default if nil the cost should be set to the default if empty hash the cost should be set to the passed value if provided the cost should be set to the global value if set the cost should be set to an overridden constant for backwards compatibility 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 Validating a password hash should not accept an invalid password should accept a valid password Finished in 5.62 seconds (files took 0.15336 seconds to load) 35 examples, 0 failures + popd + RPM_EC=0 ~/build/BUILD/bcrypt-3.1.16 ++ jobs -p + exit 0 Processing files: rubygem-bcrypt-3.1.16-3.el9.x86_64 Provides: rubygem(bcrypt) = 3.1.16 rubygem-bcrypt = 3.1.16-3.el9 rubygem-bcrypt(x86-64) = 3.1.16-3.el9 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) libruby.so.3.0()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-bcrypt-doc-3.1.16-3.el9.noarch Provides: rubygem-bcrypt-doc = 3.1.16-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-bcrypt-debugsource-3.1.16-3.el9.x86_64 Provides: rubygem-bcrypt-debugsource = 3.1.16-3.el9 rubygem-bcrypt-debugsource(x86-64) = 3.1.16-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-bcrypt-debuginfo-3.1.16-3.el9.x86_64 Provides: debuginfo(build-id) = bdc9c8e448ce5177884aa9e64721e195ee76bf4d rubygem-bcrypt-debuginfo = 3.1.16-3.el9 rubygem-bcrypt-debuginfo(x86-64) = 3.1.16-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-bcrypt-debugsource(x86-64) = 3.1.16-3.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 Wrote: /builddir/build/RPMS/rubygem-bcrypt-3.1.16-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-debugsource-3.1.16-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-debuginfo-3.1.16-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-doc-3.1.16-3.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.nGeiL0 + umask 022 + cd /builddir/build/BUILD + cd bcrypt-3.1.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Wrote: /builddir/build/SRPMS/rubygem-bcrypt-3.1.16-3.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8Gv9Co + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bcrypt-3.1.16 + /usr/bin/gem unpack /builddir/build/SOURCES/bcrypt-3.1.16.gem Unpacked gem: '/builddir/build/BUILD/bcrypt-3.1.16' + /usr/bin/gem spec /builddir/build/SOURCES/bcrypt-3.1.16.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd bcrypt-3.1.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IxBoHs + umask 022 + cd /builddir/build/BUILD + cd bcrypt-3.1.16 + gem build ../bcrypt-3.1.16.gemspec WARNING: open-ended dependency on rspec (>= 3, development) is not recommended if rspec is semantically versioned, use: add_development_dependency 'rspec', '~> 3' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: bcrypt Version: 3.1.16 File: bcrypt-3.1.16.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc bcrypt-3.1.16.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/bcrypt-3.1.16 Bin dir: /builddir/build/BUILD/bcrypt-3.1.16/usr/bin Gem home: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems Plugins dir: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/plugins /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/.gitignore /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/.rspec /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/.travis.yml /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/CHANGELOG /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/COPYING /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/Gemfile /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/README.md /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/Rakefile /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/appveyor.yml /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/bcrypt.gemspec /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/jruby/bcrypt_jruby/BCrypt.java /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/bcrypt_ext.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_blowfish.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_blowfish.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_gensalt.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_gensalt.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/extconf.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/ow-crypt.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/wrapper.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/x86.S /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt/engine.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt/error.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt/password.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/TestBCrypt.java /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/bcrypt/engine_spec.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/bcrypt/error_spec.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/bcrypt/password_spec.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/spec_helper.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20220109-272834-4ug1ae.rb", "extconf.rb"] creating Makefile current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["make", "DESTDIR=", "clean"] rm -f rm -f bcrypt_ext.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o bcrypt_ext.o -c bcrypt_ext.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o crypt_blowfish.o -c crypt_blowfish.c gcc -D__SKIP_GNU -c -o x86.o x86.S gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o crypt_gensalt.o -c crypt_gensalt.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o wrapper.o -c wrapper.c wrapper.c:182:60: warning: 'struct crypt_data' declared inside parameter list will not be visible outside of this definition or declaration 182 | char *crypt_r(const char *key, const char *setting, struct crypt_data *data) | ^~~~~~~~~~ rm -f bcrypt_ext.so gcc -shared -o bcrypt_ext.so bcrypt_ext.o crypt_blowfish.o x86.o crypt_gensalt.o wrapper.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -lruby -lm -lc current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20220109-272834-ldfrf5 exit > .sitearchdir.time /usr/bin/install -c -m 0755 bcrypt_ext.so ./.gem.20220109-272834-ldfrf5 current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20220109-272834-4ug1ae.rb extconf.rb current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri make DESTDIR\= clean current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri make DESTDIR\= current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri make DESTDIR\= install Successfully installed bcrypt-3.1.16 Parsing documentation for bcrypt-3.1.16 Parsing sources... 3% [ 1/26] CHANGELOG 7% [ 2/26] COPYING 11% [ 3/26] README.md 15% [ 4/26] ext/jruby/bcrypt_jruby/BCrypt.java 19% [ 5/26] ext/mri/Makefile 23% [ 6/26] ext/mri/bcrypt_ext.c 26% [ 7/26] ext/mri/bcrypt_ext.o 30% [ 8/26] ext/mri/bcrypt_ext.so 34% [ 9/26] ext/mri/crypt.c 38% [10/26] ext/mri/crypt.h 42% [11/26] ext/mri/crypt_blowfish.c 46% [12/26] ext/mri/crypt_blowfish.h 50% [13/26] ext/mri/crypt_blowfish.o 53% [14/26] ext/mri/crypt_gensalt.c 57% [15/26] ext/mri/crypt_gensalt.h 61% [16/26] ext/mri/crypt_gensalt.o 65% [17/26] ext/mri/extconf.rb 69% [18/26] ext/mri/ow-crypt.h 73% [19/26] ext/mri/wrapper.c 76% [20/26] ext/mri/wrapper.o 80% [21/26] ext/mri/x86.S 84% [22/26] ext/mri/x86.o 88% [23/26] lib/bcrypt.rb 92% [24/26] lib/bcrypt/engine.rb 96% [25/26] lib/bcrypt/error.rb 100% [26/26] lib/bcrypt/password.rb Installing ri documentation for bcrypt-3.1.16 Installing darkfish documentation for bcrypt-3.1.16 Done installing documentation for bcrypt after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aPmrtQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 + cd bcrypt-3.1.16 + mkdir -p /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16 + cp -a ./usr/lib64/gems/ruby/bcrypt-3.1.16/gem.build_complete ./usr/lib64/gems/ruby/bcrypt-3.1.16/bcrypt_ext.so /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16/ + rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/share/gems/gems/bcrypt-3.1.16/ext/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 3.1.16-3.el9 --unique-debug-suffix -3.1.16-3.el9.x86_64 --unique-debug-src-base rubygem-bcrypt-3.1.16-3.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/bcrypt-3.1.16 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16/bcrypt_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16/bcrypt_ext.so original debug info size: 104kB, size after compression: 100kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 112 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ZzfKu4 + umask 022 + cd /builddir/build/BUILD + cd bcrypt-3.1.16 ~/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16 ~/build/BUILD/bcrypt-3.1.16 + pushd ./usr/share/gems/gems/bcrypt-3.1.16 ++ dirs +1 + rspec -I~/build/BUILD/bcrypt-3.1.16/usr/lib64/gems/ruby/bcrypt-3.1.16 spec BCrypt::Engine .calibrate(upper_time_limit_in_ms) a tiny upper time limit provided returns a minimum cost supported by the algorithm 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 Errors BCrypt::Error can be rescued as a StandardError BCrypt::Errors::InvalidCost can be rescued as a BCrypt::Error BCrypt::Errors::InvalidHash can be rescued as a BCrypt::Error BCrypt::Errors::InvalidSalt can be rescued as a BCrypt::Error BCrypt::Errors::InvalidSecret can be rescued as a BCrypt::Error 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 the cost should be set to the default if nil the cost should be set to the default if empty hash the cost should be set to the passed value if provided the cost should be set to the global value if set the cost should be set to an overridden constant for backwards compatibility 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 Validating a password hash should not accept an invalid password should accept a valid password Finished in 5.88 seconds (files took 0.16492 seconds to load) 35 examples, 0 failures + popd + RPM_EC=0 ~/build/BUILD/bcrypt-3.1.16 ++ jobs -p + exit 0 Processing files: rubygem-bcrypt-3.1.16-3.el9.x86_64 Provides: rubygem(bcrypt) = 3.1.16 rubygem-bcrypt = 3.1.16-3.el9 rubygem-bcrypt(x86-64) = 3.1.16-3.el9 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) libruby.so.3.0()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-bcrypt-doc-3.1.16-3.el9.noarch Provides: rubygem-bcrypt-doc = 3.1.16-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-bcrypt-debugsource-3.1.16-3.el9.x86_64 Provides: rubygem-bcrypt-debugsource = 3.1.16-3.el9 rubygem-bcrypt-debugsource(x86-64) = 3.1.16-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-bcrypt-debuginfo-3.1.16-3.el9.x86_64 Provides: debuginfo(build-id) = bdc9c8e448ce5177884aa9e64721e195ee76bf4d rubygem-bcrypt-debuginfo = 3.1.16-3.el9 rubygem-bcrypt-debuginfo(x86-64) = 3.1.16-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-bcrypt-debugsource(x86-64) = 3.1.16-3.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 Wrote: /builddir/build/RPMS/rubygem-bcrypt-3.1.16-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-debugsource-3.1.16-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-debuginfo-3.1.16-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-doc-3.1.16-3.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.12vugC + umask 022 + cd /builddir/build/BUILD + cd bcrypt-3.1.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Wrote: /builddir/build/SRPMS/rubygem-bcrypt-3.1.16-3.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JMXrOb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bcrypt-3.1.16 + /usr/bin/gem unpack /builddir/build/SOURCES/bcrypt-3.1.16.gem Unpacked gem: '/builddir/build/BUILD/bcrypt-3.1.16' + /usr/bin/gem spec /builddir/build/SOURCES/bcrypt-3.1.16.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd bcrypt-3.1.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.g6s8jl + umask 022 + cd /builddir/build/BUILD + cd bcrypt-3.1.16 + gem build ../bcrypt-3.1.16.gemspec WARNING: open-ended dependency on rspec (>= 3, development) is not recommended if rspec is semantically versioned, use: add_development_dependency 'rspec', '~> 3' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: bcrypt Version: 3.1.16 File: bcrypt-3.1.16.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc bcrypt-3.1.16.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/bcrypt-3.1.16 Bin dir: /builddir/build/BUILD/bcrypt-3.1.16/usr/bin Gem home: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems Plugins dir: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/plugins /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/.gitignore /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/.rspec /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/.travis.yml /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/CHANGELOG /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/COPYING /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/Gemfile /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/README.md /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/Rakefile /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/appveyor.yml /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/bcrypt.gemspec /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/jruby/bcrypt_jruby/BCrypt.java /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/bcrypt_ext.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_blowfish.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_blowfish.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_gensalt.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_gensalt.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/extconf.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/ow-crypt.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/wrapper.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/x86.S /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt/engine.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt/error.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt/password.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/TestBCrypt.java /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/bcrypt/engine_spec.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/bcrypt/error_spec.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/bcrypt/password_spec.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/spec_helper.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20220110-993081-j8d0s4.rb", "extconf.rb"] creating Makefile current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["make", "DESTDIR=", "clean"] rm -f rm -f bcrypt_ext.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o bcrypt_ext.o -c bcrypt_ext.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o crypt_blowfish.o -c crypt_blowfish.c gcc -D__SKIP_GNU -c -o x86.o x86.S gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o crypt_gensalt.o -c crypt_gensalt.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o wrapper.o -c wrapper.c wrapper.c:182:60: warning: 'struct crypt_data' declared inside parameter list will not be visible outside of this definition or declaration 182 | char *crypt_r(const char *key, const char *setting, struct crypt_data *data) | ^~~~~~~~~~ rm -f bcrypt_ext.so gcc -shared -o bcrypt_ext.so bcrypt_ext.o crypt_blowfish.o x86.o crypt_gensalt.o wrapper.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -lruby -lm -lc current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20220110-993081-j30gai exit > .sitearchdir.time /usr/bin/install -c -m 0755 bcrypt_ext.so ./.gem.20220110-993081-j30gai current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20220110-993081-j8d0s4.rb extconf.rb current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri make DESTDIR\= clean current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri make DESTDIR\= current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri make DESTDIR\= install Successfully installed bcrypt-3.1.16 Parsing documentation for bcrypt-3.1.16 Parsing sources... 3% [ 1/26] CHANGELOG 7% [ 2/26] COPYING 11% [ 3/26] README.md 15% [ 4/26] ext/jruby/bcrypt_jruby/BCrypt.java 19% [ 5/26] ext/mri/Makefile 23% [ 6/26] ext/mri/bcrypt_ext.c 26% [ 7/26] ext/mri/bcrypt_ext.o 30% [ 8/26] ext/mri/bcrypt_ext.so 34% [ 9/26] ext/mri/crypt.c 38% [10/26] ext/mri/crypt.h 42% [11/26] ext/mri/crypt_blowfish.c 46% [12/26] ext/mri/crypt_blowfish.h 50% [13/26] ext/mri/crypt_blowfish.o 53% [14/26] ext/mri/crypt_gensalt.c 57% [15/26] ext/mri/crypt_gensalt.h 61% [16/26] ext/mri/crypt_gensalt.o 65% [17/26] ext/mri/extconf.rb 69% [18/26] ext/mri/ow-crypt.h 73% [19/26] ext/mri/wrapper.c 76% [20/26] ext/mri/wrapper.o 80% [21/26] ext/mri/x86.S 84% [22/26] ext/mri/x86.o 88% [23/26] lib/bcrypt.rb 92% [24/26] lib/bcrypt/engine.rb 96% [25/26] lib/bcrypt/error.rb 100% [26/26] lib/bcrypt/password.rb Installing ri documentation for bcrypt-3.1.16 Installing darkfish documentation for bcrypt-3.1.16 Done installing documentation for bcrypt after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NndFz6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 + cd bcrypt-3.1.16 + mkdir -p /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16 + cp -a ./usr/lib64/gems/ruby/bcrypt-3.1.16/gem.build_complete ./usr/lib64/gems/ruby/bcrypt-3.1.16/bcrypt_ext.so /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16/ + rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/share/gems/gems/bcrypt-3.1.16/ext/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 3.1.16-3.el9 --unique-debug-suffix -3.1.16-3.el9.x86_64 --unique-debug-src-base rubygem-bcrypt-3.1.16-3.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/bcrypt-3.1.16 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16/bcrypt_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16/bcrypt_ext.so original debug info size: 104kB, size after compression: 100kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 112 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CXZiaT + umask 022 + cd /builddir/build/BUILD + cd bcrypt-3.1.16 + pushd ./usr/share/gems/gems/bcrypt-3.1.16 ~/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16 ~/build/BUILD/bcrypt-3.1.16 ++ dirs +1 + rspec -I~/build/BUILD/bcrypt-3.1.16/usr/lib64/gems/ruby/bcrypt-3.1.16 spec BCrypt::Engine .calibrate(upper_time_limit_in_ms) a tiny upper time limit provided returns a minimum cost supported by the algorithm 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 Errors BCrypt::Error can be rescued as a StandardError BCrypt::Errors::InvalidCost can be rescued as a BCrypt::Error BCrypt::Errors::InvalidHash can be rescued as a BCrypt::Error BCrypt::Errors::InvalidSalt can be rescued as a BCrypt::Error BCrypt::Errors::InvalidSecret can be rescued as a BCrypt::Error 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 the cost should be set to the default if nil the cost should be set to the default if empty hash the cost should be set to the passed value if provided the cost should be set to the global value if set the cost should be set to an overridden constant for backwards compatibility 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 Validating a password hash should not accept an invalid password should accept a valid password Finished in 5.66 seconds (files took 0.15426 seconds to load) 35 examples, 0 failures + popd ~/build/BUILD/bcrypt-3.1.16 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-bcrypt-3.1.16-3.el9.x86_64 Provides: rubygem(bcrypt) = 3.1.16 rubygem-bcrypt = 3.1.16-3.el9 rubygem-bcrypt(x86-64) = 3.1.16-3.el9 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) libruby.so.3.0()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-bcrypt-doc-3.1.16-3.el9.noarch Provides: rubygem-bcrypt-doc = 3.1.16-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-bcrypt-debugsource-3.1.16-3.el9.x86_64 Provides: rubygem-bcrypt-debugsource = 3.1.16-3.el9 rubygem-bcrypt-debugsource(x86-64) = 3.1.16-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-bcrypt-debuginfo-3.1.16-3.el9.x86_64 Provides: debuginfo(build-id) = bdc9c8e448ce5177884aa9e64721e195ee76bf4d rubygem-bcrypt-debuginfo = 3.1.16-3.el9 rubygem-bcrypt-debuginfo(x86-64) = 3.1.16-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-bcrypt-debugsource(x86-64) = 3.1.16-3.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 Wrote: /builddir/build/RPMS/rubygem-bcrypt-debugsource-3.1.16-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-3.1.16-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-debuginfo-3.1.16-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-doc-3.1.16-3.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VxW6Eu + umask 022 + cd /builddir/build/BUILD + cd bcrypt-3.1.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Wrote: /builddir/build/SRPMS/rubygem-bcrypt-3.1.16-3.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tjKXOX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bcrypt-3.1.16 + /usr/bin/gem unpack /builddir/build/SOURCES/bcrypt-3.1.16.gem Unpacked gem: '/builddir/build/BUILD/bcrypt-3.1.16' + /usr/bin/gem spec /builddir/build/SOURCES/bcrypt-3.1.16.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd bcrypt-3.1.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OgL8F9 + umask 022 + cd /builddir/build/BUILD + cd bcrypt-3.1.16 + gem build ../bcrypt-3.1.16.gemspec WARNING: open-ended dependency on rspec (>= 3, development) is not recommended if rspec is semantically versioned, use: add_development_dependency 'rspec', '~> 3' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: bcrypt Version: 3.1.16 File: bcrypt-3.1.16.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc bcrypt-3.1.16.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/bcrypt-3.1.16 Bin dir: /builddir/build/BUILD/bcrypt-3.1.16/usr/bin Gem home: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems Plugins dir: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/plugins /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/.gitignore /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/.rspec /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/.travis.yml /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/CHANGELOG /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/COPYING /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/Gemfile /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/README.md /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/Rakefile /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/appveyor.yml /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/bcrypt.gemspec /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/jruby/bcrypt_jruby/BCrypt.java /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/bcrypt_ext.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_blowfish.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_blowfish.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_gensalt.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/crypt_gensalt.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/extconf.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/ow-crypt.h /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/wrapper.c /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri/x86.S /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt/engine.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt/error.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/lib/bcrypt/password.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/TestBCrypt.java /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/bcrypt/engine_spec.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/bcrypt/error_spec.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/bcrypt/password_spec.rb /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/spec/spec_helper.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20220110-1718489-7htp6s.rb", "extconf.rb"] creating Makefile current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["make", "DESTDIR=", "clean"] rm -f rm -f bcrypt_ext.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o bcrypt_ext.o -c bcrypt_ext.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o crypt_blowfish.o -c crypt_blowfish.c gcc -D__SKIP_GNU -c -o x86.o x86.S gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o crypt_gensalt.o -c crypt_gensalt.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D__SKIP_GNU -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o wrapper.o -c wrapper.c wrapper.c:182:60: warning: 'struct crypt_data' declared inside parameter list will not be visible outside of this definition or declaration 182 | char *crypt_r(const char *key, const char *setting, struct crypt_data *data) | ^~~~~~~~~~ rm -f bcrypt_ext.so gcc -shared -o bcrypt_ext.so bcrypt_ext.o crypt_blowfish.o x86.o crypt_gensalt.o wrapper.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -lruby -lm -lc current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20220110-1718489-d55hp3 exit > .sitearchdir.time /usr/bin/install -c -m 0755 bcrypt_ext.so ./.gem.20220110-1718489-d55hp3 current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20220110-1718489-7htp6s.rb extconf.rb current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri make DESTDIR\= clean current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri make DESTDIR\= current directory: /builddir/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16/ext/mri make DESTDIR\= install Successfully installed bcrypt-3.1.16 Parsing documentation for bcrypt-3.1.16 Parsing sources... 3% [ 1/26] CHANGELOG 7% [ 2/26] COPYING 11% [ 3/26] README.md 15% [ 4/26] ext/jruby/bcrypt_jruby/BCrypt.java 19% [ 5/26] ext/mri/Makefile 23% [ 6/26] ext/mri/bcrypt_ext.c 26% [ 7/26] ext/mri/bcrypt_ext.o 30% [ 8/26] ext/mri/bcrypt_ext.so 34% [ 9/26] ext/mri/crypt.c 38% [10/26] ext/mri/crypt.h 42% [11/26] ext/mri/crypt_blowfish.c 46% [12/26] ext/mri/crypt_blowfish.h 50% [13/26] ext/mri/crypt_blowfish.o 53% [14/26] ext/mri/crypt_gensalt.c 57% [15/26] ext/mri/crypt_gensalt.h 61% [16/26] ext/mri/crypt_gensalt.o 65% [17/26] ext/mri/extconf.rb 69% [18/26] ext/mri/ow-crypt.h 73% [19/26] ext/mri/wrapper.c 76% [20/26] ext/mri/wrapper.o 80% [21/26] ext/mri/x86.S 84% [22/26] ext/mri/x86.o 88% [23/26] lib/bcrypt.rb 92% [24/26] lib/bcrypt/engine.rb 96% [25/26] lib/bcrypt/error.rb 100% [26/26] lib/bcrypt/password.rb Installing ri documentation for bcrypt-3.1.16 Installing darkfish documentation for bcrypt-3.1.16 Done installing documentation for bcrypt after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.voEOjp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 + cd bcrypt-3.1.16 + mkdir -p /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16 + cp -a ./usr/lib64/gems/ruby/bcrypt-3.1.16/gem.build_complete ./usr/lib64/gems/ruby/bcrypt-3.1.16/bcrypt_ext.so /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16/ + rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/share/gems/gems/bcrypt-3.1.16/ext/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 3.1.16-3.el9 --unique-debug-suffix -3.1.16-3.el9.x86_64 --unique-debug-src-base rubygem-bcrypt-3.1.16-3.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/bcrypt-3.1.16 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16/bcrypt_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64/usr/lib64/gems/ruby/bcrypt-3.1.16/bcrypt_ext.so original debug info size: 104kB, size after compression: 100kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 112 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.BVXKTs + umask 022 ~/build/BUILD/bcrypt-3.1.16/usr/share/gems/gems/bcrypt-3.1.16 ~/build/BUILD/bcrypt-3.1.16 + cd /builddir/build/BUILD + cd bcrypt-3.1.16 + pushd ./usr/share/gems/gems/bcrypt-3.1.16 ++ dirs +1 + rspec -I~/build/BUILD/bcrypt-3.1.16/usr/lib64/gems/ruby/bcrypt-3.1.16 spec BCrypt::Engine .calibrate(upper_time_limit_in_ms) a tiny upper time limit provided returns a minimum cost supported by the algorithm 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 Errors BCrypt::Error can be rescued as a StandardError BCrypt::Errors::InvalidCost can be rescued as a BCrypt::Error BCrypt::Errors::InvalidHash can be rescued as a BCrypt::Error BCrypt::Errors::InvalidSalt can be rescued as a BCrypt::Error BCrypt::Errors::InvalidSecret can be rescued as a BCrypt::Error 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 the cost should be set to the default if nil the cost should be set to the default if empty hash the cost should be set to the passed value if provided the cost should be set to the global value if set the cost should be set to an overridden constant for backwards compatibility 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 Validating a password hash should not accept an invalid password should accept a valid password Finished in 5.88 seconds (files took 0.15872 seconds to load) 35 examples, 0 failures + popd + RPM_EC=0 ~/build/BUILD/bcrypt-3.1.16 ++ jobs -p + exit 0 Processing files: rubygem-bcrypt-3.1.16-3.el9.x86_64 Provides: rubygem(bcrypt) = 3.1.16 rubygem-bcrypt = 3.1.16-3.el9 rubygem-bcrypt(x86-64) = 3.1.16-3.el9 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) libruby.so.3.0()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-bcrypt-doc-3.1.16-3.el9.noarch Provides: rubygem-bcrypt-doc = 3.1.16-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-bcrypt-debugsource-3.1.16-3.el9.x86_64 Provides: rubygem-bcrypt-debugsource = 3.1.16-3.el9 rubygem-bcrypt-debugsource(x86-64) = 3.1.16-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-bcrypt-debuginfo-3.1.16-3.el9.x86_64 Provides: debuginfo(build-id) = bdc9c8e448ce5177884aa9e64721e195ee76bf4d rubygem-bcrypt-debuginfo = 3.1.16-3.el9 rubygem-bcrypt-debuginfo(x86-64) = 3.1.16-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-bcrypt-debugsource(x86-64) = 3.1.16-3.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 Wrote: /builddir/build/RPMS/rubygem-bcrypt-3.1.16-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-debugsource-3.1.16-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-debuginfo-3.1.16-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-doc-3.1.16-3.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.n6juIi + umask 022 + cd /builddir/build/BUILD + cd bcrypt-3.1.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.16-3.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0