taylor / kiex

Elixir version manager
http://taylor.github.io/kiex/
MIT License
782 stars 66 forks source link

elixir 1.14.5. install failing in Mac OS Ventura 13.4.1 #95

Open machador opened 1 year ago

machador commented 1 year ago

OS: Ventura 13.4.1 Chip : Apple M1 Pro Erlang: Erlang/OTP 25 [erts-13.2.2.2] [source] [64-bit]

I am facing this error:

==> bootstrap (compile)
error: undef
stacktrace: [{'Elixir.CompileError',exception,
                 [[{description,
                       <<"defmacro var!/2 defines defaults multiple times. Elixir allows defaults to be declared once per definition. Instead of:\n\n    def foo(:first_clause, b \\\\ :default) do ... end\n    def foo(:second_clause, b \\\\ :default) do ... end\n\none should write:\n\n    def foo(a, b \\\\ :default)\n    def foo(:first_clause, b) do ... end\n    def foo(:second_clause, b) do ... end\n">>},
                   {file,
                       <<"/Users/lolo/.kiex/builds/elixir-git/lib/elixir/lib/kernel.ex">>},
                   {line,4495}]],
                 []},
             {elixir_errors,raise,3,
                 [{file,"src/elixir_errors.erl"},{line,224}]},
             {elixir_def,store_definition,9,
                 [{file,"src/elixir_def.erl"},{line,276}]},
             {elixir_def,store_definition,10,
                 [{file,"src/elixir_def.erl"},{line,204}]},
             {elixir_erl_try,erl_rescue_guard_for,3,
                 [{file,"src/elixir_erl_try.erl"},{line,137}]},
             {elixir_erl_try,each_clause,2,
                 [{file,"src/elixir_erl_try.erl"},{line,38}]},
             {elixir_erl_try,reduce_clauses,5,
                 [{file,"src/elixir_erl_try.erl"},{line,17}]},
             {elixir_erl_pass,translate,3,
                 [{file,"src/elixir_erl_pass.erl"},{line,151}]}]
make: *** [lib/elixir/ebin/Elixir.Kernel.beam] Error 1
==> bootstrap (compile)
error: undef
stacktrace: [{'Elixir.CompileError',exception,
                 [[{description,
                       <<"defmacro var!/2 defines defaults multiple times. Elixir allows defaults to be declared once per definition. Instead of:\n\n    def foo(:first_clause, b \\\\ :default) do ... end\n    def foo(:second_clause, b \\\\ :default) do ... end\n\none should write:\n\n    def foo(a, b \\\\ :default)\n    def foo(:first_clause, b) do ... end\n    def foo(:second_clause, b) do ... end\n">>},
                   {file,
                       <<"/Users/lolo/.kiex/builds/elixir-git/lib/elixir/lib/kernel.ex">>},
                   {line,4495}]],
                 []},
             {elixir_errors,raise,3,
                 [{file,"src/elixir_errors.erl"},{line,224}]},
             {elixir_def,store_definition,9,
                 [{file,"src/elixir_def.erl"},{line,276}]},
             {elixir_def,store_definition,10,
                 [{file,"src/elixir_def.erl"},{line,204}]},
             {elixir_erl_try,erl_rescue_guard_for,3,
                 [{file,"src/elixir_erl_try.erl"},{line,137}]},
             {elixir_erl_try,each_clause,2,
                 [{file,"src/elixir_erl_try.erl"},{line,38}]},
             {elixir_erl_try,reduce_clauses,5,
                 [{file,"src/elixir_erl_try.erl"},{line,17}]},
             {elixir_erl_pass,translate,3,
                 [{file,"src/elixir_erl_pass.erl"},{line,151}]}]
make: *** [lib/elixir/ebin/Elixir.Kernel.beam] Error 1
Problem with Elixir build.  Aborting!