taylor / kiex

Elixir version manager
http://taylor.github.io/kiex/
MIT License
782 stars 66 forks source link

Problem to install version 1.4.2 #66

Open allanmongej opened 7 years ago

allanmongej commented 7 years ago

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

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 commented 7 years ago

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 commented 6 years ago

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

I'm seeing this installing 1.6.5