[Reproducible-builds] Bug#827731: tin: please make the build reproducible (locale)

Alexis Bienvenüe pado at passoire.fr
Mon Jun 20 10:39:12 UTC 2016


Source: tin
Version: 1:2.3.2-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

While working on the `€œreproducible builds'€ effort [1], we have noticed
that 'tin' could not be built reproducibly.

Since LC_ALL overwrites the LC_TIME value, the cpp_reprtime script
output is locale-dependent. This could be fixed adding a LC_ALL=C
definition, but as gcc now supports the SOURCE_DATE_EPOCH environment
variable [2] to set the __DATE__ value, I think the best option is to
drop cpp_reprtime -- see attached patch.

Once applied, tin can be built reproducibly in our current
experimental framework.

Regards,
Alexis Bienvenüe.

 [1]: https://wiki.debian.org/ReproducibleBuilds
 [2]: https://reproducible-builds.org/specs/source-date-epoch/



-------------- next part --------------
A non-text attachment was scrubbed...
Name: tin_2.3.2-1_reproducible.diff
Type: text/x-patch
Size: 2220 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160620/f1c30529/attachment.bin>


More information about the Reproducible-builds mailing list