D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/elixir-1.14.2-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.14uIyC Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RwJTpz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/elixir-1.14.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/elixir-1.14.2-build + rm -rf elixir-1.14.2/docs + /usr/bin/mkdir -p elixir-1.14.2/docs + cd elixir-1.14.2/docs + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/elixir-1.14.2-doc.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name .build -exec rm '{}' ';' + cd /home/pterjan/rpmbuild/BUILD/elixir-1.14.2-build + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/elixir-1.14.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd elixir-1.14.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name '*.bat' -exec rm '{}' ';' + rm lib/elixir/test/elixir/io/ansi_test.exs + find . -name .gitignore -delete + find . -name .gitkeep -delete + sed -i '/^Q\s*:=/d' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.34ulKW + umask 022 + cd /home/pterjan/rpmbuild/BUILD/elixir-1.14.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd elixir-1.14.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export LANG=C.UTF-8 + LANG=C.UTF-8 + export REBAR3=/usr/bin/rebar3 + REBAR3=/usr/bin/rebar3 + export ERL_LIBS=/usr/share/erlang/lib/ + ERL_LIBS=/usr/share/erlang/lib/ + make compile erlc -o lib/elixir/src/elixir_parser.erl +'{verbose,true}' +'{report,true}' lib/elixir/src/elixir_parser.yrl if [ ! -f lib/elixir/ebin/elixir.app ]; then erl -noshell -eval '{V,_} = string:to_integer(erlang:system_info(otp_release)), io:fwrite("~s", [is_integer(V) and (V >= 23)])' -s erlang halt | grep -q '^true'; if [ $? != 0 ]; then echo "At least Erlang/OTP 23.0 is required to build Elixir"; exit 1; fi; fi cd lib/elixir && mkdir -p ebin && if [ -n "" ]; then ERL_COMPILER_OPTIONS= erl -make; else erl -make; fi Recompile: src/elixir_utils Recompile: src/elixir_tokenizer Recompile: src/elixir_sup Recompile: src/elixir_rewrite Recompile: src/elixir_quote Recompile: src/elixir_parser Recompile: src/elixir_overridable Recompile: src/elixir_module Recompile: src/elixir_map Recompile: src/elixir_locals Recompile: src/elixir_lexical Recompile: src/elixir_interpolation Recompile: src/elixir_import Recompile: src/elixir_fn Recompile: src/elixir_expand Recompile: src/elixir_errors Recompile: src/elixir_erl_var Recompile: src/elixir_erl_try Recompile: src/elixir_erl_pass src/elixir_erl_pass.erl:161:41: syntax error before: 'else' % 161| Else = elixir_erl_clauses:get_clauses(else, Opts, match), % | ^ src/elixir_erl_pass.erl:409:29: syntax error before: 'else' % 409| translate_with_else(Meta, [{else, [{'->', _, [[{Var, VarMeta, Kind}], Clause]}]}], S) when is_atom(Var), is_atom(Kind) -> % | ^ src/elixir_erl_pass.erl:3:2: function translate/3 undefined % 3| -export([translate/3, translate_args/3]). % | ^ src/elixir_erl_pass.erl:302:17: function translate/3 undefined % 302| {TExpr, SE} = translate(Expr, Ann, S), % | ^ src/elixir_erl_pass.erl:307:19: function translate/3 undefined % 307| {TLeft, LAcc} = translate(Left, Ann, Acc), % | ^ src/elixir_erl_pass.erl:308:20: function translate/3 undefined % 308| {TRight, TAcc} = translate(Right, Ann, LAcc), % | ^ src/elixir_erl_pass.erl:311:16: function translate/3 undefined % 311| {TH, TAcc} = translate(H, Ann, Acc), % | ^ src/elixir_erl_pass.erl:336:7: function translate/3 undefined % 336| translate(Arg, Ann, SA); % | ^ src/elixir_erl_pass.erl:346:14: function translate/3 undefined % 346| {TH, TS} = translate(H, Ann, S), % | ^ src/elixir_erl_pass.erl:352:14: function translate/3 undefined % 352| {TH, TS} = translate(H, Ann, S), % | ^ src/elixir_erl_pass.erl:450:17: function translate/3 undefined % 450| {TExpr, SR} = translate(Expr, Ann, S), % | ^ src/elixir_erl_pass.erl:451:47: function translate/3 undefined % 451| {TArgs, SA} = elixir_erl_clauses:match(Ann, fun translate/3, Args, SR), % | ^ src/elixir_erl_pass.erl:458:17: function translate/3 undefined % 458| {TExpr, TS} = translate(Expr, Ann, S), % | ^ src/elixir_erl_pass.erl:462:3: function translate/3 undefined % 462| translate(Do, Ann, S). % | ^ src/elixir_erl_pass.erl:481:19: function translate/3 undefined % 481| {TUpdate, TU} = translate(Update, Ann, VS), % | ^ src/elixir_erl_pass.erl:492:19: function translate/3 undefined % 492| {TUpdate, SU} = translate(Update, Ann, S), % | ^ src/elixir_erl_pass.erl:501:20: function translate/3 undefined % 501| {TKey, Acc1} = translate(Key, Ann, Acc0#elixir_erl{extra=map_key}), % | ^ src/elixir_erl_pass.erl:502:22: function translate/3 undefined % 502| {TValue, Acc2} = translate(Value, Ann, Acc1#elixir_erl{extra=Extra}), % | ^ src/elixir_erl_pass.erl:541:16: function translate/3 undefined % 541| {Expr, NS} = translate(H, Ann, S), % | ^ src/elixir_erl_pass.erl:556:16: function translate/3 undefined % 556| {TSize, _} = translate(Size, ?ann(Meta), S#elixir_erl{context=guard}), % | ^ src/elixir_erl_pass.erl:571:16: function translate/3 undefined % 571| {TArg, TS} = translate(Arg, Ann, S), % | ^ src/elixir_erl_pass.erl:615:17: function translate/3 undefined % 615| {TLeft, SL} = translate(Left, Ann, S), % | ^ src/elixir_erl_pass.erl:299:1: Warning: function translate_case/4 is unused % 299| translate_case(Meta, Expr, Opts, S) -> % | ^ src/elixir_erl_pass.erl:322:1: Warning: function unblock/1 is unused % 322| unblock({'block', _, Exprs}) -> Exprs; % | ^ src/elixir_erl_pass.erl:325:1: Warning: function translate_fn_match/3 is unused % 325| translate_fn_match(Arg, Ann, S) -> % | ^ src/elixir_erl_pass.erl:343:1: Warning: function translate_block/4 is unused % 343| translate_block([], _Ann, Acc, S) -> % | ^ src/elixir_erl_pass.erl:357:1: Warning: function build_cond_clauses/4 is unused % 357| build_cond_clauses([{'->', NewMeta, [[Condition], Body]} | T], Acc, OldMeta, S) -> % | ^ src/elixir_erl_pass.erl:365:1: Warning: function replace_case_meta/2 is unused % 365| replace_case_meta(Meta, {'case', _, Args}) -> % | ^ src/elixir_erl_pass.erl:370:1: Warning: function build_truthy_clause/4 is unused % 370| build_truthy_clause(Meta, Condition, Body, S) -> % | ^ src/elixir_erl_pass.erl:388:1: Warning: function returns_boolean/2 is unused % 388| returns_boolean({'=', _, [{Var, _, Ctx}, Condition]}, {Var, _, Ctx}) when is_atom(Var), is_atom(Ctx) -> % | ^ src/elixir_erl_pass.erl:428:1: Warning: function build_generated_clause/2 is unused % 428| build_generated_clause(Generated, {'->', _, [Args, Clause]}) -> % | ^ src/elixir_erl_pass.erl:432:1: Warning: function build_generated_clause_arg/2 is unused % 432| build_generated_clause_arg(Generated, Arg) -> % | ^ src/elixir_erl_pass.erl:437:1: Warning: function build_generated_guard/2 is unused % 437| build_generated_guard(Generated, {{'.', _, _} = Call, _, Args}) -> % | ^ src/elixir_erl_pass.erl:442:1: Warning: function concat_guards/3 is unused % 442| concat_guards(_Meta, Expr, []) -> % | ^ src/elixir_erl_pass.erl:447:1: Warning: function translate_with_do/5 is unused % 447| translate_with_do([{'<-', Meta, [Left, Expr]} | Rest], _Ann, Do, Else, S) -> % | ^ src/elixir_erl_pass.erl:466:1: Warning: function translate_struct_var_name/4 is unused % 466| translate_struct_var_name(Ann, Name, Args, S0) -> % | ^ src/elixir_erl_pass.erl:471:1: Warning: function translate_struct/4 is unused % 471| translate_struct(Ann, Name, {'%{}', _, [{'|', _, [Update, Assocs]}]}, S) -> % | ^ src/elixir_erl_pass.erl:491:1: Warning: function translate_map/3 is unused % 491| translate_map(Ann, [{'|', Meta, [Update, Assocs]}], S) -> % | ^ src/elixir_erl_pass.erl:497:1: Warning: function translate_map/4 is unused % 497| translate_map(Ann, Assocs, TUpdate, #elixir_erl{extra=Extra} = S) -> % | ^ src/elixir_erl_pass.erl:508:1: Warning: function translate_key_val_op/2 is unused % 508| translate_key_val_op(_TUpdate, #elixir_erl{extra=map_key}) -> map_field_assoc; % | ^ src/elixir_erl_pass.erl:513:1: Warning: function build_map/4 is unused % 513| build_map(Ann, {ok, TUpdate}, TArgs, SA) -> {{map, Ann, TUpdate, TArgs}, SA}; % | ^ src/elixir_erl_pass.erl:518:1: Warning: function translate_bitstring/3 is unused % 518| translate_bitstring(Meta, Args, S) -> % | ^ src/elixir_erl_pass.erl:521:1: Warning: function build_bitstr/4 is unused % 521| build_bitstr([{'::', Meta, [H, V]} | T], Ann, S, Acc) -> % | ^ src/elixir_erl_pass.erl:527:1: Warning: function build_bitstr/7 is unused % 527| build_bitstr(T, Ann, S, Acc, H, default, Types) when is_binary(H) -> % | ^ src/elixir_erl_pass.erl:544:1: Warning: function requires_utf_conversion/1 is unused % 544| requires_utf_conversion([bitstring | _]) -> false; % | ^ src/elixir_erl_pass.erl:548:1: Warning: function extract_bit_info/3 is unused % 548| extract_bit_info({'-', _, [L, {size, _, [Size]}]}, Meta, S) -> % | ^ src/elixir_erl_pass.erl:555:1: Warning: function extract_bit_size/3 is unused % 555| extract_bit_size(Size, Meta, S) -> % | ^ src/elixir_erl_pass.erl:559:1: Warning: function extract_bit_type/2 is unused % 559| extract_bit_type({'-', _, [L, R]}, Acc) -> % | ^ src/elixir_erl_pass.erl:569:1: Warning: function translate_remote/5 is unused % 569| translate_remote('Elixir.String.Chars', to_string, Meta, [Arg], S) -> % | ^ src/elixir_erl_pass.erl:633:1: Warning: function generate_struct_name_guard/3 is unused % 633| generate_struct_name_guard([{map_field_exact, Ann, {atom, _, '__struct__'} = Key, Var} | Rest], Acc, S0) -> % | ^ make: *** [Makefile:79: erlang] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.34ulKW (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.34ulKW (%build) I: [iurt_root_command] ERROR: chroot