unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#32171] Update: Erlang and Elixir
@ 2018-07-16 10:07 Nils Gillmann
  2018-07-16 15:16 ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Nils Gillmann @ 2018-07-16 10:07 UTC (permalink / raw)
  To: 32171


[-- Attachment #1.1: Type: text/plain, Size: 65 bytes --]

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

[-- Attachment #1.2: 0001-mailmap-Add-another-line-for-myself.patch --]
[-- Type: text/plain, Size: 910 bytes --]

From 6b142a63d4b48ee887e0f27cd2e2fc4733b7b236 Mon Sep 17 00:00:00 2001
From: Nils Gillmann <gillmann@infotropique.org>
Date: Mon, 16 Jul 2018 09:53:40 +0000
Subject: [PATCH 1/3] mailmap: Add another line for myself.

Signed-off-by: Nils Gillmann <gillmann@infotropique.org>
---
 .mailmap | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.mailmap b/.mailmap
index 4f672f327..74434a39e 100644
--- a/.mailmap
+++ b/.mailmap
@@ -43,6 +43,7 @@ Mathieu Lirzin <mthl@gnu.org> <mathieu.lirzin@openmailbox.org>
 Mathieu Othacehe <m.othacehe@gmail.com>
 Nikita Karetnikov <nikita@karetnikov.org> <nikita.karetnikov@gmail.com>
 Nils Gillmann <ng0@n0.is> ng0 <ng0@n0.is>
+Nils Gillmann <ng0@n0.is> Nils Gillmann <gillmann@infotropique.org>
 Nils Gillmann <ng0@n0.is> ng0 <ng0@crash.cx>
 Nils Gillmann <ng0@n0.is> ng0 <ng0@crash.cx>
 Nils Gillmann <ng0@n0.is> <ng0@infotropique.org>
-- 
2.18.0


[-- Attachment #1.3: 0002-gnu-erlang-Update-to-21.0.patch --]
[-- Type: text/plain, Size: 1944 bytes --]

From b7b3a3dc544e63ab21ff5c7e7746e54654f78752 Mon Sep 17 00:00:00 2001
From: Nils Gillmann <gillmann@infotropique.org>
Date: Mon, 16 Jul 2018 09:58:02 +0000
Subject: [PATCH 2/3] gnu: erlang: Update to 21.0.

* gnu/packages/erlang.scm (erlang): Update to 21.0.

Signed-off-by: Nils Gillmann <gillmann@infotropique.org>
---
 gnu/packages/erlang.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm
index 1c18efe9d..f0b2f350c 100644
--- a/gnu/packages/erlang.scm
+++ b/gnu/packages/erlang.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2016, 2017 Pjotr Prins <pjotr.guix@thebird.nl>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright (C) 2018 Nils Gillmann <ng0@n0.is>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -37,7 +38,7 @@
 (define-public erlang
   (package
     (name "erlang")
-    (version "20.2.3")
+    (version "21.0")
     (source (origin
               (method url-fetch)
               ;; The tarball from http://erlang.org/download contains many
@@ -48,7 +49,7 @@
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0s9g4ijdbqq21k4cqggz074d3fiimah942qisv2kgizhlivpw2nm"))
+                "0gv43lra4870xns8b0yjzbq78afzvz9gk6y3q3fa4y4sqcrqwbas"))
               (patches (search-patches "erlang-man-path.patch"))))
     (build-system gnu-build-system)
     (native-inputs
@@ -64,7 +65,7 @@
                                (version-major+minor version) ".tar.gz"))
            (sha256
             (base32
-             "1pyb8wbk7znsyni8d1k4dj1m01lr191dcrrzisli1z27ks7hh3lm"))))))
+             "0cgv23q0215f6lvmhj4w9skx5m29khjs9mb890635s3yp520xgqh"))))))
     (inputs
      `(("ncurses" ,ncurses)
        ("openssl" ,openssl)
-- 
2.18.0


[-- Attachment #1.4: 0003-gnu-elixir-Update-to-1.6.6.patch --]
[-- Type: text/plain, Size: 1518 bytes --]

From 872a4c6b71f702cd86d2374f9bb2e03ad09dd09b Mon Sep 17 00:00:00 2001
From: Nils Gillmann <gillmann@infotropique.org>
Date: Mon, 16 Jul 2018 09:59:32 +0000
Subject: [PATCH 3/3] gnu: elixir: Update to 1.6.6.

* gnu/packages/elixir.scm (elixir): Update to 1.6.6.

Signed-off-by: Nils Gillmann <gillmann@infotropique.org>
---
 gnu/packages/elixir.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm
index ed6bd0023..3368449b4 100644
--- a/gnu/packages/elixir.scm
+++ b/gnu/packages/elixir.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2017 nee <nee.git@cock.li>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright (C) 2018 Nils Gillmann <ng0@n0.is>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -32,7 +33,7 @@
 (define-public elixir
   (package
     (name "elixir")
-    (version "1.5.3")
+    (version "1.6.6")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://github.com/elixir-lang/elixir"
@@ -40,7 +41,7 @@
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0acnxfwvkx1m1d0h5z051mz95n35zm468hcvc3wpmn17c15h5ihg"))))
+                "0c9qz5hasa59a9x1iwpcqpqj6wdbzpijfxqfmzimwj5z8q37nl3l"))))
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"
-- 
2.18.0


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [bug#32171] Update: Erlang and Elixir
  2018-07-16 10:07 [bug#32171] Update: Erlang and Elixir Nils Gillmann
@ 2018-07-16 15:16 ` Ludovic Courtès
  2018-07-16 15:36   ` Nils Gillmann
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2018-07-16 15:16 UTC (permalink / raw)
  To: Nils Gillmann; +Cc: 32171

Hello Nils,

Nils Gillmann <ng0@n0.is> 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’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#32171] Update: Erlang and Elixir
  2018-07-16 15:16 ` Ludovic Courtès
@ 2018-07-16 15:36   ` Nils Gillmann
  2018-07-16 15:53     ` Nils Gillmann
  0 siblings, 1 reply; 9+ messages in thread
From: Nils Gillmann @ 2018-07-16 15:36 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 32171, Nils Gillmann

Ludovic Courtès transcribed 6.3K bytes:
> Hello Nils,
> 
> Nils Gillmann <ng0@n0.is> 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.


> Thanks,
> Ludo’.
> 
> 
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#32171] Update: Erlang and Elixir
  2018-07-16 15:36   ` Nils Gillmann
@ 2018-07-16 15:53     ` Nils Gillmann
  2018-07-16 16:06       ` Nils Gillmann
  0 siblings, 1 reply; 9+ messages in thread
From: Nils Gillmann @ 2018-07-16 15:53 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 32171, Nils Gillmann

Nils Gillmann transcribed 7.2K bytes:
> Ludovic Courtès transcribed 6.3K bytes:
> > Hello Nils,
> > 
> > Nils Gillmann <ng0@n0.is> 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’.
> > 
> > 
> > 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#32171] Update: Erlang and Elixir
  2018-07-16 15:53     ` Nils Gillmann
@ 2018-07-16 16:06       ` Nils Gillmann
  2018-07-16 19:35         ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Nils Gillmann @ 2018-07-16 16:06 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 32171, Nils Gillmann

Nils Gillmann transcribed 7.4K bytes:
> Nils Gillmann transcribed 7.2K bytes:
> > Ludovic Courtès transcribed 6.3K bytes:
> > > Hello Nils,
> > > 
> > > Nils Gillmann <ng0@n0.is> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#32171] Update: Erlang and Elixir
  2018-07-16 16:06       ` Nils Gillmann
@ 2018-07-16 19:35         ` Ludovic Courtès
  2018-07-16 20:22           ` Nils Gillmann
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2018-07-16 19:35 UTC (permalink / raw)
  To: Nils Gillmann; +Cc: 32171

Nils Gillmann <ng0@n0.is> skribis:

> 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?

If you suspect a parallelism issue, could you check whether other
distros have patches along these lines, or whether
#:parallel-builds? #f gives us something that works reproducibly?

> 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

Once we’ve fixed the issue above, we should look into this.  :-)

Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#32171] Update: Erlang and Elixir
  2018-07-16 19:35         ` Ludovic Courtès
@ 2018-07-16 20:22           ` Nils Gillmann
  2018-07-17  9:48             ` Pjotr Prins
  2018-07-17 12:35             ` bug#32171: " Ludovic Courtès
  0 siblings, 2 replies; 9+ messages in thread
From: Nils Gillmann @ 2018-07-16 20:22 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 32171, Nils Gillmann

Ludovic Courtès transcribed 660 bytes:
> Nils Gillmann <ng0@n0.is> skribis:
> 
> > 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?
> 
> If you suspect a parallelism issue, could you check whether other
> distros have patches along these lines, or whether
> #:parallel-builds? #f gives us something that works reproducibly?

parallel-build set to #f does gives us a reproducible elixir package.
Seems like no one who cares about these details has it patched or
noted this: Gentoo would not necessarily meet our criteria for
reliable reproducible builds as we define it. Debian has it as
an open tracker item: https://tracker.debian.org/pkg/elixir-lang

1.6.6 was released 27 days ago, so we are still early.

Pjotr noted issues in the past. I don't know if Pjotr has
more experience with Erlang and Elixir, I've just started this
month, so a second, more experience opinion would be welcome.

Seems to me as if we have to dive into the testsuite to fix this.

> > 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

What I get with the parallel-build #f is:

phase `compress-documentation' succeeded after 0.0 seconds
@ build-succeeded /gnu/store/z35vfzjbxi81kacm18rcs4n0jzgjl5ca-elixir-1.6.6.drv -
retrieving 1 store item from 'cult.of.n0.is'...
importing file or directory '/gnu/store/3kl7xychrzk43m1iini8mfjg1jshhnlg-elixir-1.6.6'...
found valid signature for '/gnu/store/3kl7xychrzk43m1iini8mfjg1jshhnlg-elixir-1.6.6'
done with offloaded '/gnu/store/z35vfzjbxi81kacm18rcs4n0jzgjl5ca-elixir-1.6.6.drv'
@ build-succeeded /gnu/store/z35vfzjbxi81kacm18rcs4n0jzgjl5ca-elixir-1.6.6.drv -
The following derivation will be built:
   /gnu/store/zny8qxvkbrw2yhzg2ygs4mp4pz0ji80k-elixir-1.6.6.drv
   substitute: updating substitutes from 'https://berlin.guixsd.org'... 100.0%
   substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
   guix build: error: build failed: some outputs of `/gnu/store/zny8qxvkbrw2yhzg2ygs4mp4pz0ji80k-elixir-1.6.6.drv' are not valid, so checking is not possible
   


Apparently we had this (Erlang, Elixir reproducible) fixed at some point.
Elixir depends on a long list in its entire DAG, so this would be needle
in haystack hunting now. Erlang seems not to be reproducible again (new major
version, new fun). The runpath seems logical as it is, they introduced some
changes on the SSL side in Erlang/OTP 21.0, something we possible want to patch.

stripping binaries in "/gnu/store/a3938xrgzdlwh25qfpbhrgaf9gm6231b-erlang-21.0/lib" with "strip" and flags ("--strip-debug" "--enable-deterministic-archives")
stripping binaries in "/gnu/store/a3938xrgzdlwh25qfpbhrgaf9gm6231b-erlang-21.0/bin" with "strip" and flags ("--strip-debug" "--enable-deterministic-archives")
phase `strip' succeeded after 0.8 seconds
starting phase `validate-runpath'
validating RUNPATH of 37 binaries in "/gnu/store/a3938xrgzdlwh25qfpbhrgaf9gm6231b-erlang-21.0/lib"...
/gnu/store/a3938xrgzdlwh25qfpbhrgaf9gm6231b-erlang-21.0/lib/erlang/lib/crypto-4.3/priv/lib/crypto.so: warning: RUNPATH contains bogus entries: ("/usr/local/lib" "/usr/sfw/lib" "/usr/lib" "/opt/local/lib" "/usr/pkg/lib" "/usr/local/openssl/lib" "/usr/lib/openssl/lib" "/usr/openssl/lib" "/usr/local/ssl/lib" "/usr/lib/ssl/lib" "/usr/ssl/lib" "//lib")
/gnu/store/a3938xrgzdlwh25qfpbhrgaf9gm6231b-erlang-21.0/lib/erlang/lib/crypto-4.3/priv/lib/otp_test_engine.so: warning: RUNPATH contains bogus entries: ("/usr/local/lib" "/usr/sfw/lib" "/usr/lib" "/opt/local/lib" "/usr/pkg/lib" "/usr/local/openssl/lib" "/usr/lib/openssl/lib" "/usr/openssl/lib" "/usr/local/ssl/lib" "/usr/lib/ssl/lib" "/usr/ssl/lib" "//lib")
validating RUNPATH of 8 binaries in "/gnu/store/a3938xrgzdlwh25qfpbhrgaf9gm6231b-erlang-21.0/bin"...
phase `validate-runpath' succeeded after 0.3 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/a3938xrgzdlwh25qfpbhrgaf9gm6231b-erlang-21.0/share/man' with "gzip" and flags ("--best" "--no-name")
phase `compress-documentation' succeeded after 0.3 seconds
guix build: error: build failed: derivation `/gnu/store/1vaz67iwn518m8d35j98zjpy3fjw92ca-erlang-21.0.drv' may not be deterministic: output `/gnu/store/a3938xrgzdlwh25qfpbhrgaf9gm6231b-erlang-21.0' differs

>
> Once we’ve fixed the issue above, we should look into this.  :-)

It's never just one issue and one quick submission of package updates
when it works you, isn't it? :D

> Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [bug#32171] Update: Erlang and Elixir
  2018-07-16 20:22           ` Nils Gillmann
@ 2018-07-17  9:48             ` Pjotr Prins
  2018-07-17 12:35             ` bug#32171: " Ludovic Courtès
  1 sibling, 0 replies; 9+ messages in thread
From: Pjotr Prins @ 2018-07-17  9:48 UTC (permalink / raw)
  To: Nils Gillmann; +Cc: 32171

On Mon, Jul 16, 2018 at 08:22:48PM +0000, Nils Gillmann wrote:
> Apparently we had this (Erlang, Elixir reproducible) fixed at some point.

That was due to beam's time stamp getting removed.

> compressing documentation in '/gnu/store/a3938xrgzdlwh25qfpbhrgaf9gm6231b-erlang-21.0/share/man' with "gzip" and flags ("--best" "--no-name")
> phase `compress-documentation' succeeded after 0.3 seconds
> guix build: error: build failed: derivation `/gnu/store/1vaz67iwn518m8d35j98zjpy3fjw92ca-erlang-21.0.drv' may not be deterministic: output `/gnu/store/a3938xrgzdlwh25qfpbhrgaf9gm6231b-erlang-21.0' differs

I may look into this at some point. Best is to see what individual
files were changed during different builds. Erlang cares about
reproducibility, so they'll be responsive.

Pj.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#32171: Update: Erlang and Elixir
  2018-07-16 20:22           ` Nils Gillmann
  2018-07-17  9:48             ` Pjotr Prins
@ 2018-07-17 12:35             ` Ludovic Courtès
  1 sibling, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2018-07-17 12:35 UTC (permalink / raw)
  To: Nils Gillmann; +Cc: 32171-done

Nils Gillmann <ng0@n0.is> skribis:

> Ludovic Courtès transcribed 660 bytes:
>> Nils Gillmann <ng0@n0.is> skribis:
>> 
>> > 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?
>> 
>> If you suspect a parallelism issue, could you check whether other
>> distros have patches along these lines, or whether
>> #:parallel-builds? #f gives us something that works reproducibly?
>
> parallel-build set to #f does gives us a reproducible elixir package.

Indeed, #:parallel-tests? #f is enough actually.  So I added that and
committed the update.

It would be nice if you could take a closer look at the
bit-reproducibility issue, but we’ll do that separately.

Thank you!

Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-07-17 12:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-16 10:07 [bug#32171] Update: Erlang and Elixir Nils Gillmann
2018-07-16 15:16 ` Ludovic Courtès
2018-07-16 15:36   ` Nils Gillmann
2018-07-16 15:53     ` Nils Gillmann
2018-07-16 16:06       ` Nils Gillmann
2018-07-16 19:35         ` Ludovic Courtès
2018-07-16 20:22           ` Nils Gillmann
2018-07-17  9:48             ` Pjotr Prins
2018-07-17 12:35             ` bug#32171: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).