Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'], chrootPath='/var/lib/mock/f40-build-733949-105578/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/rubygem-bcrypt-3.1.18-2.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rubygem-bcrypt.spec'], chrootPath='/var/lib/mock/f40-build-733949-105578/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.z2noUO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bcrypt-3.1.18 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bcrypt-3.1.18.gem Unpacked gem: '/builddir/build/BUILD/bcrypt-3.1.18' + STATUS=0 + '[' 0 -ne 0 ']' + cd bcrypt-3.1.18 + rm -rf /builddir/build/BUILD/bcrypt-3.1.18-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/bcrypt-3.1.18-SPECPARTS + /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.QLGlwF + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bcrypt-3.1.18 + gem build ../bcrypt-3.1.18.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.18 File: bcrypt-3.1.18.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer'\'' --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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc bcrypt-3.1.18.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/bcrypt-3.1.18 Bin dir: /builddir/build/BUILD/bcrypt-3.1.18/usr/bin Gem home: /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems Plugins dir: /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/plugins /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/.github/workflows/ruby.yml /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/.gitignore /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/.rspec /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/CHANGELOG /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/COPYING /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/Gemfile /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/README.md /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/Rakefile /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/bcrypt.gemspec /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/jruby/bcrypt_jruby/BCrypt.java /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri/bcrypt_ext.c /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri/crypt.c /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri/crypt.h /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri/crypt_blowfish.c /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri/crypt_blowfish.h /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri/crypt_gensalt.c /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri/crypt_gensalt.h /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri/extconf.rb /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri/ow-crypt.h /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri/wrapper.c /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri/x86.S /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/lib/bcrypt.rb /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/lib/bcrypt/engine.rb /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/lib/bcrypt/error.rb /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/lib/bcrypt/password.rb /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/spec/TestBCrypt.java /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/spec/bcrypt/engine_spec.rb /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/spec/bcrypt/error_spec.rb /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/spec/bcrypt/password_spec.rb /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/spec/spec_helper.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri ["/usr/bin/ruby", "-I/usr/share/rubygems", "extconf.rb"] creating Makefile current directory: /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri ["make", "DESTDIR=", "sitearchdir=./.gem.20231030-168503-y2jfnz", "sitelibdir=./.gem.20231030-168503-y2jfnz", "clean"] rm -f rm -fr bcrypt_ext.so false bcrypt_ext.o crypt_blowfish.o x86.o crypt_gensalt.o wrapper.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri ["make", "DESTDIR=", "sitearchdir=./.gem.20231030-168503-y2jfnz", "sitelibdir=./.gem.20231030-168503-y2jfnz"] 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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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,--build-id=sha1 -lruby -lm -lpthread -lc current directory: /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri ["make", "DESTDIR=", "sitearchdir=./.gem.20231030-168503-y2jfnz", "sitelibdir=./.gem.20231030-168503-y2jfnz", "install"] /usr/bin/mkdir -p . ./.gem.20231030-168503-y2jfnz exit > .sitearchdir.time /usr/bin/install -c -m 0755 bcrypt_ext.so ./.gem.20231030-168503-y2jfnz current directory: /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri ["make", "DESTDIR=", "sitearchdir=./.gem.20231030-168503-y2jfnz", "sitelibdir=./.gem.20231030-168503-y2jfnz", "clean"] rm -f rm -fr bcrypt_ext.so false bcrypt_ext.o crypt_blowfish.o x86.o crypt_gensalt.o wrapper.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri /usr/bin/ruby -I/usr/share/rubygems extconf.rb current directory: /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri make DESTDIR\= sitearchdir\=./.gem.20231030-168503-y2jfnz sitelibdir\=./.gem.20231030-168503-y2jfnz clean current directory: /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri make DESTDIR\= sitearchdir\=./.gem.20231030-168503-y2jfnz sitelibdir\=./.gem.20231030-168503-y2jfnz current directory: /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri make DESTDIR\= sitearchdir\=./.gem.20231030-168503-y2jfnz sitelibdir\=./.gem.20231030-168503-y2jfnz install current directory: /builddir/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18/ext/mri make DESTDIR\= sitearchdir\=./.gem.20231030-168503-y2jfnz sitelibdir\=./.gem.20231030-168503-y2jfnz clean Successfully installed bcrypt-3.1.18 Parsing documentation for bcrypt-3.1.18 Parsing sources... 5% [ 1/20] CHANGELOG 10% [ 2/20] COPYING 15% [ 3/20] README.md 20% [ 4/20] ext/jruby/bcrypt_jruby/BCrypt.java 25% [ 5/20] ext/mri/Makefile 30% [ 6/20] ext/mri/bcrypt_ext.c 35% [ 7/20] ext/mri/crypt.c 40% [ 8/20] ext/mri/crypt.h 45% [ 9/20] ext/mri/crypt_blowfish.c 50% [10/20] ext/mri/crypt_blowfish.h 55% [11/20] ext/mri/crypt_gensalt.c 60% [12/20] ext/mri/crypt_gensalt.h 65% [13/20] ext/mri/extconf.rb 70% [14/20] ext/mri/ow-crypt.h 75% [15/20] ext/mri/wrapper.c 80% [16/20] ext/mri/x86.S 85% [17/20] lib/bcrypt.rb 90% [18/20] lib/bcrypt/engine.rb 95% [19/20] lib/bcrypt/error.rb 100% [20/20] lib/bcrypt/password.rb Installing ri documentation for bcrypt-3.1.18 Installing darkfish documentation for bcrypt-3.1.18 Done installing documentation for bcrypt after 7 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BaS83Q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.18-2.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.18-2.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.18-2.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.18-2.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bcrypt-3.1.18 + mkdir -p /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.18-2.fc40.riscv64/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.18-2.fc40.riscv64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.18-2.fc40.riscv64/usr/lib64/gems/ruby/bcrypt-3.1.18 + cp -a ./usr/lib64/gems/ruby/bcrypt-3.1.18/gem.build_complete ./usr/lib64/gems/ruby/bcrypt-3.1.18/bcrypt_ext.so /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.18-2.fc40.riscv64/usr/lib64/gems/ruby/bcrypt-3.1.18/ + rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.18-2.fc40.riscv64/usr/share/gems/gems/bcrypt-3.1.18/ext/ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.1.18-2.fc40 --unique-debug-suffix -3.1.18-2.fc40.riscv64 --unique-debug-src-base rubygem-bcrypt-3.1.18-2.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bcrypt-3.1.18 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/rubygem-bcrypt-3.1.18-2.fc40.riscv64 115 blocks find-debuginfo: done + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.EweFR6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g ~/build/BUILD/bcrypt-3.1.18/usr/share/gems/gems/bcrypt-3.1.18 ~/build/BUILD/bcrypt-3.1.18 + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bcrypt-3.1.18 + pushd ./usr/share/gems/gems/bcrypt-3.1.18 ++ dirs +1 + rspec -I~/build/BUILD/bcrypt-3.1.18/usr/lib64/gems/ruby/bcrypt-3.1.18 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 should truncate long 1-byte character secrets to 72 bytes should truncate long multi-byte character secrets to 72 bytes 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 should tolerate very long 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 47.4 seconds (files took 1.34 seconds to load) 38 examples, 0 failures ~/build/BUILD/bcrypt-3.1.18 + popd + RPM_EC=0 ++ jobs -p Processing files: rubygem-bcrypt-3.1.18-2.fc40.riscv64 + exit 0 Provides: rubygem(bcrypt) = 3.1.18 rubygem-bcrypt = 3.1.18-2.fc40 rubygem-bcrypt(riscv-64) = 3.1.18-2.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libruby.so.3.2()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-bcrypt-doc-3.1.18-2.fc40.noarch Provides: rubygem-bcrypt-doc = 3.1.18-2.fc40 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.18-2.fc40.riscv64 Provides: rubygem-bcrypt-debugsource = 3.1.18-2.fc40 rubygem-bcrypt-debugsource(riscv-64) = 3.1.18-2.fc40 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.18-2.fc40.riscv64 Provides: debuginfo(build-id) = 2976c3988bfc964052a8963b367e43865ee1e7f3 rubygem-bcrypt-debuginfo = 3.1.18-2.fc40 rubygem-bcrypt-debuginfo(riscv-64) = 3.1.18-2.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-bcrypt-debugsource(riscv-64) = 3.1.18-2.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.18-2.fc40.riscv64 Wrote: /builddir/build/RPMS/rubygem-bcrypt-3.1.18-2.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-debugsource-3.1.18-2.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-debuginfo-3.1.18-2.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-bcrypt-doc-3.1.18-2.fc40.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GA4tzX + umask 022 + cd /builddir/build/BUILD + cd bcrypt-3.1.18 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-bcrypt-3.1.18-2.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.KXeRxW + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/bcrypt-3.1.18-SPECPARTS + rm -rf bcrypt-3.1.18 bcrypt-3.1.18.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0