Bug#769844: linux: please make linux build reproducibly

2015-07-07 Thread Ben Hutchings
Earlier today I uploaded version 4.1.1-1~exp1, with some of the changes here. I built it once on ext4 and then on xfs, hoping to change directory ordering. A summary of the debbindiff: 1. timestamps are different on all files in control.tar.gz 2. timestamps are different on many files in

Bug#769844: linux: please make linux build reproducibly

2015-07-07 Thread Ben Hutchings
On Tue, 2015-07-07 at 17:26 +0100, Ben Hutchings wrote: Earlier today I uploaded version 4.1.1-1~exp1, with some of the changes here. I built it once on ext4 and then on xfs, hoping to change directory ordering. A summary of the debbindiff: 1. timestamps are different on all files in

Bug#769844: linux: please make linux build reproducibly

2015-05-12 Thread Ben Hutchings
On Wed, 2015-01-07 at 20:49 +0100, Jérémy Bobbio wrote: [...] With the attached patch, linux can be built reproducibly with the current experimental framework. The following changes have been introduced since the previous patch: * Files in the source tarball are added in a stable order. *

Bug#769844: linux: please make linux build reproducibly

2015-05-12 Thread Ben Hutchings
On Thu, 2015-01-08 at 09:16 +, Ian Campbell wrote: On Wed, 2015-01-07 at 20:49 +0100, Jérémy Bobbio wrote: +@@ -301,7 +301,9 @@ if [ ! -z ${output_file} ]; then + if [ -z ${cpio_file} ]; then + timestamp= + if test -n $KBUILD_BUILD_TIMESTAMP;

Bug#769844: linux: please make linux build reproducibly

2015-01-08 Thread Ian Campbell
On Wed, 2015-01-07 at 20:49 +0100, Jérémy Bobbio wrote: +@@ -301,7 +301,9 @@ if [ ! -z ${output_file} ]; then + if [ -z ${cpio_file} ]; then + timestamp= + if test -n $KBUILD_BUILD_TIMESTAMP; then +-timestamp=$(date

Bug#769844: linux: please make linux build reproducibly

2015-01-07 Thread Jérémy Bobbio
Bastian Blank: On Mon, Jan 05, 2015 at 06:56:10PM +0100, Jérémy Bobbio wrote: * linux-source: mtimes of many files differ. Would it be ok to just create the tarball with a single timestamp (`tar --mtime=`)? I've used find+touch instead. See attached patch. Why? Good question.

Bug#769844: linux: please make linux build reproducibly

2015-01-06 Thread Bastian Blank
On Mon, Jan 05, 2015 at 06:56:10PM +0100, Jérémy Bobbio wrote: We are currently experimenting with fixing mtimes in `dh_builddeb` instead of requiring a new helper. I have also done my latest experiments without `dh_strip_nondeterminism`. The attached patch adds the `-n` flag to gzip to

Bug#769844: linux: please make linux build reproducibly

2015-01-05 Thread Jérémy Bobbio
Control: unblock -1 by 759886 Jérémy Bobbio: Bastian Blank: On Mon, Nov 17, 2014 at 12:46:45AM +0100, Jérémy Bobbio wrote: The first patch adds call to `dh_strip_nondeterminism` and `dh_fixmtimes`, both being part of the custom toolchain currently used for reproducible builds. Hence

Bug#769844: linux: please make linux build reproducibly

2014-11-17 Thread Jérémy Bobbio
Bastian Blank: On Mon, Nov 17, 2014 at 12:46:45AM +0100, Jérémy Bobbio wrote: The first patch adds call to `dh_strip_nondeterminism` and `dh_fixmtimes`, both being part of the custom toolchain currently used for reproducible builds. Hence not tagging the bug with “patch” until they are

Bug#769844: linux: please make linux build reproducibly

2014-11-16 Thread Jérémy Bobbio
Source: linux Version: 3.16.7-2 Severity: wishlist User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps randomness Control: block -1 by 759886 Hi! I have been doing some experimentation on making linux build reproducibly [1]. With the attached patches, we are down to three

Bug#769844: linux: please make linux build reproducibly

2014-11-16 Thread Bastian Blank
On Mon, Nov 17, 2014 at 12:46:45AM +0100, Jérémy Bobbio wrote: The first patch adds call to `dh_strip_nondeterminism` and `dh_fixmtimes`, both being part of the custom toolchain currently used for reproducible builds. Hence not tagging the bug with “patch” until they are integrated in