You are not logged in.

#1 2017-05-13 16:45:39

Codesteak
Member
From: Germany
Registered: 2017-05-12
Posts: 4

[Solved] Elixir-1.4.2-1 not compatible with Erlang-20.0rc-1?

Hi,

i updated erlang, now I have issues with elixir. For example:

elixir --version

crashes with

Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]

{"init terminating in do_boot",{{badmatch,error},[{'Elixir.System',build,0,[{file,"lib/system.ex"},{line,177}]},{'Elixir.System',build_info,0,[{file,"lib/system.ex"},{line,169}]},{'Elixir.Kernel.CLI',parse_shared,2,[{file,"lib/kernel/cli.ex"},{line,153}]},{'Elixir.Kernel.CLI','shared_option?',3,[{file,"lib/kernel/cli.ex"},{line,113}]},{'Elixir.Kernel.CLI',main,1,[{file,"lib/kernel/cli.ex"},{line,14}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({{badmatch,error},[{Elixir.System,build,0,[{_},{_}]},{Elixir.System,build_info,0,[{_},{_}]},{Elixir.Kernel.CLI,parse_shared,2,[{_},{_}]},{Elixir.Kernel.CLI,shared_option?,

Crash dump is being written to: erl_crash.dump...done

Downgrading to Erlang-19.3-3 works.

Is any one else experiencing these issues?

Edit:
erl_crash.dump

Last edited by Codesteak (2017-05-14 21:30:33)

Offline

#2 2017-05-13 20:02:39

returntrip
Member
From: Sweden
Registered: 2017-05-13
Posts: 12

Re: [Solved] Elixir-1.4.2-1 not compatible with Erlang-20.0rc-1?

I have the same issue. And downgrading to erlang-nox 19.3 helped.

Offline

#3 2017-05-13 20:10:12

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: [Solved] Elixir-1.4.2-1 not compatible with Erlang-20.0rc-1?

Could one (or both!) of you try downloading the PKGBUILD for elixir (e.g. using asp) and try rebuilding it? If it works following a rebuild, then let the maintainer know that they need to rebuild the official package by filing a bug report.

asp export elixir

should download the PKGBUILD.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2017-05-13 20:45:27

returntrip
Member
From: Sweden
Registered: 2017-05-13
Posts: 12

Re: [Solved] Elixir-1.4.2-1 not compatible with Erlang-20.0rc-1?

Post #5 has the correct instructions

I have followed your instructions:

asp export elixir
makepkg
makepkg -i elixir-1.4.2.tar.gz

but unfortunately the issue persists:

elixir --version
Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:10] [hipe] [kernel-poll:false]

{"init terminating in do_boot",{{badmatch,error},[{'Elixir.System',build,0,[{file,"lib/system.ex"},{line,177}]},{'Elixir.System',build_info,0,[{file,"lib/system.ex"},{line,169}]},{'Elixir.Kernel.CLI',parse_shared,2,[{file,"lib/kernel/cli.ex"},{line,153}]},{'Elixir.Kernel.CLI','shared_option?',3,[{file,"lib/kernel/cli.ex"},{line,113}]},{'Elixir.Kernel.CLI',main,1,[{file,"lib/kernel/cli.ex"},{line,14}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({{badmatch,error},[{Elixir.System,build,0,[{_},{_}]},{Elixir.System,build_info,0,[{_},{_}]},{Elixir.Kernel.CLI,parse_shared,2,[{_},{_}]},{Elixir.Kernel.CLI,shared_option?,

Crash dump is being written to: erl_crash.dump...done

Last edited by returntrip (2017-05-13 21:47:09)

Offline

#5 2017-05-13 21:09:44

Codesteak
Member
From: Germany
Registered: 2017-05-12
Posts: 4

Re: [Solved] Elixir-1.4.2-1 not compatible with Erlang-20.0rc-1?

In my case it worked

asp export elixir
cd elixir/
makepkg
sudo pacman -U elixir-1.4.2-1-any.pkg.tar.xz

and

elixir --version

prints the version

Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]

Elixir 1.4.2

Could this be because returntrip is using erlang-nox? (I'm using erlang without "-nox")

returntrip wrote:

makepkg -i elixir-1.4.2.tar.gz

Looks like that was the wrong tar.gz big_smile

Last edited by Codesteak (2017-05-13 21:14:54)

Offline

#6 2017-05-13 21:22:18

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: [Solved] Elixir-1.4.2-1 not compatible with Erlang-20.0rc-1?

returntrip, I'm not sure if you transcribed your proceedure badly, or if you just didn't understand the build process, but I don't think you built and installed a package. Could you try again? Codestreak's first codeblock is the verbatim procedure you should follow.

Codestreak, could you open a bug report and report your findings in it (i.e. rebuilding fixes it)?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2017-05-13 21:31:59

returntrip
Member
From: Sweden
Registered: 2017-05-13
Posts: 12

Re: [Solved] Elixir-1.4.2-1 not compatible with Erlang-20.0rc-1?

@CodeStreak

Thanks for pointing out my mistake. I have now reinstalled the correct package with:

makepkg -i elixir-1.4.2-1-any.pkg.tar

All seems working now. Will you file a bug or should I do that tomorrow?

Offline

#8 2017-05-13 21:34:31

Codesteak
Member
From: Germany
Registered: 2017-05-12
Posts: 4

Re: [Solved] Elixir-1.4.2-1 not compatible with Erlang-20.0rc-1?

I filed a bug report under https://bugs.archlinux.org/task/54033 smile

Offline

#9 2017-05-13 21:36:54

returntrip
Member
From: Sweden
Registered: 2017-05-13
Posts: 12

Re: [Solved] Elixir-1.4.2-1 not compatible with Erlang-20.0rc-1?

I picked the wrong file. First time ever rebuilding a package. Still I am not sure why my file does not have .xz compression applied. Not that it matters for the end result, but here to learn.

WorMzy wrote:

returntrip, I'm not sure if you transcribed your proceedure badly, or if you just didn't understand the build process, but I don't think you built and installed a package. Could you try again? Codestreak's first codeblock is the verbatim procedure you should follow.

Codestreak, could you open a bug report and report your findings in it (i.e. rebuilding fixes it)?

Offline

#10 2017-05-13 21:37:25

returntrip
Member
From: Sweden
Registered: 2017-05-13
Posts: 12

Re: [Solved] Elixir-1.4.2-1 not compatible with Erlang-20.0rc-1?

Thanks sir.

Codesteak wrote:

I filed a bug report under https://bugs.archlinux.org/task/54033 smile

Offline

#11 2017-05-13 21:58:56

Codesteak
Member
From: Germany
Registered: 2017-05-12
Posts: 4

Re: [Solved] Elixir-1.4.2-1 not compatible with Erlang-20.0rc-1?

Actually tabcomplete saved me by letting me choose big_smile. The uncompressed pureness of your tar could be caused by your `/etc/makepkg.conf`, but I am no build expert and also here to learn. smile

returntrip wrote:

I picked the wrong file. First time ever rebuilding a package. Still I am not sure why my file does not have .xz compression applied. Not that it matters for the end result, but here to learn.

WorMzy wrote:

returntrip, I'm not sure if you transcribed your proceedure badly, or if you just didn't understand the build process, but I don't think you built and installed a package. Could you try again? Codestreak's first codeblock is the verbatim procedure you should follow.

Codestreak, could you open a bug report and report your findings in it (i.e. rebuilding fixes it)?

Offline

#12 2017-05-13 22:01:43

returntrip
Member
From: Sweden
Registered: 2017-05-13
Posts: 12

Re: [Solved] Elixir-1.4.2-1 not compatible with Erlang-20.0rc-1?

The important thing is that your hawk eye caught my mistake smile

Codesteak wrote:

Actually tabcomplete saved me by letting me choose big_smile. The uncompressed pureness of your tar could be caused by your `/etc/makepkg.conf`, but I am no build expert and also here to learn. smile

returntrip wrote:

I picked the wrong file. First time ever rebuilding a package. Still I am not sure why my file does not have .xz compression applied. Not that it matters for the end result, but here to learn.

WorMzy wrote:

returntrip, I'm not sure if you transcribed your proceedure badly, or if you just didn't understand the build process, but I don't think you built and installed a package. Could you try again? Codestreak's first codeblock is the verbatim procedure you should follow.

Codestreak, could you open a bug report and report your findings in it (i.e. rebuilding fixes it)?

Offline

#13 2017-05-14 17:33:05

chris.r
Member
Registered: 2017-05-14
Posts: 2

Re: [Solved] Elixir-1.4.2-1 not compatible with Erlang-20.0rc-1?

I had the same issue on Manjaro and a downgrade attempt kicked up dependency issues with procps and libc6.  All resolved without issue after I installed: lib32-ncurses5-compat-libs  6.0-4

Offline

Board footer

Powered by FluxBB