+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/erlang-rebar.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 80: %{?_isa} warning: Macro expanded in comment on line 81: %{?_isa} Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QNEBFk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rebar-2.6.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/rebar-2.6.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rebar-2.6.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (rebar-0001-Load-templates-from-the-filesystem-first.patch):' Patch #1 (rebar-0001-Load-templates-from-the-filesystem-first.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .load_templates_from_fs --fuzz=0 patching file src/rebar_templater.erl + echo 'Patch #2 (rebar-0002-Remove-bundled-mustache.patch):' Patch #2 (rebar-0002-Remove-bundled-mustache.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remove_bundled_mustache --fuzz=0 patching file ebin/rebar.app patching file src/rebar_mustache.erl patching file src/rebar_templater.erl + echo 'Patch #4 (rebar-0004-Allow-discarding-building-ports.patch):' Patch #4 (rebar-0004-Allow-discarding-building-ports.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .allow_discarding_ports --fuzz=0 patching file src/rebar_port_compiler.erl + echo 'Patch #5 (rebar-0005-Remove-any-traces-of-long-time-obsolete-escript-fold.patch):' Patch #5 (rebar-0005-Remove-any-traces-of-long-time-obsolete-escript-fold.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remove_escript_foldl_3 --fuzz=0 patching file src/rebar_utils.erl + echo 'Patch #6 (rebar-0006-remove-abnfc.patch):' Patch #6 (rebar-0006-remove-abnfc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remove_abnfc --fuzz=0 patching file ebin/rebar.app Hunk #2 succeeded at 82 (offset 1 line). patching file rebar.config patching file src/rebar_abnfc_compiler.erl + echo 'Patch #7 (rebar-0007-Remove-support-for-gpb-compiler.patch):' Patch #7 (rebar-0007-Remove-support-for-gpb-compiler.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remove_gpb --fuzz=0 patching file ebin/rebar.app Hunk #2 succeeded at 83 (offset 1 line). patching file src/rebar_proto_gpb_compiler.erl + echo 'Patch #8 (rebar-0008-Remove-pre-R15B02-workaround.patch):' Patch #8 (rebar-0008-Remove-pre-R15B02-workaround.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remove_pre_R15B02 --fuzz=0 patching file src/rebar_eunit.erl + echo 'Patch #9 (rebar-0009-No-such-function-erlang-timestamp-0.patch):' Patch #9 (rebar-0009-No-such-function-erlang-timestamp-0.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .erlang_timestamp_0 --fuzz=0 patching file src/rebar_utils.erl + echo 'Patch #10 (rebar-0010-Try-shell-variable-VSN-first.patch):' Patch #10 (rebar-0010-Try-shell-variable-VSN-first.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .vsn_override --fuzz=0 patching file src/rebar_otp_app.erl + echo 'Patch #11 (rebar-0011-Allow-ignoring-missing-deps.patch):' Patch #11 (rebar-0011-Allow-ignoring-missing-deps.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .skip_deps_checking --fuzz=0 patching file src/rebar_deps.erl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.me09jT + umask 022 + cd /builddir/build/BUILD + cd rebar-2.6.4 + ./bootstrap No beam files found. Recompile: src/rebar Recompile: src/rebar_app_utils Recompile: src/rebar_appups Recompile: src/rebar_asn1_compiler Recompile: src/rebar_base_compiler Recompile: src/rebar_cleaner Recompile: src/rebar_config Recompile: src/rebar_core Recompile: src/rebar_cover_utils Recompile: src/rebar_ct Recompile: src/rebar_deps Recompile: src/rebar_dia_compiler Recompile: src/rebar_dialyzer Recompile: src/rebar_edoc Recompile: src/rebar_erlc_compiler Recompile: src/rebar_erlydtl_compiler Recompile: src/rebar_escripter Recompile: src/rebar_eunit Recompile: src/rebar_file_utils Recompile: src/rebar_getopt Recompile: src/rebar_lfe_compiler Recompile: src/rebar_log Recompile: src/rebar_metacmds Recompile: src/rebar_neotoma_compiler Recompile: src/rebar_otp_app Recompile: src/rebar_otp_appup Recompile: src/rebar_port_compiler Recompile: src/rebar_proto_compiler Recompile: src/rebar_protobuffs_compiler Recompile: src/rebar_qc Recompile: src/rebar_rand_compat Recompile: src/rebar_rel_utils Recompile: src/rebar_reltool Recompile: src/rebar_require_vsn Recompile: src/rebar_shell Recompile: src/rebar_subdirs Recompile: src/rebar_templater Recompile: src/rebar_upgrade Recompile: src/rebar_utils Recompile: src/rebar_xref Recompile: src/rmemo ==> rebar-2.6.4 (compile) ==> rebar-2.6.4 (escriptize) Congratulations! You now have a self-contained script called "rebar" in your current working directory. Place this script anywhere in your path and you can use rebar to build OTP-compliant apps. + ./rebar compile -v ==> rebar-2.6.4 (compile) + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FcBOwJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64 + cd rebar-2.6.4 + '[' rebar '!=' '' ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ebin/ + '[' -f ebin/rebar.app ']' + /usr/bin/install -m 0644 -p ebin/rebar.app /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ebin/ + /usr/bin/install -m 0644 -p ebin/rebar.beam ebin/rebar_app_utils.beam ebin/rebar_appups.beam ebin/rebar_asn1_compiler.beam ebin/rebar_base_compiler.beam ebin/rebar_cleaner.beam ebin/rebar_config.beam ebin/rebar_core.beam ebin/rebar_cover_utils.beam ebin/rebar_ct.beam ebin/rebar_deps.beam ebin/rebar_dia_compiler.beam ebin/rebar_dialyzer.beam ebin/rebar_edoc.beam ebin/rebar_erlc_compiler.beam ebin/rebar_erlydtl_compiler.beam ebin/rebar_escripter.beam ebin/rebar_eunit.beam ebin/rebar_file_utils.beam ebin/rebar_getopt.beam ebin/rebar_lfe_compiler.beam ebin/rebar_log.beam ebin/rebar_metacmds.beam ebin/rebar_neotoma_compiler.beam ebin/rebar_otp_app.beam ebin/rebar_otp_appup.beam ebin/rebar_port_compiler.beam ebin/rebar_proto_compiler.beam ebin/rebar_protobuffs_compiler.beam ebin/rebar_qc.beam ebin/rebar_rand_compat.beam ebin/rebar_rel_utils.beam ebin/rebar_reltool.beam ebin/rebar_require_vsn.beam ebin/rebar_shell.beam ebin/rebar_subdirs.beam ebin/rebar_templater.beam ebin/rebar_upgrade.beam ebin/rebar_utils.beam ebin/rebar_xref.beam ebin/rmemo.beam /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ebin/ + '[' -d include/ ']' ++ ls include/rebar.hrl + for erlincludefile in `ls include/*.hrl` + /usr/bin/install -D -m 0644 -p include/rebar.hrl /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/include/rebar.hrl + '[' -d priv/ ']' ++ ls 'priv/*.so' ls: cannot access 'priv/*.so': No such file or directory + install -D -p -m 0755 /builddir/build/SOURCES/rebar.escript /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/bin/rebar + cp -a priv /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ + /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/bin/rebar from #!/usr/bin/env escript to #!/usr/bin/escript mangling shebang in ./usr/lib64/erlang/lib/rebar-2.6.4/priv/templates/simplenode.nodetool from #!/usr/bin/env escript to #!/usr/bin/escript Processing files: erlang-rebar-2.6.4-1.riscv64.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.i5OzOT + umask 022 + cd /builddir/build/BUILD + cd rebar-2.6.4 + DOCDIR=/builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/share/doc/erlang-rebar + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/share/doc/erlang-rebar + cp -pr README.md /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/share/doc/erlang-rebar + cp -pr THANKS /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/share/doc/erlang-rebar + cp -pr rebar.config.sample /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/share/doc/erlang-rebar + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0wHTrt + umask 022 + cd /builddir/build/BUILD + cd rebar-2.6.4 + LICENSEDIR=/builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/share/licenses/erlang-rebar + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/share/licenses/erlang-rebar + cp -pr LICENSE /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/share/licenses/erlang-rebar + exit 0 ERROR: Cant find rebar_rnd:uniform/0 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ebin/rebar_eunit.beam' ERROR: Cant find rebar_rnd:seed/1 while processing '/builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64/usr/lib64/erlang/lib/rebar-2.6.4/ebin/rebar_eunit.beam' Provides: erlang-rebar = 2.6.4-1.riscv64.fc28 erlang-rebar(riscv-64) = 2.6.4-1.riscv64.fc28 rebar = 2.6.4-1.riscv64.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh /usr/bin/escript erlang-asn1(riscv-64) erlang-compiler(riscv-64) erlang-crypto(riscv-64) erlang-dialyzer(riscv-64) erlang-diameter(riscv-64) erlang-edoc(riscv-64) erlang-eflame(riscv-64) erlang-erlydtl(riscv-64) erlang-erts(riscv-64) erlang-eunit(riscv-64) erlang-kernel(riscv-64) erlang-lfe(riscv-64) erlang-mustache(riscv-64) erlang-neotoma(riscv-64) erlang-protobuffs(riscv-64) erlang-reltool(riscv-64) erlang-sasl(riscv-64) erlang-snmp(riscv-64) erlang-stdlib(riscv-64) erlang-syntax_tools(riscv-64) erlang-tools(riscv-64) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64 Wrote: /builddir/build/SRPMS/erlang-rebar-2.6.4-1.riscv64.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/erlang-rebar-2.6.4-1.riscv64.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aJPLwq + umask 022 + cd /builddir/build/BUILD + cd rebar-2.6.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-rebar-2.6.4-1.riscv64.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