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

From: Nils Gillmann <[email-masked]>
Date: Mon, 16 Jul 2018 16:06:10 +0000

Nils Gillmann transcribed 7.4K bytes:
> Nils Gillmann transcribed 7.2K bytes:
> > Ludovic Courtès transcribed 6.3K bytes:
> > > 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?
> > 
> > Must be non-reproducible, since I had it compile here (x86_64)
> > successful. If you want to dissect it, I can publish my build. I don't
> > have any time until August 1st, debugging applications is less
> > important (but more fun) than preparing for first round of this
> > semester exams ;)
> > 
> > Ah... I also adjusted some more changes in erlang and elixir on my end, but the
> > result (build using pre-inst-env) had the same sum as those I build in my
> > collection. All I did was adjusting some deprecation warnings, using invoke, etc.
> > 
> 
> Eh, on second looks: I think I encountered and fixed this. I'll reply later.
> 
> > > Thanks,
> > > Ludo’.
> > > 
> > > 
> > > 

Okay, before I leave I've --check build the package again, at most
built with make -j4... Can you try and build it with less cores?

My result:

starting phase `check'
==> elixir (compile)
==> elixir (eunit)
  All 199 tests passed.

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

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

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

Finished in 29.2 seconds (15.2s on load, 13.9s on tests)
1367 doctests, 2893 tests, 0 failures, 7 skipped

Randomized with seed 432531
==> ex_unit (exunit)
................................................................................................................................................................................................................................................................

Finished in 2.7 seconds (1.1s on load, 1.6s on tests)
34 doctests, 222 tests, 0 failures

Randomized with seed 781803
==> logger (exunit)
Excluding tags: [:error_logger]

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

Finished in 0.9 seconds (0.5s on load, 0.4s on tests)
1 doctest, 116 tests, 0 failures, 9 skipped

Randomized with seed 249349
==> mix (exunit)
Excluding tags: [windows: true]

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

Finished in 64.6 seconds (3.6s on load, 60.9s on tests)
8 doctests, 476 tests, 0 failures

Randomized with seed 618247
==> eex (exunit)
...................................................................................

Finished in 0.3 seconds (0.3s on load, 0.03s on tests)
5 doctests, 78 tests, 0 failures

Randomized with seed 173745
==> iex (exunit)
....................................................................................
16:02:45.471 [error] Can't load module ':lists' that resides in sticky dir

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

Finished in 4.7 seconds (1.0s on load, 3.6s on tests)
198 tests, 0 failures

Randomized with seed 574470
phase `check' succeeded after 107.6 seconds
starting phase `install'
==> elixir (compile)
==> elixir (install)
make install_man
make[1]: Entering directory '/tmp/guix-build-elixir-1.6.6.drv-0/elixir-1.6.6'
make clean_man
make[2]: Entering directory '/tmp/guix-build-elixir-1.6.6.drv-0/elixir-1.6.6'
rm -f man/elixir.1
rm -f man/elixir.1.bak
rm -f man/iex.1
rm -f man/iex.1.bak
make[2]: Leaving directory '/tmp/guix-build-elixir-1.6.6.drv-0/elixir-1.6.6'
make[1]: Leaving directory '/tmp/guix-build-elixir-1.6.6.drv-0/elixir-1.6.6'
phase `install' succeeded after 1.1 seconds
starting phase `patch-shebangs'
phase `patch-shebangs' succeeded after 0.0 seconds
starting phase `strip'
stripping binaries in "/gnu/store/7jshqipclwq4x3nxb735pfhpmnrjyy38-elixir-1.6.6/lib" with "strip" and flags ("--strip-debug" "--enable-deterministic-archives")
stripping binaries in "/gnu/store/7jshqipclwq4x3nxb735pfhpmnrjyy38-elixir-1.6.6/bin" with "strip" and flags ("--strip-debug" "--enable-deterministic-archives")
phase `strip' succeeded after 0.0 seconds
starting phase `validate-runpath'
validating RUNPATH of 0 binaries in "/gnu/store/7jshqipclwq4x3nxb735pfhpmnrjyy38-elixir-1.6.6/lib"...
validating RUNPATH of 0 binaries in "/gnu/store/7jshqipclwq4x3nxb735pfhpmnrjyy38-elixir-1.6.6/bin"...
phase `validate-runpath' succeeded after 0.0 seconds
starting phase `validate-documentation-location'
phase `validate-documentation-location' succeeded after 0.0 seconds
starting phase `delete-info-dir-file'
phase `delete-info-dir-file' succeeded after 0.0 seconds
starting phase `patch-dot-desktop-files'
phase `patch-dot-desktop-files' succeeded after 0.0 seconds
starting phase `install-license-files'
installing 1 license files
phase `install-license-files' succeeded after 0.0 seconds
starting phase `reset-gzip-timestamps'
phase `reset-gzip-timestamps' succeeded after 0.0 seconds
starting phase `compress-documentation'
compressing documentation in '/gnu/store/7jshqipclwq4x3nxb735pfhpmnrjyy38-elixir-1.6.6/share/man' with "gzip" and flags ("--best" "--no-name")
phase `compress-documentation' succeeded after 0.0 seconds
guix build: error: build failed: derivation `/gnu/store/57394p4p5l928711hzj4xg7mkcg1zmz0-elixir-1.6.6.drv' may not be deterministic: output `/gnu/store/7jshqipclwq4x3nxb735pfhpmnrjyy38-elixir-1.6.6' differs