Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rubygem-ruby-shadow.spec'], chrootPath='/var/lib/mock/f40-build-734048-105650/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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/rubygem-ruby-shadow.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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/rubygem-ruby-shadow-2.5.1-5.fc40.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/rubygem-ruby-shadow.spec'], chrootPath='/var/lib/mock/f40-build-734048-105650/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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/rubygem-ruby-shadow.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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wrYsJ0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ruby-shadow-2.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ruby-shadow-2.5.1.gem Unpacked gem: '/builddir/build/BUILD/ruby-shadow-2.5.1' + STATUS=0 + '[' 0 -ne 0 ']' + cd ruby-shadow-2.5.1 + rm -rf /builddir/build/BUILD/ruby-shadow-2.5.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/ruby-shadow-2.5.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (ruby-shadow-2.5.1-taintedness-ruby32-removal.patch):' Patch #1 (ruby-shadow-2.5.1-taintedness-ruby32-removal.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extconf.rb patching file pwd/shadow.c patching file shadow/shadow.c Patch #2 (ruby-shadow-2.5.1-extconf-ruby32-fix.patch): + echo 'Patch #2 (ruby-shadow-2.5.1-extconf-ruby32-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extconf.rb + echo 'Patch #0 (ruby-shadow-2.5.1-cflags.patch):' Patch #0 (ruby-shadow-2.5.1-cflags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extconf.rb + cp /builddir/build/SOURCES/basic_test.rb . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GSy18x + 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 ruby-shadow-2.5.1 + export '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 -Werror=implicit-function-declaration'\''' + 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 -Werror=implicit-function-declaration'\''' + gem build ../ruby-shadow-2.5.1.gemspec Successfully built RubyGem Name: ruby-shadow Version: 2.5.1 File: ruby-shadow-2.5.1.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 '\'' --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 -Werror=implicit-function-declaration'\''' + gem install -V --local --build-root . --force --document=ri,rdoc ruby-shadow-2.5.1.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/ruby-shadow-2.5.1 Bin dir: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/bin Gem home: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems Plugins dir: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/plugins /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/HISTORY /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/LICENSE /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/MANIFEST /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/README /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/README.euc /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/extconf.rb /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/pwd/depend /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/pwd/shadow.c /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/ruby-shadow.gemspec /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/shadow/depend /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/shadow/shadow.c Building native extensions. This could take a while... current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 ["/usr/bin/ruby", "-I/usr/share/rubygems", "extconf.rb"] checking for getspent() in -lshadow... no checking for getspent()... yes checking for fgetspent()... yes checking for setspent()... yes checking for endspent()... yes checking for lckpwdf()... yes checking for ulckpwdf()... yes checking for sgetspent()... yes checking for ruby/io.h... yes creating Makefile current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 ["make", "DESTDIR=", "sitearchdir=./.gem.20231030-1554352-258kzp", "sitelibdir=./.gem.20231030-1554352-258kzp", "clean"] rm -f rm -fr shadow.so false shadow.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 ["make", "DESTDIR=", "sitearchdir=./.gem.20231030-1554352-258kzp", "sitelibdir=./.gem.20231030-1554352-258kzp"] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -Ishadow -DHAVE_GETSPENT -DHAVE_FGETSPENT -DHAVE_SETSPENT -DHAVE_ENDSPENT -DHAVE_LCKPWDF -DHAVE_ULCKPWDF -DHAVE_SGETSPENT -DHAVE_RUBY_IO_H -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 -Werror=implicit-function-declaration -DRUBY19 -DRUBY30 -o shadow.o -c shadow/shadow.c shadow/shadow.c: In function ‘rb_shadow_getspent’: shadow/shadow.c:113:9: warning: unused variable ‘result’ [-Wunused-variable] 113 | VALUE result; | ^~~~~~ shadow/shadow.c: In function ‘rb_shadow_getspnam’: shadow/shadow.c:127:9: warning: unused variable ‘result’ [-Wunused-variable] 127 | VALUE result; | ^~~~~~ shadow/shadow.c: In function ‘rb_shadow_putspent’: shadow/shadow.c:147:7: warning: unused variable ‘i’ [-Wunused-variable] 147 | int i; | ^ shadow/shadow.c:146:9: warning: unused variable ‘val’ [-Wunused-variable] 146 | VALUE val[NUM_FIELDS]; | ^~~ rm -f shadow.so gcc -shared -o shadow.so shadow.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 -lruby -lm -lpthread -lc current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 ["make", "DESTDIR=", "sitearchdir=./.gem.20231030-1554352-258kzp", "sitelibdir=./.gem.20231030-1554352-258kzp", "install"] /usr/bin/mkdir -p . ./.gem.20231030-1554352-258kzp exit > .sitearchdir.time /usr/bin/install -c -m 0755 shadow.so ./.gem.20231030-1554352-258kzp current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 ["make", "DESTDIR=", "sitearchdir=./.gem.20231030-1554352-258kzp", "sitelibdir=./.gem.20231030-1554352-258kzp", "clean"] rm -f rm -fr shadow.so false shadow.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 /usr/bin/ruby -I/usr/share/rubygems extconf.rb current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 make DESTDIR\= sitearchdir\=./.gem.20231030-1554352-258kzp sitelibdir\=./.gem.20231030-1554352-258kzp clean current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 make DESTDIR\= sitearchdir\=./.gem.20231030-1554352-258kzp sitelibdir\=./.gem.20231030-1554352-258kzp current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 make DESTDIR\= sitearchdir\=./.gem.20231030-1554352-258kzp sitelibdir\=./.gem.20231030-1554352-258kzp install current directory: /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 make DESTDIR\= sitearchdir\=./.gem.20231030-1554352-258kzp sitelibdir\=./.gem.20231030-1554352-258kzp clean Successfully installed ruby-shadow-2.5.1 Parsing documentation for ruby-shadow-2.5.1 Parsing sources... 100% [ 1/ 1] extconf.rb Installing ri documentation for ruby-shadow-2.5.1 Installing darkfish documentation for ruby-shadow-2.5.1 Done installing documentation for ruby-shadow after 1 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SMtsOq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-5.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-5.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-5.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-5.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 ruby-shadow-2.5.1 + mkdir -p /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-5.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-ruby-shadow-2.5.1-5.fc40.riscv64/usr/share/gems/ + find /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-5.fc40.riscv64/usr/share/gems/ -name '*.so' -delete + mkdir -p /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-5.fc40.riscv64/usr/lib64/gems/ruby/ruby-shadow-2.5.1 + cp -a ./usr/lib64/gems/ruby/ruby-shadow-2.5.1/gem.build_complete ./usr/lib64/gems/ruby/ruby-shadow-2.5.1/shadow.so /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-5.fc40.riscv64/usr/lib64/gems/ruby/ruby-shadow-2.5.1/ + rm -rf /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-5.fc40.riscv64/usr/share/gems/gems/ruby-shadow-2.5.1/ext/ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.5.1-5.fc40 --unique-debug-suffix -2.5.1-5.fc40.riscv64 --unique-debug-src-base rubygem-ruby-shadow-2.5.1-5.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ruby-shadow-2.5.1 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-ruby-shadow-2.5.1-5.fc40.riscv64 14 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.QUCjzs + 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 ruby-shadow-2.5.1 + cp /builddir/build/SOURCES/basic_test.rb ./usr/share/gems/gems/ruby-shadow-2.5.1 + pushd ./usr/share/gems/gems/ruby-shadow-2.5.1 ~/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1 ~/build/BUILD/ruby-shadow-2.5.1 ++ id -u + '[' 991 = 0 ']' + ruby -I. -e 'Dir.glob "*_test.rb", &method(:require)' :85:in `require': cannot load such file -- shadow (LoadError) from :85:in `require' from /builddir/build/BUILD/ruby-shadow-2.5.1/usr/share/gems/gems/ruby-shadow-2.5.1/basic_test.rb:3:in `' from :85:in `require' from :85:in `require' from :220:in `glob' from -e:1:in `
' + : ~/build/BUILD/ruby-shadow-2.5.1 + popd + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-ruby-shadow-2.5.1-5.fc40.riscv64 Provides: ruby(shadow) = 2.5.1 ruby-shadow = 2.5.1-5.fc40 rubygem(ruby-shadow) = 2.5.1 rubygem-ruby-shadow = 2.5.1-5.fc40 rubygem-ruby-shadow(riscv-64) = 2.5.1-5.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) Obsoletes: ruby-shadow < 1.4.1-36 Processing files: rubygem-ruby-shadow-doc-2.5.1-5.fc40.noarch Provides: rubygem-ruby-shadow-doc = 2.5.1-5.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-ruby-shadow-debugsource-2.5.1-5.fc40.riscv64 Provides: rubygem-ruby-shadow-debugsource = 2.5.1-5.fc40 rubygem-ruby-shadow-debugsource(riscv-64) = 2.5.1-5.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-ruby-shadow-debuginfo-2.5.1-5.fc40.riscv64 Provides: debuginfo(build-id) = c7a3ef67cfcc73537f9be544e31ece82966ad823 rubygem-ruby-shadow-debuginfo = 2.5.1-5.fc40 rubygem-ruby-shadow-debuginfo(riscv-64) = 2.5.1-5.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-ruby-shadow-debugsource(riscv-64) = 2.5.1-5.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-ruby-shadow-2.5.1-5.fc40.riscv64 Wrote: /builddir/build/RPMS/rubygem-ruby-shadow-debugsource-2.5.1-5.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-ruby-shadow-2.5.1-5.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-ruby-shadow-debuginfo-2.5.1-5.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-ruby-shadow-doc-2.5.1-5.fc40.noarch.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0