asdf-elixir icon indicating copy to clipboard operation
asdf-elixir copied to clipboard

Unable to install from source due to :enotsup error in the test with `:io.get_password` call.

Open Eiji7 opened this issue 6 months ago • 0 comments

$ asdf install elixir ref:main
(…)
  1) test I/O protocol with get password (ExUnit.CaptureIOTest)
     test/ex_unit/capture_io_test.exs:183
     Assertion with == failed
     code:  assert :io.get_password() == :eof
     left:  {:error, :enotsup}
     right: :eof
     stacktrace:
       (ex_unit 1.19.0-dev) lib/ex_unit/capture_io.ex:319: ExUnit.CaptureIO.do_capture_gl/2
       (ex_unit 1.19.0-dev) lib/ex_unit/capture_io.ex:277: ExUnit.CaptureIO.do_with_io/3
       (ex_unit 1.19.0-dev) lib/ex_unit/capture_io.ex:146: ExUnit.CaptureIO.capture_io/1
       test/ex_unit/capture_io_test.exs:184: (test)
(…)

I'm unable to reproduce it no matter how much I tried to run those tests by hand. In my last try I even used a simple go file that calls an sh file that calls make clean test … in a sub-shell and even this works. I don't know … maybe it's some asdf implementation specific issue, but it fails every time I try to call asdf install elixir ref:main.

More information in: elixir-lang/elixir#14148

Eiji7 avatar May 21 '25 15:05 Eiji7