Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rubygem-idn.spec'], chrootPath='/var/lib/mock/f33-build-296135-55631/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=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rubygem-idn.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=1595980800 Wrote: /builddir/build/SRPMS/rubygem-idn-0.0.2-31.fc33.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-idn.spec'], chrootPath='/var/lib/mock/f33-build-296135-55631/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=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rubygem-idn.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=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YZPjRH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf idn-0.0.2 + /usr/bin/gem unpack /builddir/build/SOURCES/idn-0.0.2.gem Unpacked gem: '/builddir/build/BUILD/idn-0.0.2' + /usr/bin/gem spec /builddir/build/SOURCES/idn-0.0.2.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd idn-0.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rubygem-idn-0.0.2-Fix-for-ruby-1.9.x.patch):' Patch #0 (rubygem-idn-0.0.2-Fix-for-ruby-1.9.x.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file ext/idna.c patching file ext/punycode.c patching file ext/stringprep.c + echo 'Patch #1 (rubygem-idn-0.0.2-ruby2-encoding-in-tests-fix.patch):' Patch #1 (rubygem-idn-0.0.2-ruby2-encoding-in-tests-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file test/tc_Stringprep.rb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iTvHlE + umask 022 + cd /builddir/build/BUILD + cd idn-0.0.2 + gem build ../idn-0.0.2.gemspec WARNING: licenses is empty, but is recommended. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. WARNING: deprecated autorequire specified WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: idn Version: 0.0.2 File: idn-0.0.2.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc idn-0.0.2.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/idn-0.0.2 Bin dir: /builddir/build/BUILD/idn-0.0.2/usr/bin Gem home: /builddir/build/BUILD/idn-0.0.2/usr/share/gems /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/CHANGES /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/LICENSE /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/NOTICE /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/README /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/Rakefile /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext/extconf.rb /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext/idn.c /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext/idn.h /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext/idna.c /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext/punycode.c /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext/stringprep.c /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/test/tc_Idna.rb /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/test/tc_Punycode.rb /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/test/tc_Stringprep.rb /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/test/ts_IDN.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20200814-131011-1ulruxy.rb", "extconf.rb"] checking for -lidn... yes checking for idna.h... yes checking for punycode.h... yes checking for stringprep.h... yes creating Makefile current directory: /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext "make \"DESTDIR=\" clean" rm -f rm -f idn.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext "make \"DESTDIR=\"" gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_IDNA_H -DHAVE_PUNYCODE_H -DHAVE_STRINGPREP_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o idn.o -c idn.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_IDNA_H -DHAVE_PUNYCODE_H -DHAVE_STRINGPREP_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o idna.o -c idna.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_IDNA_H -DHAVE_PUNYCODE_H -DHAVE_STRINGPREP_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o punycode.o -c punycode.c punycode.c: In function 'encode': punycode.c:84:58: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 84 | rb_raise(rb_eNoMemError, "cannot allocate memory (%d bytes)", buflen); | ~^ ~~~~~~ | | | | int size_t {aka long unsigned int} | %ld punycode.c: In function 'decode': punycode.c:131:56: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 131 | rb_raise(rb_eNoMemError, "cannot allocate memory (%d bytes)", len); | ~^ ~~~ | | | | int size_t {aka long unsigned int} | %ld punycode.c:32:16: warning: implicit declaration of function 'rb_enc_find_index' [-Wimplicit-function-declaration] 32 | int _enc = rb_enc_find_index(encoding); \ | ^~~~~~~~~~~~~~~~~ punycode.c:145:10: note: in expansion of macro 'ENCODED_STR_NEW' 145 | retv = ENCODED_STR_NEW(buf, len, "UTF-8"); | ^~~~~~~~~~~~~~~ punycode.c:33:5: warning: implicit declaration of function 'rb_enc_associate_index'; did you mean 'rb_str_associated'? [-Wimplicit-function-declaration] 33 | rb_enc_associate_index(_string, _enc); \ | ^~~~~~~~~~~~~~~~~~~~~~ punycode.c:145:10: note: in expansion of macro 'ENCODED_STR_NEW' 145 | retv = ENCODED_STR_NEW(buf, len, "UTF-8"); | ^~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_IDNA_H -DHAVE_PUNYCODE_H -DHAVE_STRINGPREP_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o stringprep.o -c stringprep.c rm -f idn.so gcc -shared -o idn.so idn.o idna.o punycode.o stringprep.o -L. -L/usr/lib64 -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lruby -lidn -lm -lc punycode.c:145:10: warning: type of 'rb_enc_associate_index' does not match original declaration [-Wlto-type-mismatch] 145 | retv = ENCODED_STR_NEW(buf, len, "UTF-8"); | ^ /usr/include/ruby/encoding.h:134:7: note: return value type mismatch 134 | VALUE rb_enc_associate_index(VALUE, int); | ^ /usr/include/ruby/encoding.h:134:7: note: type 'VALUE' should match type 'int' /usr/include/ruby/encoding.h:134:7: note: 'rb_enc_associate_index' was previously declared here /usr/include/ruby/encoding.h:134:7: note: code may be misoptimized unless '-fno-strict-aliasing' is used current directory: /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext "make \"DESTDIR=\" install" invalid options: -S, -w 2 (invalid options are ignored) /usr/bin/mkdir -p . ./.gem.20200814-131011-1sdfkfx exit > .sitearchdir.time /usr/bin/install -c -m 0755 idn.so ./.gem.20200814-131011-1sdfkfx current directory: /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20200814-131011-1ulruxy.rb extconf.rb current directory: /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext make "DESTDIR=" clean current directory: /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext make "DESTDIR=" current directory: /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext make "DESTDIR=" install Successfully installed idn-0.0.2 Parsing documentation for idn-0.0.2 Parsing sources... 6% [ 1/15] CHANGES 13% [ 2/15] LICENSE 20% [ 3/15] README 26% [ 4/15] ext/Makefile 33% [ 5/15] ext/extconf.rb 40% [ 6/15] ext/idn.c 46% [ 7/15] ext/idn.h 53% [ 8/15] ext/idn.o 60% [ 9/15] ext/idn.so 66% [10/15] ext/idna.c 73% [11/15] ext/idna.o 80% [12/15] ext/punycode.c 86% [13/15] ext/punycode.o 93% [14/15] ext/stringprep.c 100% [15/15] ext/stringprep.o Installing ri documentation for idn-0.0.2 Installing darkfish documentation for idn-0.0.2 Done installing documentation for idn after 9 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.il9KsH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-idn-0.0.2-31.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-idn-0.0.2-31.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/rubygem-idn-0.0.2-31.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-idn-0.0.2-31.fc33.riscv64 + cd idn-0.0.2 + mkdir -p /builddir/build/BUILDROOT/rubygem-idn-0.0.2-31.fc33.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/specifications /builddir/build/BUILDROOT/rubygem-idn-0.0.2-31.fc33.riscv64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-idn-0.0.2-31.fc33.riscv64/usr/lib64/gems/ruby/idn-0.0.2 + cp -a ./usr/lib64/gems/ruby/idn-0.0.2/gem.build_complete ./usr/lib64/gems/ruby/idn-0.0.2/idn.so /builddir/build/BUILDROOT/rubygem-idn-0.0.2-31.fc33.riscv64/usr/lib64/gems/ruby/idn-0.0.2/ + rm -rf /builddir/build/BUILDROOT/rubygem-idn-0.0.2-31.fc33.riscv64/usr/share/gems/gems/idn-0.0.2/ext/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.0.2-31.fc33 --unique-debug-suffix -0.0.2-31.fc33.riscv64 --unique-debug-src-base rubygem-idn-0.0.2-31.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/idn-0.0.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-idn-0.0.2-31.fc33.riscv64/usr/lib64/gems/ruby/idn-0.0.2/idn.so extracting debug info from /builddir/build/BUILDROOT/rubygem-idn-0.0.2-31.fc33.riscv64/usr/lib64/gems/ruby/idn-0.0.2/idn.so original debug info size: 132kB, size after compression: 132kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 32 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.WUII7E + umask 022 + cd /builddir/build/BUILD + cd idn-0.0.2 + pushd ./usr/share/gems/gems/idn-0.0.2 ~/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2 ~/build/BUILD/idn-0.0.2 ++ dirs +1 + ruby -I~/build/BUILD/idn-0.0.2/usr/lib64/gems/ruby/idn-0.0.2 -e 'Dir.glob "./test/tc_*.rb", &method(:require)' Loaded suite -e Started ............... Finished in 0.108846002 seconds. ------------------------------------------------------------------------------- 15 tests, 100 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed ------------------------------------------------------------------------------- 137.81 tests/s, 918.73 assertions/s ~/build/BUILD/idn-0.0.2 + popd + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-idn-0.0.2-31.fc33.riscv64 warning: File not found: /builddir/build/BUILDROOT/rubygem-idn-0.0.2-31.fc33.riscv64/usr/share/gems/gems/idn-0.0.2/lib Provides: rubygem(idn) = 0.0.2 rubygem-idn = 0.0.2-31.fc33 rubygem-idn(riscv-64) = 0.0.2-31.fc33 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) libidn.so.12()(64bit) libidn.so.12(LIBIDN_1.0)(64bit) libruby.so.2.7()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-idn-doc-0.0.2-31.fc33.noarch Provides: rubygem-idn-doc = 0.0.2-31.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-idn-debugsource-0.0.2-31.fc33.riscv64 Provides: rubygem-idn-debugsource = 0.0.2-31.fc33 rubygem-idn-debugsource(riscv-64) = 0.0.2-31.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-idn-debuginfo-0.0.2-31.fc33.riscv64 Provides: debuginfo(build-id) = 5cec0e87d493ad12df1e5dcea0ed0a86db8f9d1e rubygem-idn-debuginfo = 0.0.2-31.fc33 rubygem-idn-debuginfo(riscv-64) = 0.0.2-31.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-idn-debugsource(riscv-64) = 0.0.2-31.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-idn-0.0.2-31.fc33.riscv64 Wrote: /builddir/build/RPMS/rubygem-idn-debugsource-0.0.2-31.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-idn-0.0.2-31.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-idn-debuginfo-0.0.2-31.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-idn-doc-0.0.2-31.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3KyivF + umask 022 + cd /builddir/build/BUILD + cd idn-0.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-idn-0.0.2-31.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0