I am using the RawHide tcltk-8.2.3-36 package with the following changes: * Expect version upgraded to 5.31.8. * Tcl and Tk versions upgraded to 8.3.1. * Removed patches that are no longer necessary after Tcl and Tk upgrades. * Change Expect "cd" build commands because the Expect source code now unpacks into a directory with a hyphen in it. With these changes, the following Expect script does not work properly: #!/usr/bin/expect -- --- cut here --- set timeout 2 set pid [fork] if {! $pid} { spawn echo ready expect { {ready} { send_error "got ready\n" } default { send_error "didn't get ready\n" } } } --- cut here --- It should print "got ready", but instead it prints "didn't get ready". I solved this problem by removing "--enable-threads" from the spec file. I think that the "experimental" --enable-threads should be removed until it's a bit less experimental.
The option --enable-threads has been removed in tcltk-8.3.1.