818419">

Debian Bug report logs - #818419
mutt: please make the build reproducible (locale)

version graph

Package: src:mutt; Maintainer for src:mutt is Mutt maintainers <mutt@packages.debian.org>;

Reported by: Daniel Shahaf <danielsh@apache.org>

Date: Wed, 16 Mar 2016 22:42:02 UTC

Severity: wishlist

Tags: patch

Found in version mutt/1.5.24-1

Fixed in version mutt/1.6.0-1

Done: mfv@debian.org (Matteo F. Vescovi)

Bug is archived. No further changes may be made.

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


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Antonio Radici <antonio@dyne.org>:
Bug#818419; Package src:mutt. (Wed, 16 Mar 2016 22:42:06 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Shahaf <danielsh@apache.org>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Antonio Radici <antonio@dyne.org>. (Wed, 16 Mar 2016 22:42:06 GMT) (full text, mbox, link).


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

From: Daniel Shahaf <danielsh@apache.org>
To: submit@bugs.debian.org
Subject: mutt: please make the build reproducible (locale)
Date: Wed, 16 Mar 2016 22:39:32 +0000
Source: mutt
Version: 1.5.24-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that mutt could not be built reproducibly [2]: file ordering inside
README.Patches varies.

While I couldn't reproduce the problem locally (against git 12ae807bfb9e
in sid/sbuild), I believe the following patch should resolve it:

[[[
diff --git a/debian/rules b/debian/rules
index 5d52e30..7b8425d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -144,8 +144,10 @@ install: build
 	
 	chmod +x debian/extra/lib/*
 	chmod +x debian/header.awk
-	debian/header.awk debian/patches/features/* \
-		debian/patches/mutt-patched/* > debian/tmp/README.Patches
+	# Glob expansions are sorted in a locale-sensitive manner; set the
+	# locale to make the order reproducible.
+	(LC_ALL=C; export LC_ALL; debian/header.awk debian/patches/features/* \
+		debian/patches/mutt-patched/*) > debian/tmp/README.Patches
 	
 	( sed -e '/## More settings/,$$d' $(objdir)/doc/Muttrc || exit 1 ; \
 	  cat debian/extra/rc/Muttrc.foot ) > debian/tmp/Muttrc
]]]

Cheers,

Daniel

 [1]: https://wiki.debian.org/ReproducibleBuilds
 [2]: https://tests.reproducible-builds.org/rb-pkg/unstable/amd64/mutt.html



Added tag(s) pending. Request was from "Matteo F. Vescovi" <mfv@debian.org> to control@bugs.debian.org. (Sun, 27 Mar 2016 10:36:04 GMT) (full text, mbox, link).


Reply sent to mfv@debian.org (Matteo F. Vescovi):
You have taken responsibility. (Tue, 26 Apr 2016 15:40:01 GMT) (full text, mbox, link).


Notification sent to Daniel Shahaf <danielsh@apache.org>:
Bug acknowledged by developer. (Tue, 26 Apr 2016 15:40:01 GMT) (full text, mbox, link).


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

From: mfv@debian.org (Matteo F. Vescovi)
To: 818419-close@bugs.debian.org
Subject: Bug#818419: fixed in mutt 1.6.0-1
Date: Tue, 26 Apr 2016 15:37:37 +0000
Source: mutt
Source-Version: 1.6.0-1

We believe that the bug you reported is fixed in the latest version of
mutt, 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 818419@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matteo F. Vescovi <mfv@debian.org> (supplier of updated mutt 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: Tue, 26 Apr 2016 16:46:49 +0200
Source: mutt
Binary: mutt mutt-patched mutt-dbg
Architecture: source
Version: 1.6.0-1
Distribution: unstable
Urgency: medium
Maintainer: Antonio Radici <antonio@dyne.org>
Changed-By: Matteo F. Vescovi <mfv@debian.org>
Description:
 mutt       - text-based mailreader supporting MIME, GPG, PGP and threading
 mutt-dbg   - debugging symbols for mutt
 mutt-patched - Mutt Mail User Agent with extra patches
Closes: 434235 670769 677687 678596 695220 701013 741147 809802 816706 818419
Changes:
 mutt (1.6.0-1) unstable; urgency=medium
 .
   * New upstream release.
     + adds the -E option to modify the draft file (Closes: #695220, #434235)
     + does not crash while managing attachments (Closes: #677687)
     + allows setting the signing digest for S/MIME (Closes: #741147)
     + properly parses Outlook's S/MIME signatures (Closes: #701013)
 .
   [ Antonio Radici ]
   * debian/control: moved the MTA from Recommends to Suggests (Closes: #670769)
   * debian/extra/mutt.desktop: set NoDisplay to false (Closes: #678596)
 .
   [ Matteo F. Vescovi ]
   * debian/patches/: patchset updated
     - upstream/809802_timeout_hook.patch added (Closes: #809802)
     As stated by the upstream maintainer,
     the following patches can be safely dropped: (Closes: #816706)
     - misc/fix-configure-test-operator.patch
     - upstream/531430-imapuser.patch
     - upstream/543467-thread-segfault.patch
     - upstream/548577-gpgme-1.2.patch
     - upstream/553321-ansi-escape-segfault.patch
     - upstream/603288-split-fetches.patch
     - upstream/611410-no-implicit_autoview-for-text-html.patch
   * debian/rules: Glob expansions added to make mutt reproducible.
     Thanks to Daniel Shahaf for the patch (Closes: #818419)
   * debian/control: S-V bump 3.9.6 -> 3.9.8 (no changes needed)
   * debian/control: Vcs-* fields updated for https:// usage
   * debian/control: add myself to Uploaders
   * debian/mutt.menu: file dropped
 .
   [ Evgeni Golov ]
   * update sidebar patch to the 20151111 version
   * update nntp patch to the 1.6.0 version
   * drop patches applied upstream
   * refresh patches against 1.6.0
Checksums-Sha1:
 65349c69abfc87010b03277714ec8fbcc8deacd3 2375 mutt_1.6.0-1.dsc
 bab62759af0873a94dc8b85a62a7a9e09e33c6bb 3954591 mutt_1.6.0.orig.tar.gz
 8bfa6298f2bc4c39889439ff39d4b702d871fad7 132792 mutt_1.6.0-1.debian.tar.xz
Checksums-Sha256:
 f50259a9539a3b41528a2d4624140aa205fe6d383e2a1ff74c0a968dc66146aa 2375 mutt_1.6.0-1.dsc
 29afb6238ab7a540c0e3a78ce25c970f975ab6c0f0bc9f919993aab772136c19 3954591 mutt_1.6.0.orig.tar.gz
 a6d3f0f1441f7f9ed50e4df47603ba8a4c0af70ea2130be4f7e9275bdeb2e0bd 132792 mutt_1.6.0-1.debian.tar.xz
Files:
 7e4a767023698857e772221139cddb47 2375 mail standard mutt_1.6.0-1.dsc
 d05bb821d7040c61ba89b22d7c2bd388 3954591 mail standard mutt_1.6.0.orig.tar.gz
 8fc5739b7d6e75a8053b4353f7f1656e 132792 mail standard mutt_1.6.0-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Comment: Debian powered!

iQJ8BAEBCgBmBQJXH396XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGM0REMDlGOERBODdEMURGNTA0NkM5OUIw
NjEyRjQ5NDRFQ0RDRDVBAAoJEAYS9JROzc1aFW8QALdap3J6GQGuPsv/v1y/bECV
6Th/I+9WkOehzkQfopzKreM8pjOKfiJ30sJ7zoavxeaRZ4DGyEPTR5WPhBRnmvzk
0mEWNYY9tS4EYLNaNUiugwi0fc+OXw32xwbmA178q4QapFI64ubccNG6xmBAZ2yd
fFbzInQ3khjcdzsAAdVfhzyPXTm9/bTwYcY2EAkoy1Rg2pY2ERuyBaA1EGLoSU5B
glP8lNUwF65bWMG3Ol6cxR6HuFbOQeWsNm+mGL35ROGBdpAJMDSlDEf8kL+PupqP
2/wcNuE3iZMujyACaSLLjxcRFmr4jn/VIUG9PWJPSU9MkinXKooyMy9RJhlX72yZ
3bzllkR9DYzqjVd+PhihYV9NgQYkT6aV55Fw6MQMs8rSATBDmC13CKH6aL5H7hwh
ar8x2m1rDIx0F32xXyD+LPKG+89hUgL3XkioZFY9nBBkZDY0TV9Zmp/N3AUwx2n7
y2rAqlppU5RWTdy9B5bIMLlcfmV12ZoOOn1fqUy2i3s4ylvEKj8Uq6+pemoDbR0V
bML4tddJ0ooKdWu/9jWS4DQeI3KiXYYYPNkHe51m2c7SYVdc2D6pzNF+kbpjjeoc
c4Tv6I2tCZSgocg+8BRUB+2ppT55mZ33SLbJnlzxbpXm7fQDGfycM58CUb9CsijE
JOZj/By4FYBHaTn0a49q
=2d2Z
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 31 May 2016 07:29:32 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: Fri Jan 31 00:39:52 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.