GNU bug report logs - #32171
Update: Erlang and Elixir

Previous Next

Package: guix-patches;

Reported by: Nils Gillmann <ng0 <at> n0.is>

Date: Mon, 16 Jul 2018 10:08:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32171 in the body.
You can then email your comments to 32171 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#32171; Package guix-patches. (Mon, 16 Jul 2018 10:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nils Gillmann <ng0 <at> n0.is>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 16 Jul 2018 10:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nils Gillmann <ng0 <at> n0.is>
To: guix-patches <at> gnu.org
Subject: Update: Erlang and Elixir
Date: Mon, 16 Jul 2018 10:07:30 +0000
[Message part 1 (text/plain, inline)]
These 3 patches update Erlang and Elixir to the latest versions.
[0001-mailmap-Add-another-line-for-myself.patch (text/plain, attachment)]
[0002-gnu-erlang-Update-to-21.0.patch (text/plain, attachment)]
[0003-gnu-elixir-Update-to-1.6.6.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#32171; Package guix-patches. (Mon, 16 Jul 2018 15:17:02 GMT) Full text and rfc822 format available.

Message #8 received at 32171 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Nils Gillmann <ng0 <at> n0.is>
Cc: 32171 <at> debbugs.gnu.org
Subject: Re: [bug#32171] Update: Erlang and Elixir
Date: Mon, 16 Jul 2018 17:16:29 +0200
Hello Nils,

Nils Gillmann <ng0 <at> 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’.




Information forwarded to guix-patches <at> gnu.org:
bug#32171; Package guix-patches. (Mon, 16 Jul 2018 15:36:02 GMT) Full text and rfc822 format available.

Message #11 received at 32171 <at> debbugs.gnu.org (full text, mbox):

From: Nils Gillmann <ng0 <at> n0.is>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 32171 <at> debbugs.gnu.org, Nils Gillmann <ng0 <at> n0.is>
Subject: Re: [bug#32171] Update: Erlang and Elixir
Date: Mon, 16 Jul 2018 15:36:34 +0000
Ludovic Courtès transcribed 6.3K bytes:
> Hello Nils,
> 
> Nils Gillmann <ng0 <at> 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’.
> 
> 
> 




Information forwarded to guix-patches <at> gnu.org:
bug#32171; Package guix-patches. (Mon, 16 Jul 2018 15:53:02 GMT) Full text and rfc822 format available.

Message #14 received at 32171 <at> debbugs.gnu.org (full text, mbox):

From: Nils Gillmann <ng0 <at> n0.is>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 32171 <at> debbugs.gnu.org, Nils Gillmann <ng0 <at> n0.is>
Subject: Re: [bug#32171] Update: Erlang and Elixir
Date: Mon, 16 Jul 2018 15:53:16 +0000
Nils Gillmann transcribed 7.2K bytes:
> Ludovic Courtès transcribed 6.3K bytes:
> > Hello Nils,
> > 
> > Nils Gillmann <ng0 <at> 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’.
> > 
> > 
> > 




Information forwarded to guix-patches <at> gnu.org:
bug#32171; Package guix-patches. (Mon, 16 Jul 2018 16:06:01 GMT) Full text and rfc822 format available.

Message #17 received at 32171 <at> debbugs.gnu.org (full text, mbox):

From: Nils Gillmann <ng0 <at> n0.is>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 32171 <at> debbugs.gnu.org, Nils Gillmann <ng0 <at> n0.is>
Subject: Re: [bug#32171] Update: Erlang and Elixir
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 <ng0 <at> 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




Information forwarded to guix-patches <at> gnu.org:
bug#32171; Package guix-patches. (Mon, 16 Jul 2018 19:36:02 GMT) Full text and rfc822 format available.

Message #20 received at 32171 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Nils Gillmann <ng0 <at> n0.is>
Cc: 32171 <at> debbugs.gnu.org
Subject: Re: [bug#32171] Update: Erlang and Elixir
Date: Mon, 16 Jul 2018 21:35:21 +0200
Nils Gillmann <ng0 <at> 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’.




Information forwarded to guix-patches <at> gnu.org:
bug#32171; Package guix-patches. (Mon, 16 Jul 2018 20:23:01 GMT) Full text and rfc822 format available.

Message #23 received at 32171 <at> debbugs.gnu.org (full text, mbox):

From: Nils Gillmann <ng0 <at> n0.is>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Pjotr Prins <pjotr.public12 <at> thebird.nl>, 32171 <at> debbugs.gnu.org,
 Nils Gillmann <ng0 <at> n0.is>
Subject: Re: [bug#32171] Update: Erlang and Elixir
Date: Mon, 16 Jul 2018 20:22:48 +0000
Ludovic Courtès transcribed 660 bytes:
> Nils Gillmann <ng0 <at> 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’.




Information forwarded to guix-patches <at> gnu.org:
bug#32171; Package guix-patches. (Tue, 17 Jul 2018 09:49:02 GMT) Full text and rfc822 format available.

Message #26 received at 32171 <at> debbugs.gnu.org (full text, mbox):

From: Pjotr Prins <pjotr.public12 <at> thebird.nl>
To: Nils Gillmann <ng0 <at> n0.is>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 32171 <at> debbugs.gnu.org,
 Pjotr Prins <pjotr.public12 <at> thebird.nl>
Subject: Re: [bug#32171] Update: Erlang and Elixir
Date: Tue, 17 Jul 2018 11:48:39 +0200
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.




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Tue, 17 Jul 2018 12:37:02 GMT) Full text and rfc822 format available.

Notification sent to Nils Gillmann <ng0 <at> n0.is>:
bug acknowledged by developer. (Tue, 17 Jul 2018 12:37:02 GMT) Full text and rfc822 format available.

Message #31 received at 32171-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Nils Gillmann <ng0 <at> n0.is>
Cc: Pjotr Prins <pjotr.public12 <at> thebird.nl>, 32171-done <at> debbugs.gnu.org
Subject: Re: [bug#32171] Update: Erlang and Elixir
Date: Tue, 17 Jul 2018 14:35:45 +0200
Nils Gillmann <ng0 <at> n0.is> skribis:

> Ludovic Courtès transcribed 660 bytes:
>> Nils Gillmann <ng0 <at> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 15 Aug 2018 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.