Your message dated Thu, 22 Jun 2023 07:51:46 +0000
with message-id <[email protected]>
and subject line Bug#1034740: fixed in boost1.74 1.74.0+ds1-21.1
has caused the Debian Bug report #1034740,
regarding boost1.74: reproducible builds: build date and time embedded in .html 
documentation
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.)


-- 
1034740: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034740
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: boost1.74
Severity: normal
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

The build dates and timestamps are embedded in various .html
documentation:

  
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/boost1.74.html

  /usr/share/doc/libboost1.74-doc/doc/html/accumulators.html

  
<td·align="left"><p><small>Last·revised:·May·17,·2024·at·23:22:24·GMT</small></p></td>
  vs.
  
<td·align="left"><p><small>Last·revised:·April·15,·2023·at·19:43:52·GMT</small></p></td>

The attached patch fixes this by removing the date and timestamp lines
from several files, and replacing documentations examples for the use of
__TIME__ and __DATE__ with a fixed time and date.

According to my local tests, with this patch applied, boost1.74 should
build reproducibly on tests.reproducible-builds.org once it migrates to
testing! There are some outstanding issues (e.g. build paths) that are
only tested on unstable and experimental.


Thanks for maintaining boost1.74!


live well,
  vagrant
From 7c9c189ea32470cd683939c11fabf78f0b2f3f17 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Sat, 22 Apr 2023 19:53:22 -0700
Subject: [PATCH] Remove timestamps and dates from documentation.

https://reproducible-builds.org/docs/timestamps/
---
 libs/circular_buffer/doc/circular_buffer.qbk |  2 --
 libs/units/doc/units.qbk                     |  1 -
 tools/boostbook/xsl/html-base.xsl            | 22 --------------------
 tools/quickbook/doc/block.qbk                |  4 ++--
 4 files changed, 2 insertions(+), 27 deletions(-)

diff --git a/libs/circular_buffer/doc/circular_buffer.qbk b/libs/circular_buffer/doc/circular_buffer.qbk
index a7177e4c..217c42b6 100644
--- a/libs/circular_buffer/doc/circular_buffer.qbk
+++ b/libs/circular_buffer/doc/circular_buffer.qbk
@@ -596,8 +596,6 @@ Paul A. Bristow refactored the documentation in 2013 to use the full power of Qu
 
 [section:version_id Documentation Version Info]
 
-Last edit to Quickbook file __FILENAME__ was at __TIME__ on __DATE__.
-
 [tip This should appear on the pdf version
 (but may be redundant on a html version where the last edit date is on the first (home) page).]
 
diff --git a/libs/units/doc/units.qbk b/libs/units/doc/units.qbk
index 0c7345fc..b160ef21 100644
--- a/libs/units/doc/units.qbk
+++ b/libs/units/doc/units.qbk
@@ -1309,7 +1309,6 @@ the design and implementation of this library.
 
 __boostroot
 
-Last edit to Quickbook file __FILENAME__ was at __TIME__ on __DATE__.
 
 [tip This should appear on the pdf version (but may be redundant on html).]
 [/ Useful on pdf version. See also Last revised timestamp on first page of html version.]
diff --git a/tools/boostbook/xsl/html-base.xsl b/tools/boostbook/xsl/html-base.xsl
index a1031710..cfba8727 100644
--- a/tools/boostbook/xsl/html-base.xsl
+++ b/tools/boostbook/xsl/html-base.xsl
@@ -234,28 +234,6 @@ set       toc,title
               <xsl:value-of
                 select="normalize-space($revision-node/attribute::rev:last-revision)"/>
             </xsl:variable>
-            <xsl:if test="string-length($revision-text) &gt; 0 and not($revision-text = '$Date$')">
-              <p>
-                <small>
-                  <xsl:text>Last revised: </xsl:text>
-                  <xsl:choose>
-                    <xsl:when test="not(contains($revision-text, '$Date: ')) and not(contains($revision-text, '$Date:: '))">
-                      <xsl:value-of select="$revision-text"/>
-                    </xsl:when>
-                    <xsl:when test="contains($revision-text, '/')">
-                      <xsl:call-template name="format.cvs.revision">
-                        <xsl:with-param name="text" select="$revision-text"/>
-                      </xsl:call-template>
-                    </xsl:when>
-                    <xsl:otherwise>
-                      <xsl:call-template name="format.svn.revision">
-                        <xsl:with-param name="text" select="$revision-text"/>
-                      </xsl:call-template>
-                    </xsl:otherwise>
-                  </xsl:choose>
-                </small>
-              </p>
-            </xsl:if>
           </xsl:if>
         </td>
         <td align="right">
