[Reproducible-builds] Bug#764251: socat: please set the build timestamp to a deterministic time

Jérémy Bobbio lunar at debian.org
Mon Oct 6 17:00:52 UTC 2014


Source: socat
Version: 1.7.2.4-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps

Hi!

As part of the “reproducible builds” effort, we have discovered that
socat is using the __DATE__ and __TIME__ C pre-processor macro to record
the time of the build. This prevent socat build to be reproducible.

The attached patch will instead set the value of the `timestamp`
variable to the date of the latest debian/changelog entry. In order to
do so, it will patch the build system to allow the build timestamp to be
externally set through the BUILD_DATE variable.

Once applied, socat can be built reproducibly.

-- 
Lunar                                .''`. 
lunar at debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: socat_1.7.2.4-1+reproducible.patch
Type: text/x-diff
Size: 3545 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20141006/7f5e9219/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20141006/7f5e9219/attachment.sig>


More information about the Reproducible-builds mailing list