[Pkg-tcltk-devel] Bug#1021389: tcl-ttkthemes: When this is installed, tclsh 'package require Tk' fails with circular dependency error
Patty
dusthillresident at gmail.com
Fri Oct 7 12:23:48 BST 2022
Package: tcl-ttkthemes
Version: 3.2.0-1
Severity: grave
Justification: this renders another package 'tclsh' unusable, as well as this package itself
X-Debbugs-Cc: dusthillresident at gmail.com
Dear Maintainer,
When this package is installed, 'tclsh' (the Tcl interpreter, provided by debian package 'tcl') becomes broken in such a way that it's no longer possible to import/load the Tk graphics/gui extension (provided by debian package 'tk').
Although I'm reporting from a Debian Stable system,
this bug is happening in Ubuntu too,
and this package seems obscure so I assume this may still be an issue that nobody else has noticed or fixed yet.
Steps to reproduce:
0. Start a X windows/desktop session.
1. Install debian packages 'tcl', and 'tk', and 'tcl-ttkthemes', perhaps with this command or similar:
sudo apt-get install tcl tk tcl-ttkthemes
2. Create a text file with the name 'test.tcl' and put these lines in it:
package require Tk
pack [ label .l -text "Debian" ]
3. Open a terminal window and run this command:
tclsh test.tcl
4. Observe that this error message is printed and the script exits:
circular package dependency: attempt to provide Tk Ϻ£ü requires Tk
while executing
"package require Tk"
(file "test.tcl" line 1)
5. Uninstall debian package 'tcl-ttkthemes'.
6. Run 'tclsh test.tcl' again, and note that this time the error is not printed and the script opens a window with text "Debian" in it.
Thank you
-- System Information:
Debian Release: 11.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-16-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages tcl-ttkthemes depends on:
ii tcl 8.6.11+1
ii tk 8.6.11+1
tcl-ttkthemes recommends no packages.
tcl-ttkthemes suggests no packages.
-- no debconf information
More information about the Pkg-tcltk-devel
mailing list