On 2026-09-22, Vagrant Cascadian wrote:
> 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.

I have uploaded an NMU to DELAYED/10, debdiff attached, and merge
request submitted:

https://salsa.debian.org/go-team/packages/tea-cli/-/merge_requests/2

live well,
  vagrant
diff -Nru tea-cli-0.11.1/debian/changelog tea-cli-0.11.1/debian/changelog
--- tea-cli-0.11.1/debian/changelog     2026-01-08 22:02:35.000000000 -0800
+++ tea-cli-0.11.1/debian/changelog     2026-10-14 11:19:00.000000000 -0700
@@ -1,3 +1,13 @@
+tea-cli (0.11.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Chris Lamb ]
+  * debian/rules: Ensure that BUILD_DATE is always generated in the "UTC"
+    timezone. (Closes: #1125671)
+
+ -- Vagrant Cascadian <[email protected]>  Wed, 14 Oct 2026 
11:19:00 -0700
+
 tea-cli (0.11.1-1) unstable; urgency=medium
 
   * New upstream version 0.11.1
diff -Nru tea-cli-0.11.1/debian/rules tea-cli-0.11.1/debian/rules
--- tea-cli-0.11.1/debian/rules 2026-01-08 02:01:58.000000000 -0800
+++ tea-cli-0.11.1/debian/rules 2026-10-14 11:15:14.000000000 -0700
@@ -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