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 Arch Linux is an effort to apply this to Arch Linux. Thus Arch Linux packages are build twice, with a few variations added and then the resulting packages from the two builds are compared using diffoscope. Please note that this is still at an early stage. Also there are more variations expected to be seen in the wild. Missing bits for testing Arch Linux:
- cross references to Debian notes - and having Arch Linux specific notes.
Missing bits for Arch Linux:
- code needs to be written to compare the packages built twice here against newly built packages from the Official Arch Linux repositories.
- user tools, for users to verify all of this easily.
If you want to help out or discuss reproducible builds in Arch Linux, please join #archlinux-reproducible on freenode.
|repository||all source packages||reproducible||unreproducible||failing to build||in depwait state||download problems||blacklisted||unknown state|
|core||198||157 (79.2%)||2 (1.0%)||37 (18.6%)||0||1 (.5%)||0||1 (.5%)|
|extra||2196||1811 (82.4%)||79 (3.5%)||277 (12.6%)||8 (.3%)||19 (.8%)||0||16 (.7%)|
|multilib||256||187 (73.0%)||7 (2.7%)||56 (21.8%)||0||6 (2.3%)||0||0|
|community||6916 (tested 97.9% of 7061)||5270 (76.2%)||652 (9.4%)||826 (11.9%)||10 (.1%)||151 (2.1%)||0||152 (2.1%)|
|all combined||9566 (tested 98.3% of 9725)||7425 (77.6%)||740 (7.7%)||1196 (12.5%)||18 (.1%)||177 (1.8%)||0||169 (1.7%)|
|variation||first build||second build|
|hostname||osuosl169-amd64 or osuosl170-amd64||the other one|
|domainname||is not yet varied between rebuilds of Arch Linux.|
|the build path||is not yet varied between rebuilds of Arch Linux|
|env PATH||is set to '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' because that's what makechrootpkg is using|
|env USER||jenkins||build 2|
|kernel version||Linux 5.8.0-0.bpo.2-amd64 #1 SMP Debian 5.8.10-1~bpo10+1 (2020-09-26) x86_64||is currently not varied between rebuilds of Arch Linux.|
|CPU type||AMD Opteron 62xx class CPU||same for both builds|
|year, month, date||osuosl169-amd64: today (2020-11-25) or osuosl170-amd64: 398 days in the future (2021-12-28)||the other one|
|hour, minute||hour and minute will probably vary between two builds...||the future system actually runs 398 days, 6 hours and 23 minutes ahead...|
|Filesystem||tmpfs||same for both builds (currently, this could be varied using disorderfs)|
|everything else...||is likely the same. There will be more variations in the wild.|