[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1106838: marked as done (unblock: tclx8.4/8.4.1-5)



Your message dated Fri, 30 May 2025 22:30:39 +0000
with message-id <E1uL8FL-0006VK-1w@respighi.debian.org>
and subject line unblock tclx8.4
has caused the Debian Bug report #1106838,
regarding unblock: tclx8.4/8.4.1-5
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1106838: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106838
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
X-Debbugs-Cc: tclx8.4@packages.debian.org
Control: affects -1 + src:tclx8.4
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package tclx8.4

[ Reason ]
The new version prevents loading the package into Tcl 9.0 shell,
which caused segfaults (Tclx is not ported to Tcl 9 yet). See [1]
for detail.

[ Impact ]
If a software (e.g. Tkabber) is run using Tcl/Tk 9.0 and tries
to load Tclx (it can be optional, so it's no big deal if it can't
be loaded) then a segfault occurs which is not acceptable.

[ Tests ]
I've tested the change manually.

[ Risks ]
The change only deals with the guard which makes Tcl 9.0
to think that the package is not present in the system.
There's no any impact on the packages which use Tcl/Tk 8.6.

[ Checklist ]
  [+] all changes are documented in the d/changelog
  [+] I reviewed all changes and I approve them
  [+] attach debdiff against the package in testing

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104966

unblock tclx8.4/8.4.1-5
diff -Nru tclx8.4-8.4.1/debian/changelog tclx8.4-8.4.1/debian/changelog
--- tclx8.4-8.4.1/debian/changelog	2019-09-23 23:23:25.000000000 +0300
+++ tclx8.4-8.4.1/debian/changelog	2025-05-09 09:50:24.000000000 +0300
@@ -1,3 +1,9 @@
+tclx8.4 (8.4.1-5) unstable; urgency=medium
+
+  * Prevent loading into Tcl 9.0 (closes: #1104966).
+
+ -- Sergei Golovan <sgolovan@debian.org>  Fri, 09 May 2025 09:50:24 +0300
+
 tclx8.4 (8.4.1-4) unstable; urgency=medium
 
   * Adapt the soname patch to GNU/Hurd.
diff -Nru tclx8.4-8.4.1/debian/rules tclx8.4-8.4.1/debian/rules
--- tclx8.4-8.4.1/debian/rules	2019-09-23 23:23:25.000000000 +0300
+++ tclx8.4-8.4.1/debian/rules	2025-05-09 09:50:24.000000000 +0300
@@ -124,7 +124,7 @@
 	sh ./debian/install_manpages $(DESTDIR)
 	ln -nfs TclX.3tclx.gz $(DESTDIR)/usr/share/man/man3/tclx.3tclx.gz
 	# Load only on tcl8.4
-	echo 'if {[package vcompare [info tclversion] 8.4] < 0} return' \
+	echo 'if {![package vsatisfies [package provide Tcl] 8.6]} return' \
 	    > $(DESTDIR)/usr/lib/tclx$(TCLX_VERSION)/pkgIndex.tcl
 	sed 's|\$$dir|/usr/lib|' < pkgIndex.tcl \
 	    >>$(DESTDIR)/usr/lib/tclx$(TCLX_VERSION)/pkgIndex.tcl

--- End Message ---
--- Begin Message ---
Unblocked.

--- End Message ---

Reply to: