[Pkg-mc-devel] Bug#828683: Bug#828683: mc: please make the build reproducible

Reiner Herrmann reiner at reiner-h.de
Mon Jun 27 08:24:00 UTC 2016


On Sun, Jun 26, 2016 at 10:21:49PM +0200, Yury V. Zaytsev wrote:
> On Sun, 26 Jun 2016, Reiner Herrmann wrote:
> 
> >While working on the "reproducible builds" effort [1], we have noticed
> >that mc could not be built reproducibly. It embeds the current date into
> >the mcedit manpage during build.
> 
> Ok, I think that I can now see what went wrong here: Debian used to patch
> mcedit manpage, and so, mtime of the manpage file was set to the current
> time during the build. Our build system faithfully hardcoded this into the
> resulting man file.
> 
> Since then, however, I've upstreamed the patch and it was removed from
> 3:4.8.17-1, so I'm really wondering why it is still not working for you...

You are right, the mtime of the file is used for the manpage timestamp.
But there is still a patch modifying the manpage: mcedit_full_path.patch.
When this patch is upstreamed, the SOURCE_DATE_EPOCH patch is not needed,
though it would still help when the manpages are patched.
-------------- 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/pkg-mc-devel/attachments/20160627/a8c17bf2/attachment-0001.sig>


More information about the Pkg-mc-devel mailing list