Reproducible builds enable anyone to reproduce bit by bit identical binary packages from a given source, so that anyone can verify that a given binary derived from the source it was said to be derived. There is more information about reproducible builds on the Debian wiki and on https://reproducible-builds.org. These pages explain in more depth why this is useful, what common issues exist and which workarounds and solutions are known.

Reproducible NetBSD is an effort to apply this to NetBSD. Thus each NetBSD target is build twice, with a few variations added and then the resulting files from the two builds are compared using diffoscope. Please note that the toolchain is not varied at all as the rebuild happens on exactly the same system. More variations are expected to be seen in the wild.

There is a weekly run jenkins job to test the master branch of netbsd.git. The jenkins job is running reproducible_netbsd.sh in a Debian environment and this script is solely responsible for creating this page. Feel invited to join #debian-reproducible (on irc.oftc.net) to request job runs whenever sensible. Patches and other feedback are very much appreciated - if you want to help, please start by looking at the ToDo list for NetBSD, you might find something easy to contribute.
Thanks to Profitbricks for donating the virtual machines this is running on!

53 (98.1%) out of 54 built NetBSD files were reproducible in our test setup . These tests were last run on 2017-09-20 for version be04bbea3 with MKREPRO=yes and MKREPRO_TIMESTAMP=1499433091 and were compared using diffoscope 86.

variationfirst buildsecond build
hostname is not yet varied between rebuilds of NetBSD.
domainname is not yet varied between rebuilds of NetBSD.
env CAPTURE_ENVIRONMENTnot setCAPTURE_ENVIRONMENT="I capture the environment"
env TZTZ="/usr/share/zoneinfo/Etc/GMT+12"TZ="/usr/share/zoneinfo/Etc/GMT-14"
env LANGLANG="en_GB.UTF-8"LANG="fr_CH.UTF-8"
env LC_ALLnot setLC_ALL="fr_CH.UTF-8"
env PATHPATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:"PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path"
env USER is not yet varied between rebuilds of NetBSD.
uid is not yet varied between rebuilds of NetBSD.
gid is not yet varied between rebuilds of NetBSD.
UTS namespace is not yet varied between rebuilds of NetBSD.
kernel version, modified using /usr/bin/linux64 --uname-2.6Linux 4.9.0-3-amd64Linux 2.6.69-3-amd64
umask00220002
CPU type AMD Opteron 62xx class CPUsame for both builds
/bin/sh is not yet varied between rebuilds of NetBSD.
year, month, datetoday (2017-09-20)same for both builds (currently, work in progress)
hour, minutehour and minute will probably vary between two builds...but this is not enforced systematically... (currently, work in progress)
Filesystemtmpfssame for both builds (currently, this could be varied using disorderfs)
everything else...is likely the same. There will be more variations in the wild.

