[Build-common-hackers] Bug#794241: cdbs: please export $SOURCE_DATE_EPOCH to produce reproducible output

Maria Valentina Marin marivalenm at gmail.com
Fri Jul 31 15:20:32 UTC 2015


Source: cdbs
Version: 0.4.130
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi!

The Debian reproducible builds team [1] recently proposed a new
environment variable $SOURCE_DATE_EPOCH to be used by packages to
produce reproducible timestamps (for example in documentation) [2].

This environment variable is currently being exported by debhelper from
our experimental git repository which we have patched such that packages
using dh (debhelper >= 9) in debian/rules become automatically reproducible.

The patch to debhelper does not affect packages which use cdbs as their
build system. Therefore I propose the attached patch which makes cdbs
export $SOURCE_DATE_EPOCH.

A version of cdbs with this patch is currently being used in the
reproducible builds git repository and it has been successful at making
a package become reproducible.

This bug is in addition to this other bug from the reproducible builds team:
https://bugs.debian.org/764478

Kind Regards,
akira

[1] https://wiki.debian.org/ReproducibleBuilds/About
[2] https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cdbs.diff
Type: text/x-patch
Size: 865 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20150731/60498202/attachment.bin>
-------------- 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/build-common-hackers/attachments/20150731/60498202/attachment.sig>


More information about the Build-common-hackers mailing list