Job orb on ubuntu-18.04
README
Skip to buildsorb: check opam package reproducibility
This tool can check if an opam package build is reproductible (cf. https://reproducible-builds.org). It has two subcommands: build and rebuild.
The orb build conducts a build of an opam package, and collects the build result (and hashes thereof) and the build input (or build info), consisting of:
- build-environment (the environment variables plus OS/OS_DISTRIBUTION/OS_FAMILY/OS_VERSION/ORB_VERSION)
- system-packages (the installed packages on the system)
- opam-switch (opam switch export --full --freeze - a textual representation containing all installed opam packages)
- *.build-hashes with maps of installed files to their hashes
The orb rebuild takes this data as input and conducts a second build with the same environment, and compares that the hashes of the produced binaries are identical.
The orb build also has a command-line flag "--twice" to conduct a build and a rebuild directly afterwards. For debugging reproducibility, the "--keep-build-dir" option is provided that allows to compare intermediate build products as well.
Please have a look at "--out", "--switch-name", "--solver-timeout", "--date", and other command line parameters.
It is currently used as a payload of builder-worker to run the reproducible MirageOS unikernels infrastructure.
Binary packages for different platforms (Debian, Ubuntu, FreeBSD) are available at https://builds.robur.coop
Install & use
$ opam pin git+https://github.com/roburio/orb#next
$ orb build --twice --repos=default:https://opam.ocaml.org cmdliner
Simple (and fast) failing and successful reproducible opam packages are in the reproducible-testing-repo.
Builds
Back to readme- ☑ ubuntu-18.04 2022-08-17 09:36:34Z orb.deb
SHA256:87c3480b91ebf30d9d1c2e407ab97b7bd816cccc92061136376acc44072277bf
(3.95MB) - ☑ ubuntu-18.04 2022-08-12 10:23:19Z orb.deb
SHA256:b40eab9312a9328368c3743a72d70f1624074b02b50eb95a5b0374cf0f9c11a8
(3.94MB) - ☑ ubuntu-18.04 2022-08-07 09:36:16Z orb.deb
SHA256:8376efcfe3174e8940949927321e9bfe6a5a958a56eaed15fc6b464b407484a2
(3.94MB) - ☑ ubuntu-18.04 2022-08-05 09:36:15Z orb.deb
SHA256:4583577b6d782fcf66ebca501288b5789f90368ce0e718b68effdd0210128f91
(3.95MB) - ☑ ubuntu-18.04 2022-07-26 19:13:06Z orb.deb
SHA256:de157c0a5fad276c7631e7e676147a8ece7bbd938af9e8b3216bbda5fd9270bc
(3.94MB) - ☑ ubuntu-18.04 2022-07-22 19:12:57Z orb.deb
SHA256:e938128fa1b1ff2a3f3ecc57f413f981b84a056baa30da25f85ec4f60cb37f14
(3.93MB)
Including failed builds here.