Hello,
I tried to install Elixir with :
$ git clone https://github.com/elixir-lang/elixir.git $ cd elixir $ make clean test
But i have this error make: *** [test_stdlib] Erreur 1
I have installed Erlang from source on http://www.erlang.org/downloads (18.3).
maybe elixir don’t work with erlang 18.3 ?
jeremy@jeremy ~/Téléchargements $ git clone https://github.com/elixir-lang/elixir.git
jeremy@jeremy ~/Téléchargements $ cd elixir
jeremy@jeremy ~/Téléchargements/elixir $ sudo make clean test
cd lib/elixir && “/home/jeremy/Téléchargements/elixir/rebar” clean
==> elixir (clean)
rm -rf ebin
rm -rf lib//ebin
rm -rf lib/elixir/test/ebin
rm -rf lib//tmp
rm -rf lib/mix/test/fixtures/git_repo
rm -rf lib/mix/test/fixtures/deps_on_git_repo
rm -rf lib/mix/test/fixtures/git_rebar
rm -rf lib/elixir/src/elixir.app.src
make clean_man
make[1]: entrant dans le répertoire « /home/jeremy/Téléchargements/elixir »
rm -f man/elixir.1
rm -f man/iex.1
make[1]: quittant le répertoire « /home/jeremy/Téléchargements/elixir »
==> elixir (compile)
Compiled src/elixir_parser.yrl
Compiled src/elixir_lexical.erl
Compiled src/elixir_env.erl
Compiled src/elixir_exp.erl
Compiled src/elixir_scope.erl
Compiled src/elixir_dispatch.erl
Compiled src/elixir_quote.erl
Compiled src/elixir_map.erl
Compiled src/elixir_for.erl
Compiled src/elixir_config.erl
Compiled src/elixir_sup.erl
Compiled src/elixir_import.erl
Compiled src/elixir_fn.erl
Compiled src/elixir_try.erl
Compiled src/elixir_translator.erl
Compiled src/elixir_compiler.erl
Compiled src/elixir_def_defaults.erl
Compiled src/elixir_module.erl
Compiled src/elixir_bootstrap.erl
Compiled src/elixir_aliases.erl
Compiled src/elixir_bitstring.erl
Compiled src/elixir_locals.erl
Compiled src/elixir_tokenizer.erl
Compiled src/elixir.erl
Compiled src/elixir_clauses.erl
Compiled src/elixir_def.erl
Compiled src/elixir_counter.erl
Compiled src/elixir_def_overridable.erl
Compiled src/elixir_with.erl
Compiled src/elixir_rewrite.erl
Compiled src/elixir_code_server.erl
Compiled src/elixir_exp_clauses.erl
Compiled src/elixir_errors.erl
Compiled src/elixir_interpolation.erl
Compiled src/elixir_utils.erl
Compiled src/elixir_parser.erl
==> bootstrap (compile)
Compiled lib/elixir/lib/kernel.ex
Compiled lib/elixir/lib/macro/env.ex
Compiled lib/elixir/lib/keyword.ex
Compiled lib/elixir/lib/module.ex
Compiled lib/elixir/lib/list.ex
Compiled lib/elixir/lib/macro.ex
Compiled lib/elixir/lib/code.ex
Compiled lib/elixir/lib/module/locals_tracker.ex
Compiled lib/elixir/lib/kernel/typespec.ex
Compiled lib/elixir/lib/kernel/utils.ex
Compiled lib/elixir/lib/behaviour.ex
Compiled lib/elixir/lib/exception.ex
Compiled lib/elixir/lib/protocol.ex
Compiled lib/elixir/lib/stream/reducers.ex
Compiled lib/elixir/lib/enum.ex
Compiled lib/elixir/lib/inspect/algebra.ex
Compiled lib/elixir/lib/inspect.ex
Compiled lib/elixir/lib/range.ex
Compiled lib/elixir/lib/regex.ex
Compiled lib/elixir/lib/string.ex
Compiled lib/elixir/lib/string/chars.ex
Compiled lib/elixir/lib/io.ex
Compiled lib/elixir/lib/path.ex
Compiled lib/elixir/lib/file.ex
Compiled lib/elixir/lib/system.ex
Compiled lib/elixir/lib/kernel/cli.ex
Compiled lib/elixir/lib/kernel/error_handler.ex
Compiled lib/elixir/lib/kernel/parallel_compiler.ex
Compiled lib/elixir/lib/kernel/lexical_tracker.ex
==> elixir (compile)
Compiled lib/kernel.ex
Compiled lib/atom.ex
Compiled lib/agent.ex
Compiled lib/access.ex
Compiled lib/application.ex
Compiled lib/behaviour.ex
Compiled lib/bitwise.ex
Compiled lib/calendar/iso.ex
Compiled lib/code.ex
Compiled lib/dict.ex
Compiled lib/collectable.ex
Compiled lib/file.ex
Compiled lib/float.ex
Compiled lib/gen_server.ex
Compiled lib/agent/server.ex
lib/hash_dict.ex:8: warning: the Dict module is deprecated
Compiled lib/enum.ex
Compiled lib/exception.ex
Compiled lib/integer.ex
Compiled lib/io.ex
Compiled lib/io/ansi.ex
Compiled lib/base.ex
Compiled lib/io/ansi/docs.ex
Compiled lib/kernel/error_handler.ex
Compiled lib/inspect.ex
Compiled lib/kernel/lexical_tracker.ex
Compiled lib/kernel/parallel_require.ex
Compiled lib/kernel/cli.ex
Compiled lib/kernel/parallel_compiler.ex
Compiled lib/kernel/utils.ex
Compiled lib/kernel/special_forms.ex
Compiled lib/keyword.ex
Compiled lib/list.ex
Compiled lib/kernel/typespec.ex
Compiled lib/macro/env.ex
Compiled lib/list/chars.ex
Compiled lib/map.ex
Compiled lib/io/stream.ex
Compiled lib/kernel.ex
Compiled lib/map_set.ex
Compiled lib/hash_set.ex
Compiled lib/inspect/algebra.ex
Compiled lib/file/stream.ex
Compiled lib/macro.ex
Compiled lib/gen_event/stream.ex
Compiled lib/hash_dict.ex
Compiled lib/calendar.ex
Compiled lib/module/locals_tracker.ex
Compiled lib/node.ex
Compiled lib/port.ex
Compiled lib/option_parser.ex
Compiled lib/module.ex
Compiled lib/range.ex
Compiled lib/path.ex
Compiled lib/process.ex
Compiled lib/record/extractor.ex
Compiled lib/protocol.ex
Compiled lib/record.ex
Compiled lib/set.ex
Compiled lib/file/stat.ex
Compiled lib/stream/reducers.ex
Compiled lib/regex.ex
Compiled lib/gen_event.ex
Compiled lib/string/chars.ex
Compiled lib/string_io.ex
Compiled lib/supervisor.ex
Compiled lib/supervisor/default.ex
Compiled lib/stream.ex
Compiled lib/supervisor/spec.ex
Compiled lib/task/supervised.ex
Compiled lib/system.ex
Compiled lib/task/supervisor.ex
Compiled lib/tuple.ex
Compiled lib/task.ex
Compiled lib/string.ex
Compiled lib/uri.ex
Compiled lib/version.ex
make[1]: entrant dans le répertoire « /home/jeremy/Téléchargements/elixir »
==> unicode (compile)
Embedding the Unicode database… (this may take a while)
Compiled unicode/unicode.ex
make[1]: quittant le répertoire « /home/jeremy/Téléchargements/elixir »
==> elixir (compile)
==> eex (compile)
Compiled lib/eex/engine.ex
Compiled lib/eex/smart_engine.ex
Compiled lib/eex/compiler.ex
Compiled lib/eex.ex
Compiled lib/eex/tokenizer.ex
==> mix (compile)
Compiled lib/mix.ex
Compiled lib/mix/compilers/erlang.ex
Compiled lib/mix/cli.ex
Compiled lib/mix/compilers/elixir.ex
Compiled lib/mix/config/agent.ex
Compiled lib/mix/dep/elixir_scm.ex
Compiled lib/mix/config.ex
Compiled lib/mix/dep/lock.ex
Compiled lib/mix/dep/umbrella.ex
Compiled lib/mix/generator.ex
Compiled lib/mix/dep/converger.ex
Compiled lib/mix/hex.ex
Compiled lib/mix/dep.ex
Compiled lib/mix/local.ex
Compiled lib/mix/exceptions.ex
Compiled lib/mix/local/installer.ex
Compiled lib/mix/dep/fetcher.ex
Compiled lib/mix/public_key.ex
Compiled lib/mix/dep/loader.ex
Compiled lib/mix/project_stack.ex
Compiled lib/mix/remote_converger.ex
Compiled lib/mix/rebar.ex
Compiled lib/mix/project.ex
Compiled lib/mix/scm.ex
Compiled lib/mix/scm/path.ex
Compiled lib/mix/shell.ex
Compiled lib/mix/shell/io.ex
Compiled lib/mix/shell/process.ex
Compiled lib/mix/scm/git.ex
Compiled lib/mix/shell/quiet.ex
Compiled lib/mix/state.ex
Compiled lib/mix/tasks_server.ex
Compiled lib/mix/task.ex
Compiled lib/mix/tasks/run.ex
Compiled lib/mix/tasks/local.rebar.ex
Compiled lib/mix/tasks/profile.fprof.ex
Compiled lib/mix/tasks/test.ex
Compiled lib/mix/tasks/local.public_keys.ex
Compiled lib/mix/tasks/local.hex.ex
Compiled lib/mix/utils.ex
Compiled lib/mix/tasks/loadpaths.ex
Compiled lib/mix/tasks/local.ex
Compiled lib/mix/tasks/iex.ex
Compiled lib/mix/tasks/loadconfig.ex
Compiled lib/mix/tasks/escript.uninstall.ex
Compiled lib/mix/tasks/help.ex
Compiled lib/mix/tasks/escript.install.ex
Compiled lib/mix/tasks/escript.ex
Compiled lib/mix/tasks/do.ex
Compiled lib/mix/tasks/deps.update.ex
Compiled lib/mix/tasks/deps.tree.ex
Compiled lib/mix/tasks/escript.build.ex
Compiled lib/mix/tasks/deps.unlock.ex
Compiled lib/mix/tasks/deps.loadpaths.ex
Compiled lib/mix/tasks/deps.precompile.ex
Compiled lib/mix/tasks/deps.get.ex
Compiled lib/mix/tasks/deps.ex
Compiled lib/mix/tasks/deps.check.ex
Compiled lib/mix/tasks/deps.compile.ex
Compiled lib/mix/tasks/new.ex
Compiled lib/mix/tasks/deps.clean.ex
Compiled lib/mix/tasks/compile.yecc.ex
Compiled lib/mix/tasks/compile.protocols.ex
Compiled lib/mix/tasks/compile.leex.ex
Compiled lib/mix/tasks/compile.ex
Compiled lib/mix/tasks/compile.erlang.ex
Compiled lib/mix/tasks/compile.elixir.ex
Compiled lib/mix/tasks/cmd.ex
Compiled lib/mix/tasks/compile.all.ex
Compiled lib/mix/tasks/clean.ex
Compiled lib/mix/tasks/archive.uninstall.ex
Compiled lib/mix/tasks/compile.app.ex
Compiled lib/mix/tasks/archive.install.ex
Compiled lib/mix/tasks/archive.ex
Compiled lib/mix/tasks/archive.check.ex
Compiled lib/mix/tasks/archive.build.ex
Compiled lib/mix/tasks/app.tree.ex
Compiled lib/mix/tasks/app.start.ex
Generated mix app
==> ex_unit (compile)
Compiled lib/ex_unit/capture_io.ex
Compiled lib/ex_unit/callbacks.ex
Compiled lib/ex_unit/capture_log.ex
Compiled lib/ex_unit.ex
Compiled lib/ex_unit/case.ex
Compiled lib/ex_unit/case_template.ex
Compiled lib/ex_unit/event_manager.ex
Compiled lib/ex_unit/filters.ex
Compiled lib/ex_unit/on_exit_handler.ex
Compiled lib/ex_unit/assertions.ex
Compiled lib/ex_unit/runner_stats.ex
Compiled lib/ex_unit/formatter.ex
Compiled lib/ex_unit/server.ex
Compiled lib/ex_unit/doc_test.ex
Compiled lib/ex_unit/runner.ex
Compiled lib/ex_unit/cli_formatter.ex
Generated ex_unit app
==> logger (compile)
Compiled lib/logger/app.ex
Compiled lib/logger/backends/console.ex
Compiled lib/logger/config.ex
Compiled lib/logger.ex
Compiled lib/logger/formatter.ex
Compiled lib/logger/error_handler.ex
Compiled lib/logger/translator.ex
Compiled lib/logger/watcher.ex
Compiled lib/logger/utils.ex
Generated logger app
Generated eex app
==> iex (compile)
Compiled lib/iex/app.ex
Compiled lib/iex/cli.ex
Compiled lib/iex.ex
Compiled lib/iex/config.ex
Compiled lib/iex/autocomplete.ex
Compiled lib/iex/history.ex
Compiled lib/iex/remsh.ex
Compiled lib/iex/helpers.ex
Compiled lib/iex/introspection.ex
Compiled lib/iex/evaluator.ex
Compiled lib/iex/server.ex
Compiled lib/iex/info.ex
Generated iex app
==> elixir (eunit)
All 194 tests passed.
==> elixir (exunit)
…
- test properly parses paths (Kernel.CLI.OptionParsingTest)
test/elixir/kernel/cli_test.exs:42
** (SyntaxError) nofile:1: unexpected token: “:” (column 11, codepoint U+003A)
stacktrace:
(elixir) src/elixir.erl:177: :elixir.eval/3
(elixir) lib/code.ex:168: Code.eval_string/3
test/elixir/kernel/cli_test.exs:45
…
- test properly format errors (Kernel.CLI.ErrorTest)
test/elixir/kernel/cli_test.exs:69
Assertion with == failed
code: elixir(’-e “IO.puts(Process.flag(:trap_exit, false)); exit({:shutdown, 1})”’) == ‘false\n’
lhs: [47, 98, 105, 110, 47, 115, 104, 58, 32, 49, 58, 32, 47, 104, 111,
109, 101, 47, 106, 101, 114, 101, 109, 121, 47, 84, 195, 169, 108,
195, 169, 99, 104, 97, 114, 103, 101, 109, 101, 110, 116, 115, 47,
101, 108, 105, 120, 105, 114, 47, …]
rhs: ‘false\n’
diff: [47, 98, 105, 110, 47, 115, 104, 58, 32, 49, 58, 32, 47, 104, 111, 109, 101, 47, 106, 101, 114, 101, 109, 121, 47, 84, 195, 169, 108, 195, 169, 99, 104, 97, 114, 103, 101, 109, 101, 110, 116, 115, 47, 101, 108, 105, 120, 105, 114, 47, …]‘false\n’
stacktrace:
test/elixir/kernel/cli_test.exs:72
…
- test fails on missing patterns (Kernel.CLI.CompileTest)
test/elixir/kernel/cli_test.exs:105
expected non_existing.ex to be mentioned
stacktrace:
test/elixir/kernel/cli_test.exs:107
- test compiles code with verbose mode (Kernel.CLI.CompileTest)
test/elixir/kernel/cli_test.exs:99
Assertion with == failed
code: elixirc(String.to_char_list("#{context[:fixture]} -o #{context[:tmp_dir_path]} --verbose")) == String.to_char_list(“Compiled #{context[:fixture]}\n”)
lhs: [47, 98, 105, 110, 47, 115, 104, 58, 32, 49, 58, 32, 47, 104, 111,
109, 101, 47, 106, 101, 114, 101, 109, 121, 47, 84, 195, 169, 108,
195, 169, 99, 104, 97, 114, 103, 101, 109, 101, 110, 116, 115, 47,
101, 108, 105, 120, 105, 114, 47, …]
rhs: [67, 111, 109, 112, 105, 108, 101, 100, 32, 47, 104, 111, 109, 101,
47, 106, 101, 114, 101, 109, 121, 47, 84, 233, 108, 233, 99, 104,
97, 114, 103, 101, 109, 101, 110, 116, 115, 47, 101, 108, 105, 120,
105, 114, 47, 108, 105, 98, 47, 101, …]
diff: [467, 98111, 1059, 1102, 47, 1105, 104, 58, 32101, 49100, 58, 32, 47, 104, 111, 109, 101, 47, 106, 101, 114, 101, 109, 121, 47, 84, 195233, 169, 108, 195233, 169, 99, 104, 97, 114, 103, 101, 109, 101, 110, 116, 115, 47, 101, 108, 105, 120, 105, 114, 47, 108, 105, 98, 47, 101, …]
stacktrace:
test/elixir/kernel/cli_test.exs:100
.
- test compiles code (Kernel.CLI.CompileTest)
test/elixir/kernel/cli_test.exs:89
Assertion with == failed
code: elixirc(String.to_char_list("#{context[:fixture]} -o #{context[:tmp_dir_path]}")) == []
lhs: [47, 98, 105, 110, 47, 115, 104, 58, 32, 49, 58, 32, 47, 104, 111,
109, 101, 47, 106, 101, 114, 101, 109, 121, 47, 84, 195, 169, 108,
195, 169, 99, 104, 97, 114, 103, 101, 109, 101, 110, 116, 115, 47,
101, 108, 105, 120, 105, 114, 47, …]
rhs: []
diff: [47, 98, 105, 110, 47, 115, 104, 58, 32, 49, 58, 32, 47, 104, 111, 109, 101, 47, 106, 101, 114, 101, 109, 121, 47, 84, 195, 169, 108, 195, 169, 99, 104, 97, 114, 103, 101, 109, 101, 110, 116, 115, 47, 101, 108, 105, 120, 105, 114, 47, …]
stacktrace:
test/elixir/kernel/cli_test.exs:90
- test fails on missing write access to .beam file (Kernel.CLI.CompileTest)
test/elixir/kernel/cli_test.exs:112
Assertion with == failed
code: elixirc(compilation_args) == []
lhs: [47, 98, 105, 110, 47, 115, 104, 58, 32, 49, 58, 32, 47, 104, 111,
109, 101, 47, 106, 101, 114, 101, 109, 121, 47, 84, 195, 169, 108,
195, 169, 99, 104, 97, 114, 103, 101, 109, 101, 110, 116, 115, 47,
101, 108, 105, 120, 105, 114, 47, …]
rhs: []
diff: [47, 98, 105, 110, 47, 115, 104, 58, 32, 49, 58, 32, 47, 104, 111, 109, 101, 47, 106, 101, 114, 101, 109, 121, 47, 84, 195, 169, 108, 195, 169, 99, 104, 97, 114, 103, 101, 109, 101, 110, 116, 115, 47, 101, 108, 105, 120, 105, 114, 47, …]
stacktrace:
test/elixir/kernel/cli_test.exs:115
- test invokes at_exit callbacks (Kernel.CLI.AtExitTest)
test/elixir/kernel/cli_test.exs:60
Assertion with == failed
code: elixir(fixture_path(“at_exit.exs”) |> to_char_list) == ‘goodbye cruel world with status 1\n’
lhs: [47, 98, 105, 110, 47, 115, 104, 58, 32, 49, 58, 32, 47, 104, 111,
109, 101, 47, 106, 101, 114, 101, 109, 121, 47, 84, 195, 169, 108,
195, 169, 99, 104, 97, 114, 103, 101, 109, 101, 110, 116, 115, 47,
101, 108, 105, 120, 105, 114, 47, …]
rhs: ‘goodbye cruel world with status 1\n’
diff: [47,‘goodbye 98,cruel 105,world 110,with 47,status 115, 104, 58, 32, 49, 58, 32, 47, 104, 111, 109, 101, 47, 106, 101, 114, 101, 109, 121, 47, 84, 195, 169, 108, 195, 169, 99, 104, 97, 114, 103, 101, 109, 101, 110, 116, 115, 47, 101, 108, 105, 120, 105, 114, 47, …]\n’
stacktrace:
test/elixir/kernel/cli_test.exs:61
…???
- Kernel.DialyzerTest: failure on setup_all callback, tests invalidated
match (=) failed
code: [] = elixirc("#{fixture_path(“dialyzer”)} -o #{dir}")
rhs: [47, 98, 105, 110, 47, 115, 104, 58, 32, 49, 58, 32, 47, 104, 111,
109, 101, 47, 106, 101, 114, 101, 109, 121, 47, 84, 195, 169, 108,
195, 169, 99, 104, 97, 114, 103, 101, 109, 101, 110, 116, 115, 47,
101, 108, 105, 120, 105, 114, 47, …]
stacktrace:
test/elixir/kernel/dialyzer_test.exs:25: Kernel.DialyzerTest.__ex_unit_setup_all_0/1
test/elixir/kernel/dialyzer_test.exs:3: Kernel.DialyzerTest.ex_unit/2
…
- test argv/0 (SystemTest)
test/elixir/system_test.exs:57
** (SyntaxError) nofile:1: unexpected token: “:” (column 11, codepoint U+003A)
stacktrace:
(elixir) src/elixir.erl:177: :elixir.eval/3
(elixir) lib/code.ex:168: Code.eval_string/3
test/elixir/system_test.exs:59
…
Finished in 20.7 seconds (12.7s on load, 7.9s on tests)
2909 tests, 9 failures, 3 invalid
Randomized with seed 949322
make: *** [test_stdlib] Erreur 1
Sorry for my poor english !