Bug 2360530

Summary: tcllib does not match the default tclsh(tcl9.0)
Product: [Fedora] Fedora Reporter: JianHong Yin <jiyin>
Component: tcllibAssignee: Dmitrij S. Kryzhevich <kryzhev>
Status: CLOSED ERRATA QA Contact: JianHong Yin <jiyin>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: kryzhev, redhat-bugzilla, wart
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: tcllib-2.0-1.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-04-27 01:21:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description JianHong Yin 2025-04-17 04:16:38 UTC
The default tcl version in Fedora-42 is tcl9.0, but the tcllib is still built for tcl8.6.

please provide tcllib package for tcl9.0

Reproducible: Always

Steps to Reproduce:
1. tclsh
2. % package require uri
can't find package uri
Actual Results:
users can use modules in tcllib in tclsh

Expected Results:
% package require uri
do not report error

Additional Information:
by running `rpm -ql tcllib`, we can see that tcllib only built for tcl8.6

but the default tclsh is tcl9.0

Comment 1 JianHong Yin 2025-04-17 06:26:17 UTC
tcllib 2.0 has released since 2024.09.26. and it support tcl9.0
  https://sourceforge.net/projects/tcllib/files/tcllib/2.0/

Comment 2 Fedora Update System 2025-04-18 10:01:56 UTC
FEDORA-2025-99a11bb034 (tcllib-2.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-99a11bb034

Comment 3 Fedora Update System 2025-04-19 22:29:08 UTC
FEDORA-2025-99a11bb034 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-99a11bb034`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-99a11bb034

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 JianHong Yin 2025-04-22 04:35:14 UTC
verified:
'''
[root@jiyin-fedora-42 ~]# sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-99a11bb034
Updating and loading repositories:
 Fedora 42 openh264 (From Cisco) - x86_64                                                                                 100% | 880.0   B/s | 989.0   B |  00m01s
 Fedora 42 - x86_64 - Updates                                                                                             100% |  24.8 KiB/s |  30.2 KiB |  00m01s
 Fedora 42 - x86_64                                                                                                       100% |  19.8 KiB/s |  28.0 KiB |  00m01s
 nbeaker-harness                                                                                                          100% |   5.4 KiB/s |   3.0 KiB |  00m01s
 beaker-harness                                                                                                           100% |   1.5 KiB/s |   1.5 KiB |  00m01s
 Fedora 42 - x86_64 - Updates                                                                                             100% |  86.8 KiB/s | 316.8 KiB |  00m04s
 nbeaker-harness                                                                                                          100% |  11.3 KiB/s |  11.8 KiB |  00m01s
 Fedora 42 - x86_64 - Test Updates                                                                                        100% | 406.9 KiB/s |   2.2 MiB |  00m06s
Repositories loaded.
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
Package                                               Arch          Version                                                Repository                         Size
Upgrading:
 tcllib                                               noarch        2.0-1.fc42                                             updates-testing                12.1 MiB
   replacing tcllib                                   noarch        1.21-7.fc42                                            fedora                         12.3 MiB

Transaction Summary:
 Upgrading:          1 package
 Replacing:          1 package

Total size of inbound packages is 4 MiB. Need to download 4 MiB.
After this operation, 168 KiB will be freed (install 12 MiB, remove 12 MiB).
Is this ok [y/N]: y
[1/1] tcllib-0:2.0-1.fc42.noarch                                                                                          100% |   1.0 MiB/s |   4.0 MiB |  00m04s
------------------------------------------------------------------------------------------------------------------------------------------------------------------
[1/1] Total                                                                                                               100% | 759.5 KiB/s |   4.0 MiB |  00m05s
Running transaction
[1/4] Verify package files                                                                                                100% |  83.0   B/s |   1.0   B |  00m00s
[2/4] Prepare transaction                                                                                                 100% |  64.0   B/s |   2.0   B |  00m00s
[3/4] Upgrading tcllib-0:2.0-1.fc42.noarch                                                                                100% |  39.7 MiB/s |  12.3 MiB |  00m00s
[4/4] Removing tcllib-0:1.21-7.fc42.noarch                                                                                100% |   1.5 KiB/s |   1.3 KiB |  00m01s
Complete!
[root@jiyin-fedora-42 ~]# tclsh
% package require uri
1.2.8
% exit
[root@jiyin-fedora-42 ~]# rpm -q tcllib
tcllib-2.0-1.fc42.noarch
'''

Comment 5 Ralf Ertzinger 2025-04-24 10:51:51 UTC
That seems to work fine on F42.

Comment 6 Fedora Update System 2025-04-27 01:21:04 UTC
FEDORA-2025-99a11bb034 (tcllib-2.0-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.