Your message dated Sat, 01 Apr 2023 10:05:18 +0000
with message-id <[email protected]>
and subject line Bug#1031711: fixed in verilator 5.008-1
has caused the Debian Bug report #1031711,
regarding verilator: reproducible-builds: documentation date depends on timezone
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.)
--
1031711: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031711
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:verilator
Version: 5.006-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Dear Maintainer,
The Reproducible Builds effort noticed that verilator does not build
reproducibly.
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/verilator.html
This is because the verilator.pdf file's cover-page date stamp depends on the
timezone.
When this situation was brought to the attention of upstream developers,
their preference was to shift to using an internal release date, rather
than fix the SOURCE_DATE_EPOCH override to be timezone-independent.
The attached patch is an upstream git commit (bc6a778, Feb 12 2023)
to their primary development sources.
With this patch applied (note it needs to be listed _after_ the existing
"Add SOURCE_DATE_EPOCH for docs guide conf.py 3918.patch" in patches/series)
verilator should build reproducibly on tests.reproducible-builds.org!
Thanks for maintaining Verilator!
- Larry
>From bc6a7787ed271a8f52ed5b8f8a9e0e8cbba1ab38 Mon Sep 17 00:00:00 2001
From: Larry Doolittle <[email protected]>
Date: Sun, 12 Feb 2023 20:21:03 -0800
Subject: [PATCH] Fix date on the front page of verilator.pdf (#3956) (#3957)
---
docs/guide/conf.py | 27 ++++++++++++---------------
1 file changed, 12 insertions(+), 15 deletions(-)
diff --git a/docs/guide/conf.py b/docs/guide/conf.py
index 04759c6de..9f69245dd 100644
--- a/docs/guide/conf.py
+++ b/docs/guide/conf.py
@@ -10,7 +10,6 @@
# ----------------------------------------------------------------------
# -- Path setup
-from datetime import datetime
import os
import re
import sys
@@ -24,10 +23,17 @@ def get_vlt_version():
filename = "../../Makefile"
with open(filename, "r", encoding="utf8") as fh:
for line in fh:
- match = re.search(r"PACKAGE_VERSION_NUMBER *= *([a-z0-9.]+)", line)
+ match = re.search(r"PACKAGE_VERSION *= *([a-z0-9.]+) +([-0-9]+)", line)
if match:
- return match.group(1)
- return "unknown"
+ return match.group(1), match.group(2)
+ match = re.search(r"PACKAGE_VERSION *= *([a-z0-9.]+) +devel", line)
+ if match:
+ try:
+ data = os.popen('git log -n 1 --pretty=%cs').read()
+ except Exception:
+ data = "" # fallback, and Sphinx will fill in today's date
+ return "Devel " + match.group(1), data
+ return "unknown", "unknown"
def setup(app):
@@ -44,8 +50,8 @@ author = 'Wilson Snyder'
# The master toctree document.
master_doc = "index"
-version = get_vlt_version()
-release = get_vlt_version()
+version, today_fmt = get_vlt_version()
+release = version
rst_prolog = """
.. role:: vlopt(option)
@@ -89,15 +95,6 @@ source_suffix = [".rst"]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
-try:
- # https://reproducible-builds.org/specs/source-date-epoch/
- doc_now = datetime.fromtimestamp(int(os.environ["SOURCE_DATE_EPOCH"]))
- print("Using SOURCE_DATE_EPOCH")
-except Exception:
- doc_now = datetime.now()
-# Date format to ISO
-today_fmt = doc_now.strftime("%F")
-
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = True
--
2.30.2
--- End Message ---
--- Begin Message ---
Source: verilator
Source-Version: 5.008-1
Done: Carsten Schoenert <[email protected]>
We believe that the bug you reported is fixed in the latest version of
verilator, 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.
Carsten Schoenert <[email protected]> (supplier of updated verilator
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: SHA512
Format: 1.8
Date: Thu, 30 Mar 2023 19:48:21 +0200
Source: verilator
Architecture: source
Version: 5.008-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Electronics Team
<[email protected]>
Changed-By: Carsten Schoenert <[email protected]>
Closes: 1030913 1031711 1033667
Changes:
verilator (5.008-1) experimental; urgency=medium
.
* Team upload
[ Dmitry Shachnev ]
* [38e486b] Move ${sphinxdoc:Built-Using} to the correct field.
(Closes: #1033667)
.
[ Carsten Schoenert ]
* [0a50071] New upstream version 5.008
(Closes: #1030913)
* [bb4558b] Rebuild patch queue from patch-queue branch
Removed patches (included upstream):
Add-SOURCE_DATE_EPOCH-for-docs-guide-conf.py-3918.patch
(Closes: #1031711)
Checksums-Sha1:
2a60dc75f6eb7a37563bb5b034a4b99cf5d6c57c 2198 verilator_5.008-1.dsc
7cf4d4c35c7c163f09a3fa8f625da0298f7a0c21 3177491 verilator_5.008.orig.tar.gz
cc1bf912f7d435f4071f37e218cd8cc359b165a4 12040 verilator_5.008-1.debian.tar.xz
1d83fde42927cb4789a617e0922cec1e9f784612 9843 verilator_5.008-1_amd64.buildinfo
Checksums-Sha256:
b30665d937a0b6cc0f3b2427e3932f13199fb7bec78759c9e74cf506558cdc6d 2198
verilator_5.008-1.dsc
d9fcbbecac2f2e2be7e5d0224f0695ad547279110340c79ef67c88395c0f75a9 3177491
verilator_5.008.orig.tar.gz
7df1d77085fa9c178cbe209eb3ef9db1e3c312ccab3ddd23a49ef9962ee54b69 12040
verilator_5.008-1.debian.tar.xz
d0c3cd32f6b8e75bb32d1ce320262d706515acd537bb10c4b1532e75bc274b82 9843
verilator_5.008-1_amd64.buildinfo
Files:
35507609e717856bf49dbebb68ec7652 2198 electronics optional
verilator_5.008-1.dsc
631e70c0f1744ca31f24853bdaec47c8 3177491 electronics optional
verilator_5.008.orig.tar.gz
86560c47c13f5d9d8d7b2ff51bc19bf3 12040 electronics optional
verilator_5.008-1.debian.tar.xz
fc503fbcb2fa3a45ca83c9bba31a66e4 9843 electronics optional
verilator_5.008-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEtw38bxNP7PwBHmKqgwFgFCUdHbAFAmQn+90ACgkQgwFgFCUd
HbDb6Q//Q9gTQ2pO5IGnL54K4HGFh/GMKVVkpP+HQEiBwe2y7zDBvy/DRtqJlWXd
n6jBoDahONlB5g95JI8Q5tlOW9X+4yWYtFfgDaK+eEeShesblK/yCGxuwKb002my
LF8KME0j9PuLc/EzLwETuFJV8zgjgsIZD71G98g8SL5N6iKbMV8e+duLdvnogTtE
thpeiwlIoJ7R65nJQA8Z4KeZ0JhcEGIk68dJ2XLDgRR3H31+4yiOzQPnJAK4QBmq
ob2RyP9bp+qR+ad6218QUqPh/H1r+najvL2EHXhl3J0AQZkNDxuN8jC+FQDSK7PH
aTEZT1JIrMhaHN/QlpZ2+Y6fuJqJtiLlW6fKkW01tGKpkfY4UCoaWxI+S333HHl0
o6yyTjOunTY5zSojTI9cJ30Uht29l1qa6Bz8uQMFJvlErx//Fk0qbPfK4+V5YFC8
fpPO/iDOCr1sabudSjwNng7k0uL3rC5WcnEku3uXrVpr5hKSA+mkegnK+FfFwwdu
UyW4R2bgZeOf03qtTOZpDgsigl//K4Qj9SbhWJJr+lK3jkc2hCzsASIv2aT2QGvM
/HeFhPDUIoWxeHa+aED/q1txhQkqE9pFlkV2DXPs12Bb8E7Zy/WdcN+Flh0nnPOA
FYf0JjtKk2ECyo50R9CuKcleH0Gw15vB0/x7aRLa4wJ1q/C8CDk=
=98k/
-----END PGP SIGNATURE-----
--- End Message ---