diff --git a/tools/quickbook/doc/block.qbk b/tools/quickbook/doc/block.qbk
index dbfdb8d2..bcf3f406 100644
--- a/tools/quickbook/doc/block.qbk
+++ b/tools/quickbook/doc/block.qbk
@@ -601,8 +601,8 @@ Quickbook has some predefined macros that you can already use.
 
 [table Predefined Macros
     [[Macro]           [Meaning]                       [Example]]
-    [[[^\__DATE__]]    [Today's date]                  [__DATE__]]
-    [[[^\__TIME__]]    [The current time]              [__TIME__]]
+    [[[^\__DATE__]]    [Today's date]                  [2022-04-20]]
+    [[[^\__TIME__]]    [The current time]              [01:42:48 PM]]
     [[[^\__FILENAME__]][Quickbook source filename]     [__FILENAME__]]
 ]
 
-- 
2.39.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: boost1.74
Source-Version: 1.74.0+ds1-21.1
Done: Gianfranco Costamagna <[email protected]>

We believe that the bug you reported is fixed in the latest version of
boost1.74, 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.
Gianfranco Costamagna <[email protected]> (supplier of updated boost1.74 
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: Thu, 22 Jun 2023 08:53:45 +0200
Source: boost1.74
Built-For-Profiles: noudeb
Architecture: source
Version: 1.74.0+ds1-21.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Boost Team <[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Closes: 1016904 1034740 1036545 1036840
Changes:
 boost1.74 (1.74.0+ds1-21.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * [4cb74a3] Add patch to fix autopkgtests with newer cmake (Closes:
     #1036840)
   * [de6d9b2] Add upstream patch to workaround a qemu issue that prevents
     the package from building successfully on m68k and sh4 (Closes: #1016904)
   * [ec17e0f] d/p/0001-Remove-timestamps-and-dates-from-documentation.patch:
     Add patch to make documentation build reproducible (Closes: #1034740)
   * [a8a6524] Add upstream patch to fix awaitable build failure with newer
     gcc versions (Closes: #1036545)
Checksums-Sha1:
 b7d54e0a2d5ed40dd1ca39e042a2f01a66dea9be 8495 boost1.74_1.74.0+ds1-21.1.dsc
 ba2def22a307ae750990b2b7975ec8c4f6b95f87 375220 
boost1.74_1.74.0+ds1-21.1.debian.tar.xz
 c38c80917c2f4c2fd34272d499ea21ac2a9c9740 12422 
boost1.74_1.74.0+ds1-21.1_source.buildinfo
Checksums-Sha256:
 4c1ca440507ccfd1e80c8d4d54cad0e838d612916d917344ef330a101be7aa61 8495 
boost1.74_1.74.0+ds1-21.1.dsc
 5d7fec5a32fa4e95d85c8d67b3c0c00de1fba58251ee01c467f7f5e5a9cd5fe4 375220 
boost1.74_1.74.0+ds1-21.1.debian.tar.xz
 e901b76463d1281691a2168a2228e91aeb6fede32a1c115b0ae11757533e2010 12422 
boost1.74_1.74.0+ds1-21.1_source.buildinfo
Files:
 47ea9d385b13e937fc8b705180bdae6d 8495 libs optional 
boost1.74_1.74.0+ds1-21.1.dsc
 e20c9df11519d7cd56d27a736435adc4 375220 libs optional 
boost1.74_1.74.0+ds1-21.1.debian.tar.xz
 3716ca075e94a3db6acb6b91d476161f 12422 libs optional 
boost1.74_1.74.0+ds1-21.1_source.buildinfo

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

iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmST+XEACgkQ808JdE6f
Xdl/sQ//RnW0CpCJRLJCYnvGy7uqVRksIYLeGLRhYWH349wGjRfuKkzhWZJo7mc1
Dvv8cqQCP6ZSfjC8vY6ALmzqIgZuf3tMSypVgdiS+WH33sLd+WpReGWjMKD9oY49
C4q/clvcBn3f/UuapDeh1APK2urqJ6gv6RmIuyha8mvrznA3P0jxU9zC7n+a9IpT
T5A4ewG0gpndO4wrH+mkWK2MybK9pm8Xb+es9GIsRXOw9o5l79gjhw6mCQlgXR9K
edQH2S3bmI4WBvf0pxmXRCAJ1A0/tHUCR9ZZZwXwxdln/vZ7NQ3KXXuDdrNaFhXE
cbOP+T8yfH6WsFEs381FbNDtW0UP2ZRylnmuix0kI25LQ2KnHt/5fj26PyJu0JYT
9JQmkrQNEIKfp4tVqcRO7CGQo8iZw6pEGFuLQ6ZwyVWPoibAOic+E1Ufnorw0i45
1F3bwQ3b5ccR2/V8N7lwZUQ4cS/X4w+M3Yzn3uWxptW/K0VekM61BZRzjLLYSIDU
lIzmp/mRgilWiM9WZ07NvYxvd1YSA9JlapzTW/ISuTXSErQ4CfcF3PN9BqeIOqek
lF0NGfJXjD5WGt8eshq0EuXoJRaTdsZB7DQzYqymBhxAn8ire3QzqIEEeKbGKwZo
lrVzLkVISKUU77fmOkgdcl/MF6qd86sb9YIomiMTJfje1dkQjaQ=
=lfVr
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to