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-posix-spawn.spec'], chrootPath='/var/lib/mock/f40-build-772621-126420/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-posix-spawn.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 (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1704240000 Wrote: /builddir/build/SRPMS/rubygem-posix-spawn-0.3.15-11.fc40.src.rpm RPM build warnings: %patchN is deprecated (1 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 --target riscv64 --nodeps /builddir/build/SPECS/rubygem-posix-spawn.spec'], chrootPath='/var/lib/mock/f40-build-772621-126420/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-posix-spawn.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 (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1704240000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7v2uuu + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/posix-spawn-0.3.15.gem Unpacked gem: '/builddir/build/BUILD/posix-spawn-0.3.15' + cd /builddir/build/BUILD + cd posix-spawn-0.3.15 + rm -rf /builddir/build/BUILD/posix-spawn-0.3.15-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/posix-spawn-0.3.15-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/posix-spawn-0.3.15.gem -l --ruby + FREEZE= + FREEZE=.freeze + for f in .gitignore Gemfile Rakefile + rm .gitignore + sed -i 's|".gitignore".freeze,||g' posix-spawn.gemspec + for f in .gitignore Gemfile Rakefile + rm Gemfile + sed -i 's|"Gemfile".freeze,||g' posix-spawn.gemspec + for f in .gitignore Gemfile Rakefile + rm Rakefile + sed -i 's|"Rakefile".freeze,||g' posix-spawn.gemspec + echo 'Patch #0 (rubygem-posix-spawn-0.3.11-skip-tests.patch):' Patch #0 (rubygem-posix-spawn-0.3.11-skip-tests.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file test/test_spawn.rb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wH8HT6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -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 -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 -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 -Cstrip=none -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 posix-spawn-0.3.15 + gem build posix-spawn.gemspec WARNING: open-ended dependency on minitest (>= 4, development) is not recommended if minitest is semantically versioned, use: add_development_dependency "minitest", "~> 4" WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: posix-spawn Version: 0.3.15 File: posix-spawn-0.3.15.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -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 -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 posix-spawn-0.3.15.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/posix-spawn-0.3.15 Bin dir: /builddir/build/BUILD/posix-spawn-0.3.15/usr/bin Gem home: /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems Plugins dir: /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/plugins /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/.travis.yml /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/COPYING /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/HACKING /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/README.md /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/TODO /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/bin/posix-spawn-benchmark /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/ext/extconf.rb /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/ext/posix-spawn.c /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/lib/posix-spawn.rb /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/lib/posix/spawn.rb /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/lib/posix/spawn/child.rb /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/lib/posix/spawn/version.rb /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/posix-spawn.gemspec /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/test/test_backtick.rb /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/test/test_child.rb /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/test/test_helper.rb /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/test/test_popen.rb /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/test/test_spawn.rb /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/test/test_system.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/ext ["/usr/bin/ruby", "-I/usr/share/rubygems", "extconf.rb"] creating Makefile current directory: /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20240107-2283063-ps865d", "sitelibdir=./.gem.20240107-2283063-ps865d", "clean"] rm -f rm -fr posix_spawn_ext.so false posix-spawn.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20240107-2283063-ps865d", "sitelibdir=./.gem.20240107-2283063-ps865d"] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -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 -Wall -o posix-spawn.o -c posix-spawn.c posix-spawn.c: In function ‘posixspawn_file_actions_init’: posix-spawn.c:226:34: warning: passing argument 2 of ‘rb_hash_foreach’ from incompatible pointer type [-Wincompatible-pointer-types] 226 | rb_hash_foreach(options, posixspawn_file_actions_operations_iter, (VALUE)fops); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(VALUE, VALUE, posix_spawn_file_actions_t *) {aka int (*)(long unsigned int, long unsigned int, posix_spawn_file_actions_t *)} In file included from /usr/include/ruby/internal/scan_args.h:37, from /usr/include/ruby/ruby.h:46, from /usr/include/ruby.h:38, from posix-spawn.c:14: /usr/include/ruby/internal/intern/hash.h:83:40: note: expected ‘int (*)(VALUE, VALUE, VALUE)’ {aka ‘int (*)(long unsigned int, long unsigned int, long unsigned int)’} but argument is of type ‘int (*)(VALUE, VALUE, posix_spawn_file_actions_t *)’ {aka ‘int (*)(long unsigned int, long unsigned int, posix_spawn_file_actions_t *)’} 83 | void rb_hash_foreach(VALUE hash, int (*func)(VALUE key, VALUE val, VALUE arg), VALUE arg); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ posix-spawn.c: In function ‘each_env_i’: posix-spawn.c:314:17: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 314 | strncpy(*ep, name, name_len); | ^ posix-spawn.c:277:33: note: length computed here 277 | const size_t name_len = strlen(name); | ^~~~~~~~~~~~ posix-spawn.c:316:17: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 316 | strncpy(*ep + name_len + 1, cval, cval_len); | ^ posix-spawn.c:307:35: note: length computed here 307 | size_t cval_len = strlen(cval); | ^~~~~~~~~~~~ rm -f posix_spawn_ext.so gcc -shared -o posix_spawn_ext.so posix-spawn.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/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20240107-2283063-ps865d", "sitelibdir=./.gem.20240107-2283063-ps865d", "install"] /usr/bin/mkdir -p . ./.gem.20240107-2283063-ps865d exit > .sitearchdir.time /usr/bin/install -c -m 0755 posix_spawn_ext.so ./.gem.20240107-2283063-ps865d current directory: /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20240107-2283063-ps865d", "sitelibdir=./.gem.20240107-2283063-ps865d", "clean"] rm -f rm -fr posix_spawn_ext.so false posix-spawn.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/ext /usr/bin/ruby -I/usr/share/rubygems extconf.rb current directory: /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/ext make DESTDIR\= sitearchdir\=./.gem.20240107-2283063-ps865d sitelibdir\=./.gem.20240107-2283063-ps865d clean current directory: /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/ext make DESTDIR\= sitearchdir\=./.gem.20240107-2283063-ps865d sitelibdir\=./.gem.20240107-2283063-ps865d current directory: /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/ext make DESTDIR\= sitearchdir\=./.gem.20240107-2283063-ps865d sitelibdir\=./.gem.20240107-2283063-ps865d install current directory: /builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/ext make DESTDIR\= sitearchdir\=./.gem.20240107-2283063-ps865d sitelibdir\=./.gem.20240107-2283063-ps865d clean /builddir/build/BUILD/posix-spawn-0.3.15/usr/bin/posix-spawn-benchmark Successfully installed posix-spawn-0.3.15 Parsing documentation for posix-spawn-0.3.15 Parsing sources... 11% [ 1/ 9] COPYING 22% [ 2/ 9] HACKING 33% [ 3/ 9] ext/Makefile 44% [ 4/ 9] ext/extconf.rb 55% [ 5/ 9] ext/posix-spawn.c 66% [ 6/ 9] lib/posix-spawn.rb 77% [ 7/ 9] lib/posix/spawn.rb 88% [ 8/ 9] lib/posix/spawn/child.rb 100% [ 9/ 9] lib/posix/spawn/version.rb Installing ri documentation for posix-spawn-0.3.15 Installing darkfish documentation for posix-spawn-0.3.15 Done installing documentation for posix-spawn after 4 seconds 1 gem installed + rm ./usr/share/gems/gems/posix-spawn-0.3.15/posix-spawn.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5QFu2x + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.15-11.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.15-11.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.15-11.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.15-11.fc40.riscv64 + CFLAGS='-O2 -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 -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 -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 -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 -Cstrip=none -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 posix-spawn-0.3.15 + mkdir -p /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.15-11.fc40.riscv64/usr/share/gems + cp -pa ./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-posix-spawn-0.3.15-11.fc40.riscv64/usr/share/gems/ + rm -r /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.15-11.fc40.riscv64/usr/share/gems/gems/posix-spawn-0.3.15/ext + mkdir -p /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.15-11.fc40.riscv64/usr/lib64/gems/ruby/posix-spawn-0.3.15 + cp -pa ./usr/lib64/gems/ruby/posix-spawn-0.3.15/gem.build_complete ./usr/lib64/gems/ruby/posix-spawn-0.3.15/gem_make.out ./usr/lib64/gems/ruby/posix-spawn-0.3.15/posix_spawn_ext.so /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.15-11.fc40.riscv64/usr/lib64/gems/ruby/posix-spawn-0.3.15/ + mkdir -p /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.15-11.fc40.riscv64/usr/bin + cp -pa ./usr/bin/posix-spawn-benchmark /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.15-11.fc40.riscv64/usr/bin/ + find /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.15-11.fc40.riscv64/usr/share/gems/gems/posix-spawn-0.3.15/bin -type f + xargs chmod a+x + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.3.15-11.fc40 --unique-debug-suffix -0.3.15-11.fc40.riscv64 --unique-debug-src-base rubygem-posix-spawn-0.3.15-11.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/posix-spawn-0.3.15 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-posix-spawn-0.3.15-11.fc40.riscv64 25 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 mangling shebang in /usr/share/gems/gems/posix-spawn-0.3.15/bin/posix-spawn-benchmark from /usr/bin/env ruby to #!/usr/bin/ruby + /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.CyXfcl + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -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 -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 ~/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15 ~/build/BUILD/posix-spawn-0.3.15 + FCFLAGS='-O2 -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 -Cstrip=none -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 posix-spawn-0.3.15 + pushd ./usr/share/gems/gems/posix-spawn-0.3.15 + ruby -Ilib:test:/builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.15-11.fc40.riscv64/usr/lib64/gems/ruby/posix-spawn-0.3.15 -e 'Dir.glob "./test/test_*.rb", &method(:require)' Run options: --seed 58883 # Running: ............S...............S.S.....................S...............S.S.........F..F..F.F.......F...FF....F..................S...............S.S..... Finished in 11.641713s, 12.7988 runs/s, 38.3964 assertions/s. 1) Failure: ChildTest#test_max_with_stubborn_child_pgroup_kill [/builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/test/test_child.rb:127]: POSIX::Spawn::MaximumOutputExceeded expected but nothing was raised. 2) Failure: ChildTest#test_max_with_child_hierarchy [/builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/test/test_child.rb:106]: POSIX::Spawn::MaximumOutputExceeded expected but nothing was raised. 3) Failure: ChildTest#test_max_pgroup_kill [/builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/test/test_child.rb:99]: POSIX::Spawn::MaximumOutputExceeded expected but nothing was raised. 4) Failure: ChildTest#test_max [/builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/test/test_child.rb:92]: POSIX::Spawn::MaximumOutputExceeded expected but nothing was raised. 5) Failure: ChildTest#test_max_with_child_hierarchy_pgroup_kill [/builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/test/test_child.rb:113]: POSIX::Spawn::MaximumOutputExceeded expected but nothing was raised. 6) Failure: ChildTest#test_max_with_stubborn_child [/builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/test/test_child.rb:120]: POSIX::Spawn::MaximumOutputExceeded expected but nothing was raised. 7) Failure: ChildTest#test_max_with_partial_output [/builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/test/test_child.rb:135]: POSIX::Spawn::MaximumOutputExceeded expected but nothing was raised. 8) Failure: BacktickTest#test_backtick_redirect [/builddir/build/BUILD/posix-spawn-0.3.15/usr/share/gems/gems/posix-spawn-0.3.15/test/test_backtick.rb:27]: Got "/bin/sh: line 1: nosuchcmd: command not found\n", expected match of pattern /\/bin\/sh: (1: )?nosuchcmd: (command )?not found/ 149 runs, 447 assertions, 8 failures, 0 errors, 9 skips You have skipped tests. Run with --verbose for details. ~/build/BUILD/posix-spawn-0.3.15 + : + popd + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-posix-spawn-0.3.15-11.fc40.riscv64 Provides: rubygem(posix-spawn) = 0.3.15 rubygem-posix-spawn = 0.3.15-11.fc40 rubygem-posix-spawn(riscv-64) = 0.3.15-11.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/ruby 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.3()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-posix-spawn-doc-0.3.15-11.fc40.noarch Provides: rubygem-posix-spawn-doc = 0.3.15-11.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-posix-spawn-debugsource-0.3.15-11.fc40.riscv64 Provides: rubygem-posix-spawn-debugsource = 0.3.15-11.fc40 rubygem-posix-spawn-debugsource(riscv-64) = 0.3.15-11.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-posix-spawn-debuginfo-0.3.15-11.fc40.riscv64 Provides: debuginfo(build-id) = 534a125747d4c4a43cead214f022119dbff23934 rubygem-posix-spawn-debuginfo = 0.3.15-11.fc40 rubygem-posix-spawn-debuginfo(riscv-64) = 0.3.15-11.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-posix-spawn-debugsource(riscv-64) = 0.3.15-11.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.15-11.fc40.riscv64 Wrote: /builddir/build/RPMS/rubygem-posix-spawn-debugsource-0.3.15-11.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-posix-spawn-debuginfo-0.3.15-11.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-posix-spawn-0.3.15-11.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-posix-spawn-doc-0.3.15-11.fc40.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Re7kPK + umask 022 + cd /builddir/build/BUILD + cd posix-spawn-0.3.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.15-11.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.yY1gdj + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/posix-spawn-0.3.15-SPECPARTS + rm -rf posix-spawn-0.3.15 posix-spawn-0.3.15.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0