unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix-devel <guix-devel@gnu.org>, 25598@debbugs.gnu.org
Subject: bug#25598: [PATCH] More reproducibility fixes for R.
Date: Wed, 8 Mar 2017 12:53:43 +0100	[thread overview]
Message-ID: <87efy82ddk.fsf@elephly.net> (raw)
In-Reply-To: <87bmuafcgg.fsf@gnu.org>


Ludovic Courtès <ludo@gnu.org> writes:

> Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> skribis:
>
>> attached are more reproducibility fixes for R.  Unfortunately, it seems
>> that files of type “rdb”, “rdx”, and “rds” are still not reproducible.
>> This leaves us with the following files in R that are currently not
>> reproducible:
>
> Could it be that --built-timestamp is not honored for R modules within
> R?

With these two patches the flag *should* be honoured.  I don’t
understand yet where the rds differences come from, but I’ll
investigate this now.

> Do the Debian patches mentioned in #25598 help?

R 3.3.2 already includes the patches that were posted on Debian bug
#774031.  The patch at #782764 is the equivalent of our change to the
r-build-system to pass down the flag to R packages.


>> From e8cd2114b824ab6fed671c2214956ee22deeaedf Mon Sep 17 00:00:00 2001
>> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
>> Date: Thu, 9 Feb 2017 14:34:57 +0100
>> Subject: [PATCH 1/2] gnu: r: Fix syntax for INSTALL_OPTS.
>>
>> This is a follow-up to commit 4621acfd8272fa93d0530faa5f015b26a194b587.
>>
>> * gnu/packages/statistics.scm (r)[arguments]: Ensure that
>> "--built-timestamp" appears on the same line as the other INSTALL_OPTS.
>
> So the previous attempt had no effect, right?

Yeah, it was not effective and I failed to use “guix build --check”
properly (without grafts), so I thought everything was fine already.

>> From 95b939f662a29b3cc6973a2fba286f32faf010c1 Mon Sep 17 00:00:00 2001
>> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
>> Date: Thu, 9 Feb 2017 15:40:02 +0100
>> Subject: [PATCH 2/2] gnu: r: Fix more reproducibility problems.
>>
>> * gnu/packages/statistics.scm (r)[arguments]: Patch locations in the
>> build system that need special treatment for reproducibility.
>
> LGTM, thanks!

I pushed both to master.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

  parent reply	other threads:[~2017-03-08 11:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-01  9:55 bug#25598: R packages are not bit-reproducible Ludovic Courtès
2017-02-01 11:08 ` Ricardo Wurmus
2017-02-01 13:00   ` Ludovic Courtès
     [not found] ` <87bmuafcgg.fsf@gnu.org>
2017-03-08 11:53   ` Ricardo Wurmus [this message]
     [not found] ` <idj4m03whdy.fsf@bimsb-sys02.mdc-berlin.net>
2017-02-10 12:38   ` bug#25598: [PATCH] More reproducibility fixes for R Ludovic Courtès
2017-03-08 17:56   ` Ricardo Wurmus
2017-03-16  7:54 ` bug#25598: [PATCH] gnu: r: Fix remaining reproducibility problems Ricardo Wurmus
2017-03-16  9:00   ` Ludovic Courtès
2017-03-17  9:17     ` Ricardo Wurmus

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=87efy82ddk.fsf@elephly.net \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=25598@debbugs.gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@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).