Bug 245957

Summary: [exp-run] reproducible builds
Product: Ports & Packages Reporter: Baptiste Daroussin <bapt>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: New ---    
Severity: Affects Only Me CC: emaste, ports-bugs
Priority: --- Flags: bapt: exp-run?
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D24586

Description Baptiste Daroussin freebsd_committer 2020-04-27 08:03:49 UTC
One step further in reproducible builds.

Activate SOURCE_DATE_EPOCH env var each time a distinfo provides a timestamp
and pass it to pkg create.
Comment 1 Antoine Brodin freebsd_committer 2020-04-27 22:33:54 UTC
There is a problem with at least all python 2.7 ports:

# pkg check -s -a
Checking all packages:  57%
py27-setuptools-44.0.0: checksum mismatch for /usr/local/lib/python2.7/site-packages/pkg_resources/__init__.pyc
py27-setuptools-44.0.0: checksum mismatch for /usr/local/lib/python2.7/site-packages/pkg_resources/_vendor/__init__.pyc
py27-setuptools-44.0.0: checksum mismatch for /usr/local/lib/python2.7/site-packages/pkg_resources/_vendor/appdirs.pyc
py27-setuptools-44.0.0: checksum mismatch for /usr/local/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/__about__.pyc
py27-setuptools-44.0.0: checksum mismatch for /usr/local/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/__init__.pyc
Comment 2 Baptiste Daroussin freebsd_committer 2020-05-22 09:04:40 UTC
Interesting enough I do not reproduce the problem locally with python 2.7
Comment 3 Baptiste Daroussin freebsd_committer 2020-05-22 09:07:48 UTC
never mind, I just did
Comment 4 Baptiste Daroussin freebsd_committer 2020-05-22 09:17:19 UTC
Updated marking python < 3.7 as not reproducible: https://www.python.org/dev/peps/pep-0552/
Comment 5 Baptiste Daroussin freebsd_committer 2020-07-21 20:10:11 UTC
any news on this exp-run ?
Comment 6 Antoine Brodin freebsd_committer 2020-07-21 20:38:36 UTC
(In reply to Baptiste Daroussin from comment #5)
The review requires changes