Elixir fails to compile on Erlang/OTP 17.5

200 views
Skip to first unread message

Boris Mühmer

unread,
Apr 1, 2015, 7:25:46 AM4/1/15
to elixir-l...@googlegroups.com
I am currently at work, and I just wanted my scripts to setup Elixir based on Erlang/OTP 17.5, but it fails during make:

$ make
==> elixir (compile)
Compiled src/elixir_parser.yrl
Compiled src/elixir_aliases.erl
Compiled src/elixir.erl
Compiled src/elixir_bitstring.erl
Compiled src/elixir_bootstrap.erl
Compiled src/elixir_code_server.erl
Compiled src/elixir_clauses.erl
Compiled src/elixir_compiler.erl
Compiled src/elixir_counter.erl
Compiled src/elixir_config.erl
Compiled src/elixir_def_defaults.erl
Compiled src/elixir_def_overridable.erl
Compiled src/elixir_env.erl
Compiled src/elixir_errors.erl
Compiled src/elixir_dispatch.erl
Compiled src/elixir_def.erl
Compiled src/elixir_exp_clauses.erl
Compiled src/elixir_fn.erl
Compiled src/elixir_import.erl
Compiled src/elixir_exp.erl
Compiled src/elixir_lexical.erl
Compiled src/elixir_for.erl
Compiled src/elixir_interpolation.erl
Compiled src/elixir_locals.erl
Compiled src/elixir_map.erl
Compiled src/elixir_rewrite.erl
Compiled src/elixir_module.erl
Compiled src/elixir_sup.erl
Compiled src/elixir_scope.erl
Compiled src/elixir_quote.erl
Compiled src/elixir_try.erl
Compiled src/elixir_translator.erl
Compiled src/elixir_utils.erl
Compiled src/elixir_tokenizer.erl
Compiled src/elixir_parser.erl
==> bootstrap (compile)
{"init terminating in do_boot",{{badmatch,{error,{elixir,{bad_return,{{elixir,start,[normal,[]]},{'EXIT',{{badmatch,{error,enotsup}},[{elixir,start,2,[{file,"src/elixir.erl"},{line,34}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,272}]}]}}}}}}},[{elixir_compiler,core,0,[{file,"src/elixir_compiler.erl"},{line,209}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}


Crash dump was written to: erl_crash.dump
init terminating
in do_boot ()
make
: *** [lib/elixir/ebin/Elixir.Kernel.beam] Fehler 1

Anyone else run into this problem?
My system is a Ubuntu 14.04 on 64 bit. 


Regards,
Boris

José Valim

unread,
Apr 1, 2015, 7:32:43 AM4/1/15
to elixir-l...@googlegroups.com
Erlang 17.5 suddenly changed the options for configuring the standard_error process. The v1.0 branch run fine though. Expect Elixir 1.0.4 to be released in a week or two.



José Valim
Skype: jv.ptec
Founder and Lead Developer

--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/647a6f63-a0c5-465f-9c5b-04d68706d65d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Boris Mühmer

unread,
Apr 1, 2015, 7:56:27 AM4/1/15
to elixir-l...@googlegroups.com, jose....@plataformatec.com.br
Is it worth to invest time to fix this, or should I (or anybody else) just stay on Erlang 17.4 (for Elixir 1.0.3)?


Regards,
Boris

José Valim

unread,
Apr 1, 2015, 8:12:42 AM4/1/15
to elixir-l...@googlegroups.com
I would stay on 17.4 as a new release is coming soon.

For more options, visit https://groups.google.com/d/optout.


--

Boris Mühmer

unread,
Apr 1, 2015, 9:05:01 AM4/1/15
to elixir-l...@googlegroups.com, jose....@plataformatec.com.br
Thanks for Your quick responses, José!


Regards,
Boris
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.

Nate B

unread,
Apr 5, 2015, 11:31:21 PM4/5/15
to elixir-l...@googlegroups.com
I'm getting a similar error after following the standard installation instructions on a VPS with Ubuntu 14.04: http://privatepaste.com/a5031526e7

My results: http://privatepaste.com/c2e83c8a91

It ended with the following error report:

=ERROR REPORT==== 6-Apr-2015::03:29:47 ===
Error in process <0.26.0> with exit value: {{badmatch,{error,{elixir,{bad_return,{{elixir,start,[normal,[]]},{'EXIT',{{badmatch,{error,enotsup}},[{elixir,start,2,[{file,"src/elixir.erl"},{line,34}]},{application_master,start_it_old,4,[{file,"application_master....

José Valim

unread,
Apr 6, 2015, 4:26:59 AM4/6/15
to elixir-l...@googlegroups.com
The fix is the same: please downgrade Erlang or try v1.0.4 announced in this mailing list.



José Valim
Skype: jv.ptec
Founder and Lead Developer

--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.

Nate B

unread,
Apr 6, 2015, 4:03:58 PM4/6/15
to elixir-l...@googlegroups.com
I'll downgrade Erlang as suggested elsewhere on here to 17.4.

Thank you, Jose!

--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-core/qTDDpfM3QlU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4JWnSsNif6A9r8hihx6vq9aF34ATNGLmt8UyUOdOSRXbA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages