jsm
Can't install elixir 1.9.x using asdf (test failure)
I have this issue on my laptop (Ubuntu 20.04) where I cannot install the source versions of elixir 1.9.x using asdf. Both 1.10.x and 1.11.x work fine. I have tried it with a fresh install of erlang 21.3.8.18 and 22.3.4.9, neither work.
I get the following:
juul@juulsxps:~$ asdf global erlang 22.3.4.9
juul@juulsxps:~$ asdf reshim
juul@juulsxps:~$ asdf install elixir ref:v1.9.4
==> Checking whether specified Elixir reference exists...
==> Downloading v1.9.4 to /tmp/elixir_build_DQwy2D/elixir-ref-v1.9.4-src.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 126 100 126 0 0 1166 0 --:--:-- --:--:-- --:--:-- 1166
100 2197k 0 2197k 0 0 2888k 0 --:--:-- --:--:-- --:--:-- 9098k
==> Making the release
rm -rf ebin
rm -rf lib/*/ebin
rm -rf lib/elixir/src/elixir_parser.erl
make[1]: Entering directory '/home/juul/.asdf/installs/elixir/ref-v1.9.4'
rm -rf lib/*/_build/
rm -rf lib/*/tmp/
rm -rf lib/elixir/test/ebin/
rm -rf lib/mix/test/fixtures/deps_on_git_repo/
rm -rf lib/mix/test/fixtures/git_rebar/
rm -rf lib/mix/test/fixtures/git_repo/
rm -rf lib/mix/test/fixtures/git_sparse_repo/
rm -f erl_crash.dump
make[2]: Entering directory '/home/juul/.asdf/installs/elixir/ref-v1.9.4'
rm -f man/elixir.1
rm -f man/elixir.1.bak
rm -f man/iex.1
rm -f man/iex.1.bak
make[2]: Leaving directory '/home/juul/.asdf/installs/elixir/ref-v1.9.4'
make[1]: Leaving directory '/home/juul/.asdf/installs/elixir/ref-v1.9.4'
Recompile: src/elixir_utils
Recompile: src/elixir_tokenizer
Recompile: src/elixir_sup
Recompile: src/elixir_rewrite
Recompile: src/elixir_quote
Recompile: src/elixir_parser
Recompile: src/elixir_overridable
Recompile: src/elixir_module
Recompile: src/elixir_map
Recompile: src/elixir_locals
Recompile: src/elixir_lexical
Recompile: src/elixir_interpolation
Recompile: src/elixir_import
Recompile: src/elixir_fn
Recompile: src/elixir_expand
Recompile: src/elixir_errors
Recompile: src/elixir_erl_var
Recompile: src/elixir_erl_try
Recompile: src/elixir_erl_pass
Recompile: src/elixir_erl_for
Recompile: src/elixir_erl_compiler
Recompile: src/elixir_erl_clauses
Recompile: src/elixir_erl
Recompile: src/elixir_env
Recompile: src/elixir_dispatch
Recompile: src/elixir_def
Recompile: src/elixir_config
Recompile: src/elixir_compiler
Recompile: src/elixir_code_server
Recompile: src/elixir_clauses
Recompile: src/elixir_bootstrap
Recompile: src/elixir_bitstring
Recompile: src/elixir_aliases
Recompile: src/elixir
Generated elixir.app
==> 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/code/identifier.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/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/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)
make[1]: Entering directory '/home/juul/.asdf/installs/elixir/ref-v1.9.4'
==> unicode (compile)
make[1]: Leaving directory '/home/juul/.asdf/installs/elixir/ref-v1.9.4'
make[1]: Entering directory '/home/juul/.asdf/installs/elixir/ref-v1.9.4'
Generated elixir.app
make[1]: Leaving directory '/home/juul/.asdf/installs/elixir/ref-v1.9.4'
==> eex (compile)
==> mix (compile)
Generated mix app
==> ex_unit (compile)
Generated ex_unit app
==> logger (compile)
Generated logger app
Generated eex app
==> iex (compile)
Generated iex app
bin/elixir bin/mix format --check-formatted
==> elixir (eunit)
All 208 tests passed.
==> elixir (ex_unit)
warning: this expression will fail with ArgumentError
(for doctest at) lib/record.ex:153
Excluding tags: [windows: true]
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
1) test escape (RegexTest)
test/elixir/regex_test.exs:303
** (ArgumentError) argument error
code: refute matches_escaped?("\\xff", "\xff")
stacktrace:
(stdlib) :re.run(<<255>>, {:re_pattern, 0, 1, 1, <<69, 82, 67, 80, 79, 0, 0, 0, 15, 8, 80, 32, 209, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 92, 0, 102, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...>>}, [capture: :none])
(elixir) lib/regex.ex:469: Regex.safe_run/3
(elixir) lib/regex.ex:269: Regex.match?/2
test/elixir/regex_test.exs:313: (test)
............................................................
2) test Unicode (RegexTest)
test/elixir/regex_test.exs:86
** (ArgumentError) argument error
code: refute <<?<, 255, ?>>> =~ ~r/<.>/u
stacktrace:
(stdlib) :re.run(<<60, 255, 62>>, {:re_pattern, 0, 1, 0, <<69, 82, 67, 80, 76, 0, 0, 0, 0, 8, 0, 32, 81, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 60, 0, 62, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...>>}, [capture: :none])
(elixir) lib/regex.ex:469: Regex.safe_run/3
(elixir) lib/regex.ex:269: Regex.match?/2
test/elixir/regex_test.exs:95: (test)
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 16.6 seconds (6.9s on load, 9.7s on tests)
1492 doctests, 3223 tests, 2 failures, 7 excluded
Randomized with seed 621288
make: *** [Makefile:269: test_stdlib] Error 1
Seems 1.8.x doesn’t work either. Does anybody have a clue what could be the problem? This used to work fine on the same machine, by the way, I’m not sure when it started to break.
Popular in Questions
In Ruby, I can go:
User.find_by(email: "foobar@email.com").update(email: "hello@email.com")
How can I do something similar in Elixir? ...
New
Good day to you all.
I have been struggling to get a query involving like and ilike to work.
Can anyone assist me on this, please?
pro...
New
I have an umbrella app.
Some of the apps inside depend on other apps in the umbrella, unsurprisingly.
I'm writing a test for one of t...
New
Student & New to elixir. Nice language.
I want to convert a english character, e.g. “a”, which is stored in a variable, to it’s asci...
New
Hey guys.
I'm new to elixir and im really stocked about it. But I ran into a bit of problem - I need to convert a date sting, for examp...
New
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible.
total = 10
while total != 0
...
New
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
Other popular topics
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
can someone please explain to me how Enum.reduce works with maps
New
What is the idiomatic way of matching for not nil in Elixir?
E.g.,
First way:
defp halt_if_not_signed_in(conn, signed_in_account) when...
New
Hi all,
Trying to get some more clarity over utc_datetime and naive_datetime for Ecto:
https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
I have a User schema with a :from_id field set to type :string:
defmodule TweetBot.Repo.Migrations.CreateUsers do
use Ecto.Migration
...
New
Hello everybody,
usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
Hi all,
I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage.
I'm trying to use Postg...
New
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New








