From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffA1R-0002vy-IE for guix-patches@gnu.org; Mon, 16 Jul 2018 16:23:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffA1O-0001gN-7s for guix-patches@gnu.org; Mon, 16 Jul 2018 16:23:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39050) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffA1O-0001gD-0e for guix-patches@gnu.org; Mon, 16 Jul 2018 16:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ffA1N-0007mq-PA for guix-patches@gnu.org; Mon, 16 Jul 2018 16:23:01 -0400 Subject: [bug#32171] Update: Erlang and Elixir Resent-Message-ID: Date: Mon, 16 Jul 2018 20:22:48 +0000 From: Nils Gillmann Message-ID: <20180716202248.rdhlggsy7zfw2k6w@abyayala> References: <20180716100730.ixv5mqqlbl3tdleb@abyayala> <87wotvtdma.fsf@gnu.org> <20180716153634.gpwa2zw3v6fxm5ln@abyayala> <20180716155316.62rrscxji5gtvj6n@abyayala> <20180716160610.pyeca44pwfugm7la@abyayala> <87a7qrrn2e.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87a7qrrn2e.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 32171@debbugs.gnu.org, Nils Gillmann Ludovic Courtès transcribed 660 bytes: > Nils Gillmann 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’.