Your message dated Thu, 30 Mar 2023 19:35:54 +0000
with message-id <[email protected]>
and subject line Bug#1031711: fixed in verilator 5.006-3
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.006-3
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 20:05:11 +0200
Source: verilator
Architecture: source
Version: 5.006-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Electronics Team
<[email protected]>
Changed-By: Carsten Schoenert <[email protected]>
Closes: 1030913 1031711 1033667
Changes:
verilator (5.006-3) unstable; urgency=medium
.
* Team upload
[ Dmitry Shachnev ]
* [38e486b] Move ${sphinxdoc:Built-Using} to the correct field.
(Closes: #1033667)
.
[ Carsten Schoenert ]
* [975c120] d/gbp.conf: Adjust to debian/bookworm
* [e05438c] Rebuild patch queue from patch-queue branch
Added patches:
Fix-build-on-hppa.patch
Fix-date-on-the-front-page-of-verilator.pdf-3956-3957.patch
(Closes: #1030913, #1031711)
Checksums-Sha1:
30d25f23986c718b58ebcc1fbfafcf19a14d7dc0 2198 verilator_5.006-3.dsc
ade185287b052725f86c4ef8fce4514d8e792e1f 13424 verilator_5.006-3.debian.tar.xz
dbc42ce92872322f3d1a773145ef8966730c036f 9796 verilator_5.006-3_amd64.buildinfo
Checksums-Sha256:
70ccc8d6384d88bfd38a2261fd226932ccbff1ecb746f61b34f65e4ef93b14c8 2198
verilator_5.006-3.dsc
f7a7e14a3d8078db92504a9ead01806a47f99a4556b75edba997650805588ced 13424
verilator_5.006-3.debian.tar.xz
fbc1293081a9cf97ac277316c6a929915b88eff85b7f9d225147ee3c90dc9fcc 9796
verilator_5.006-3_amd64.buildinfo
Files:
c3aa7846392574b0dc4cb298e49867b4 2198 electronics optional
verilator_5.006-3.dsc
761b1e5e9b6e3c94b8afff31e567eccd 13424 electronics optional
verilator_5.006-3.debian.tar.xz
f12aa16ff51bf1f8d543f2c22b58a443 9796 electronics optional
verilator_5.006-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEtw38bxNP7PwBHmKqgwFgFCUdHbAFAmQl32MACgkQgwFgFCUd
HbAgwA//fxKZ/kvI2PgFTr5LjRG7/xtmW6NCsNDbJwlN7RwhKoO/cV6JrcKCtiql
LuV2R0UAUZab5oMPfFuiSiQrF36+KBWCgsyM9vKDvrgVN70kgZt0UaUNd3/pbCUf
4HKdTyhktpM23jVSlkwQMgK33xN5xDT7dF8M0rROxooyPS+a8SdZRGuDEk/zNRo4
nMcUacsr4YV/Q+KrDwE1zTLpsaTWSKMPIa3wGw42vi5V0WrVKB8moKJyJTbPolZo
S1GRmU57JJUoFwzdNnC3fIvxSF+cqTyAduw6jQ4w+8LAhbvRCPYju+aAzeA4FDGj
gYropztcO3LaK3/Bs3xluUKMZCs6zyxgBBgHjlXp2R5mOQE5RSisDfHPPBMgvlTf
QamcMZjLCeOL4j1go/bAV2xPwrPuWkyJEiDhV3inXhAPC0eGE3OYEmIP77SKPalU
Bpxvy+jCviWdKd/P6steYNNMU+UG6OFvPI8v03GFebxo3as1QjFfXCVF/7UhmFE9
VFOnwJSIMTHkShXydJYhGtH0rRsfN7Hh2XKtBvfvNPEuVUT2kEb95EySiv7tz6TE
/RA3CJuxTueEkT5VxCqTTVKeg73jNJfp/5bhDt5ul/oP3LWdeHw/0VW47tuKFGQK
kt9QjdSZoxvn8HDxgS43yaO4nsVhZ+x3aladgFY+iD64aphqAv0=
=cu5F
-----END PGP SIGNATURE-----
--- End Message ---