Debian Bug report logs -
#1030727
multipath-tools: please make the build reproducible
Reported by: "Chris Lamb" <lamby@debian.org>
Date: Mon, 6 Feb 2023 20:24:02 UTC
Severity: wishlist
Tags: patch
Found in version multipath-tools/0.9.4-2
Fixed in version multipath-tools/0.9.4-3
Done: Chris Hofstaedtler <zeha@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian DM Multipath Team <team+linux-blocks@tracker.debian.org>:
Bug#1030727; Package src:multipath-tools.
(Mon, 06 Feb 2023 20:24:04 GMT) (full text, mbox, link).
Acknowledgement sent
to "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian DM Multipath Team <team+linux-blocks@tracker.debian.org>.
(Mon, 06 Feb 2023 20:24:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: multipath-tools
Version: 0.9.4-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
multipath-tools could not be built reproducibly.
This is because there is a race condition in the build/installation of
the manpages. Specifically, it is possible for the manpages to either
be regenerated in a build (and therefore lead to the date being set to
the value of SOURCE_DATE_EPOCH), but it also possible for them not to
be processed at all, thus leading them to be installed as-is with a
date of "March 2018".
Naturally, this is nondeterminstic so somewhat difficult to
programmatically trigger, but I found running the build in a loop will
find a difference within 5 or 6 runs or so.
I can't seem to locate a deep fix, but a patch is attached that forces
the build to be single-threaded via the addition of the --parallel=1
switch. I found that both the build and udeb build variants need to
have this option.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
[multipath-tools.diff.txt (text/plain, attachment)]
Reply sent
to Chris Hofstaedtler <zeha@debian.org>:
You have taken responsibility.
(Tue, 07 Feb 2023 10:54:04 GMT) (full text, mbox, link).
Notification sent
to "Chris Lamb" <lamby@debian.org>:
Bug acknowledged by developer.
(Tue, 07 Feb 2023 10:54:04 GMT) (full text, mbox, link).
Message #10 received at 1030727-close@bugs.debian.org (full text, mbox, reply):
Source: multipath-tools
Source-Version: 0.9.4-3
Done: Chris Hofstaedtler <zeha@debian.org>
We believe that the bug you reported is fixed in the latest version of
multipath-tools, 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 1030727@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Hofstaedtler <zeha@debian.org> (supplier of updated multipath-tools 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: SHA256
Format: 1.8
Date: Tue, 07 Feb 2023 10:16:57 +0000
Source: multipath-tools
Architecture: source
Version: 0.9.4-3
Distribution: unstable
Urgency: medium
Maintainer: Debian DM Multipath Team <team+linux-blocks@tracker.debian.org>
Changed-By: Chris Hofstaedtler <zeha@debian.org>
Closes: 1030727
Changes:
multipath-tools (0.9.4-3) unstable; urgency=medium
.
[ Chris Lamb ]
* [f6f7ab0] Avoid race condition in man page build.
Leads to unreproducible contents. (Closes: #1030727)
Checksums-Sha1:
ccfebdbd11311642ab4c541af48709fb0956db7d 2572 multipath-tools_0.9.4-3.dsc
cf4f482f3b0b254ba98503103ef7d4f2d45b9d00 29176 multipath-tools_0.9.4-3.debian.tar.xz
7097ab02f31379fbccf50a716a107e75aa825a99 6258 multipath-tools_0.9.4-3_source.buildinfo
Checksums-Sha256:
7280afbca42303b5f7a0d184a93a763976031230d2a20bc435509dbc988974b9 2572 multipath-tools_0.9.4-3.dsc
36dbc26b8e2dea13d8c5753fee1d316a3f98c13d0ccea2aad47c50d579895be2 29176 multipath-tools_0.9.4-3.debian.tar.xz
13e0d4da5a54ea97923fe3c6be6db8523872bf19a8767a0407246e883b68b773 6258 multipath-tools_0.9.4-3_source.buildinfo
Files:
d17231fdd21e8a0a187f5157b682dbba 2572 admin optional multipath-tools_0.9.4-3.dsc
aa341b8ef38f9e79879aa9564ff03eb5 29176 admin optional multipath-tools_0.9.4-3.debian.tar.xz
4962226c1bf2394c24b214f481af43d3 6258 admin optional multipath-tools_0.9.4-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmPiJ5AACgkQXBPW25MF
LgO4vw//fIyZNLiDaGaTtYdKxSWbUPFZ4swN/D/FdvUbnpNOuEXMsOLkHdrVaw0u
sXIbGYAkUnIDyBiCrWoIIw1NXf1LQ/09OgGAkRodvvlx41tR40R0EREcXgW4fWts
He1B/I9WU2PU+5fmeUmdcG+GQfmDITsSOuA94zd1M+YJbguGOpNy+gyIzhM25tr9
Vz7Ebm7knn66x7ryFqVcJVJKezZRr2dnMyHcoHk7WdH/U2Kc7I4ThWYWJl7BPHRT
OZFenEA2rUxH94FQBefTq3ljo9yyqvWDwDoZ+sMT0sqBioOvQq4+D1neGa8y5gmq
/iMFGtnO0PMJxVs8lO3DK8pAAdduQLVXZKbs/dxw9yYr8Ei9ACh43IyYOZW6xQrL
T7teEq1ixsH031Dsa7/mMrmkTy9GWVMCGEj7TEP0vKbCO4BJEzNPSXkWmJmRg6hp
s4NiACJ0c/p6JamgIMY310D+kfGdZkTHnffj9HkBBqQ2V4xtJEjVQ1qtHiMzj45N
4mxHz86JUC11NnoswXVnjzvJDDtIkNui0wqhWba0QukEo8el/iVaZm/4QNx+2RiG
Zv94jKF+aGY56I3S/8qBYsbnLbn+6auwovqxFrDCJts4bs6WQtYiPZPJ+eivpeYg
FA4k6spMSKkvuu6HkTrsFIZbtK5qQWFpi4Qypaxdt0ZjCi9VnZU=
=l+fY
-----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian DM Multipath Team <team+linux-blocks@tracker.debian.org>:
Bug#1030727; Package src:multipath-tools.
(Tue, 07 Feb 2023 14:51:13 GMT) (full text, mbox, link).
Acknowledgement sent
to Chris Hofstaedtler <zeha@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian DM Multipath Team <team+linux-blocks@tracker.debian.org>.
(Tue, 07 Feb 2023 14:51:13 GMT) (full text, mbox, link).
Message #15 received at 1030727@bugs.debian.org (full text, mbox, reply):
Hello Chris,
* Chris Lamb <lamby@debian.org> [230206 21:24]:
> Source: multipath-tools
> Version: 0.9.4-2
> Severity: wishlist
> Tags: patch
[..]
> I can't seem to locate a deep fix, but a patch is attached that forces
> the build to be single-threaded via the addition of the --parallel=1
> switch. I found that both the build and udeb build variants need to
> have this option.
Thank you, I have applied your patch, and noted a reason as a
comment.
Best,
Chris
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 08 Mar 2023 07:27:31 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 12:33:39 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.