Bug#1021518: jakarta-jmeter: reproducible-builds: year in documentation files
Vagrant Cascadian
vagrant at reproducible-builds.org
Tue Mar 31 01:33:59 BST 2026
On 2022-10-09, Vagrant Cascadian wrote:
> The current year is embedded in various documentation files:
>
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/jakarta-jmeter.html
>
> /usr/share/jmeter/printable_docs/building.html
>
> Copyright·©·1999-2022,·Apache·Software·Foundation
> vs.
> Copyright·©·1999-2023,·Apache·Software·Foundation
>
> Not only does this break reproducible builds, it is not an accurate
> reflection of the correct copyright dates.
>
> The attached patch to two upstream .vsl files fixes this by using the
> date that the current upstream version was uploaded to debian (maybe it
> is older, feel free to adjust appropriately).
This still appears to be needed... (or some other fix using
SOURCE_DATE_EPOCH, although that still arguably gives incorrect
information about the copyright headers, even if it makes it
reproducible).
> According to my local tests, with this patch applied, jakarta-jmeter
> should build reproducibly on tests.reproducible-builds.org!
... Unfortunately, there are other random factors in jmeter-apidoc that
require further exploration, possibly due to javadoc flipping between
two or three elements, creating reproducibility issues ~33-50% of the
time.
That said, fixing the date issues does appears to make jmeter-help fully
reproducible!
It would be nice to get these fixes included; I would like to perform an
NMU fixing this sometime in the next week or two, unless one of the
maintainers beats me to it. :)
live well,
vagrant
> From e19489b243bff03a128b8005dd7fdbd5ada11b6d Mon Sep 17 00:00:00 2001
> From: Vagrant Cascadian <vagrant at reproducible-builds.org>
> Date: Sun, 9 Oct 2022 23:22:36 +0000
> Subject: [PATCH] xdocs/stylesheets/site*.vsl: Use specific date for Copyright
> headers.
>
> This breaks reproducible builds, but also the dates for Copyright
> headers are valid for when the content was initially authored, not
> the build date.
> ---
> xdocs/stylesheets/site.vsl | 2 +-
> xdocs/stylesheets/site_printable.vsl | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/xdocs/stylesheets/site.vsl b/xdocs/stylesheets/site.vsl
> index e91d687..3c0f36e 100644
> --- a/xdocs/stylesheets/site.vsl
> +++ b/xdocs/stylesheets/site.vsl
> @@ -33,7 +33,7 @@
> #set ($space = $space.charAt(0))
> #set ($udsc = "_")
> #set ($udsc = $udsc.charAt(0))
> -#set ($year = $date.getYear()+1900)
> +#set ($year = "2016")
> ##
> ## Website settings
> #set ($imgdir = "$relativePath/images")
> diff --git a/xdocs/stylesheets/site_printable.vsl b/xdocs/stylesheets/site_printable.vsl
> index b817284..36ec7eb 100644
> --- a/xdocs/stylesheets/site_printable.vsl
> +++ b/xdocs/stylesheets/site_printable.vsl
> @@ -33,7 +33,7 @@
> #set ($space = $space.charAt(0))
> #set ($udsc = "_")
> #set ($udsc = $udsc.charAt(0))
> -#set ($year = $date.getYear()+1900)
> +#set ($year = "2016")
> ##
> ## Printable document settings
> #set ($imgdir = "$relativePath/../docs/images")
> --
> 2.30.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20260330/4829cc9e/attachment.sig>
More information about the pkg-java-maintainers
mailing list