Skip to main navigation Skip to search Skip to main content

Does Functional Package Management Enable Reproducible Builds at Scale? Yes.

  • Institut Polytechnique de Paris

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Citation (Scopus)

Abstract

Reproducible Builds (R-B) guarantee that rebuilding a software package from source leads to bitwise identical artifacts. R-B is a promising approach to increase the integrity of the software supply chain, when installing open source software built by third parties. Unfortunately, despite success stories like high build reproducibility levels in Debian packages, uncertainty remains among field experts on the scalability of R-B to very large package repositories. In this work, we perform the first large-scale study of bitwise reproducibility, in the context of the Nix functional package manager, rebuilding 709816 packages from historical snapshots of the nixpkgs repository, the largest cross-ecosystem open source software distribution, sampled in the period 2017-2023. We obtain very high bitwise reproducibility rates, between 69 and 91% with an upward trend, and even higher rebuildability rates, over 99%. We investigate unreproducibility causes, showing that about 15% of failures are due to embedded build dates. We release a novel dataset with all build statuses, logs, as well as full 'diffoscopes': recursive diffs of where unreproducible build artifacts differ.

Original languageEnglish
Title of host publicationProceedings - 2025 IEEE/ACM 22nd International Conference on Mining Software Repositories, MSR 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages775-787
Number of pages13
ISBN (Electronic)9798331501839
DOIs
Publication statusPublished - 1 Jan 2025
Event22nd IEEE/ACM International Conference on Mining Software Repositories, MSR 2025 - Ottawa, Canada
Duration: 27 Apr 202529 Apr 2025

Publication series

NameProceedings - 2025 IEEE/ACM 22nd International Conference on Mining Software Repositories, MSR 2025

Conference

Conference22nd IEEE/ACM International Conference on Mining Software Repositories, MSR 2025
Country/TerritoryCanada
CityOttawa
Period27/04/2529/04/25

Keywords

  • functional package management
  • reproducibility
  • reproducible builds
  • security
  • software supply chain

Fingerprint

Dive into the research topics of 'Does Functional Package Management Enable Reproducible Builds at Scale? Yes.'. Together they form a unique fingerprint.

Cite this