Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
machador opened this issue Jul 19, 2023 · 0 comments
Open

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

machador opened this issue Jul 19, 2023 · 0 comments
Assignees
Labels

Comments

@machador
Copy link

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!
@machador machador changed the title ELixir 1.14.5. install failing in Mac OS Ventura 13.4.1 elixir 1.14.5. install failing in Mac OS Ventura 13.4.1 Jul 19, 2023
@taylor taylor self-assigned this May 29, 2024
@taylor taylor added the mac label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants