+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/erlang-oauth2.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.tsAuUh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oauth2-0.6.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/0.6.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd oauth2-0.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/erlang-oauth2-0001-Implicit-Grant-doesn-t-need-client-secret.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/erlang-oauth2-0002-Add-refresh_token-to-access_token-context.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/erlang-oauth2-0003-Don-t-use-deprecated-funs-in-Erlang-18.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xJFqgm + umask 022 + cd /builddir/build/BUILD + cd oauth2-0.6.1 + '[' '!' -f src/oauth2.app.src -a '!' -f src/oauth2.app -a '!' -f ebin/oauth2.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=0.6.1 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/oauth2-0.6.1/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/oauth2-0.6.1"}, "0.6.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/oauth2-0.6.1/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/builddir/build/BUILD/oauth2-0.6.1/src/oauth2.app.src" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /builddir/build/BUILD/oauth2-0.6.1: [] DEBUG: Predirs: [] ==> oauth2-0.6.1 (compile) DEBUG: Matched required ERTS version: 9.3 -> .* DEBUG: Matched required OTP release: 20 -> .* DEBUG: Min OTP version unconfigured DEBUG: erl_opts [debug_info] DEBUG: Files to compile first: ["src/oauth2_token_generation.erl"] Compiled src/oauth2_token_generation.erl DEBUG: Starting 3 compile worker(s) Compiled src/oauth2_config.erl Compiled src/oauth2_backend.erl Compiled src/oauth2_priv_set.erl Compiled src/oauth2_token.erl DEBUG: Worker exited cleanly Compiled src/oauth2_response.erl DEBUG: Worker exited cleanly Compiled src/oauth2.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.oxsrks + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64 + cd oauth2-0.6.1 + '[' oauth2 '!=' '' ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64/usr/lib64/erlang/lib/oauth2-0.6.1/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64/usr/lib64/erlang/lib/oauth2-0.6.1/ebin/ + '[' -f ebin/oauth2.app ']' + /usr/bin/install -m 0644 -p ebin/oauth2.app /builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64/usr/lib64/erlang/lib/oauth2-0.6.1/ebin/ + /usr/bin/install -m 0644 -p ebin/oauth2.beam ebin/oauth2_backend.beam ebin/oauth2_config.beam ebin/oauth2_priv_set.beam ebin/oauth2_response.beam ebin/oauth2_token.beam ebin/oauth2_token_generation.beam /builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64/usr/lib64/erlang/lib/oauth2-0.6.1/ebin/ + '[' -d include/ ']' + '[' -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-oauth2-0.6.1-7.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MALsix + umask 022 + cd /builddir/build/BUILD + cd oauth2-0.6.1 + DOCDIR=/builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64/usr/share/doc/erlang-oauth2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64/usr/share/doc/erlang-oauth2 + cp -pr README.md /builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64/usr/share/doc/erlang-oauth2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uiYaUY + umask 022 + cd /builddir/build/BUILD + cd oauth2-0.6.1 + LICENSEDIR=/builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64/usr/share/licenses/erlang-oauth2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64/usr/share/licenses/erlang-oauth2 + cp -pr LICENSE /builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64/usr/share/licenses/erlang-oauth2 + exit 0 Provides: erlang-oauth2 = 0.6.1-7.fc28 erlang-oauth2(riscv-64) = 0.6.1-7.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: erlang-crypto(riscv-64) erlang-erts(riscv-64) erlang-kernel(riscv-64) erlang-stdlib(riscv-64) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.fc28.riscv64 Wrote: /builddir/build/SRPMS/erlang-oauth2-0.6.1-7.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/erlang-oauth2-0.6.1-7.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Wvy68e + umask 022 + cd /builddir/build/BUILD + cd oauth2-0.6.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-oauth2-0.6.1-7.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