info > DEBREPRO

🔤 NAME

debrepro - reproducibility tester for Debian packages

🚀 Quick Reference

Use CaseCommandDescription
Test current directorydebreproBuild twice and compare binaries
Specify source directorydebrepro /path/to/sourceUse given unpacked Debian source
Skip a variationdebrepro --skip timeOmit the time variation test
Run command before second builddebrepro --before-second-build "patch -p1 < /path/to/patch"Apply a patch before second build
Set build timeoutdebrepro --timeout 1hAbort builds after specified duration

📋 SYNOPSIS

debrepro [OPTIONS] [SOURCEDIR]

📖 DESCRIPTION

debrepro will build a given source directory twice, with a set of variations between the first and the second build, and compare the produced binary packages. If diffoscope is installed, it is used to compare non-matching binaries. If disorderfs is installed, it is used during the build to inject non-determinism in filesystem listing operations.

SOURCEDIR must be a directory containing an unpacked Debian source package. If SOURCEDIR is omitted, the current directory is assumed.

📁 OUTPUT DIRECTORY

At the very end of a build, debrepro will inform the location of the output directory where the build artifacts can be found. In that directory, you will find:

Taking a diff(1) between $OUTPUTDIR/first/build.sh and $OUTPUTDIR/second/build.sh is an excellent way of figuring out exactly what changed between the two builds.

🔄 SUPPORTED VARIATIONS

⚙️ OPTIONS

🚪 EXIT STATUS

Exit CodeMeaning
0Package is reproducible. (Reproducible here means that the two builds produced exactly the same binaries, under the set of variations that debrepro tests. Other sources of non-determinism in builds that are not yet tested might still affect builds in the wild.)
1Package is not reproducible.
2The given input is not a valid Debian source package.
3Required programs are missing.

📚 SEE ALSO

diffoscope (1), disorderfs (1), timeout(1)

👤 AUTHOR

Antonio Terceiro <terceiro AT debian.org>.

DEBREPRO
🔤 NAME 🚀 Quick Reference 📋 SYNOPSIS 📖 DESCRIPTION 📁 OUTPUT DIRECTORY 🔄 SUPPORTED VARIATIONS ⚙️ OPTIONS 🚪 EXIT STATUS 📚 SEE ALSO 👤 AUTHOR

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-16 09:25 @2600:1f28:365:80b0:7cb9:fb:26c1:e368
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!