snit 2.1 contained in tcllib 1.9.dfsg1-1 incompatible with tcl/tk 8.5

Bug #195785 reported by vivia
2
Affects Status Importance Assigned to Milestone
tcllib (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: tcllib

Hello,

In Ubuntu Gutsy, I saw that there was a recent addition of tcl/tk 8.5 and an according recompile of aMSN. However, aMSN won't start if the following conditions are met:
1) we are using tcl8.5 , tk8.5 and latest amsn package
2) we have the tcllib package installed (from the repositories), version

aMSN starts again if you remove tcllib.

After investigating the issue a little bit further and discussing it with the tcl developers, it turned out that snit 2.1 (contained in tcllib 1.9) is incompatible with tcl8.5. The problem is fixed in the latest snit release. Thus, I would recommend marking tcllib 1.9 incompatible with tcl8.5 and, if possible, adding a package of tcllib 1.10 (latest release) which contains snit 2.2.1.

More details about the bug:

The backtrace given on the console when trying to start amsn is :

Error in startup script: extra characters after close-brace
    while executing
"set command [list $self {expand}$Snit_optionInfo(configure-$option) $option]
            "
    invoked from within
"if {$Snit_optionInfo(configure-$option) eq ""} {
                set command [list set ${selfns}::options($option)]
            } else {
             ..."
    (procedure "snit::RT.CacheConfigureCommand" line 32)
    invoked from within
[...]

The tcl developers told me that {expand} should be replaced by {*} for tcl/tk 8.5. Since this code is in snit, it turns out that snit 2.1 is incompatible with tcl/tk 8.5.

Thank you.

Daniel T Chen (crimsun)
Changed in tcllib:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.