[Pkg-rust-maintainers] Bug#992126: rust-coreutils: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Aug 12 11:52:38 BST 2021


Source: rust-coreutils
Version: 0.0.6-1~exp1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
rust-coreutils could not be built reproducibly.

This is because the "timeout" private binary includes the full
contents of argv[0] in its --help output (ie. including the absolute
build path).

The call to help2man in debian/rules then includes the build path in
the automatically-generated rust-timeout(1) manual page, making the
build not reproducible.

A patch is attached that uses the basename in the --help output
instead. This behaviour actually matches all of the other binaries in
that directory; curiously, only the rust-timeout binary is affected.

 [0] https://reproducible-builds.org/


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rust-coreutils.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20210812/cfba9588/attachment-0001.txt>


More information about the Pkg-rust-maintainers mailing list