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

Jérémy Bobbio lunar at debian.org
Sat Aug 30 20:39:13 UTC 2014


Package: debhelper
Version: 9.20140817
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: toolchain, timestamps
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi!

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).

 [1]: https://wiki.debian.org/ReproducibleBuilds

-- 
Lunar                                .''`. 
lunar at debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dh_strip-normalize-ar-file-headers-for-reproducible-.patch
Type: text/x-diff
Size: 3597 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20140830/182aa8c4/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20140830/182aa8c4/attachment-0001.sig>


More information about the debhelper-devel mailing list