Bug#1140645: procmail: please make the build reproducible

Jochen Sprickerhof jspricke at debian.org
Tue Jun 23 23:18:39 BST 2026


Source: procmail
Version: 3.24+really3.22-5
Severity: normal
Tags: patch
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
User: reproducible-builds at lists.alioth.debian.org
Usertags: environment

Hi Santiago,

procmail is currently not reproducible on reproduce.debian.net:

https://reproduce.debian.net/excuses.html?source_name=procmail

The problem is that it uses Rules-Requires-Root: binary-targets and with
that fakeroot and that influences the build result. As the fakeroot
package is not recorded in the buildinfo file, we can't use it during
the rebuild and the generated binaries differ. binary-targets is only
needed for dh_fixperms in debian/rules and a better way is to use
debputy to adopt the owner and permissions in the generated package.
Please find attached a patch for procmail to do that and make it
reproducible. Note that it also makes three example shell scripts
executable, I think that makes sense:

│ │ │ --rw-r--r--   0 root         (0) root         (0)      404 1996-12-21 03:28:15.000000 ./usr/share/doc/procmail/examples/1rmail
│ │ │ +-rwxr-xr-x   0 root         (0) root         (0)      404 1996-12-21 03:28:15.000000 ./usr/share/doc/procmail/examples/1rmail
│ │ │  -rw-r--r--   0 root         (0) root         (0)     1989 1994-05-26 13:46:40.000000 ./usr/share/doc/procmail/examples/2procmailrc
│ │ │ --rw-r--r--   0 root         (0) root         (0)      396 1996-12-21 03:28:15.000000 ./usr/share/doc/procmail/examples/2rmail
│ │ │ +-rwxr-xr-x   0 root         (0) root         (0)      396 1996-12-21 03:28:15.000000 ./usr/share/doc/procmail/examples/2rmail
│ │ │  -rw-r--r--   0 root         (0) root         (0)     1533 1994-05-26 13:46:41.000000 ./usr/share/doc/procmail/examples/3procmailrc
│ │ │ --rw-r--r--   0 root         (0) root         (0)      761 1996-12-21 03:28:15.000000 ./usr/share/doc/procmail/examples/3rmail
│ │ │ +-rwxr-xr-x   0 root         (0) root         (0)      761 1996-12-21 03:28:15.000000 ./usr/share/doc/procmail/examples/3rmail

Please say if you disagree and I can work on a patch to recover the old
behaviour.

Could you please apply the attached patch and upload a new revision?

Thanks!

Jochen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Move-to-dh-debputy-to-build-without-fake-root.patch
Type: application/mbox
Size: 1932 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20260624/450dc3ce/attachment.mbox>


More information about the Reproducible-bugs mailing list