-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + VSN=2.6.4 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/rebar-2.6.4/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/rebar-2.6.4"}, "2.6.4"}.' + REBAR_DEPS_PREFER_LIBS=TRUE + export REBAR_DEPS_PREFER_LIBS + IGNORE_MISSING_DEPS=TRUE + export IGNORE_MISSING_DEPS + ERL_LIBS=/usr/share/erlang/lib/ + export ERL_LIBS + /usr/bin/rebar compile skip_deps=true -vv DEBUG: Evaluating config script "/builddir/build/BUILD/rebar-2.6.4/rebar.config.script" DEBUG: Consult config file "/builddir/build/BUILD/rebar-2.6.4/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /builddir/build/BUILD/rebar-2.6.4: [] DEBUG: Predirs: [] ==> rebar-2.6.4 (compile) DEBUG: Matched required ERTS version: 9.3.1 -> .* DEBUG: Matched required OTP release: 20 -> .* DEBUG: Min OTP version unconfigured DEBUG: erl_opts [debug_info,{d,namespaced_types}] DEBUG: Files to compile first: [] DEBUG: Starting 3 compile worker(s) Compiled src/rebar_lfe_compiler.erl Compiled src/rebar_proto_compiler.erl Compiled src/rebar_shell.erl Compiled src/rebar_subdirs.erl Compiled src/rebar_otp_app.erl Compiled src/rebar_upgrade.erl Compiled src/rebar_neotoma_compiler.erl Compiled src/rebar_xref.erl Compiled src/rebar_escripter.erl Compiled src/rebar_require_vsn.erl Compiled src/rebar_file_utils.erl Compiled src/rmemo.erl Compiled src/rebar_templater.erl Compiled src/rebar_core.erl Compiled src/rebar_dialyzer.erl Compiled src/rebar_edoc.erl Compiled src/rebar_qc.erl Compiled src/rebar_log.erl Compiled src/rebar_port_compiler.erl Compiled src/rebar_metacmds.erl Compiled src/rebar_rand_compat.erl src/rebar_ct.erl:291: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1 Compiled src/rebar_ct.erl Compiled src/rebar_erlc_compiler.erl Compiled src/rebar_dia_compiler.erl Compiled src/rebar_erlydtl_compiler.erl Compiled src/rebar_asn1_compiler.erl Compiled src/rebar_utils.erl Compiled src/rebar_app_utils.erl Compiled src/rebar_deps.erl Compiled src/rebar_otp_appup.erl Compiled src/rebar.erl src/rebar_eunit.erl:75: function pre15b02_eunit_primitive/3 undefined src/rebar_eunit.erl:282: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1 Compiling src/rebar_eunit.erl failed: DEBUG: Worker compilation failed: {{error, {error, [["src/rebar_eunit.erl:75: function pre15b02_eunit_primitive/3 undefined\n"]], [["src/rebar_eunit.erl:282: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1\n"]]}}, {source,"src/rebar_eunit.erl"}} BUILDSTDERR: ERROR: compile failed while processing /builddir/build/BUILD/rebar-2.6.4: rebar_abort RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.aYGxjI (%build) BUILDSTDERR: Macro expanded in comment on line 80: %{?_isa} BUILDSTDERR: Macro expanded in comment on line 81: %{?_isa} BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.aYGxjI (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/erlang-rebar.spec