Fails to compile on 0.13.2
Closed this issue · 12 comments
I get the following error:
== Compilation error on file lib/amrita/formatter/documentation.ex ==
** (CompileError) lib/amrita/formatter/documentation.ex:10: cannot import ExUnit.Formatter.format_test_failure/6 because it doesn't exist
(elixir) src/elixir_import.erl:58: :elixir_import.calculate/6
(elixir) src/elixir_import.erl:20: :elixir_import.import/4
(elixir) src/elixir_exp.erl:122: :elixir_exp.expand/2
(stdlib) lists.erl:1352: :lists.mapfoldl/3
(stdlib) lists.erl:1353: :lists.mapfoldl/3
(elixir) src/elixir_exp.erl:49: :elixir_exp.expand/2
(elixir) src/elixir.erl:188: :elixir.quoted_to_erl/3
(elixir) src/elixir.erl:157: :elixir.erl_eval/2
could not compile dependency amrita, mix compile failed. You can recompile this dependency with mix deps.compile amrita
or update it with mix deps.update amrita
Thanks for the error report. I'll take a look but I'm not overly keen on supporting Elixir development releases since they are moving targets.
I suppose that’s ok, although the maintainer of another of my dependencies has the opposite approach. He has asked me to move to the development release since his package does not compile on 0.13.1. I’ve back ported the elixir feature that breaks the other package and I’m back up and running on 0.13.1.
On May 7, 2014, at 5:13 AM, Joseph Wilk notifications@github.com wrote:
Thanks for the error report. I'll take a look but I'm not overly keen on supporting Elixir development releases since they are moving targets.
—
Reply to this email directly or view it on GitHub.
Still does not compile on released 0.13.2
Compiled lib/amrita.ex
== Compilation error on file lib/amrita/formatter/format.ex ==
** (ArgumentError) cannot access module ExUnit.Test because it is not a record
(elixir) expanding macro: Kernel.access/2
lib/amrita/formatter/format.ex:9: Amrita.Formatter.Format.format_test_pending/3
(elixir) src/elixir.erl:157: :elixir.erl_eval/2
(elixir) src/elixir.erl:150: :elixir.eval_forms/4
(elixir) src/elixir_lexical.erl:17: :elixir_lexical.run/2
(elixir) lib/kernel/parallel_compiler.ex:91: anonymous fn/3 in Kernel.ParallelCompiler.spawn_compilers/8
Any timeline for 0.13.2 support?
I've started a first stab at 0.13.2 support: https://github.com/josephwilk/amrita/tree/0.13.2
Most where simple changes around Records syntax.
There are some problems let with the runner that still need looking at.
Unlikely to happen this week, unless you want to have a try yourself and solve the problem. Pull requests always welcome!
Thanks,
I may have some time later in the week to take a look.
Steve
On May 13, 2014, at 2:39 PM, Joseph Wilk notifications@github.com wrote:
I've started a first stab at 0.13.2 support: https://github.com/josephwilk/amrita/tree/0.13.2
Most where simple changes around Records syntax.
There are some problems let with the runner that still need looking at.Unlikely to happen this week, unless you want to have a try yourself and solve the problem.
Thanks,
—
Reply to this email directly or view it on GitHub.
Any progress on 0.13.2 support?
nope, hopefully will get a chance next week to take another stab.
I have the tests running now. I'm working on an issue formatting errors. I'll submit a pull request when I have it all working...
Fantastic, thanks!
Down to 6 failing tests.
Support for 1.0 in master now. Closing this issue