Debian Bug report logs - #915303
mailagent: reproducible build (usrmerge): embeds path of cat and zcat found via PATH

version graph

Package: mailagent; Maintainer for mailagent is Manoj Srivastava <srivasta@debian.org>; Source for mailagent is src:mailagent (PTS, buildd, popcon).

Reported by: Andreas Henriksson <andreas@fatal.se>

Date: Sun, 2 Dec 2018 16:54:05 UTC

Severity: normal

Tags: patch

Found in version 3.1-81-4

Fixed in version mailagent/1:3.1-106-1

Done: Manoj Srivastava <srivasta@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#915303; Package mailagent. (Sun, 02 Dec 2018 16:54:08 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Henriksson <andreas@fatal.se>:
New Bug report received and forwarded. Copy sent to Manoj Srivastava <srivasta@debian.org>. (Sun, 02 Dec 2018 16:54:08 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Andreas Henriksson <andreas@fatal.se>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mailagent: reproducible build (usrmerge): embeds path of cat and zcat found via PATH
Date: Sun, 2 Dec 2018 17:50:54 +0100
[Message part 1 (text/plain, inline)]
Package: mailagent
Version: 3.1-81-4
Severity: normal
Tags: patch
User: md@linux.it
Usertags: usrmerge

Dear Maintainer,

The package currently fails to build reproducibly on merge-usr vs
non-merged systems.

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/mailagent.html

The problem is that the full path of cat and zcat is lookup up via PATH
at build-time and embedded into shipped files.
On merged-usr systems /bin is a symlink to /usr/bin and PATH normally
contains /usr/bin before /bin, thus finding /usr/bin/cat (instead
of /bin/cat like on a non-merged system).

The problem is easily fixed by explicitly passing the paths to use
to configure via debian/rules. Please see attached debdiff.

Regards,
Andreas Henriksson
[mailagent-usrmerge.debdiff (text/plain, attachment)]

Reply sent to Manoj Srivastava <srivasta@debian.org>:
You have taken responsibility. (Thu, 21 May 2020 08:39:03 GMT) (full text, mbox, link).


Notification sent to Andreas Henriksson <andreas@fatal.se>:
Bug acknowledged by developer. (Thu, 21 May 2020 08:39:03 GMT) (full text, mbox, link).


Message #10 received at 915303-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 915303-close@bugs.debian.org
Subject: Bug#915303: fixed in mailagent 1:3.1-106-1
Date: Thu, 21 May 2020 08:36:01 +0000
Source: mailagent
Source-Version: 1:3.1-106-1
Done: Manoj Srivastava <srivasta@debian.org>

We believe that the bug you reported is fixed in the latest version of
mailagent, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 915303@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Manoj Srivastava <srivasta@debian.org> (supplier of updated mailagent package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 21 May 2020 00:30:17 -0700
Source: mailagent
Architecture: source
Version: 1:3.1-106-1
Distribution: unstable
Urgency: medium
Maintainer: Manoj Srivastava <srivasta@debian.org>
Changed-By: Manoj Srivastava <srivasta@debian.org>
Closes: 915303 919182
Changes:
 mailagent (1:3.1-106-1) unstable; urgency=medium
 .
   * Upstream has moved to git. This is the new upstream HEAD
   * Indeed, whilst the current version worked fine with Debian 7, changes
     made to INN2 on Debian 9 break the POST command and cause the messages
     to be rejected as news articles.
   * Bug fix: "Mailagent not up-to-date", thanks to Raphael Manfredi
     (Closes: #919182).
   * Pass configure flags -D cat=/bin/cat -D zcat=/bin/zcat fixes
     reproducible build on merged-usr vs non-merged
   * Bug fix: "reproducible build (usrmerge): embeds path of cat and zcat
     found via PATH", thanks to Andreas Henriksson (Closes: #915303).
Checksums-Sha1:
 ba0851bc7a74ffb967447b9a9e57f3349818db14 1810 mailagent_3.1-106-1.dsc
 1917244c948fb3987f372454dcf76260f6e1b1df 574866 mailagent_3.1-106.orig.tar.gz
 5c8dba92b8ef333c5b20afd5f40e5ce9cfb3006c 76559 mailagent_3.1-106-1.diff.gz
Checksums-Sha256:
 baa6c8a715fc9a3e0d602478449b8cf98eccaa07d445d8a891017c8c4ba32724 1810 mailagent_3.1-106-1.dsc
 40150fd934ed91eb7f4614ec004797eae06eb3bac2a0ab4df58cc28c0d7f4aa4 574866 mailagent_3.1-106.orig.tar.gz
 72832da16c8198a5fe276dfb1359f0fa4718a678f8339d4143f9f09ac88d7b38 76559 mailagent_3.1-106-1.diff.gz
Files:
 1313baa698c341c336c671e0568e2643 1810 mail optional mailagent_3.1-106-1.dsc
 65b11fc4914495381b7999b15f4471f7 574866 mail optional mailagent_3.1-106.orig.tar.gz
 848bec9bb1364a78b181a3152106da76 76559 mail optional mailagent_3.1-106-1.diff.gz

-----BEGIN PGP SIGNATURE-----

iQGZBAEBCgCDFiEEq6cQJaG1qIpOX2jCNr1yD29XZHIFAl7GNkRQFIAAAAAAGwAs
c3JpdmFzdGFAZ29sZGVuLWdyeXBob24uY29tQUJBNzEwMjVBMUI1QTg4QTRFNUY2
OEMyMzZCRDcyMEY2RjU3NjQ3Ml8yMjYUHHNyaXZhc3RhQGRlYmlhbi5vcmcACgkQ
Nr1yD29XZHLKPwf9Ftz3cCxVzXC8FFtr1oaIrYI5XTCZcbPZfhVm6ORkpviKAABJ
Ts2DG87/tYDWlMb64XT+Wt2Q/8Gxj7CbeaJAGiUz7Uadmsw0aL4UiiU9JC8TjUAH
PCelotqlFApruhufq5nrLgDGV0gdmDdpFpMs48iUnANAutZfc26AWDVXRPk13HRB
FjbkBdvjPwL9UvXJO/pGL+ErN2H0W8UipwYD4lsB828clxLyKBdFMISn8tOfWRSj
MQy3/PaPizwhSxkxX3kpNAQ9YX+7+Tm04Ni+ljGpCb/KqfeRiSx7nqMJE12scwHb
dg/t671hDWobdfoFrUe/hGHXY/xHZf44rvc34Q==
=wJE7
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 19 Jun 2020 07:24:33 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 11:25:48 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.