+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/rubygem-rdiscount.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Yi8M2K + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/rdiscount-2.1.8.gem Unpacked gem: '/builddir/build/BUILD/rdiscount-2.1.8' + cd /builddir/build/BUILD + cd rdiscount-2.1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/rdiscount-2.1.8.gem -l --ruby + sed -e 's|,|,\n|g' + sed -i ext/extconf.rb -e '\@check_sizeof@s| == 4|== size|' + cat + 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/basename.c + sed -i rdiscount.gemspec -e '\@ext/basename.c@d' + read f + rm -f ext/css.c + sed -i rdiscount.gemspec -e '\@ext/css.c@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/main.c + sed -i rdiscount.gemspec -e '\@ext/main.c@d' + read f + rm -f ext/makepage.c + sed -i rdiscount.gemspec -e '\@ext/makepage.c@d' + read f + rm -f ext/markdown.c + sed -i rdiscount.gemspec -e '\@ext/markdown.c@d' + read f + rm -f ext/mkd2html.c + sed -i rdiscount.gemspec -e '\@ext/mkd2html.c@d' + read f + rm -f ext/mkdio.c + sed -i rdiscount.gemspec -e '\@ext/mkdio.c@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/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/theme.c + sed -i rdiscount.gemspec -e '\@ext/theme.c@d' + read f + rm -f ext/toc.c + sed -i rdiscount.gemspec -e '\@ext/toc.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 + rm -f ext/mkdio.h + sed -i rdiscount.gemspec -e '\@ext/mkdio.h@d' + read f + sed -i ext/extconf.rb -e '\@create_makefile@i \$libs = "-lmarkdown"' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YDfABE + umask 022 + cd /builddir/build/BUILD + cd rdiscount-2.1.8 + rm -rf .//usr/lib64/gems/ruby/rdiscount-2.1.8 + rm -rf .//usr/share/gems/gems/rdiscount-2.1.8 + gem build rdiscount.gemspec WARNING: license value 'BSD' is invalid. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. Did you mean '0BSD'? WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: rdiscount Version: 2.1.8 File: rdiscount-2.1.8.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 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc rdiscount-2.1.8.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rdiscount-2.1.8 Bin dir: /builddir/build/BUILD/rdiscount-2.1.8/usr/bin Gem home: /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/BUILDING /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/COPYING /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/README.markdown /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/Rakefile /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/bin/rdiscount /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/ext/VERSION /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/ext/amalloc.h /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/ext/blocktags /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/ext/config.h /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/ext/cstring.h /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/ext/extconf.rb /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/ext/markdown.h /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/ext/pgm_options.h /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/ext/rdiscount.c /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/ext/tags.h /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/ext/version.c /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/lib/markdown.rb /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/lib/rdiscount.rb /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/man/markdown.7 /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/man/rdiscount.1 /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/man/rdiscount.1.ronn /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/rdiscount.gemspec /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/test/benchmark.rb /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/test/benchmark.txt /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/test/markdown_test.rb /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/test/rdiscount_test.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/ext /usr/bin/ruby -r ./siteconf20180325-343-1yieac3.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.1.8/usr/share/gems/gems/rdiscount-2.1.8/ext make "DESTDIR=" clean rm -f rm -f rdiscount.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/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.1.8\" -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 -o rdiscount.o -c rdiscount.c rdiscount.c: In function 'rb_rdiscount_to_html': rdiscount.c:50:17: warning: implicit declaration of function 'rb_rdiscount__get_flags'; did you mean 'rb_rdiscount_to_html'? [-Wimplicit-function-declaration] int flags = rb_rdiscount__get_flags(self); ^~~~~~~~~~~~~~~~~~~~~~~ rb_rdiscount_to_html 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.1.8\" -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 -o version.o -c version.c rm -f rdiscount.so gcc -shared -o rdiscount.so rdiscount.o version.o -L. -L/usr/lib64 -L. -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lruby -lmarkdown -lpthread -ldl -lcrypt -lm -lc current directory: /builddir/build/BUILD/rdiscount-2.1.8/usr/share/gems/gems/rdiscount-2.1.8/ext make "DESTDIR=" install /usr/bin/mkdir -p . ./.gem.20180325-343-c1hrqd exit > .sitearchdir.time /usr/bin/install -c -m 0755 rdiscount.so ./.gem.20180325-343-c1hrqd /builddir/build/BUILD/rdiscount-2.1.8/usr/bin/rdiscount Successfully installed rdiscount-2.1.8 Parsing documentation for rdiscount-2.1.8 Parsing sources... 5% [ 1/19] COPYING 10% [ 2/19] ext/Makefile 15% [ 3/19] ext/VERSION 21% [ 4/19] ext/amalloc.h 26% [ 5/19] ext/blocktags 31% [ 6/19] ext/config.h 36% [ 7/19] ext/cstring.h 42% [ 8/19] ext/extconf.rb 47% [ 9/19] ext/markdown.h 52% [10/19] ext/pgm_options.h 57% [11/19] ext/rdiscount.c 63% [12/19] ext/rdiscount.o 68% [13/19] ext/rdiscount.so 73% [14/19] ext/ruby-config.h 78% [15/19] ext/tags.h 84% [16/19] ext/version.c 89% [17/19] ext/version.o 94% [18/19] lib/markdown.rb 100% [19/19] lib/rdiscount.rb Installing ri documentation for rdiscount-2.1.8 Installing darkfish documentation for rdiscount-2.1.8 Done installing documentation for rdiscount after 13 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jneUho + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64 + cd rdiscount-2.1.8 + rm -rf /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64/usr/share/gems + mkdir -p /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64/usr/share/man/man7 + mv ./usr/share/gems/gems/rdiscount-2.1.8/man/rdiscount.1 /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64/usr/share/man/man1 + mv ./usr/share/gems/gems/rdiscount-2.1.8/man/markdown.7 /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.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.1.8-5.fc28.riscv64/usr/share/gems + rm -rf /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64/usr/share/gems/gems/rdiscount-2.1.8/ext + mkdir -p /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64/usr/lib64/gems/ruby/rdiscount-2.1.8 + cp -a ./usr/lib64/gems/ruby/rdiscount-2.1.8/gem.build_complete ./usr/lib64/gems/ruby/rdiscount-2.1.8/rdiscount.so /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64/usr/lib64/gems/ruby/rdiscount-2.1.8/ + mkdir -p /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64//usr/bin + mv ./usr/bin/rdiscount /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64//usr/bin + /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 /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in ./usr/share/gems/gems/rdiscount-2.1.8/bin/rdiscount from #!/usr/bin/env ruby to #!/usr/bin/ruby Processing files: rubygem-rdiscount-2.1.8-5.fc28.riscv64 Provides: rubygem(rdiscount) = 2.1.8-1 rubygem-rdiscount = 2.1.8-5.fc28 rubygem-rdiscount(riscv-64) = 2.1.8-5.fc28 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) libcrypt.so.1()(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libmarkdown.so.2()(64bit) libpthread.so.0()(64bit) libruby.so.2.5()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-rdiscount-doc-2.1.8-5.fc28.noarch Provides: rubygem-rdiscount-doc = 2.1.8-5.fc28 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-rdiscount-2.1.8-5.fc28.riscv64 Wrote: /builddir/build/SRPMS/rubygem-rdiscount-2.1.8-5.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/rubygem-rdiscount-2.1.8-5.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/noarch/rubygem-rdiscount-doc-2.1.8-5.fc28.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Pz18Sx + umask 022 + cd /builddir/build/BUILD + cd rdiscount-2.1.8 + rm -rf /builddir/build/BUILDROOT/rubygem-rdiscount-2.1.8-5.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff