[debhelper-devel] Bug#759895: Bug#759895: debhelper: please strip non-deterministic data from static libraries

Joey Hess joeyh at debian.org
Sun Aug 31 21:32:18 UTC 2014


Jérémy Bobbio wrote:
> Currently, static libraries shipped in Debian package capture the time
> when the package is built. As part of the “reproducible builds”
> project [1], it would be great to have static libriaries normalized.
> 
> The attached patch will make `dh_strip` replace non-deterministic data
> in static libraries. The replacement data is the same as the one put by
> `ar` from binutils when used with the `D` option (deterministic mode).

I think this is awesome! However, I am uncomfortable putting this big
block of code into debhelper.

> +sub normalize_ar {
...
> +}

Could it be moved to a utility that could 
a) be maintained by someone else, perhaps in a package such as binutils
and b) could be used by non-debhelper users inside and outside of
debian.

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20140831/0532c96b/attachment-0001.sig>


More information about the debhelper-devel mailing list