From: ludo@gnu.org (Ludovic Courtès)
To: guix-devel <guix-devel@gnu.org>
Subject: Cross-distro reproducible build patches
Date: Thu, 05 Jan 2017 10:00:48 +0100 [thread overview]
Message-ID: <87mvf5x4n3.fsf@gnu.org> (raw)
Hello Guix!
A new initiative to share repro-build patches has started as a followup
to the Reproducible Build Summit:
http://lists.reproducible-builds.org/pipermail/rb-general/2017-January/000222.html
https://github.com/distropatches/reproducible-builds
If anyone would like to help out by posting the patches that we have to
this repo, that would be nice.
It would scale better if we could easily list repro-build patches and
snippets from the patches that we have.
A quick hack gives this:
--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> ,use(ice-9 ftw)
scheme@(guile-user)> (define (grep file)
(call-with-input-file file
(lambda (port)
(let ((contents (read-string port)))
(or (string-contains-ci contents "reproducib")
(string-contains-ci contents "deterministic"))))))
;;; <stdin>:138:43: warning: possibly unbound variable `read-string'
scheme@(guile-user)> ,use(ice-9 rdelim)
scheme@(guile-user)> (chdir "/home/ludo/src/guix/gnu/packages/patches")
scheme@(guile-user)> (scandir "."
(lambda (file)
(and (string-suffix? ".patch" file)
(grep file))))
$3 = ("awesome-reproducible-png.patch" "hdf4-reproducibility.patch" "libbonobo-activation-test-race.patch" "libxslt-generated-ids.patch" "metabat-remove-compilation-date.patch" "nasm-no-ps-pdf.patch" "perl-deterministic-ordering.patch" "python-2-deterministic-build-info.patch" "python-3-deterministic-build-info.patch" "tcl-mkindex-deterministic.patch" "unzip-remove-build-date.patch")
scheme@(guile-user)> (length $3)
$4 = 11
--8<---------------cut here---------------end--------------->8---
… but I think a number things are written as snippets rather than actual
patches.
Thoughts?
Ludo’.
next reply other threads:[~2017-01-05 9:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-05 9:00 Ludovic Courtès [this message]
2017-01-06 1:16 ` Cross-distro reproducible build patches Ben Woodcroft
2017-01-06 13:20 ` Ludovic Courtès
2017-01-12 22:18 ` Marius Bakke
2017-01-13 13:08 ` Ludovic Courtès
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=87mvf5x4n3.fsf@gnu.org \
--to=ludo@gnu.org \
--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.