Source: procmail
Version: 3.24+really3.22-5
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]
User: [email protected]
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

Attachment: 0001-Move-to-dh-debputy-to-build-without-fake-root.patch
Description: application/mbox

Reply via email to