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

Problem to install version 1.4.2 #66

Open
allanmongej opened this issue Mar 27, 2017 · 2 comments
Open

Problem to install version 1.4.2 #66

allanmongej opened this issue Mar 27, 2017 · 2 comments

Comments

@allanmongej
Copy link

I receive the error below when I try to install version 1.4.2, any other version even 1.4.1 works fine

kiex install 1.4.2
Downloading elixir version 1.4.2
Installing elixir version 1.4.2
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
warning: refname 'v1.4.2' is ambiguous.
fatal: A branch named 'v1.4.2' already exists.
warning: refname 'v1.4.2' is ambiguous.
Switched to branch 'v1.4.2'
From https://github.com/elixir-lang/elixir

  • tag v1.4.2 -> FETCH_HEAD
    Already up-to-date.
    cd lib/elixir && "/home/ubuntu/.kiex/builds/elixir-git/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]: Entering directory /home/ubuntu/.kiex/builds/elixir-git' rm -f man/elixir.1 rm -f man/iex.1 make[1]: Leaving directory /home/ubuntu/.kiex/builds/elixir-git'
    ==> elixir (compile)
    Compiled src/elixir_parser.yrl
    Compiled src/elixir_lexical.erl
    Compiled src/elixir_fn.erl
    Compiled src/elixir_translator.erl
    Compiled src/elixir_def_defaults.erl
    Compiled src/elixir_aliases.erl
    Compiled src/elixir_config.erl
    Compiled src/elixir_map.erl
    Compiled src/elixir_bootstrap.erl
    Compiled src/elixir_with.erl
    Compiled src/elixir_utils.erl
    Compiled src/elixir_errors.erl
    Compiled src/elixir_exp.erl
    Compiled src/elixir_rewrite.erl
    Compiled src/elixir_module.erl
    Compiled src/elixir_quote.erl
    Compiled src/elixir_sup.erl
    Compiled src/elixir_env.erl
    Compiled src/elixir.erl
    Compiled src/elixir_def_overridable.erl
    Compiled src/elixir_dispatch.erl
    Compiled src/elixir_scope.erl
    Compiled src/elixir_for.erl
    Compiled src/elixir_locals.erl
    Compiled src/elixir_compiler.erl
    Compiled src/elixir_exp_clauses.erl
    Compiled src/elixir_import.erl
    Compiled src/elixir_try.erl
    Compiled src/elixir_interpolation.erl
    Compiled src/elixir_code_server.erl
    Compiled src/elixir_clauses.erl
    Compiled src/elixir_def.erl
    Compiled src/elixir_bitstring.erl
    Compiled src/elixir_tokenizer.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
    warning: module attribute @TypeDoc was set but no type follows it
    /home/ubuntu/.kiex/builds/elixir-git/lib/elixir/lib/macro.ex:58

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
warning: Elixir.Dict.update/4 is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
/home/ubuntu/.kiex/builds/elixir-git/lib/elixir/lib/enum.ex:1049

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)
warning: behaviour String.Chars is undefined
lib/calendar.ex:428

warning: behaviour Inspect is undefined
lib/calendar.ex:434

warning: Dict.update/4 is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
lib/enum.ex:1049

warning: use Dict is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
lib/hash_dict.ex:10

warning: the Dict module is deprecated
lib/hash_dict.ex:10

warning: HashDict.reduce/3 is deprecated, use maps and the Map module instead
lib/hash_dict.ex:223

warning: HashDict.fetch/2 is deprecated, use maps and the Map module instead
lib/hash_dict.ex:224

warning: HashDict.size/1 is deprecated, use maps and the Map module instead
lib/hash_dict.ex:226

warning: HashDict.put/3 is deprecated, use maps and the Map module instead
lib/hash_dict.ex:232

warning: HashDict.to_list/1 is deprecated, use maps and the Map module instead
lib/hash_dict.ex:243

warning: HashSet.reduce/3 is deprecated, use the MapSet module instead
lib/hash_set.ex:238

warning: HashSet.member?/2 is deprecated, use the MapSet module instead
lib/hash_set.ex:239

warning: HashSet.size/1 is deprecated, use the MapSet module instead
lib/hash_set.ex:240

warning: HashSet.put/2 is deprecated, use the MapSet module instead
lib/hash_set.ex:246

warning: HashSet.to_list/1 is deprecated, use the MapSet module instead
lib/hash_set.ex:257

warning: behaviour String.Chars is undefined
lib/calendar.ex:766

warning: behaviour String.Chars is undefined
lib/calendar.ex:1295

warning: behaviour String.Chars is undefined
lib/calendar.ex:1760

warning: variable "allow_nonexistent_atoms?" is unused
lib/option_parser.ex:408

warning: Dict.put/3 is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
lib/uri.ex:160

make[1]: Entering directory /home/ubuntu/.kiex/builds/elixir-git' ==> unicode (compile) Compiling unicode/unicode.ex (it's taking more than 5s) Killed make[1]: *** [lib/elixir/ebin/Elixir.String.Unicode.beam] Error 137 make[1]: Leaving directory /home/ubuntu/.kiex/builds/elixir-git'
make: *** [lib/elixir/ebin/Elixir.Kernel.beam] Error 2
==> elixir (compile)
==> eex (compile)
==> mix (compile)

== Compilation error on file lib/mix/dep/lock.ex ==
** (UndefinedFunctionError) function String.Break.split/1 is undefined (module String.Break is not available)
String.Break.split("<<<<<<< ======= >>>>>>>")
(elixir) lib/kernel.ex:4399: Kernel.split_words/2
(elixir) expanding macro: Kernel.sigil_w/2
lib/mix/dep/lock.ex:68: Mix.Dep.Lock.assert_no_merge_conflicts_in_lockfile/2
(elixir) expanding macro: Kernel.if/2
lib/mix/dep/lock.ex:68: Mix.Dep.Lock.assert_no_merge_conflicts_in_lockfile/2

make: *** [lib/mix/ebin/Elixir.Mix.beam] Error 1
Problem with Elixir build. Aborting!

@mojidabckuu
Copy link

Faced with the same issue but when you install without kiex directly to your machine using apt-get it installs without any compilation error even the same version.

@andyleclair
Copy link

I'm having this same issue. Ubuntu 16, Erlang 20.1 (installed via kerl).

I'm seeing this installing 1.6.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants