[Reproducible-builds] Bug#832099: lintian: please check for unnecessary SOURCE_DATE_EPOCH assignments

Mattia Rizzolo mattia at debian.org
Fri Jul 22 10:42:57 UTC 2016


On Fri, Jul 22, 2016 at 11:55:46AM +0200, Chris Lamb wrote:
> Attached is the following:
> 
>   commit 3b10f7dbaecedb0a458c25cc0b8615b489d424af
>   Author: Chris Lamb <lamby at debian.org>
>   Date:   Fri Jul 22 10:54:02 2016 +0100
>   
>       c/rules: Check for unnecessary SOURCE_DATE_EPOCH assignments
>       
>       As of dpkg 1.18.8, this is no longer necessary as dpkg exports this
>       variable if it is not already set (#759999). This should encourage
>       removing some duplicated code from a lot of our rules files.

though, using dpkg-buildpackage is not mandatory, a package should be
able to build with just `debian/rules binary`.  In such case SDE
wouldn't be exported.

This looks fairly similar to e.g. DEB_HOST_ARCH & friends variables,
that even if they are exported by dpkg-buildpackage you should set them
in d/rules nonetheless.

At least, that's what my AM told me back then ^^

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160722/79e55093/attachment.sig>


More information about the Reproducible-builds mailing list