Can you install arch with reproductible builds only ?

Regarding the arch reproducible status is it possible to install arch as a daily driver with those packages only ?

Posted May 25, 2021, 8:38 PM UTC

146
bandwagon_voter•

Given that the kernels (linux/linux-lts/linux-zen) are not reproducible I would have to say no, unless you are planning to run it in a containerised environment using the hosts kernel.

Edit: even then, many quite useful packages (binutils, gcc, python...) are not yet reproducible.

15
FoxboronTrusted User & Security Team•

No. There are no guarantees those numbers are going to stay that way. We are not demanding reproducible builds yet and a lot of things can happen. Evidently we have crept for almost 88% to 81% now because an issue has been found in the toolchain build order.

https://bugs.archlinux.org/task/70954

10
i_am_pacman•

Absolutely nothing to do with that bug. That affects the reproducibility of gcc and binutils only.

The plunge in reproducibility is because of packages build with pacman-6.0, which is not supported by the reproducible infrastructure yet.

6
[deleted]•

[deleted]

2
Sarcism•

How can you be sure that your distribution actually ships a binary compiled from source and did not tamper with it? That's the problem reproducible builds try to solve.

Compiling source X with toolchain Y generates the binary Z. If you don't trust your distribution you can take X and Y and reproduce the exact same binary Z.

If the build is not reproducible the binary might differ from the one created by your distribution and you'd have to trust them.

3
bandwagon_voter•

From https://reproducible-builds.org/ :

Whilst anyone may inspect the source code of free and open source software for malicious flaws, most software is distributed pre-compiled with no method to confirm whether they correspond. ... The motivation behind the Reproducible Builds project is therefore to allow verification that no vulnerabilities or backdoors have been introduced during this compilation process. By promising identical results are always generated from a given source, this allows multiple third parties to come to a consensus on a “correct” result, highlighting any deviations as suspect and worthy of scrutiny.

This is not as simple as it seems as many build systems will add things like the date it was compiled to the result or information about the machine compiling it, meaning the package will not be identical if rebuilt.

See https://wiki.archlinux.org/title/Reproducible_Builds for details on the Arch reproducible builds project.

2