Bug 2442621 - [tcl-expect] build expect for tcl-9.0
Summary: [tcl-expect] build expect for tcl-9.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: expect
Version: 43
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-25 13:52 UTC by JianHong Yin
Modified: 2026-03-28 01:48 UTC (History)
2 users (show)

Fixed In Version: expect-5.45.4-30.fc43
Clone Of:
Environment:
Last Closed: 2026-03-19 00:53:48 UTC
Type: ---
Embargoed:
vcrhonek: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-3224 0 None None None 2026-02-26 05:18:19 UTC

Description JianHong Yin 2026-02-25 13:52:38 UTC
Besides expect, most other Tcl modules are compiled to Tcl-9.0 by default;
this causes errors when loading other Tcl modules in the expect script, such as sqlite3.

Reproducible: Always

Steps to Reproduce:
1. get fail while require sqlite3 in expect script
Actual Results:
get fail

Expected Results:
works fine

Comment 1 JianHong Yin 2026-02-25 14:02:34 UTC
The reason for using expect instead of tcl is that some users want to use expect's trap functionality in their scripts.

a related link about expect support tcl9.0:
 https://wiki.linuxfromscratch.org/lfs/ticket/5570

Comment 2 Fedora Update System 2026-03-10 08:05:09 UTC
FEDORA-2026-8a6810956b (expect-5.45.4-31.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-8a6810956b

Comment 3 Fedora Update System 2026-03-10 08:05:30 UTC
FEDORA-2026-8eb0e3e4a2 (expect-5.45.4-30.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-8eb0e3e4a2

Comment 4 Fedora Update System 2026-03-11 01:31:47 UTC
FEDORA-2026-8a6810956b has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-8a6810956b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-8a6810956b

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

Comment 5 Fedora Update System 2026-03-11 01:49:41 UTC
FEDORA-2026-8eb0e3e4a2 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-8eb0e3e4a2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-8eb0e3e4a2

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

Comment 6 Fedora Update System 2026-03-19 00:16:44 UTC
FEDORA-2026-8a6810956b (expect-5.45.4-31.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2026-03-19 00:53:48 UTC
FEDORA-2026-8eb0e3e4a2 (expect-5.45.4-30.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Jakub Jelinek 2026-03-26 16:33:03 UTC
I'd strongly advocate for an update in F43 which reverts this and never try it in F43 again.
Whether there is time to resolve all the issues by F44 is unclear.  The bug-dejagnu thread also mentions qemu boards in dejagnu.
And all the various projects which use dejagnu for testing (e.g. binutils, gdb, ...) should be tested before it is verified it works fine.

Comment 10 Jakub Jelinek 2026-03-27 07:19:50 UTC
Note, gcc has about 2.5MiB of dejagnu/expect/tcl scripts, binutils+gdb over 16MiB, other packages too, so given the severe Tcl 9 incompatibilities, it will take quite some time to deal with it I'm afraid.

Comment 11 Vitezslav Crhonek 2026-03-27 11:07:31 UTC
I'm very sorry for all inconveniences. I see that this change should have stayed just in Rawhide. I'll create and update for F43 reverting the changes.

Comment 12 Fedora Update System 2026-03-27 12:37:23 UTC
FEDORA-2026-f2709209b9 (expect-5.45.4-31.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-f2709209b9

Comment 13 Fedora Update System 2026-03-28 01:48:08 UTC
FEDORA-2026-f2709209b9 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-f2709209b9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-f2709209b9

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


Note You need to log in before you can comment on or make changes to this bug.