Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-idn.spec'], chrootPath='/var/lib/mock/1152282-epel-8-x86_64-1579200967.925361/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.job2agl2:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.job2agl2:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '733b559b18a34f1ea716215fdb7fe52e', '-D', '/var/lib/mock/1152282-epel-8-x86_64-1579200967.925361/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.job2agl2:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-idn-0.0.2-28.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-idn.spec'], chrootPath='/var/lib/mock/1152282-epel-8-x86_64-1579200967.925361/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.job2agl2:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.job2agl2:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '58b5b7f4dcfa4bf999697c2538a1853f', '-D', '/var/lib/mock/1152282-epel-8-x86_64-1579200967.925361/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.job2agl2:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.weGUVt + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AgxaF7 + 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -r ./siteconf20200116-38-6a9jdr.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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -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=] rb_raise(rb_eNoMemError, "cannot allocate memory (%d bytes)", buflen); ~^ ~~~~~~ %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=] rb_raise(rb_eNoMemError, "cannot allocate memory (%d bytes)", len); ~^ ~~~ %ld punycode.c:32:16: warning: implicit declaration of function 'rb_enc_find_index'; did you mean 'rb_genrand_int32'? [-Wimplicit-function-declaration] int _enc = rb_enc_find_index(encoding); \ ^~~~~~~~~~~~~~~~~ punycode.c:145:10: note: in expansion of macro 'ENCODED_STR_NEW' 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] rb_enc_associate_index(_string, _enc); \ ^~~~~~~~~~~~~~~~~~~~~~ punycode.c:145:10: note: in expansion of macro 'ENCODED_STR_NEW' 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -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-strong -rdynamic -Wl,-export-dynamic -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -m64 -m64 -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.20200116-38-3r74h0 exit > .sitearchdir.time /usr/bin/install -c -m 0755 idn.so ./.gem.20200116-38-3r74h0 Successfully installed idn-0.0.2 invalid options: -S, -w 2 (invalid options are ignored) 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 0 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OaenjT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-idn-0.0.2-28.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-idn-0.0.2-28.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-idn-0.0.2-28.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-idn-0.0.2-28.el8.x86_64 + cd idn-0.0.2 + mkdir -p /builddir/build/BUILDROOT/rubygem-idn-0.0.2-28.el8.x86_64/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-28.el8.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-idn-0.0.2-28.el8.x86_64/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-28.el8.x86_64/usr/lib64/gems/ruby/idn-0.0.2/ + rm -rf /builddir/build/BUILDROOT/rubygem-idn-0.0.2-28.el8.x86_64/usr/share/gems/gems/idn-0.0.2/ext/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CcsyoG + 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.006445177 seconds. -------------------------------------------------------------------------------- 15 tests, 100 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed -------------------------------------------------------------------------------- 2327.32 tests/s, 15515.48 assertions/s + popd ~/build/BUILD/idn-0.0.2 + exit 0 Processing files: rubygem-idn-0.0.2-28.el8.x86_64 warning: File not found: /builddir/build/BUILDROOT/rubygem-idn-0.0.2-28.el8.x86_64/usr/share/gems/gems/idn-0.0.2/lib Provides: rubygem(idn) = 0.0.2-1 rubygem-idn = 0.0.2-28.el8 rubygem-idn(x86-64) = 0.0.2-28.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libidn.so.11()(64bit) libidn.so.11(LIBIDN_1.0)(64bit) libruby.so.2.5()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-idn-doc-0.0.2-28.el8.noarch Provides: rubygem-idn-doc = 0.0.2-28.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-idn-0.0.2-28.el8.x86_64 Wrote: /builddir/build/RPMS/rubygem-idn-0.0.2-28.el8.x86_64.rpm Wrote: /builddir/build/RPMS/rubygem-idn-doc-0.0.2-28.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cu8j5w + umask 022 + cd /builddir/build/BUILD + cd idn-0.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-idn-0.0.2-28.el8.x86_64 + exit 0 Child return code was: 0