Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rubygem-idn.spec'], chrootPath='/var/lib/mock/f29-build-33029-17782/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=345600uid=996gid=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 Wrote: /builddir/build/SRPMS/rubygem-idn-0.0.2-25.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rubygem-idn.spec'], chrootPath='/var/lib/mock/f29-build-33029-17782/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=345600uid=996gid=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8TF7VN + 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 . Patch #0 (rubygem-idn-0.0.2-Fix-for-ruby-1.9.x.patch): + echo '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 Patch #1 (rubygem-idn-0.0.2-ruby2-encoding-in-tests-fix.patch): + echo '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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ahGqo4 + umask 022 + cd /builddir/build/BUILD + cd idn-0.0.2 + gem build ../idn-0.0.2.gemspec BUILDSTDERR: WARNING: licenses is empty, but is recommended. Use a license identifier from BUILDSTDERR: http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. BUILDSTDERR: WARNING: deprecated autorequire specified BUILDSTDERR: 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 -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 idn-0.0.2.gem BUILDSTDERR: WARNING: You build with buildroot. BUILDSTDERR: Build root: /builddir/build/BUILD/idn-0.0.2 BUILDSTDERR: Bin dir: /builddir/build/BUILD/idn-0.0.2/usr/bin BUILDSTDERR: 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 -r ./siteconf20181124-27013-9y1xwg.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 -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 -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 -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 -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 -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 -o punycode.o -c punycode.c BUILDSTDERR: punycode.c: In function 'encode': BUILDSTDERR: punycode.c:84:58: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: rb_raise(rb_eNoMemError, "cannot allocate memory (%d bytes)", buflen); BUILDSTDERR: ~^ ~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: punycode.c: In function 'decode': BUILDSTDERR: punycode.c:131:56: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: rb_raise(rb_eNoMemError, "cannot allocate memory (%d bytes)", len); BUILDSTDERR: ~^ ~~~ BUILDSTDERR: %ld BUILDSTDERR: punycode.c:32:16: warning: implicit declaration of function 'rb_enc_find_index'; did you mean 'rb_genrand_int32'? [-Wimplicit-function-declaration] BUILDSTDERR: int _enc = rb_enc_find_index(encoding); \ BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: punycode.c:145:10: note: in expansion of macro 'ENCODED_STR_NEW' BUILDSTDERR: retv = ENCODED_STR_NEW(buf, len, "UTF-8"); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: punycode.c:33:5: warning: implicit declaration of function 'rb_enc_associate_index'; did you mean 'rb_str_associated'? [-Wimplicit-function-declaration] BUILDSTDERR: rb_enc_associate_index(_string, _enc); \ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: punycode.c:145:10: note: in expansion of macro 'ENCODED_STR_NEW' BUILDSTDERR: retv = ENCODED_STR_NEW(buf, len, "UTF-8"); BUILDSTDERR: ^~~~~~~~~~~~~~~ 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 -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 -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,-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 -lidn -lc current directory: /builddir/build/BUILD/idn-0.0.2/usr/share/gems/gems/idn-0.0.2/ext make "DESTDIR=" install /usr/bin/mkdir -p . ./.gem.20181124-27013-1xsg0e9 exit > .sitearchdir.time /usr/bin/install -c -m 0755 idn.so ./.gem.20181124-27013-1xsg0e9 BUILDSTDERR: invalid options: -S, -w 2 BUILDSTDERR: (invalid options are ignored) 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 18 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Uh3k6l + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-idn-0.0.2-25.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-idn-0.0.2-25.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rubygem-idn-0.0.2-25.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-idn-0.0.2-25.fc29.riscv64 + cd idn-0.0.2 + mkdir -p /builddir/build/BUILDROOT/rubygem-idn-0.0.2-25.fc29.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-25.fc29.riscv64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-idn-0.0.2-25.fc29.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-25.fc29.riscv64/usr/lib64/gems/ruby/idn-0.0.2/ + rm -rf /builddir/build/BUILDROOT/rubygem-idn-0.0.2-25.fc29.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-25.fc29 --unique-debug-suffix -0.0.2-25.fc29.riscv64 --unique-debug-src-base rubygem-idn-0.0.2-25.fc29.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-25.fc29.riscv64/usr/lib64/gems/ruby/idn-0.0.2/idn.so extracting debug info from /builddir/build/BUILDROOT/rubygem-idn-0.0.2-25.fc29.riscv64/usr/lib64/gems/ruby/idn-0.0.2/idn.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 32 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.yHE4kn Processing files: rubygem-idn-0.0.2-25.fc29.riscv64 BUILDSTDERR: warning: File not found: /builddir/build/BUILDROOT/rubygem-idn-0.0.2-25.fc29.riscv64/usr/share/gems/gems/idn-0.0.2/lib Provides: rubygem(idn) = 0.0.2-1 rubygem-idn = 0.0.2-25.fc29 rubygem-idn(riscv-64) = 0.0.2-25.fc29 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.5()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-idn-doc-0.0.2-25.fc29.noarch Provides: rubygem-idn-doc = 0.0.2-25.fc29 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-25.fc29.riscv64 Provides: rubygem-idn-debugsource = 0.0.2-25.fc29 rubygem-idn-debugsource(riscv-64) = 0.0.2-25.fc29 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-25.fc29.riscv64 Provides: debuginfo(build-id) = f3b05a04ef3192026fbb5c6c5f7b869e7a86d969 rubygem-idn-debuginfo = 0.0.2-25.fc29 rubygem-idn-debuginfo(riscv-64) = 0.0.2-25.fc29 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-25.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-idn-0.0.2-25.fc29.riscv64 Wrote: /builddir/build/RPMS/rubygem-idn-0.0.2-25.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-idn-doc-0.0.2-25.fc29.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-idn-debugsource-0.0.2-25.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-idn-debuginfo-0.0.2-25.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yqzEDv + umask 022 + cd /builddir/build/BUILD + cd idn-0.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-idn-0.0.2-25.fc29.riscv64 + exit 0 Child return code was: 0