Differences between revisions 374 and 375
Revision 374 as of 2019-05-01 11:15:27
Size: 6493
Editor: HolgerLevsen
Comment: hint what salsa is
Revision 375 as of 2019-05-22 19:10:23
Size: 6711
Editor: HolgerLevsen
Comment: mention #929397: "ftp.d.o: please upload LTS .buildinfo files to ftp-master"
Deletions are marked like this. Additions are marked like this.
Line 46: Line 46:
 * [[DebianBug:929397|#929397: ftp.d.o: please upload LTS .buildinfo files to ftp-master]] (this is not relevant yet, as Jessie is the LTS release, while only dpkg from Stretch and newer produces .buildinfo files.)


It should be possible to reproduce, byte for byte, every build of every package in Debian. More information about reproducible builds in general are available at reproducible-builds.org.


Make a package reproducible

?How to help

Experimental toolchain

Project history

Salsa / Gitlab
Salsa project / Gitlab

Bug reports

Continuous integration


Reproducible builds of Debian as a whole is still not a reality, though individual reproducible builds of packages are possible and being done. So while we are making very good progress, it is a stretch to say that Debian is reproducible.

  • Most packages built in sid today are reproducible under a fixed build-path and environment.

  • We have a new control file *.buildinfo that records the build environment, see deb-buildinfo for reference. Older design drafts are here.

  • We have a continuous integration platform that builds and immediately rebuilds packages. With this we can detect problems related to timestamps, file ordering, CPU usage, (pseudo-)randomness and other things.

  • We are examining packages and sorting out common problems.

  • Many patches have already been submitted, and we are continuously writing new ones.

  • You can check which packages installed on your system are still unreproducible by using the reproducible-check script in the devscripts package.

Big outstanding issues

These are the critical items necessary to have reproducible builds for at least the required packages of Debian

Annoying but not major

Nice to have

  • Tighten up the Policy definition of "reproducible" to be stricter about environment variables and build paths.
  • Discuss which environment variables we should blacklist or whitelist, 876055.

  • #929397: ftp.d.o: please upload LTS .buildinfo files to ftp-master (this is not relevant yet, as Jessie is the LTS release, while only dpkg from Stretch and newer produces .buildinfo files.)

There are many other possible nice-to-haves, e.g., making builds independent of their build directory, making it possible to create archive formats (like tar.gz and zip) with different tools yet result in the same byte order, etc. Many of those are valuable, but they shouldn't distract from getting the results of reproducible builds out to users.


For more concrete tasks to be done, look at how to contribute.

Statistics from the continuous integration platform