+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/erlang-p1_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.GgCkMf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf p1_oauth2-0.6.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/p1_oauth2-0.6.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd p1_oauth2-0.6.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.u0LpeX + umask 022 + cd /builddir/build/BUILD + cd p1_oauth2-0.6.2 + 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.2 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/p1_oauth2-0.6.2/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/p1_oauth2-0.6.2"}, "0.6.2"}.' + 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/p1_oauth2-0.6.2/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/builddir/build/BUILD/p1_oauth2-0.6.2/src/p1_oauth2.app.src" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /builddir/build/BUILD/p1_oauth2-0.6.2: [rebar3_hex] DEBUG: Plugin dirs for /builddir/build/BUILD/p1_oauth2-0.6.2: ["/builddir/build/BUILD/p1_oauth2-0.6.2", "/builddir/build/BUILD/p1_oauth2-0.6.2/plugins"] WARN: Missing plugins: [rebar3_hex] DEBUG: Predirs: [] ==> p1_oauth2-0.6.2 (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_info,{src_dirs,["src"]}] 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 src/oauth2_token.erl:68: Warning: call to crypto:rand_bytes/1 will fail, since it was removed in 20.0; use crypto:strong_rand_bytes/1 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: [] + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WAK1Lv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64 + cd p1_oauth2-0.6.2 + '[' p1_oauth2 '!=' '' ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64/usr/lib64/erlang/lib/p1_oauth2-0.6.2/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64/usr/lib64/erlang/lib/p1_oauth2-0.6.2/ebin/ + '[' -f ebin/p1_oauth2.app ']' + /usr/bin/install -m 0644 -p ebin/p1_oauth2.app /builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64/usr/lib64/erlang/lib/p1_oauth2-0.6.2/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-p1_oauth2-0.6.2-2.fc28.riscv64/usr/lib64/erlang/lib/p1_oauth2-0.6.2/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-p1_oauth2-0.6.2-2.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UnS5Yz + umask 022 + cd /builddir/build/BUILD + cd p1_oauth2-0.6.2 + DOCDIR=/builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64/usr/share/doc/erlang-p1_oauth2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64/usr/share/doc/erlang-p1_oauth2 + cp -pr README.md /builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64/usr/share/doc/erlang-p1_oauth2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FQVucN + umask 022 + cd /builddir/build/BUILD + cd p1_oauth2-0.6.2 + LICENSEDIR=/builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64/usr/share/licenses/erlang-p1_oauth2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64/usr/share/licenses/erlang-p1_oauth2 + cp -pr LICENSE /builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64/usr/share/licenses/erlang-p1_oauth2 + exit 0 ERROR: Cant find crypto:rand_bytes/1 while processing '/builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64/usr/lib64/erlang/lib/p1_oauth2-0.6.2/ebin/oauth2_token.beam' Provides: erlang-p1_oauth2 = 0.6.2-2.fc28 erlang-p1_oauth2(riscv-64) = 0.6.2-2.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-p1_oauth2-0.6.2-2.fc28.riscv64 Wrote: /builddir/build/SRPMS/erlang-p1_oauth2-0.6.2-2.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/erlang-p1_oauth2-0.6.2-2.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.K05N5M + umask 022 + cd /builddir/build/BUILD + cd p1_oauth2-0.6.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-p1_oauth2-0.6.2-2.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff