repro is a script to help with verifying and checking reproducibility of packages. It builds a systemd-nspawn(1) container with the Arch Linux bootstrap image to build packages in a clean chroot.
It takes a package as an argument and attempts to recreate the package with the information provided with BUILDINFO(5). It will use the Arch Linux archive to fetch packages with the correct pkgver.
OPTIONS
-h
Print help.
-d
When enabled diffoscope(1) is run on the produced packages. DIFFOSCOPE can be set in repro.conf(5) to change the diffoscope command.
-f
When enabled, repro check for a PKGBUILD file in the current working directory. This one is used to build the package instead of checking out a PKGBUILD from asp.
-n
When enabled makepkg runs with --nocheck.
-o
Set the output directory for the rebuilt packages. Defaults to ./build.
-f since Arch Linux 2026-11-01;
-h since Arch Linux 2026-11-01;
-n since Arch Linux 2026-11-01;
-o since Arch Linux 2026-11-01.
--admin-password until Debian 9 (Stretch);
--allow-bad-reg until Debian 9 (Stretch);
--cert-path until Debian 9 (Stretch);
--disable-auth until Debian 9 (Stretch);
--disable-reg until Debian 9 (Stretch);
--disable-v4 until Debian 9 (Stretch);
--disable-web-auth until Debian 9 (Stretch);
--domains until Debian 9 (Stretch);
--dtls until Debian 9 (Stretch);
--enable-cert-server until Debian 9 (Stretch);
--enable-v6 until Debian 9 (Stretch);
--enum-suffix until Debian 9 (Stretch);
--help until Debian 9 (Stretch);
--http until Debian 9 (Stretch);
--interfaces until Debian 9 (Stretch);
--log-level until Debian 9 (Stretch);
--log-type until Debian 9 (Stretch);
--q-value until Debian 9 (Stretch);
--q-value-behavior until Debian 9 (Stretch);
--q-value-cancel-btw-fork-groups until Debian 9 (Stretch);
--q-value-ms-before-cancel until Debian 9 (Stretch);
--q-value-ms-between-fork-groups until Debian 9 (Stretch);
--q-value-wait-for-terminate-btw-fork-groups until Debian 9 (Stretch);
--record-route until Debian 9 (Stretch);
--recursive-redirect until Debian 9 (Stretch);
--reqChainName until Debian 9 (Stretch);
--route until Debian 9 (Stretch);
--tcp until Debian 9 (Stretch);
--timer-C until Debian 9 (Stretch);
--tls until Debian 9 (Stretch);
--tls-domain until Debian 9 (Stretch);
--udp until Debian 9 (Stretch);
--usage until Debian 9 (Stretch);
--version until Debian 9 (Stretch);
-? until Debian 9 (Stretch);
-R until Debian 9 (Stretch);
-b until Debian 9 (Stretch);
-c until Debian 9 (Stretch);
-e until Debian 9 (Stretch);
-i until Debian 9 (Stretch);
-l until Debian 9 (Stretch);
-r until Debian 9 (Stretch);
-t until Debian 9 (Stretch);
-v until Debian 9 (Stretch).