[Reproducible-builds] How to help out sorting logs?

Stéphane Glondu glondu at debian.org
Sat Feb 22 13:07:03 UTC 2014


Le 15/02/2014 00:42, Jérémy Bobbio a écrit :
> One thing that I wanted to was to document how to setup an environment
> and then the procedure to see if a package can be rebuilt identically
> despite variations. Unfortunately, it won't be for today.

I've committed to misc.git [1] a set of scripts to do that.

> I have been keeping notes about the results on:
> https://wiki.debian.org/ReproducibleBuilds/Rebuild20140126

I've finished my first pass of rebuilding all packages that had
unidentified issues in [2]. Some remarks (some already written in other
mails, but I make a summary here):

 - many packages rebuild identically without doing anything besides
   using the patched toolchain
 - there is some variation in xz output that is not detected by diffp
 - many packages rebuild identically if built in the same location
 - I ignored packages that take too much time or disk space to build

For now, there is IMHO too many packages to look at if we allow varying
build path, so until the number of remaining non-reproducible packages
becomes negligible I propose to always build packages in
/usr/src/debian. This is what I do in [1], using bindmounts (no more
proot). I chose /usr/src/debian (as opposed to /usr/src) because no
binary packages install things in there.

Since the script evolved while I was using it, I am doing a second pass
on the reproducible packages I've found (sanity check).

[1]
<http://anonscm.debian.org/gitweb/?p=reproducible/misc.git;a=blob;f=rebuild-twice-in-same-path/README>
[2]
<https://wiki.debian.org/ReproducibleBuilds/Rebuild20140126?action=recall&rev=7>

Cheers,

-- 
Stéphane




More information about the Reproducible-builds mailing list