Bug#1034892: php8.2: reproducible-builds: Timestamps in phar files
Vagrant Cascadian
vagrant at reproducible-builds.org
Wed Apr 26 22:31:37 BST 2023
Source: php8.2
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org, Jelle van der Waa <jelle at vdwaa.nl>
Somehow the build time affects or is embedded in the generation of
/usr/bin/phar*.phar:
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/php8.2.html
The attached patch fixes this by setting the timestamp embedded to "0".
I have not tested that the resulting phar8.2.phar functions correctly,
but it does build, so it would be good for someone who knows how to use
phar to test that before applying!
According to my local tests, with this patch applied (and the one for
usrmerge) php8.2 should become reproducible once it transitions to
bookworm/testing!
Other outstanding issues (e.g. build paths) which are tested only on
unstable and experimental, and still need further investigation.
Thanks for maintaining php8.2!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Remove-timestamps-from-phar.patch
Type: text/x-diff
Size: 1339 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230426/50aea2b6/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230426/50aea2b6/attachment.sig>
More information about the Reproducible-bugs
mailing list