Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #54673

Bug#830268: linux: please make the build reproducible

From Reiner Herrmann <reiner@reiner-h.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#830268: linux: please make the build reproducible
Date 2016-07-07 21:40 +0200
Message-ID <rSnjs-2Pm-21@gated-at.bofh.it> (permalink)
References <rSmGJ-2kd-15@gated-at.bofh.it> <rSn9M-2M3-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, Jul 07, 2016 at 08:22:24PM +0100, Ian Campbell wrote:
> On Thu, 2016-07-07 at 20:52 +0200, Reiner Herrmann wrote:
> > While working on the "reproducible builds" effort [1], we have noticed
> > that linux could not be built reproducibly.
> > Since we started varying the shell used for /bin/sh (bash vs. dash),
> > linux no longer builds reproducibly.
> 
> OOI what is the motivation for varying the build environment in this
> way?
> 
> Obviously a package built with $SHELL should build reproducibly with
> the same $SHELL no matter which $SHELL is chosen so long as it is
> consistent, but from the diff that doesn't seem to be what the goal is
> here, but rather to build with $SHELL_A and then rebuild with a
> different $SHELL_B.
> 
> I thought part of the reproducible builds effort included ensuring a
> reproducible build environment too (through .buildinfo etc). Is
> changing the shell different to changing the compiler or some library
> build dep?

Different users have different shells configured, like they have
different locales, different home directories, different file systems etc.
The installed environment is actually the same (dash and bash are
installed), but it is configured differently.
We want packages not only building reproducibly in clean environments
like chroots/VMs etc., but also when a user builds it with plain
dpkg-buildpackage (assuming he has the matching dependencies installed).

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#830268: linux: please make the build reproducible Reiner Herrmann <reiner@reiner-h.de> - 2016-07-07 21:00 +0200
  Bug#830268: linux: please make the build reproducible Ian Campbell <ijc@debian.org> - 2016-07-07 21:30 +0200
    Bug#830268: linux: please make the build reproducible Reiner Herrmann <reiner@reiner-h.de> - 2016-07-07 21:40 +0200
  Bug#830268: linux: please make the build reproducible Ben Hutchings <ben@decadent.org.uk> - 2016-08-04 01:20 +0200

csiph-web