[Reproducible-builds] Bug#789648: apt-dater: please make the build reproducible

Ximin Luo infinity0 at pwned.gg
Tue Jun 23 09:06:03 UTC 2015


On 23/06/15 03:42, Dhole wrote:
> Source: apt-dater
> Version: 1.0.1+git20150119-1
> Severity: wishlist
> Tags: patch
> User: reproducible-builds at lists.alioth.debian.org
> Usertags: timestamps
> 
> Hi!
> 
> While working on the “reproducible builds” effort [1], we have noticed
> that apt-dater could not be built reproducibly.
> 
> The attached patch allows the build date embedded in apt-dater.c (coming
> from the C macros __DATE__ and __TIME__) to be set externally with the
> BUILD_DATE define, and specifically it is set to the last
> debian/changelog entry. In case the BUILD_DATE define is not exported,
> the package can be built embedding a timestamp of the compilation time.
> Once applied, apt-dater can be built reproducibly in our current
> experimental framework.
> 
>  [1]: https://wiki.debian.org/ReproducibleBuilds
> 

Hi,

Please see https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal

We decided to standardise SOURCE_DATE_EPOCH for this sort of thing. help2man(1) already supports it, see #787444. At some point we will get debhelper to set this automatically.

I haven't looked at the patch, but I imagine it should be straightforward to s/BUILD_DATE/SOURCE_DATE_EPOCH.

X

-- 
GPG: 4096R/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150623/6e0d83d6/attachment.sig>


More information about the Reproducible-builds mailing list