Unreproducible artifacts for sparc64
unreproducible icon binary/sets/comp.tgz (126M) is unreproducible.
Reproducible artifacts for amd64
reproducible icon binary/kernel/netbsd-GENERIC.gz (f7a1a3f06fc8d930342064974e52852f2d2f5b57124e603ddf7649217ee34456, 8143K) is reproducible.
reproducible icon binary/kernel/netbsd-GENERIC.symbols.gz (7f26e6c2e59279b4429655bf694bd2e7c5ad6990330721d79ad06e706d43ad6a, 408K) is reproducible.
reproducible icon binary/kernel/netbsd-INSTALL.gz (7214dd268485402e72872d1c9beb01c182d2d211347957d7790ed64539dbb711, 7546K) is reproducible.
reproducible icon binary/kernel/netbsd-INSTALL.symbols.gz (937cbad56f3fd2a400d2041dc19a5707531e902bcd891ca48d164df648b1c070, 360K) is reproducible.
reproducible icon binary/kernel/netbsd-INSTALL_XEN3_DOMU.gz (4e21ecd89c2735de89adf90d4be9e1e4da71a977272d085335b1c8b86c2f6cf3, 3800K) is reproducible.
reproducible icon binary/kernel/netbsd-XEN3_DOM0.gz (79ba191e8a0738a6ba954b063ccebae2a868442c128fe1fb8b4613135f8eb7a4, 5899K) is reproducible.
reproducible icon binary/kernel/netbsd-XEN3_DOMU.gz (29228a28122ca521391f6605d3b41ec614687d51384028699895d17601ee28c2, 2566K) is reproducible.
reproducible icon binary/sets/base.tgz (dffbff387a61df10ab5863a243106beaba91e0313b6a2bcb25fcf8b6f7b55944, 64M) is reproducible.
reproducible icon binary/sets/comp.tgz (4561ee55046b1e67ca0720fc0e9cd56975dbf0083d86821041b8565dc6a7ca61, 129M) is reproducible.
reproducible icon binary/sets/etc.tgz (8be140d63bd2e33b2a0783b54d6e081c6d0ae323a41d93712706cee0a62c7a89, 615K) is reproducible.
reproducible icon binary/sets/games.tgz (bef943495879cdaf370f7033b3d623fd63066dbb53164a5468a12582cdbc55a9, 3253K) is reproducible.
reproducible icon binary/sets/kern-GENERIC.tgz (4977fd712e67c67a0c9cd0aa5f75ef56202feab2c94fadfefc9c71c1b3834989, 8143K) is reproducible.
reproducible icon binary/sets/kern-XEN3_DOM0.tgz (05afe579eb6f8c424346b3b82b4f8c814dbb71f55e47c9ffc53e2360b992d380, 5900K) is reproducible.
reproducible icon binary/sets/kern-XEN3_DOMU.tgz (cc1805bf3984b97e22997ddda85767199ff17abfb6325ca501731ec7b0d4642e, 2566K) is reproducible.
reproducible icon binary/sets/man.tgz (429f3e70363613217a5d7fe476258dc9471606324b50424e0161728ce4825bb7, 11341K) is reproducible.
reproducible icon binary/sets/misc.tgz (5f21fbff0164256f6f7e26fbdfe04885c02db4c8f734837468882d8cb3442329, 5218K) is reproducible.
reproducible icon binary/sets/modules.tgz (dc19a053cd361ce64558e1d3c4c74b4276fede249637c835514bab26003154f4, 14072K) is reproducible.
reproducible icon binary/sets/tests.tgz (c52622ed5d0e44d0b90a6564869debe789644d826b062007ed162b7c0d885301, 8175K) is reproducible.
reproducible icon binary/sets/text.tgz (1b6fe4837d65c6416648cf7d62e688290a93b197cfd6198df91f50d7cb51ae1b, 2888K) is reproducible.
reproducible icon installation/cdrom/boot-com.iso (6dd16f90ded4009ad01fdc12dc449794c38fe318a58b3165971b6c3c51d700d3, 216M) is reproducible.
reproducible icon installation/cdrom/boot.iso (203427546be0704100bd6da53cedba88b69062dac45a761ce5cf636d57b08c98, 216M) is reproducible.
reproducible icon installation/miniroot/cgdroot.kmod (5f56bf02e469ca9ce5ab7561be86df1ed38ebe4a27d3814f3e9fac4afd09a231, 1107K) is reproducible.
reproducible icon installation/miniroot/miniroot.kmod (007abddb699097681ed8f1a260a62b35f1c8531b7ca556d677fddb96bce06d29, 1232K) is reproducible.
reproducible icon installation/misc/pxeboot_ia32.bin (bbe28a3d21318740015ba4c84a69cf1ee697ced8ab353b6bf74aa2eaec418895, 52K) is reproducible.
reproducible icon INSTALL.html (60791894b7e9438fe9b4b6a89df7efc1854ec7c1aa0a81e4ced0a272983fa944, 131K) is reproducible.
reproducible icon INSTALL.more (2eadca010165d64c70ad9d589e10e164b3a1e9d944b78fb2762fa306a008bca1, 103K) is reproducible.
reproducible icon INSTALL.ps (853c42c58e33229e7cccd41697690a5aa99d75735e74f9beabf4487a79b97bcc, 153K) is reproducible.
reproducible icon INSTALL.txt (d7ab778fe59bf85c08f4db8b2e4cca86df1510a0ab2c66cd96460656da80e66e, 96K) is reproducible.
Reproducible artifacts for sparc64
reproducible icon binary/kernel/netbsd-GENERIC.gz (b0de0b08def67747675ebaa56822829a511e1a7c7b7b4bd1df41d8c0d7161513, 5304K) is reproducible.
reproducible icon binary/kernel/netbsd-GENERIC.UP.gz (229cb533d0d62094b335c5f58fb6ca117a065939a63c6e80825ef56347ac7c3b, 5288K) is reproducible.
reproducible icon binary/kernel/netbsd-INSTALL.gz (0744fa5b707e9beef3ffcea7f9db823d409f3bb15ececab50ffae2f9f7f8cb43, 6294K) is reproducible.
reproducible icon binary/kernel/netbsd-INSTALL.symbols.gz (ca2297f1b03ee742f4b3beff2584a2da0dd64477faa8dcef76791a7b49e857f6, 240K) is reproducible.
reproducible icon binary/sets/base.tgz (0f02fe0c3fd310de9186cea3dbfeea8d3ee9a174488096436da5925e4a076785, 63M) is reproducible.
reproducible icon binary/sets/etc.tgz (2d62448d24a809d1906b14e0b17fcaefcfe0ea8073825d86e649166e92b5efbe, 614K) is reproducible.
reproducible icon binary/sets/games.tgz (69181fbf9dc332078f10b65998b508593b6e6ecb973ec5b3999252127a3f4b14, 3400K) is reproducible.
reproducible icon binary/sets/kern-GENERIC.tgz (25284a76c9c0108237294c7d4d4fb30f04865cfb687dea0b85a472e31d719905, 5303K) is reproducible.
reproducible icon binary/sets/kern-GENERIC.UP.tgz (289d2ec8834ba20c5575ff8c9fc6e231e8d3b26bac44a6f4aa333ed8acb8838e, 5288K) is reproducible.
reproducible icon binary/sets/man.tgz (80d7f9fdd72cd0fc825d38f07e375fd661142c00ccaa111162b17af70b43751b, 11254K) is reproducible.
reproducible icon binary/sets/misc.tgz (5f21fbff0164256f6f7e26fbdfe04885c02db4c8f734837468882d8cb3442329, 5218K) is reproducible.
reproducible icon binary/sets/modules.tgz (89d5dba815a2853a8c89326e9b6350277e4b7f1fffbd9d87f5b7e18de61b5f25, 2365K) is reproducible.
reproducible icon binary/sets/tests.tgz (d0b31bbbbfa8ea01f28c38cdf8779fc6b892b4fc43db55cef627a264c38fe1c9, 7947K) is reproducible.
reproducible icon binary/sets/text.tgz (c024f8cd524cbb1204f14ce1e8f7cbfc836bb18c0bbb8209d398d5f9e113bc33, 3019K) is reproducible.
reproducible icon installation/miniroot/miniroot.fs.gz (827cd97ef773d7d619ed10ec0d53dbba27fb53b3be0405c81182767d3c022797, 7281K) is reproducible.
reproducible icon installation/misc/bootblk (99b37fbde6cf6d795adf645a7f820eacc7a7f36e4c30eb2d5315b0ff113af74a, 7K) is reproducible.
reproducible icon installation/misc/boot.fs.gz (a2fcae85b997b7f5d74311d89145a6a7e16b101fa208d4c018b70c9b83cec357, 57K) is reproducible.
reproducible icon installation/misc/installboot (32b30c90fc64b7ba3fe425bfff965a34a96434e455f1bb32ee85aff743a8adf0, 97K) is reproducible.
reproducible icon installation/misc/instfs.tgz (6829bfecd81314cb17a36e399928916f1d9e5f443ef44eeaf9313f5120f7f4ce, 1985K) is reproducible.
reproducible icon installation/misc/ofwboot (0b46002d8e70d53748b2955648832e8716f6b64203dc08342d51d82e352295f0, 109K) is reproducible.
reproducible icon installation/netboot/ofwboot.net (0b46002d8e70d53748b2955648832e8716f6b64203dc08342d51d82e352295f0, 109K) is reproducible.
reproducible icon INSTALL.html (03db2b898a351385a902d7d10c026a9eb3f71c65aed057901886deca01c2cbeb, 186K) is reproducible.
reproducible icon INSTALL.more (d1fda22d753870922d8b098ff236ca0a90d76dee7e10909f88bf180c8de5253e, 146K) is reproducible.
reproducible icon INSTALL.ps (ad6bf7d3ac28bcc40c6ac2483b565adc9d57f2c20862df4cf0ab8c63c6d386ef, 216K) is reproducible.
reproducible icon INSTALL.txt (99f6d9ab028ced4e27e3674efdcbb9a9942a0aa83045dd85a3a3f9aedad521a6, 137K) is reproducible.

commit be04bbea3f6e2175fa2fa3d599b440fab0b80eea
Author: jmcneill 
Date:   Fri Jul 7 13:11:31 2017 +0000

    Add A83T files