Your message dated Thu, 28 Nov 2024 23:35:09 +0000
with message-id <[email protected]>
and subject line Bug#1083053: fixed in muon-meson 0.3.0-4
has caused the Debian Bug report #1083053,
regarding muon-meson: 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 [email protected]
immediately.)


-- 
1083053: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1083053
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: muon-meson
Version: 0.3.0-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
muon-meson could not be built reproducibly. This is because the docs
embed a timezone-dependent date:

│ │ │ ├── ./usr/share/man/man3/meson-reference.3.gz
│ │ │ │ ├── meson-reference.3
│ │ │ │ │ @@ -1,9 +1,9 @@
│ │ │ │ │  .P
│ │ │ │ │ -.TH "meson-reference" "3" "2024-09-27"
│ │ │ │ │ +.TH "meson-reference" "3" "2024-09-28"
│ │ │ │ │  .P

It's based on SOURCE_DATE_EPOCH, but it does not take into account the
build system's timezone.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/0005-Reproducible-build.patch      1969-12-31 
16:00:00.000000000 -0800
--- b/debian/patches/0005-Reproducible-build.patch      2024-09-30 
09:19:39.273933042 -0700
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2024-09-30
+
+--- muon-meson-0.3.0.orig/meson-docs/docs/refman/generatorman.py
++++ muon-meson-0.3.0/meson-docs/docs/refman/generatorman.py
+@@ -27,7 +27,7 @@ class ManPage:
+         import time
+         from os import environ
+ 
+-        date = 
datetime.date.fromtimestamp(int(environ.get('SOURCE_DATE_EPOCH', time.time())))
++        date = 
datetime.datetime.fromtimestamp(int(environ.get('SOURCE_DATE_EPOCH', 
time.time())), tz=datetime.timezone.utc).date()
+         self.reset_font()
+         self.text += f'.TH "{name}" "{section}" "{date}"\n'
+ 
--- a/debian/patches/series     2024-09-30 09:01:58.020542069 -0700
--- b/debian/patches/series     2024-09-30 09:19:31.354090742 -0700
@@ -2,3 +2,4 @@
 0002-Never-use-git.patch
 0003-Make-meson_reference.3-generation-reproducible.patch
 0004-Fix-has_function-test-on-hurd.patch
+0005-Reproducible-build.patch

--- End Message ---
--- Begin Message ---
Source: muon-meson
Source-Version: 0.3.0-4
Done: Andrea Pappacoda <[email protected]>

We believe that the bug you reported is fixed in the latest version of
muon-meson, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrea Pappacoda <[email protected]> (supplier of updated muon-meson 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 29 Nov 2024 00:15:35 +0100
Source: muon-meson
Architecture: source
Version: 0.3.0-4
Distribution: unstable
Urgency: medium
Maintainer: Andrea Pappacoda <[email protected]>
Changed-By: Andrea Pappacoda <[email protected]>
Closes: 1083053 1085124
Changes:
 muon-meson (0.3.0-4) unstable; urgency=medium
 .
   * bootstrap.sh: create muon-bootstrap instead of muon
   * d/rules: use build/muon-bootstrap.
     This fixes a FTBFS problem where muon was being used before it was
     ready.
     Thanks to Santiago for the report and help! (Closes: #1085124)
   * Make meson_reference.3 generation truly reproducible. Closes: #1083053
Checksums-Sha1:
 9bbcee4bc7d0fe2667f47c73b673c1e32a197966 1914 muon-meson_0.3.0-4.dsc
 a31fd66e006961cdba90581951437edc2fc52cf1 12876 muon-meson_0.3.0-4.debian.tar.xz
Checksums-Sha256:
 f396e7093e49d21e2d32b362fb30c86a625b23da22e2ae8a5d1c20c29a2f42b9 1914 
muon-meson_0.3.0-4.dsc
 329f2e17709d5ab4066ed92d85948fd9c562b184d6b4c8c30c772c8edba2bbe2 12876 
muon-meson_0.3.0-4.debian.tar.xz
Files:
 b2a419e9e1e754233d3f94b5e4aa28a1 1914 devel optional muon-meson_0.3.0-4.dsc
 1aa232b7bf0a430a9f230ff9febad5ed 12876 devel optional 
muon-meson_0.3.0-4.debian.tar.xz

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

iHUEARYIAB0WIQS6VuNIvZRFHt7JcAdKkgiiRVB3pwUCZ0j6OAAKCRBKkgiiRVB3
pzhuAQDTCck1XXmxt4BF8jYHwRHPUk1Syk8nrIe2RQKCpbSxjwD/Sg4qPyo6F15K
mjUIVtXuutbYlkMr/7vf47jpPwpKPw8=
=Tl62
-----END PGP SIGNATURE-----

Attachment: pgp941ywg5ohq.pgp
Description: PGP signature


--- End Message ---

Reply via email to