On 2026-01-15, Chris Lamb wrote:
> Whilst working on the Reproducible Builds effort [0], we noticed that
> tea-cli could not be built reproducibly.
>
> This is because the generation of BUILD_DATE in debian/rules (which ends
> up in a manpage) took into account the surrounding timezone which, of
> course, can vary.
>
> Patch attached that ensures that BUILD_DATE is always generated in the
> "UTC" timezone.

I just confirmed that this patch is still needed.

I would like to perform an Non-Maintainer Upload (NMU) applying the
patch to fix the issue in the coming weeks.

Please let me know if there are outstanding concerns!

live well,
  vagrant

> --- a/debian/rules    2026-01-15 09:52:02.983632687 -0800
> --- b/debian/rules    2026-01-15 11:13:22.953486104 -0800
> @@ -1,7 +1,7 @@
>  #!/usr/bin/make -f
>  
>  include /usr/share/dpkg/pkg-info.mk
> -BUILD_DATE := $(shell date +%F -d @$(SOURCE_DATE_EPOCH))
> +BUILD_DATE := $(shell date -u +%F -d @$(SOURCE_DATE_EPOCH))
>  
>  %:
>       dh $@ --builddirectory=debian/build --buildsystem=golang --with=golang

Attachment: signature.asc
Description: PGP signature

Reply via email to