[Pkg-tcltk-devel] Bug#963600: critcl: please make the teapot.txt files reproducible

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Apr 10 23:09:31 BST 2026


On 2026-03-31, Vagrant Cascadian wrote:
> On 2024-06-06, Vagrant Cascadian wrote:
>> On 2023-01-10, Chris Lamb wrote:
>>>> critcl: please make the teapot.txt files reproducible
...
> The originally reported dates are still an issue, and it also appears to
> be embedding the build user now:
>
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/diffoscope-results/critcl.html
>
>   ./usr/lib/tcltk/aarch64-linux-gnu/critcl_callback_tcl8-1.1/teapot.txt
>
>   Meta·build::date·2026-02-25
>   vs.
>   Meta·build::date·2027-03-31
>   
>   Meta·generated::by·{critcl·3.3.1}·pbuilder1
>   vs.
>   Meta·generated::by·{critcl·3.3.1}·pbuilder2
>
> The attached updated patch addresses both outstanding issues, which
> should make critcl reproducible!
>
> I would like to upload an NMU fixing this in the next week or two to
> resolve this issue.

I have uploaded an NMU to DELAYED/10 fixing these issues; debdiff
attached.
 

live well,
  vagrant
-------------- next part --------------
diff -Nru critcl-3.3.1+dfsg/debian/changelog critcl-3.3.1+dfsg/debian/changelog
--- critcl-3.3.1+dfsg/debian/changelog	2024-11-27 00:53:33.000000000 -0800
+++ critcl-3.3.1+dfsg/debian/changelog	2026-04-10 14:59:39.000000000 -0700
@@ -1,3 +1,15 @@
+critcl (3.3.1+dfsg-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Chris Lamb ]
+  * debian/rules: Remove date from teapot.txt files (Closes: #963600)
+
+  [ Vagrant Cascadian ]
+  * debian/rules: Strip build user from teapot.txt files.
+
+ -- Vagrant Cascadian <vagrant at reproducible-builds.org>  Fri, 10 Apr 2026 14:59:39 -0700
+
 critcl (3.3.1+dfsg-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru critcl-3.3.1+dfsg/debian/rules critcl-3.3.1+dfsg/debian/rules
--- critcl-3.3.1+dfsg/debian/rules	2024-11-27 00:53:33.000000000 -0800
+++ critcl-3.3.1+dfsg/debian/rules	2026-04-10 14:59:39.000000000 -0700
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 
 include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/pkg-info.mk
+
+BUILD_DATE = $(shell date --utc --date="@$(SOURCE_DATE_EPOCH)" +%Y-%m-%d)
 
 export CRITCL_VER := $(shell sed -n "/package provide critcl/s/.*critcl //gp" lib/critcl/critcl.tcl)
 
@@ -40,6 +43,9 @@
 		rm -rf debian/critcl/usr/share/tcltk/critcl-$(CRITCL_VER)/critcl_c/tcl$$d; \
 		ln -s /usr/include/tcl$$d debian/critcl/usr/share/tcltk/critcl-$(CRITCL_VER)/critcl_c/tcl$$d; \
 	done
+	find debian/critcl/usr -name teapot.txt -print0 | \
+		xargs -0r sed -i -e 's,^\(Meta build::date\).*,\1 $(BUILD_DATE),' \
+		                 -e 's,^\(Meta generated::by {critcl .*}\).*,\1,'
 
 override_dh_installman:
 	mkdir -p debian/tmp/man
-------------- 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-tcltk-devel/attachments/20260410/509fdb40/attachment.sig>


More information about the Pkg-tcltk-devel mailing list