Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rubygem-posix-spawn.spec'], chrootPath='/var/lib/mock/f31-build-98662-33061/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/rubygem-posix-spawn-0.3.13-4.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rubygem-posix-spawn.spec'], chrootPath='/var/lib/mock/f31-build-98662-33061/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LCb8TM + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/posix-spawn-0.3.13.gem + cd /builddir/build/BUILD + cd posix-spawn-0.3.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/posix-spawn-0.3.13.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):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (5201e921a788fbb97f14ea0c617a2213dc3da1ca.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Unpacked gem: '/builddir/build/BUILD/posix-spawn-0.3.13' Patch #0 (rubygem-posix-spawn-0.3.11-skip-tests.patch): patching file test/test_spawn.rb Patch #1 (5201e921a788fbb97f14ea0c617a2213dc3da1ca.patch): patching file ext/posix-spawn.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.B8KfwQ + umask 022 + cd /builddir/build/BUILD + cd posix-spawn-0.3.13 + gem build posix-spawn.gemspec BUILDSTDERR: WARNING: open-ended dependency on minitest (>= 4, development) is not recommended BUILDSTDERR: if minitest is semantically versioned, use: BUILDSTDERR: add_development_dependency 'minitest', '~> 4' BUILDSTDERR: WARNING: See http://guides.rubygems.org/specification-reference/ for help + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc posix-spawn-0.3.13.gem BUILDSTDERR: WARNING: You build with buildroot. BUILDSTDERR: Build root: /builddir/build/BUILD/posix-spawn-0.3.13 BUILDSTDERR: Bin dir: /builddir/build/BUILD/posix-spawn-0.3.13/usr/bin BUILDSTDERR: Gem home: /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from posix-spawn.c:11: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'each_env_i' at posix-spawn.c:309:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: posix-spawn.c: In function 'each_env_i': BUILDSTDERR: posix-spawn.c:277:26: note: length computed here BUILDSTDERR: 277 | const size_t name_len = strlen(name); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from posix-spawn.c:11: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'each_env_i' at posix-spawn.c:311:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: posix-spawn.c: In function 'each_env_i': BUILDSTDERR: posix-spawn.c:302:21: note: length computed here BUILDSTDERR: 302 | size_t cval_len = strlen(cval); BUILDSTDERR: | ^~~~~~~~~~~~ Successfully built RubyGem Name: posix-spawn Version: 0.3.13 File: posix-spawn-0.3.13.gem /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/COPYING /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/HACKING /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/README.md /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/TODO /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/bin/posix-spawn-benchmark /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/ext/extconf.rb /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/ext/posix-spawn.c /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/lib/posix-spawn.rb /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/lib/posix/spawn.rb /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/lib/posix/spawn/child.rb /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/lib/posix/spawn/version.rb /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/posix-spawn.gemspec /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_backtick.rb /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_child.rb /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_helper.rb /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_popen.rb /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_spawn.rb /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_system.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/ext /usr/bin/ruby -r ./siteconf20190831-23862-1pigfpw.rb extconf.rb creating Makefile current directory: /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/ext make "DESTDIR=" clean rm -f rm -f posix_spawn_ext.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/ext make "DESTDIR=" gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -o posix-spawn.o -c posix-spawn.c rm -f posix_spawn_ext.so gcc -shared -o posix_spawn_ext.so posix-spawn.o -L. -L/usr/lib64 -L. -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lruby -lc current directory: /builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/ext make "DESTDIR=" install /usr/bin/mkdir -p . ./.gem.20190831-23862-7aofjy exit > .sitearchdir.time /usr/bin/install -c -m 0755 posix_spawn_ext.so ./.gem.20190831-23862-7aofjy /builddir/build/BUILD/posix-spawn-0.3.13/usr/bin/posix-spawn-benchmark Successfully installed posix-spawn-0.3.13 Parsing documentation for posix-spawn-0.3.13 Parsing sources... 9% [ 1/11] COPYING 18% [ 2/11] HACKING 27% [ 3/11] ext/Makefile 36% [ 4/11] ext/extconf.rb 45% [ 5/11] ext/posix-spawn.c 54% [ 6/11] ext/posix-spawn.o 63% [ 7/11] ext/posix_spawn_ext.so 72% [ 8/11] lib/posix-spawn.rb 81% [ 9/11] lib/posix/spawn.rb 90% [10/11] lib/posix/spawn/child.rb 100% [11/11] lib/posix/spawn/version.rb Installing ri documentation for posix-spawn-0.3.13 Installing darkfish documentation for posix-spawn-0.3.13 BUILDSTDERR: Done installing documentation for posix-spawn after 34 seco+ rm ./usr/share/gems/gems/posix-spawn-0.3.13/posix-spawn.gemspec + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 nds 1 gem installed Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.13GFeN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64 + cd posix-spawn-0.3.13 + mkdir -p /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.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/specifications /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64/usr/share/gems/ + rm -r /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64/usr/share/gems/gems/posix-spawn-0.3.13/ext BUILDSTDERR: ++ ruby -e 'puts RUBY_VERSION.split('\''.'\'')[1]' + ruby_version_minor=5 + '[' 5 -gt 0 ']' + mkdir -p /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64/usr/lib64/gems/ruby/posix-spawn-0.3.13 + cp -pa ./usr/lib64/gems/ruby/posix-spawn-0.3.13/gem.build_complete ./usr/lib64/gems/ruby/posix-spawn-0.3.13/gem_make.out ./usr/lib64/gems/ruby/posix-spawn-0.3.13/posix_spawn_ext.so /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64/usr/lib64/gems/ruby/posix-spawn-0.3.13/ + mkdir -p /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64/usr/bin + cp -pa ./usr/bin/posix-spawn-benchmark /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64/usr/bin/ + find /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64/usr/share/gems/gems/posix-spawn-0.3.13/bin -type f + xargs chmod a+x + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.3.13-4.fc31 --unique-debug-suffix -0.3.13-4.fc31.riscv64 --unique-debug-src-base rubygem-posix-spawn-0.3.13-4.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/posix-spawn-0.3.13 BUILDSTDERR: 25 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64/usr/lib64/gems/ruby/posix-spawn-0.3.13/posix_spawn_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64/usr/lib64/gems/ruby/posix-spawn-0.3.13/posix_spawn_ext.so original debug info size: 84kB, size after compression: 88kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. mangling shebang in /usr/share/gems/gems/posix-spawn-0.3.13/bin/posix-spawn-benchmark from /usr/bin/env ruby to #!/usr/bin/ruby Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ax0AnO + umask 022 + cd /builddir/build/BUILD + cd posix-spawn-0.3.13 + pushd ./usr/share/gems/gems/posix-spawn-0.3.13 + ruby -Ilib:test:/builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64/usr/lib64/gems/ruby/posix-spawn-0.3.13 -e 'Dir.glob "./test/test_*.rb", &method(:require)' + : + popd + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 ~/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13 ~/build/BUILD/posix-spawn-0.3.13 Run options: --seed 6101 # Running: ....................FF...F..SS.......................S..................S....S............S................S.........................S...S........... Finished in 109.495856s, 1.3608 runs/s, 4.1645 assertions/s. 1) Failure: ChildTest#test_timeout [/builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_child.rb:159]: Expected false to be truthy. 2) Failure: ChildTest#test_timeout_pgroup_kill [/builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_child.rb:168]: Expected false to be truthy. 3) Failure: ChildTest#test_timeout_with_partial_output [/builddir/build/BUILD/posix-spawn-0.3.13/usr/share/gems/gems/posix-spawn-0.3.13/test/test_child.rb:190]: Expected false to be truthy. 149 runs, 456 assertions, 3 failures, 0 errors, 9 skips You have skipped tests. Run with --verbose for details. ~/build/BUILD/posix-spawn-0.3.13 Processing files: rubygem-posix-spawn-0.3.13-4.fc31.riscv64 Provides: rubygem(posix-spawn) = 0.3.13-1 rubygem-posix-spawn = 0.3.13-4.fc31 rubygem-posix-spawn(riscv-64) = 0.3.13-4.fc31 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.2.5()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-posix-spawn-doc-0.3.13-4.fc31.noarch Provides: rubygem-posix-spawn-doc = 0.3.13-4.fc31 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.13-4.fc31.riscv64 Provides: rubygem-posix-spawn-debugsource = 0.3.13-4.fc31 rubygem-posix-spawn-debugsource(riscv-64) = 0.3.13-4.fc31 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.13-4.fc31.riscv64 Provides: debuginfo(build-id) = dda4b9ff72cbcfcc9332629425cde2265608cce2 rubygem-posix-spawn-debuginfo = 0.3.13-4.fc31 rubygem-posix-spawn-debuginfo(riscv-64) = 0.3.13-4.fc31 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.13-4.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64 Wrote: /builddir/build/RPMS/rubygem-posix-spawn-debugsource-0.3.13-4.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-posix-spawn-0.3.13-4.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-posix-spawn-debuginfo-0.3.13-4.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-posix-spawn-doc-0.3.13-4.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xgA4lQ + umask 022 + cd /builddir/build/BUILD + cd posix-spawn-0.3.13 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-4.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0