[Reproducible-builds] GSoC 2015 Week 7: Move forward reproducible builds

Ximin Luo infinity0 at pwned.gg
Mon Jul 13 20:12:27 UTC 2015

On 13/07/15 18:14, Dhole wrote:
> NOTE: there are still packages generating docs with libslt not
> reproducible. This is because the patch for dh to export
> SOURCE_DATE_EPOCH only works for calls to doc generation under dh. Some
> packages have the calls to generate docs directly in debian/rules so
> SOURCE_DATE_EPOCH is not set there. A solution needs to be found for that.

Nice work, thanks!

One idea I had, was to add this to a file in /usr/share/dpkg, maybe even its own file like /usr/share/dpkg/env.mk, then include it from /usr/share/dpkg/default.mk

The package maintainer would still have to manually include this in debian/rules, but (a) this is quite a standard thing to do, and extends to the future, and (b) some packages already do it, even if they don't use debhelper.

For packages still using CDBS, we can probably do a similar thing for /usr/share/cdbs/1/rules/buildcore.mk.

For packages that don't use anything in debian/rules that we can hook into, I think the only solution is to patch it. Do we have an estimate of the number of packages that this affects?



-------------- 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/20150713/30b827eb/attachment.sig>

More information about the Reproducible-builds mailing list