Page MenuHomeFreeBSD

make lang/erlang-runtime23 package build reproducible
AbandonedPublic

Authored by sg2342_googlemail.com on Jul 12 2020, 11:36 PM.
Referenced Files
Unknown Object (File)
Sun, Jan 15, 4:10 AM
Unknown Object (File)
Fri, Jan 13, 10:59 PM
Unknown Object (File)
Dec 12 2022, 12:38 PM
Subscribers

Details

Reviewers
None
Group Reviewers
Erlang
Summary

in order to make the package build reproducible, it is necessary to:

  1. set configure arg '--disable-saved-compile-time' (supported since OTP-19.0)
  2. replace generated timestamps in header files created by snmp mib compiler
  3. replace generated timestamps in release script files created by reltool
  4. set SOURCE_DATE_EPOCH to TIMESTAMP in PKG_ENV
Test Plan

run

poudriere bulk -C lang/erlang-runtime23

twice, compare the packages produced.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped