[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1056572: marked as done (maildir-utils: please make the build reproducible)



Your message dated Fri, 24 Nov 2023 15:35:02 +0000
with message-id <E1r6YCs-00CInD-PV@fasolo.debian.org>
and subject line Bug#1056572: fixed in maildir-utils 1.10.8-2
has caused the Debian Bug report #1056572,
regarding maildir-utils: please make the build reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1056572: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056572
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: maildir-utils
Version: 1.10.8-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
maildir-utils could not be built reproducibly:

├── ./usr/share/man/man1/mu-add.1.gz
│ ├── mu-add.1
│ │ @@ -85,15 +85,15 @@
│ │  Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
│ │  
│ │  .SH "COPYRIGHT"
│ │  .PP
│ │  This manpage is part of \fBmu\fP 1.10.8.
│ │  
│ │  .PP
│ │ -Copyright © 2022-2024 Dirk-Jan C. Binnema. License GPLv3+: GNU GPL version 3
│ │ +Copyright © 2022-2023 Dirk-Jan C. Binnema. License GPLv3+: GNU GPL version 3
│ │  or later \fIhttps://gnu.org/licenses/gpl.html\fP. This is free software: you are

A patch is attached that seeds this value from the SOURCE_DATE_EPOCH
environment variable.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-

--- a/debian/patches/reproducible-build.patch	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible-build.patch	2023-11-23 10:29:51.399821031 +0000
@@ -0,0 +1,21 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby@debian.org>
+Last-Update: 2023-11-23
+
+--- maildir-utils-1.10.8.orig/man/meson.build
++++ maildir-utils-1.10.8/man/meson.build
+@@ -66,7 +66,13 @@ man_orgs=[
+ 
+ env = environment()
+ env.set('LANG', 'C')
+-yearmonth = run_command('date', '+%B %Y', check:true, capture:true, env: env)
++cmd = run_command('sh', '-c', 'echo $SOURCE_DATE_EPOCH')
++# https://reproducible-builds.org/docs/source-date-epoch/#meson
++source_date_epoch = cmd.stdout().strip()
++if source_date_epoch == ''
++	source_date_epoch = run_command('date', '+%s').stdout().strip()
++endif
++yearmonth = run_command('date', '-u', '-d', '@' + source_date_epoch, '+%B %Y', check:true, capture:true, env: env)
+ ym=yearmonth.stdout().strip()
+ 
+ foreach src : man_orgs
--- a/debian/patches/series	2023-11-23 10:05:00.063724061 +0000
--- b/debian/patches/series	2023-11-23 10:29:50.287802884 +0000
@@ -5,3 +5,4 @@
 more-man-page-fixes.patch
 typo-fixes.patch
 remove-mu4e-builddir.patch
+reproducible-build.patch

--- End Message ---
--- Begin Message ---
Source: maildir-utils
Source-Version: 1.10.8-2
Done: Jeremy Sowden <jeremy@azazel.net>

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

Debian distribution maintenance software
pp.
Jeremy Sowden <jeremy@azazel.net> (supplier of updated maildir-utils 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: Wed, 22 Nov 2023 21:02:32 +0000
Source: maildir-utils
Architecture: source
Version: 1.10.8-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Emacsen team <debian-emacsen@lists.debian.org>
Changed-By: Jeremy Sowden <jeremy@azazel.net>
Closes: 1056572
Changes:
 maildir-utils (1.10.8-2) unstable; urgency=medium
 .
   * d/patches
     - add patches to fix unreproducible dates in documentation
       (Closes: #1056572)
Checksums-Sha1:
 05388641de7ae6c62e9c94988d86eff475be50ec 2143 maildir-utils_1.10.8-2.dsc
 2e7a956e26b0d4f5d12a88a25eb59c35cef91271 18612 maildir-utils_1.10.8-2.debian.tar.xz
 593eff54c388fd8c238bea421efbadb4c3b92467 12098 maildir-utils_1.10.8-2_amd64.buildinfo
Checksums-Sha256:
 a21c1d77e814eac4eecad48e6a368bb66a86b85009f0874303fce6993664948c 2143 maildir-utils_1.10.8-2.dsc
 631fe2421aefd4816b7e4fa3944ce9bf5db12ef1938d1e7fd98a0db98a7bbd44 18612 maildir-utils_1.10.8-2.debian.tar.xz
 f75ad2e3863b769e560c7110a96038b62a4e435e80540f6feb696263fdf833cd 12098 maildir-utils_1.10.8-2_amd64.buildinfo
Files:
 0054a513409da9f4e4ca24c5eea1905a 2143 mail optional maildir-utils_1.10.8-2.dsc
 75c553f00a0ff6ca7fe123551cfe8808 18612 mail optional maildir-utils_1.10.8-2.debian.tar.xz
 196659e0fe2701aa7fd5119329411955 12098 mail optional maildir-utils_1.10.8-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEftHeo0XZoKEY1KdA4+Chwoa5Y+oFAmVgvqkACgkQ4+Chwoa5
Y+rzyg/+Kqz4TNxbyXowIat/wh9vydo8zzu3L+KCGHQGqXvv7WFi6ydr7d4++IRd
4OG2KESBUFfFIQMxnsTCViNPmMeDZxT+wAD2EM77AXltY1UuinYWs1fHdAF/o2t6
DoAx94lD6JZmb8FqkYJIYlihOioM9Iv3v/0fOFFY5zJ7SutpSqYLAFlMs5hJ9Jf5
+J6pXLNAJtefYmDr/CUp30EBfKKo+d3+u4UY6sVdOCShCvSjwKgP7fCSceB/pam1
cHP4+RACjd4i874kQg1KbuMEMSeBhEnUzCdRVgMgQo1Uj9lF4k2vW7laTHvQHc5c
kJKK46eWNkqHdem4ipCtdFNLtn4jQt5WRvzOCCtWSmVvr9MeLtfBt1UCK0ud2v0d
YJ0kp9MH59LaBTh9yf7zSBQ+5uJc1N+aOfkvkk1YOFgaA1GfaDvQJkTh+yeM4ok4
fBz40wzLdGd8DOpv2sBzLZH9+1lc73kYIR0Rv/G34xxjVO/3lDzP8a/cS4oLGRin
ssWNMC2C9QO46hBv+Pt966kdE/RTRBGc0rGWdyzrc4pvLNkWUmRtv57k2VQg7sYy
E/2mqRJajgb8b65l6aYiINrQPD/yRs1WcN+62HVjUbp5/JlKrx4b7/Ds73LJ0i/z
r3YlkrGGBnBteJBMm4gNhBmPZS9hoVyapaVEiKcfh92GkteWlvs=
=CE6i
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: