Subject: [bug#32171] Update: Erlang and Elixir

From: [email-masked] (Ludovic Courtès)
Date: Mon, 16 Jul 2018 17:16:29 +0200

Hello Nils,

Nils Gillmann <[email-masked]> skribis:

> These 3 patches update Erlang and Elixir to the latest versions.

Thanks for the patches.  Erlang builds fine but Elixir’s tests fail
for me:

--8<---------------cut here---------------start------------->8---
starting phase `check'
==> elixir (compile)
==> elixir (eunit)
  All 199 tests passed.

==> elixir (exunit)
Excluding tags: [windows: true]

.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

  1) test case with empty clause (Code.Formatter.IntegrationTest)
     test/elixir/code_formatter/integration_test.exs:312
     ** (RuntimeError) IO device registered at :standard_error is already captured
     code: ExUnit.CaptureIO.capture_io(:stderr, fn ->
     stacktrace:
       (ex_unit) lib/ex_unit/capture_io.ex:144: ExUnit.CaptureIO.do_capture_io/3
       test/elixir/code_formatter/integration_test.exs:313: (test)

...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................warning: Module.add_doc/6 is deprecated, use @doc instead
  test/elixir/kernel/docs_test.exs:182

..........................................

Finished in 27.5 seconds (11.2s on load, 16.3s on tests)
1367 doctests, 2893 tests, 1 failure, 7 skipped

Randomized with seed 36445
make: *** [Makefile:216: test_stdlib] Error 1

Test suite failed, dumping logs.
Backtrace:
           4 (primitive-load "/gnu/store/h4yzwydlq6jny17vmmyqqh319yn?")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
    640:9  2 (for-each #<procedure adde60 at /gnu/store/f95ghy8mx00?> ?)
In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-build-system.scm:
   799:31  1 (_ _)
    369:6  0 (check #:target _ #:make-flags _ #:tests? _ # _ # _ # _)

/gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-build-system.scm:369:6: In procedure check:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("test" "-j" "24" "PREFIX=/gnu/store/7jshqipclwq4x3nxb735pfhpmnrjyy38-elixir-1.6.6") exit-status: 2 term-signal: #f stop-signal: #f] ae4b40>)'.
builder for `/gnu/store/4yfcqji3szbbgrihgrax5wzidzigacjm-elixir-1.6.6.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---

Any ideas?

Thanks,
Ludo’.