On 2022-09-27, Vagrant Cascadian wrote:
> A timezone-dependent timestamp is embedded in /usr/games/edid-decode:
>
>   
> https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/edid-decode.html
>
>   2022-03-29·21:29:27
>   vs.
>   2022-03-30·23:29:27
>
> The attached patch to debian/rules fixes this by ensuring the date is
> output in the UTC timezone.

Yesterday I uploaded an NMU to DELAYED/10 and pushed the changes to git,
as well as uploaded with dgit. The following changes were in included:

diff -Nru edid-decode-0.1~git20220315.cb74358c2896/debian/changelog 
edid-decode-0.1~git20220315.cb74358c2896/debian/changelog
--- edid-decode-0.1~git20220315.cb74358c2896/debian/changelog   2022-03-30 
02:29:27.000000000 -0700
+++ edid-decode-0.1~git20220315.cb74358c2896/debian/changelog   2023-12-07 
12:32:06.000000000 -0800
@@ -1,3 +1,11 @@
+edid-decode (0.1~git20220315.cb74358c2896-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/rules: Use UTC date to ensure reproducible builds regardless of
+    timezone. (Closes: #1020877)
+
+ -- Vagrant Cascadian <vagr...@debian.org>  Thu, 07 Dec 2023 12:32:06 -0800
+
 edid-decode (0.1~git20220315.cb74358c2896-1) unstable; urgency=medium
 
   * New upstream snapshot.
diff -Nru edid-decode-0.1~git20220315.cb74358c2896/debian/rules 
edid-decode-0.1~git20220315.cb74358c2896/debian/rules
--- edid-decode-0.1~git20220315.cb74358c2896/debian/rules       2022-03-30 
02:29:27.000000000 -0700
+++ edid-decode-0.1~git20220315.cb74358c2896/debian/rules       2023-12-07 
12:32:06.000000000 -0800
@@ -7,4 +7,4 @@
        dh $@
 
 override_dh_auto_build:
-       dh_auto_build -- sha=-DSHA=$(lastword $(subst ., 
,$(DEB_VERSION_UPSTREAM))) date=-DDATE=\""$(shell date -d@$(SOURCE_DATE_EPOCH) 
'+%F %T')"\"
+       dh_auto_build -- sha=-DSHA=$(lastword $(subst ., 
,$(DEB_VERSION_UPSTREAM))) date=-DDATE=\""$(shell date -u 
-d@$(SOURCE_DATE_EPOCH) '+%F %T')"\"


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to