🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5233

Bug#1154581: tdom: Please, switch to Tcl 9.1 for forky

#5233
From: Sergei Golovan
Date: Fri, 20 Nov 2026 16:50
107 lines
6591 bytes
This is a multi-part MIME message sent by reportbug.


--===============3773600039829246547==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Source: tdom
Version: 0.9.6-3
Severity: important
Tags: patch

Dear Maintainer,

I'm planning to drop Tcl/Tk 9.0 from Debian and replace it by
9.1 for forky. Please, rebuild tdom with Tcl 9.1 instead of 9.0
as it is built currently.

Attached is the patch which can help you with that. It replaces all
tcl9.0 by tcl9.1 in the dependencies, and in debian/rules.
The only problem with Tcl 9.1 is that `make test` overrides
the path where tclsh searches for its library files, so I
had to add TCLSH_ENV='' to the respective call in debian/rules.

-- System Information:
Debian Release: 13.8
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates'), (500, 'stable'), (1, 'experimental'), (1, 'unstable'), (1, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.12.111+deb13-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

--===============3773600039829246547==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="tdom-with-tcl9.1.diff"

diff --git a/debian/changelog b/debian/changelog
index ce33011..220fe8c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tdom (0.9.6-4) unstable; urgency=medium
+
+  [ Sergei Golovan ]
+  * Build the package with Tcl 9.1 instead of Tcl 9.0.
+
+ -- Sergei Golovan <sgolovan@debian.org>  Fri, 20 Nov 2026 19:19:32 +0300
+
 tdom (0.9.6-3) unstable; urgency=medium
 
   [ Hector Romojaro ]
diff --git a/debian/control b/debian/control
index f8eadf7..0970f11 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: tdom
 Section: libs
 Maintainer: Tcl/Tk Debian Packagers <pkg-tcltk-devel@lists.alioth.debian.org>
 Uploaders: Hector Romojaro <hector.romojaro@gmail.com>, Stefan Sobernig <stefan.sobernig@wu-wien.ac.at>
-Build-Depends: debhelper (>= 13), tcl-dev, tcl8.6-dev, tcl9.0-dev, libexpat1-dev, libgumbo-dev, pkgconf, debhelper-compat (= 13)
+Build-Depends: debhelper (>= 13), tcl-dev, tcl8.6-dev, tcl9.1-dev, libexpat1-dev, libgumbo-dev, pkgconf, debhelper-compat (= 13)
 Rules-Requires-Root: no
 Standards-Version: 4.7.4
 Homepage: https://tdom.org/
@@ -13,7 +13,7 @@ Package: tdom
 Architecture: any
 Multi-Arch: same
 Depends: ${tclsh:Depends}, ${shlibs:Depends}, ${misc:Depends}
-Provides: tcl-tdom (= ${binary:Version}), tcl8.6-tdom (= ${binary:Version}), tcl9.0-tdom (= ${binary:Version})
+Provides: tcl-tdom (= ${binary:Version}), tcl8.6-tdom (= ${binary:Version}), tcl9.1-tdom (= ${binary:Version})
 Description: fast XML/DOM/XPath/XSLT/HTML/JSON extension for Tcl written in C
  tDOM takes advantage of Expat, the XML parser from James Clark,
  including namespace and DTD support. It includes a modified version
diff --git a/debian/rules b/debian/rules
index 0b04663..3fc01a6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 #export DH_VERBOSE=1
 #export DH_OPTIONS=-v
 
-TCLVERSIONS = 9.0 8.6
+TCLVERSIONS = 9.1 8.6
 
 # Hardening
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
@@ -175,6 +175,6 @@ override_dh_installdeb:
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	for v in $(TCLVERSIONS) ; do \
-		( cd debian/$$v/unix ; $(MAKE) test) ; \
+		( cd debian/$$v/unix ; $(MAKE) test TCLSH_ENV='') ; \
 	done
 endif

--===============3773600039829246547==--
Technical Details
Message-ID: <O1zYd-d6YB-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Sergei Golovan <sgolovan@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154581: tdom: Please, switch to Tcl 9.1 for forky
Date: Fri, 20 Nov 2026 17:50:01 +0100
Message-ID: <O1zYd-d6YB-9@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Nov 20 16:43:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.699
Reply-To: Sergei Golovan <sgolovan@debian.org>, 1154581@bugs.debian.org
Original-Sender: Sergei Golovan <sgolovan@gmail.com>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-tcltk-devel@lists.alioth.debian.org
X-Debian-Pr-Message: report 1154581
X-Debian-Pr-Package: src:tdom
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: tdom
X-Gm-Message-State: APuU4Z8h1rEqPlijSYzDoyOP6InX1gB1NVuYe2y5/+scYrX2z1TGHvyk
	IFr1PGRqUN1tugyAt/y+qRCgOI9/sSY/jQSSXVWeucW9WZWr5olGJBiGrMYf/Q==
X-Gm-Gg: AZFdTZcgyjC3BNHonLt/rWnsSQc9liuuUlP1siuUJ5kVZsG1xqSk8gdNObqLiP/X/6n
	Kz3kauibrKw00j4lDHotIfDvUUm1pIGkfZT8SCZE5hn5ENZXC4VA3g5zkXPzEK3l/5vYsE4barM
	UqBfInpNL4Ikx5P5TYOXb7wugf38y5itWZQh7KtqI9aOwPvzkrPBnn/MRKczToVxRD1ibwKT1eL
	Fo4285EIlIlTQcHKghz+fAcODBC2uPcLpaQPZuno2puOlPVWuoPHPXKUaxKk5xd0+Fo0AQK+YFr
	Vdi88G4l/31GcpoVPKS2uS3rIhZTZyKqfm4mT2cJHFBaW4NmqeIrGUv9DQ/rqgoGA5u2D0VTN7p
	mAUzM85THMbScw4rBT6X19JPArROjl06AODPXjMfMtmrSzLC92uVo2nDCZ2YH0SmSe0t1o0C/7D
	gvbe2V79PyZ8+bwgh9DFk9NeL2yeBiTjnqSYU3gbEgycncSio0/9gr/+50GQg+IEdyxU/m6PE4a
	Glq4fvtGNhxtgIQ6VlgKhUF2bKIHiYMqbvJqVK31/9fYtIc5g60RdDC6gnBryLWsU8XFcx3zTcQ
	1NmniAJaDLNYkyk2hRUk5LPJoK7V/7Am8fAH
X-Received: by 2002:a05:651c:54f:b0:3ab:483c:914c with SMTP id 38308e7fff4ca-3ae7fa212ddmr11945921fa.21.1795192868631;
        Fri, 20 Nov 2026 08:41:08 -0800 (PST)
Sender: robomod@news.nic.it
Content-Type: multipart/mixed; boundary="===============3773600039829246547=="
MIME-Version: 1.0
X-Mailer: reportbug 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003736
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 107
Organization: linux.* mail to news gateway
X-Original-Date: Fri, 20 Nov 2026 19:41:06 +0300
X-Original-Message-ID: <179519286650.160928.4602720207569639421.reportbug@jupiter.golovan.home>
X-Original-Sender: Sergei Golovan <sgolovan@gmail.com>