Joey Hess: > 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.
Andrew Ayer has been working on a `dh_strip_nondeterminism` helper: http://anonscm.debian.org/cgit/reproducible/strip-nondeterminism.git/ We can move that chunk of code to it, alongside normalizers for gzip, zip, and jar files. But we were kinda hoping to get that helper as part of debhelper in order to not have to modify every packages to add a new Build-Depends. -- Lunar .''`. lu...@debian.org : :Ⓐ : # apt-get install anarchism `. `'` `-
signature.asc
Description: Digital signature