unofficial mirror of 
 help / color / Atom feed
From: zimoun <>
To: Brice Waegeneire <>,
	Lo Peter <>
Cc: Help-Guix <>,
	help-guix <>
Subject: Re: How to debug / investigate non-reproducible build for r-repr?
Date: Mon, 29 Jun 2020 12:19:39 +0200
Message-ID: <> (raw)
In-Reply-To: <>


To complement what Brice said.

On Mon, 29 Jun 2020 at 09:13, Brice Waegeneire <> wrote:

> --8<---------------cut here---------------start------------->8---
> $ guix build r-repr --check --keep-failed
> …
> guix build: error: derivation 
> `/gnu/store/5rbf3kb0s96m1nij5s631j1k3mnh75lg-r-repr-1.1.0.drv' may not 
> be deterministic: output 
> `/gnu/store/aah5bpxg1h3sf09ca1plp4cbj745n95y-r-repr-1.1.0' differs from 
> ‘/gnu/store/aah5bpxg1h3sf09ca1plp4cbj745n95y-r-repr-1.1.0-check’
> --8<---------------cut here---------------end--------------->8---

Before going to "diffoscope", personally I try to identify which files
are offending, something like:

--8<---------------cut here---------------start------------->8---
diff -r --no-dereference /gnu/store/75xc2l38ml4mz7w2cb4qhg08vs34xr3i-r-repr-1.1.0{,-check}
Binary files /gnu/store/75xc2l38ml4mz7w2cb4qhg08vs34xr3i-r-repr-1.1.0/site-library/repr/R/repr.rdb and /gnu/store/75xc2l38ml4mz7w2cb4qhg08vs34xr3i-r-repr-1.1.0-check/site-library/repr/R/repr.rdb differ
Binary files /gnu/store/75xc2l38ml4mz7w2cb4qhg08vs34xr3i-r-repr-1.1.0/site-library/repr/R/repr.rdx and /gnu/store/75xc2l38ml4mz7w2cb4qhg08vs34xr3i-r-repr-1.1.0-check/site-library/repr/R/repr.rdx differ
--8<---------------cut here---------------end--------------->8---

Well, you need to check the files "repr/R/repr.{rdb,rdx}".  Because of
the option "--keep-failed", you can go to
"/tmp/guix-build-r-repr-1.1.0.drv-0" and give a look to how these files
are produced.  The classical source of non-determinism is date.  Then if
everything appears to you as expected, then you can go to "diffoscope".

Hope that helps,

      reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-29  8:25 Lo Peter
2020-06-29  9:13 ` Brice Waegeneire
2020-06-29 10:19   ` zimoun [this message]

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:

  List information:

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

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

unofficial mirror of 

Archives are clonable:
	git clone --mirror guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ \
	public-inbox-index guix-user

Example config snippet for mirrors

Newsgroups are available over NNTP:

AGPL code for this site: git clone