From: Julien Lepiller <julien@lepiller.eu>
To: zimoun <zimon.toutoune@gmail.com>
Cc: 43721@debbugs.gnu.org
Subject: bug#43721: Package 'dune' (ocaml) is not Reproducible
Date: Wed, 30 Sep 2020 14:42:32 +0200 [thread overview]
Message-ID: <20200930144232.0091aad3@tachikoma.lepiller.eu> (raw)
In-Reply-To: <87v9fva36i.fsf@gmail.com>
Le Wed, 30 Sep 2020 13:56:21 +0200,
zimoun <zimon.toutoune@gmail.com> a écrit :
> 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
>
>
>
The difference seems to be bigger than a simple timestamp, but it's all
on binary files, and diffoscope is not very useful for that. Maybe file
system ordering? I'm investigating.
next prev parent reply other threads:[~2020-09-30 12:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-30 11:56 bug#43721: Package 'dune' (ocaml) is not Reproducible zimoun
2020-09-30 12:41 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-09-30 12:42 ` Julien Lepiller [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200930144232.0091aad3@tachikoma.lepiller.eu \
--to=julien@lepiller.eu \
--cc=43721@debbugs.gnu.org \
--cc=zimon.toutoune@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.