Debian Bug report logs - #942671
Let $year support SOURCE_DATE_EPOCH

version graph

Package: doxygen; Maintainer for doxygen is Paolo Greppi <paolo.greppi@libpf.com>; Source for doxygen is src:doxygen (PTS, buildd, popcon).

Reported by: Mattias Ellert <mattias.ellert@physics.uu.se>

Date: Sat, 19 Oct 2019 20:33:04 UTC

Severity: normal

Tags: fixed-upstream, patch, upstream

Found in version doxygen/1.8.13-11

Fixed in version doxygen/1.8.16-1

Done: Paolo Greppi <paolo.greppi@libpf.com>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/doxygen/doxygen/pull/7341

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Paolo Greppi <paolo.greppi@libpf.com>:
Bug#942671; Package doxygen. (Sat, 19 Oct 2019 20:33:06 GMT) (full text, mbox, link).


Acknowledgement sent to Mattias Ellert <mattias.ellert@physics.uu.se>:
New Bug report received and forwarded. Copy sent to Paolo Greppi <paolo.greppi@libpf.com>. (Sat, 19 Oct 2019 20:33:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Mattias Ellert <mattias.ellert@physics.uu.se>
To: submit@bugs.debian.org
Subject: Let $year support SOURCE_DATE_EPOCH
Date: Sat, 19 Oct 2019 22:29:48 +0200
[Message part 1 (text/plain, inline)]
Package: doxygen
Version: 1.8.13-11
Severity: normal
Forwarded: https://github.com/doxygen/doxygen/pull/7341
Tags: patch

If I use an html footer file that contains:

Now is $datetime. This is $year.

and run doxygen the generated index.html contains:

Now is Sat Oct 19 2019 20:48:34. This is 2019.

as expected. However, if I set the SOURCE_DATE_EPOCH when running
doxygen

SOURCE_DATE_EPOCH=$(date +%s -d '2018-07-01 1200Z') doxygen

The generated index.html contains:

Now is Sun Jul 1 2018 12:00:00. This is 2019.

I.e the output of $datetime shows the SOURCE_DATE_EPOCH, but the $year
shows the current year. This (a) is inconsistent and (b) makes the
output non-reproducible.

With the change $year supports SOURCE_DATE_EPOCH the same way $datetime
does and the output is consistent:

Now is Sun Jul 1 2018 12:00:00. This is 2018.

Patch available in the upstream PR.

	Mattias

[signature.asc (application/pgp-signature, inline)]

Added tag(s) upstream. Request was from Mattias Ellert <mattias.ellert@physics.uu.se> to control@bugs.debian.org. (Sun, 20 Oct 2019 07:09:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Paolo Greppi <paolo.greppi@libpf.com>:
Bug#942671; Package doxygen. (Sun, 20 Oct 2019 08:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to paolo.greppi@libpf.com:
Extra info received and forwarded to list. Copy sent to Paolo Greppi <paolo.greppi@libpf.com>. (Sun, 20 Oct 2019 08:33:04 GMT) (full text, mbox, link).


Message #12 received at 942671@bugs.debian.org (full text, mbox, reply):

From: Paolo Greppi <paolo.greppi@libpf.com>
To: 942671@bugs.debian.org
Subject: thanks !
Date: Sun, 20 Oct 2019 10:24:27 +0200
Actually a similar patch is already included in the 1.8.16-1~exp3 package:
https://salsa.debian.org/debian/doxygen/blob/master/debian/patches/reproducible_year.diff

But thanks for forwarding upstream !

Paolo



Added tag(s) fixed-upstream. Request was from debian-bts-link@lists.debian.org to control@bugs.debian.org. (Thu, 31 Oct 2019 17:21:15 GMT) (full text, mbox, link).


Reply sent to Paolo Greppi <paolo.greppi@libpf.com>:
You have taken responsibility. (Tue, 10 Dec 2019 23:21:07 GMT) (full text, mbox, link).


Notification sent to Mattias Ellert <mattias.ellert@physics.uu.se>:
Bug acknowledged by developer. (Tue, 10 Dec 2019 23:21:07 GMT) (full text, mbox, link).


Message #19 received at 942671-close@bugs.debian.org (full text, mbox, reply):

From: Paolo Greppi <paolo.greppi@libpf.com>
To: 942671-close@bugs.debian.org
Subject: Bug#942671: fixed in doxygen 1.8.16-1
Date: Tue, 10 Dec 2019 23:20:00 +0000
Source: doxygen
Source-Version: 1.8.16-1

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

Debian distribution maintenance software
pp.
Paolo Greppi <paolo.greppi@libpf.com> (supplier of updated doxygen 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: Tue, 10 Dec 2019 23:48:20 +0100
Source: doxygen
Architecture: source
Version: 1.8.16-1
Distribution: unstable
Urgency: medium
Maintainer: Paolo Greppi <paolo.greppi@libpf.com>
Changed-By: Paolo Greppi <paolo.greppi@libpf.com>
Closes: 942671 943890 945427
Changes:
 doxygen (1.8.16-1) unstable; urgency=medium
 .
   [ Steve Langasek ]
   * Make autopkgtests cross-test-friendly.
   * Build using LLVM 9.0.
   * Build-depend on texlive-plain-generic instead of obsolete texlive-
     generic-recommended.
 .
   [ Paolo Greppi ]
   * Make the output of $year reproducible. Closes: #942671.
   * Fix a regression whereby if the Doxyfile has a blank FILE_PATTERNS then
     no files are processed.
   * Disable patch to conditionally skip copying jquery. Closes: #943890.
   * Fix lintian W: doxygen source: tab-in-license-text debian/copyright.
   * Upload to unstable.
 .
   [ Norbert Lange ]
   * Improve d/rules to pick llvm version from d/control. Closes: #945427.
Checksums-Sha1:
 a22605637bfeb830b08e5b3db63f6273381b4d02 2757 doxygen_1.8.16-1.dsc
 989b30ad4c86a0207de1fd0fc62bda3d0a852a2f 27444 doxygen_1.8.16-1.debian.tar.xz
 bc437ddb0085cf7f688ed15c5409e6065944a4cf 12015 doxygen_1.8.16-1_source.buildinfo
Checksums-Sha256:
 60f0af5148aa90b294da7a1f9916d88244a6734b4b1b61bd7863166bae556b34 2757 doxygen_1.8.16-1.dsc
 6591f76bc5538dc97f37a5719ad3705733262c934443f25d07f65216084a7cb0 27444 doxygen_1.8.16-1.debian.tar.xz
 4fdc162b4a0c3cc33eeb627db59b4da9311b1bb77b9cc88e230e9b7ad6a517d2 12015 doxygen_1.8.16-1_source.buildinfo
Files:
 7700de1dab69693ac27698f06e8b5a39 2757 devel optional doxygen_1.8.16-1.dsc
 e5cef38c0fb83336bcfe7997bad93760 27444 devel optional doxygen_1.8.16-1.debian.tar.xz
 f8dde4539012c51ded97d0299d50886b 12015 devel optional doxygen_1.8.16-1_source.buildinfo

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

iQJLBAEBCgA1FiEEyTpTRBhTUv5T0mHqIjkMJVxGBPQFAl3wJYQXHHBhb2xvLmdy
ZXBwaUBsaWJwZi5jb20ACgkQIjkMJVxGBPSA1hAAo4FuRWpKEtMVsHByxMLBhYtb
8xoLtXs/1pADWhQYDJtu0rftV5LJxx3dp1nVOQ0GF/2vK1p11brjbaI1fX+d+LLb
06qHgwIe9HYRD/5frD3uDwH+WvXnX22VEJ4m9LSAGSp/yetT7gVpJYEai4C0eY9j
3SDON2sXkz3A1q0QgnE+LBRL/2O/S8MzjAW3flG6ikeYSOgZgocX9pMr+Fd+w302
Pz+ROTRAfo4yfaCf0Cez1rkQxynn1rI3yfSoJ/58cxXAgcl978mMhS8lwbdYRZmJ
c/Dw8d23Evr+s/KL099p1gDv9KO3WXddJRKFgzzbSHls57eDsNnskOlBPpzbgMAh
FCXgfJ5dAvOdUKEzefzR0Zz835mZICzou5OBOSju14/LlltMAvtnTn54shhfpwu/
q1Vh5BNqqT2HaXGrtizkduJqdQM+wp6B4/s+OOSuit+lseY2BLHUC+NnXNIB8kKL
fFKXJVkHjemuv/vAfv2gq4YOr+X0eFboxBfuwhXm4cbquzVJACvG5IGjzXDxfeNL
mpUwvCfyygn2c45AvcImwth62pOimex5KJJNQbaqjbiYWOqLZvkWgWhLQTVRwxfn
sTHeOq4CYkaA3Id8EM+P+C11SQi8hhgD48xsmnTozhckBZQ4TxCqJU7NPlPC1X95
GHD3Nn7+z44uFmSiv8s=
=Hc/P
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 10 Jan 2020 07:26:55 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 11:36:41 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.