+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/erlang-lucene_parser.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
warning: Macro expanded in comment on line 22: %{upstream}/riak_search/archive/2.1.1/%{realname}-%{version}.tar.gz

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tLvoxP
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf riak_search-7818ac9e7a4f1af60e8b9d84a6ad27552d530f4b/apps/lucene_parser
+ /usr/bin/tar -xof -
+ /usr/bin/gzip -dc /builddir/build/SOURCES/lucene_parser-1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd riak_search-7818ac9e7a4f1af60e8b9d84a6ad27552d530f4b/apps/lucene_parser
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (erlang-lucene_parser-0001-Move-tests-to-the-canonical-directory.patch):'
Patch #1 (erlang-lucene_parser-0001-Move-tests-to-the-canonical-directory.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p3 --fuzz=0
patching file src/lucene_parse_test.erl
patching file src/lucene_scan_test.erl
patching file test/lucene_parse_test.erl
patching file test/lucene_scan_test.erl
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hqWwkZ
+ umask 022
+ cd /builddir/build/BUILD
+ cd riak_search-7818ac9e7a4f1af60e8b9d84a6ad27552d530f4b/apps/lucene_parser
+ '[' '!' -f src/lucene_parser.app.src -a '!' -f src/lucene_parser.app -a '!' -f ebin/lucene_parser.app ']'
+ echo '*.app file (or *.app.src template) was found.'
*.app file (or *.app.src template) was found.
+ 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 '
+ export CFLAGS
+ CXXFLAGS='-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 '
+ export CXXFLAGS
+ FFLAGS='-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  -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-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  -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ VSN=1
+ export VSN
+ REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/riak_search-7818ac9e7a4f1af60e8b9d84a6ad27552d530f4b/apps/lucene_parser/vsn.cache
+ export REBAR_VSN_CACHE_FILE
+ echo '{{git, "/builddir/build/BUILD/riak_search-7818ac9e7a4f1af60e8b9d84a6ad27552d530f4b/apps/lucene_parser"}, "1"}.'
+ REBAR_DEPS_PREFER_LIBS=TRUE
+ export REBAR_DEPS_PREFER_LIBS
+ IGNORE_MISSING_DEPS=TRUE
+ export IGNORE_MISSING_DEPS
+ /usr/bin/rebar compile skip_deps=true -vv
DEBUG: Consult config file "/builddir/build/BUILD/riak_search-7818ac9e7a4f1af60e8b9d84a6ad27552d530f4b/apps/lucene_parser/rebar.config"
DEBUG: Rebar location: "/usr/bin/rebar"
DEBUG: Consult config file "/builddir/build/BUILD/riak_search-7818ac9e7a4f1af60e8b9d84a6ad27552d530f4b/apps/lucene_parser/src/lucene_parser.app.src"
DEBUG: Available deps: []
DEBUG: Missing deps  : []
DEBUG: Plugins requested while processing /builddir/build/BUILD/riak_search-7818ac9e7a4f1af60e8b9d84a6ad27552d530f4b/apps/lucene_parser: []
DEBUG: Predirs: []
==> lucene_parser (compile)
DEBUG: Matched required ERTS version: 9.3 -> .*
DEBUG: Matched required OTP release: 20 -> .*
DEBUG: Min OTP version unconfigured
DEBUG: Starting 3 compile worker(s)
DEBUG: Worker exited cleanly
DEBUG: Worker exited cleanly
Compiled src/lucene_scan.xrl
DEBUG: Worker exited cleanly
DEBUG: Starting 3 compile worker(s)
DEBUG: Worker exited cleanly
DEBUG: Worker exited cleanly
Compiled src/lucene_parse.yrl
DEBUG: Worker exited cleanly
DEBUG: erl_opts [debug_info]
DEBUG: Files to compile first: []
DEBUG: Starting 3 compile worker(s)
Compiled src/lucene_parser.erl
DEBUG: Worker exited cleanly
Compiled src/lucene_parse.erl
DEBUG: Worker exited cleanly
Compiled src/lucene_scan.erl
DEBUG: Worker exited cleanly
INFO:  No app_vars_file defined.
DEBUG: Postdirs: []
+ '[' -f doc/overview.edoc ']'
+ echo 'No '\''doc/overview.edoc'\'' file was found, so docs aren'\''t generated.'
No 'doc/overview.edoc' file was found, so docs aren't generated.
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.V56lVr
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/erlang-lucene_parser-1-5.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/erlang-lucene_parser-1-5.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/erlang-lucene_parser-1-5.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/erlang-lucene_parser-1-5.fc28.riscv64
+ cd riak_search-7818ac9e7a4f1af60e8b9d84a6ad27552d530f4b/apps/lucene_parser
+ '[' lucene_parser '!=' '' ']'
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-lucene_parser-1-5.fc28.riscv64/usr/lib64/erlang/lib/lucene_parser-1/
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-lucene_parser-1-5.fc28.riscv64/usr/lib64/erlang/lib/lucene_parser-1/ebin/
+ '[' -f ebin/lucene_parser.app ']'
+ /usr/bin/install -m 0644 -p ebin/lucene_parser.app /builddir/build/BUILDROOT/erlang-lucene_parser-1-5.fc28.riscv64/usr/lib64/erlang/lib/lucene_parser-1/ebin/
+ /usr/bin/install -m 0644 -p ebin/lucene_parse.beam ebin/lucene_parser.beam ebin/lucene_scan.beam /builddir/build/BUILDROOT/erlang-lucene_parser-1-5.fc28.riscv64/usr/lib64/erlang/lib/lucene_parser-1/ebin/
+ '[' -d include/ ']'
++ ls include/lucene_parser.hrl
+ for erlincludefile in `ls include/*.hrl`
+ /usr/bin/install -D -m 0644 -p include/lucene_parser.hrl /builddir/build/BUILDROOT/erlang-lucene_parser-1-5.fc28.riscv64/usr/lib64/erlang/lib/lucene_parser-1/include/lucene_parser.hrl
+ '[' -d priv/ ']'
+ /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
Processing files: erlang-lucene_parser-1-5.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7vtyWd
+ umask 022
+ cd /builddir/build/BUILD
+ cd riak_search-7818ac9e7a4f1af60e8b9d84a6ad27552d530f4b/apps/lucene_parser
+ DOCDIR=/builddir/build/BUILDROOT/erlang-lucene_parser-1-5.fc28.riscv64/usr/share/doc/erlang-lucene_parser
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-lucene_parser-1-5.fc28.riscv64/usr/share/doc/erlang-lucene_parser
+ cp -pr README.txt /builddir/build/BUILDROOT/erlang-lucene_parser-1-5.fc28.riscv64/usr/share/doc/erlang-lucene_parser
+ exit 0
Provides: erlang-lucene_parser = 1-5.fc28 erlang-lucene_parser(riscv-64) = 1-5.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: erlang-erts(riscv-64) erlang-stdlib(riscv-64)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/erlang-lucene_parser-1-5.fc28.riscv64
Wrote: /builddir/build/SRPMS/erlang-lucene_parser-1-5.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/erlang-lucene_parser-1-5.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.nczFbV
+ umask 022
+ cd /builddir/build/BUILD
+ cd riak_search-7818ac9e7a4f1af60e8b9d84a6ad27552d530f4b/apps/lucene_parser
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-lucene_parser-1-5.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff