Req #69727 [Opn]: Remove timestamps from build to make it reproducible

From: Date: Wed, 16 Sep 2015 16:16:51 +0000
Subject: Req #69727 [Opn]: Remove timestamps from build to make it reproducible
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-196041@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69727&edit=1 ID: 69727 Updated by: levim@php.net Reported by: thijs at debian dot org Summary: Remove timestamps from build to make it reproducible Status: Open Type: Feature/Change Request Package: Unknown/Other Function PHP Version: 5.6.9 Block user comment: N Private report: N New Comment: To your knowledge is there anything else that prevents reproducible builds for PHP? Previous Comments: ------------------------------------------------------------------------ [2015-05-29 08:19:28] thijs at debian dot org Description: ------------ The PHP build embeds timestamps into the generated binaries at build time. This makes the build not reproducible, as in that the same source code will not generate the bitwise exact same binaries. Reproducible builds are important amongst others to verify the integrity of distributions. See: https://wiki.debian.org/ReproducibleBuilds We believe the value of the embedded timestamps is very limited. They do not indicate which release, commit or git branch has been built, only a date which in itself does not really say something. Therefore it seems safe to remove them. Test script: --------------- https://reproducible.debian.net/rb-pkg/unstable/amd64/php5.html Expected result: ---------------- Building PHP two times yields bitwise identical binaries. Actual result: -------------- Building PHP two times yields bitwise different binaries. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69727&edit=1

« previous php.bugs (#196041) next »