"; @touch \$@\n\"] || {F, Deps} <- Depend], \"\nCOMPILE_FIRST +=\", [[\" \", TargetPath(CF)] || CF <- CompileFirst], \"\n\" ])), halt()" -- erlang.mk warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell) : make --no-print-directory app-build mkdir -p ebin/ erlc -v +debug_info -o ebin/ -pa ebin/ -I include/ src/observer_cli.erl src/observer_cli_application.erl src/observer_cli_escriptize.erl src/observer_cli_ets.erl src/observer_cli_help.erl src/observer_cli_inet.erl src/observer_cli_lib.erl src/observer_cli_mnesia.erl src/observer_cli_plugin.erl src/observer_cli_port.erl src/observer_cli_process.erl src/observer_cli_store.erl src/observer_cli_system.erl Resolving Hex dependencies... Dependency resolution completed: Unchanged: csv 2.3.1 json 1.2.5 observer_cli 1.5.4 parallel_stream 1.0.6 recon 2.5.1 stdout_formatter 0.2.3 * Getting json (Hex package) * Getting csv (Hex package) * Getting stdout_formatter (Hex package) * Getting observer_cli (Hex package) * Getting recon (Hex package) * Getting parallel_stream (Hex package) ==> stdout_formatter Compiling 4 files (.erl) Inlining: inline_size=24 inline_effort=150 Generated stdout_formatter app warning: found quoted keyword "coveralls" but the quotes are not required. Note that keywords are always atoms, even when quoted, and quotes should only be used to introduce keywords with foreign characters in them /builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli/deps/parallel_stream/mix.exs:17 ==> parallel_stream Compiling 11 files (.ex) warning: Stream.chunk/4 is deprecated. Use Stream.chunk_every/4 instead lib/parallel_stream/producer.ex:16 Generated parallel_stream app ==> json Compiling 13 files (.ex) if [ -z "$(grep -e '^[^%]*{\s*modules\s*,' src/observer_cli.app.src)" ]; then \ echo "Empty modules entry not found in observer_cli.app.src. Please consult the erlang.mk documentation for instructions." >&2; \ exit 1; \ fi cat src/observer_cli.app.src \ | sed "s/{[[:space:]]*modules[[:space:]]*,[[:space:]]*\[\]}/{modules, \['observer_cli','observer_cli_application','observer_cli_escriptize','observer_cli_ets','observer_cli_help','observer_cli_inet','observer_cli_lib','observer_cli_mnesia','observer_cli_plugin','observer_cli_port','observer_cli_process','observer_cli_store','observer_cli_system'\]}/" \ | sed "s/{id,[[:space:]]*\"git\"}/{id, \"\"}/" \ > ebin/observer_cli.app : make[3]: Leaving directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/observer_cli' Generated json app ==> recon Compiling 6 files (.erl) Generated recon app ==> csv Compiling 10 files (.ex) Generated csv app ==> observer_cli Compiling 13 files (.erl) Generated observer_cli app ==> rabbitmqctl ** (Mix) You're trying to run :rabbitmqctl on Elixir v1.7.3 but it has declared in its mix.exs file it supports only Elixir >= 1.8.0 and < 1.11.0 make[2]: *** [Makefile:100: escript/rabbitmqctl] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbitmq_cli' make[1]: *** [erlang.mk:4504: deps] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/rabbitmq-server-3.8.5/deps/rabbit' make: *** [erlang.mk:4504: deps] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.m69spw (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.m69spw (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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/rabbitmq-server.spec