Bug#1119034: pandoc: manpage generation is not reproducible. Date shifts from 1 day
Package: pandoc
Version: 3.1.11.1+ds-4
Severity: normal
Dear Maintainer,
I noticed on salsa-ci that my package is not reproducible (according to the
reprotest job) because of the mangpage that is generated with pandoc from
Markdown.
The issue is in the header where the date is not correct
```
.\"·Automatically·generated·by·Pandoc·3.1.11.1
.\"
.TH·"vnu\-server"·"1"·"2025\-06\-08"·"vnu\-server·23.4.11+dfsg6"·""
```
2nd run:
```
.\"·Automatically·generated·by·Pandoc·3.1.11.1
.\"
.TH·"vnu\-server"·"1"·"2025\-06\-07"·"vnu\-server·23.4.11+dfsg6"·""
```
Date of package in changelog:
Sat, 07 Jun 2025 17:57:32 +0200
Command: The same in both cases.
for page in vnu vnu-client vnu-server; do \
pandoc --standalone --from markdown -f markdown-smart --to man \
-M title:"${page}(1) ${page} 23.4.11+dfsg6" \
-M date:"$(date -d'@1749311852' +%Y-%m-%d)" docs/${page}.1.md >
docs/${page}.1 ; \
done
-- System Information:
Debian Release: 12.12
APT prefers oldstable-updates
APT policy: (991, 'oldstable-updates'), (991, 'oldstable-security'), (991, 'oldstable'), (990, 'oldstable-proposed-updates'), (390, 'oldoldstable-security'), (390, 'oldoldstable'), (389, 'oldoldstable-updates'), (380, 'oldoldstable'), (95, 'testing'), (94, 'unstable'), (93, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-40-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages pandoc depends on:
ii libatomic1 12.2.0-14+deb12u1
ii libc6 2.36-9+deb12u13
pn libcmark-gfm-extensions0 <none>
pn libcmark-gfm0 <none>
pn libffi6 <none>
pn libffi7 <none>
ii libffi8 3.4.4-1
ii libgmp10 2:6.2.1+dfsg1-1.1
pn liblua5.1-0 <none>
ii liblua5.3-0 5.3.6-2
pn liblua5.4-0 <none>
ii libnuma1 2.0.16-1
ii libpcre3 2:8.45-1+0~20250310.11+debian12~1.gbp8792c4
ii libyaml-0-2 0.2.5-1
pn pandoc-data <none>
ii zlib1g 1:1.2.13.dfsg-1
pandoc recommends no packages.
Versions of packages pandoc suggests:
pn citation-style-language-styles <none>
pn context <none>
pn ghc <none>
pn groff <none>
ii libjs-katex 0.16.4+~cs6.1.0-1
pn libjs-mathjax <none>
pn librsvg2-bin <none>
pn node-katex <none>
ii nodejs 18.20.4+dfsg-1~deb12u1
pn pandoc-citeproc <none>
ii perl 5.36.0-7+deb12u3
ii php 2:8.2+93
ii php8.2 [php] 8.2.29-1~deb12u1
pn python <none>
ii python3 3.11.2-1+b1
ii r-base-core 4.2.2.20221110-2
ii ruby 1:3.1
pn texlive-latex-extra <none>
pn texlive-latex-recommended <none>
pn texlive-luatex <none>
pn texlive-xetex <none>
pn wkhtmltopdf <none>
Reply to: