unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: 43721@debbugs.gnu.org
Subject: bug#43721: Package 'dune' (ocaml) is not Reproducible
Date: Wed, 30 Sep 2020 13:56:21 +0200	[thread overview]
Message-ID: <87v9fva36i.fsf@gmail.com> (raw)

Dear,

Using Guix 04a459a, the classical:

   guix build dune
   guix build dune --no-grafts --check -K

return:

--8<---------------cut here---------------start------------->8---
guix build: error: derivation `/gnu/store/kg7mnb1b09n5zddgvc4hs8ira3i4jzz2-dune-1.11.3.drv' may not be deterministic: output `/gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3' differs from ‘/gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3-check’
--8<---------------cut here---------------end--------------->8---

then:

   diff -r --no-dereference /gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3{,-check}
   
returns a large output (truncated here):

--8<---------------cut here---------------start------------->8---
Binary files /gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3/lib/ocaml/site-lib/dune/configurator/configurator.cma and /gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3-check/lib/ocaml/site-lib/dune/configurator/configurator.cma differ
Binary files /gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3/lib/ocaml/site-lib/dune/configurator/configurator__Extract_obj.cmt and /gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3-check/lib/ocaml/site-lib/dune/configurator/configurator__Extract_obj.cmt differ
Binary files /gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3/lib/ocaml/site-lib/dune/configurator/configurator__V1.cmti and /gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3-check/lib/ocaml/site-lib/dune/configurator/configurator__V1.cmti differ

[...]

Binary files /gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3/lib/ocaml/site-lib/dune/_stdune/stdune__User_error.cmti and /gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3-check/lib/ocaml/site-lib/dune/_stdune/stdune__User_error.cmti differ
Binary files /gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3/lib/ocaml/site-lib/dune/_stdune/stdune__User_message.cmti and /gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3-check/lib/ocaml/site-lib/dune/_stdune/stdune__User_message.cmti differ
Binary files /gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3/lib/ocaml/site-lib/dune/_stdune/stdune__User_warning.cmti and /gnu/store/1wwdmzcjhrpal92sz2zwzhyqmbc3w7ri-dune-1.11.3-check/lib/ocaml/site-lib/dune/_stdune/stdune__User_warning.cmti differ
--8<---------------cut here---------------end--------------->8---


Is it expected?  Does it comes from timestamp?  Is it avoidable?


I have not tried (yet) with the patch [1] updating ’dune’.

[1] <http://issues.guix.gnu.org/issue/40091>

All the best,
simon




             reply	other threads:[~2020-09-30 11:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30 11:56 zimoun [this message]
2020-09-30 12:41 ` bug#43721: Package 'dune' (ocaml) is not Reproducible Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-09-30 12:42 ` Julien Lepiller
2020-10-13 12:17   ` zimoun
2020-10-13 15:29     ` Julien Lepiller
2020-10-13 15:41       ` zimoun
2020-10-13 15:54         ` Julien Lepiller
2020-10-28 18:54       ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v9fva36i.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=43721@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).