all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Ben Woodcroft <b.woodcroft@uq.edu.au>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: [PATCH] Add 12 rubygems.
Date: Tue, 29 Dec 2015 08:18:28 +0100	[thread overview]
Message-ID: <87io3h4ta3.fsf@elephly.net> (raw)
In-Reply-To: <56821E47.9010400@uq.edu.au>


Ben Woodcroft <b.woodcroft@uq.edu.au> writes:

> Unfortunately none of these builds are reproducible because rubygems in 
> Guix generally aren't. For one, this is because .gem files are archives 
> whose contents are timestamped.

I found the same problem with Java stuff.  “.jar” files are archives of
the generated “.class” files and they contain an automatically generated
manifest.  To fix this in a build system I’m planning to unpack all
files from the “.jar”, then “touch -d @0” each file, and then repack
with “jar” without creating a new manifest.

So far “touch”-ing every class file after compilation and leaving off
the manifest at jar creation time has shown that “jar” archives can be
made reproducible.

“gem” archives are really just slightly modified “tar” archives, aren’t
they?  Maybe we could add a phase to the ruby-build-system — or modify
the “build” phase, which unpacks and rebuilds the “.gem” archive.

~~ Ricardo

  parent reply	other threads:[~2015-12-29  7:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-29  5:46 [PATCH] Add 12 rubygems Ben Woodcroft
2015-12-29  5:51 ` Ben Woodcroft
2015-12-30 17:26   ` Ludovic Courtès
2015-12-29  7:18 ` Ricardo Wurmus [this message]
2015-12-30  0:51   ` [PATCH] Help Ruby packages be reproducible (was: [PATCH] Add 12 rubygems.) Ben Woodcroft
2015-12-30  0:56     ` [PATCH] Help Ruby packages be reproducible Ben Woodcroft
2015-12-30  2:47       ` Pjotr Prins
2015-12-30  8:26       ` Ricardo Wurmus
2015-12-30 23:52         ` Ben Woodcroft
2015-12-31 10:03           ` Ricardo Wurmus
2016-01-01 15:10             ` Ludovic Courtès
2016-01-02 15:02               ` Ben Woodcroft
2016-01-06 11:46                 ` Ricardo Wurmus
2016-01-07 13:24                   ` Ludovic Courtès
2016-01-08 14:16                   ` Thompson, David
2016-01-07 14:31                 ` Ludovic Courtès
2016-01-08 11:34                   ` Ben Woodcroft
2016-01-08 16:55                     ` Ludovic Courtès
2015-12-31 12:03           ` Ben Woodcroft
2015-12-30  9:14 ` [PATCH] Add 12 rubygems Ricardo Wurmus
2016-01-07 14:29   ` Ricardo Wurmus
2016-01-26  6:37     ` Ben Woodcroft

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=87io3h4ta3.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=b.woodcroft@uq.edu.au \
    --cc=guix-devel@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 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.