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-rdiscount.spec'], chrootPath='/var/lib/mock/f31-build-52897-27764/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=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-rdiscount.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=1549065600 Wrote: /builddir/build/SRPMS/rubygem-rdiscount-2.2.0.1-5.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rubygem-rdiscount.spec'], chrootPath='/var/lib/mock/f31-build-52897-27764/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=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-rdiscount.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=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EhPfNp + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/rdiscount-2.2.0.1.gem + cd /builddir/build/BUILD + cd rdiscount-2.2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rdiscount_test.rb.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + gem spec /builddir/build/SOURCES/rdiscount-2.2.0.1.gem -l --ruby + sed -e 's|,|,\n|g' + cd ext + grep -v rdiscount.c + ls -1 Csio.c amalloc.c basename.c css.c docheader.c dumptree.c emmatch.c flags.c generate.c github_flavoured.c html5.c markdown.c mkdio.c mktags.c pgm_options.c rdiscount.c resource.c setup.c tags.c toc.c version.c xml.c xmlpage.c amalloc.h config.h cstring.h markdown.h mkdio.h pgm_options.h tags.h + cat discount_files + read f + rm -f ext/Csio.c + sed -i rdiscount.gemspec -e '\@ext/Csio.c@d' + read f + rm -f ext/amalloc.c + sed -i rdiscount.gemspec -e '\@ext/amalloc.c@d' + read f + rm -f ext/amalloc.h + sed -i rdiscount.gemspec -e '\@ext/amalloc.h@d' + read f + rm -f ext/basename.c + sed -i rdiscount.gemspec -e '\@ext/basename.c@d' + read f + rm -f ext/config.h + sed -i rdiscount.gemspec -e '\@ext/config.h@d' + read f + rm -f ext/css.c + sed -i rdiscount.gemspec -e '\@ext/css.c@d' + read f + rm -f ext/cstring.h + sed -i rdiscount.gemspec -e '\@ext/cstring.h@d' + read f + rm -f ext/docheader.c + sed -i rdiscount.gemspec -e '\@ext/docheader.c@d' + read f + rm -f ext/dumptree.c + sed -i rdiscount.gemspec -e '\@ext/dumptree.c@d' + read f + rm -f ext/emmatch.c + sed -i rdiscount.gemspec -e '\@ext/emmatch.c@d' + read f + rm -f ext/flags.c + sed -i rdiscount.gemspec -e '\@ext/flags.c@d' + read f + rm -f ext/generate.c + sed -i rdiscount.gemspec -e '\@ext/generate.c@d' + read f + rm -f ext/github_flavoured.c + sed -i rdiscount.gemspec -e '\@ext/github_flavoured.c@d' + read f + rm -f ext/html5.c + sed -i rdiscount.gemspec -e '\@ext/html5.c@d' + read f + rm -f ext/markdown.c + sed -i rdiscount.gemspec -e '\@ext/markdown.c@d' + read f + rm -f ext/markdown.h + sed -i rdiscount.gemspec -e '\@ext/markdown.h@d' + read f + rm -f ext/mkdio.c + sed -i rdiscount.gemspec -e '\@ext/mkdio.c@d' + read f + rm -f ext/mkdio.h + sed -i rdiscount.gemspec -e '\@ext/mkdio.h@d' + read f + rm -f ext/mktags.c + sed -i rdiscount.gemspec -e '\@ext/mktags.c@d' + read f + rm -f ext/pgm_options.c + sed -i rdiscount.gemspec -e '\@ext/pgm_options.c@d' + read f + rm -f ext/pgm_options.h + sed -i rdiscount.gemspec -e '\@ext/pgm_options.h@d' + read f + rm -f ext/resource.c + sed -i rdiscount.gemspec -e '\@ext/resource.c@d' + read f + rm -f ext/setup.c + sed -i rdiscount.gemspec -e '\@ext/setup.c@d' + read f + rm -f ext/tags.c + sed -i rdiscount.gemspec -e '\@ext/tags.c@d' + read f + rm -f ext/tags.h + sed -i rdiscount.gemspec -e '\@ext/tags.h@d' + read f + rm -f ext/toc.c + sed -i rdiscount.gemspec -e '\@ext/toc.c@d' + read f + rm -f ext/version.c + sed -i rdiscount.gemspec -e '\@ext/version.c@d' + read f + rm -f ext/xml.c + sed -i rdiscount.gemspec -e '\@ext/xml.c@d' + read f + rm -f ext/xmlpage.c + sed -i rdiscount.gemspec -e '\@ext/xmlpage.c@d' + read f + sed -i ext/extconf.rb -e '\@create_makefile@i \$libs = "-lmarkdown"' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Unpacked gem: '/builddir/build/BUILD/rdiscount-2.2.0.1' Patch #0 (rdiscount_test.rb.patch): patching file test/rdiscount_test.rb Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6pZzZq + umask 022 + cd /builddir/build/BUILD + cd rdiscount-2.2.0.1 + rm -rf .//usr/lib64/gems/ruby/rdiscount-2.2.0.1 + rm -rf .//usr/share/gems/gems/rdiscount-2.2.0.1 + gem build rdiscount.gemspec + 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 rdiscount-2.2.0.1.gem BUILDSTDERR: WARNING: You build with buildroot. BUILDSTDERR: Build root: /builddir/build/BUILD/rdiscount-2.2.0.1 BUILDSTDERR: Bin dir: /builddir/build/BUILD/rdiscount-2.2.0.1/usr/bin BUILDSTDERR: Gem home: /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems BUILDSTDERR: rdiscount.c: In function 'rb_rdiscount_to_html': BUILDSTDERR: rdiscount.c:53:17: warning: implicit declaration of function 'rb_rdiscount__get_flags' [-Wimplicit-function-declaration] BUILDSTDERR: 53 | int flags = rb_rdiscount__get_flags(self); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ Successfully built RubyGem Name: rdiscount Version: 2.2.0.1 File: rdiscount-2.2.0.1.gem /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/BUILDING /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/COPYING /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/README.markdown /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/Rakefile /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/bin/rdiscount /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/VERSION /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/blocktags /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/extconf.rb /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext/rdiscount.c /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/lib/markdown.rb /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/lib/rdiscount.rb /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/man/markdown.7 /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/man/rdiscount.1 /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/man/rdiscount.1.ronn /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/rdiscount.gemspec /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/test/benchmark.rb /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/test/benchmark.txt /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/test/markdown_test.rb /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/test/rdiscount_test.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext /usr/bin/ruby -r ./siteconf20190725-32315-bx1i8g.rb extconf.rb checking for random()... yes checking for srandom()... yes checking for rand()... yes checking for srand()... yes checking size of unsigned long... 8 checking size of unsigned int... 4 checking size of unsigned int... 4 checking size of unsigned short... 2 creating Makefile current directory: /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext make "DESTDIR=" clean rm -f rm -f rdiscount.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext make "DESTDIR=" gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=\"2.2.0\" -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 rdiscount.o -c rdiscount.c rm -f rdiscount.so gcc -shared -o rdiscount.so rdiscount.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 -lmarkdown -lc current directory: /builddir/build/BUILD/rdiscount-2.2.0.1/usr/share/gems/gems/rdiscount-2.2.0.1/ext make "DESTDIR=" install /usr/bin/mkdir -p . ./.gem.20190725-32315-avahjt exit > .sitearchdir.time /usr/bin/install -c -m 0755 rdiscount.so ./.gem.20190725-32315-avahjt /builddir/build/BUILD/rdiscount-2.2.0.1/usr/bin/rdiscount Successfully installed rdiscount-2.2.0.1 Parsing documentation for rdiscount-2.2.0.1 Parsing sources... 9% [ 1/11] COPYING 18% [ 2/11] ext/Makefile 27% [ 3/11] ext/VERSION 36% [ 4/11] ext/blocktags BUILDSTDERR: 45% [ 5/11] + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 ext/extconf.rb 54% [ 6/11] ext/rdiscount.c 63% [ 7/11] ext/rdiscount.o 72% [ 8/11] ext/rdiscount.so 81% [ 9/11] ext/ruby-config.h 90% [10/11] lib/markdown.rb 100% [11/11] lib/rdiscount.rb Installing ri documentation for rdiscount-2.2.0.1 Installing darkfish documentation for rdiscount-2.2.0.1 Done installing documentation for rdiscount after 21 seconds 1 gem installed Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8byIJp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64 + cd rdiscount-2.2.0.1 + rm -rf /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64/usr/share/gems + mkdir -p /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64/usr/share/man/man7 + mv ./usr/share/gems/gems/rdiscount-2.2.0.1/man/rdiscount.1 /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64/usr/share/man/man1 + mv ./usr/share/gems/gems/rdiscount-2.2.0.1/man/markdown.7 /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64/usr/share/man/man7 + 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-rdiscount-2.2.0.1-5.fc31.riscv64/usr/share/gems + rm -rf /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64/usr/share/gems/gems/rdiscount-2.2.0.1/ext + mkdir -p /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64/usr/lib64/gems/ruby/rdiscount-2.2.0.1 + cp -a ./usr/lib64/gems/ruby/rdiscount-2.2.0.1/gem.build_complete ./usr/lib64/gems/ruby/rdiscount-2.2.0.1/rdiscount.so /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64/usr/lib64/gems/ruby/rdiscount-2.2.0.1/ + mkdir -p /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64//usr/bin + mv ./usr/bin/rdiscount /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64//usr/bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.2.0.1-5.fc31 --unique-debug-suffix -2.2.0.1-5.fc31.riscv64 --unique-debug-src-base rubygem-rdiscount-2.2.0.1-5.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rdiscount-2.2.0.1 BUILDSTDERR: 9 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/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-rdiscount-2.2.0.1-5.fc31.riscv64/usr/lib64/gems/ruby/rdiscount-2.2.0.1/rdiscount.so extracting debug info from /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64/usr/lib64/gems/ruby/rdiscount-2.2.0.1/rdiscount.so original debug info size: 60kB, size after compression: 60kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. mangling shebang in /usr/share/gems/gems/rdiscount-2.2.0.1/bin/rdiscount from /usr/bin/env ruby to #!/usr/bin/ruby Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Q6msJq Processing files: rubygem-rdiscount-2.2.0.1-5.fc31.riscv64 Provides: rubygem(rdiscount) = 2.2.0.1-1 rubygem-rdiscount = 2.2.0.1-5.fc31 rubygem-rdiscount(riscv-64) = 2.2.0.1-5.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) libmarkdown.so.2()(64bit) libruby.so.2.5()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-rdiscount-doc-2.2.0.1-5.fc31.noarch Provides: rubygem-rdiscount-doc = 2.2.0.1-5.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-rdiscount-debugsource-2.2.0.1-5.fc31.riscv64 Provides: rubygem-rdiscount-debugsource = 2.2.0.1-5.fc31 rubygem-rdiscount-debugsource(riscv-64) = 2.2.0.1-5.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-rdiscount-debuginfo-2.2.0.1-5.fc31.riscv64 Provides: debuginfo(build-id) = 9ada814a40b2b112b880d7cf78a26dc61c4b1896 rubygem-rdiscount-debuginfo = 2.2.0.1-5.fc31 rubygem-rdiscount-debuginfo(riscv-64) = 2.2.0.1-5.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-rdiscount-debugsource(riscv-64) = 2.2.0.1-5.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64 Wrote: /builddir/build/RPMS/rubygem-rdiscount-debuginfo-2.2.0.1-5.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-rdiscount-debugsource-2.2.0.1-5.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-rdiscount-doc-2.2.0.1-5.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qRBKjs + umask 022 + cd /builddir/build/BUILD + cd rdiscount-2.2.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-rdiscount-2.2.0.1-5.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0