| Ticket UUID: | 1894038 | |||
| Title: | pkgIndex.tcl filter is too strict AND too lax | |||
| Type: | Bug | Version: | obsolete: 8.5.1 | |
| Submitter: | dgp | Created on: | 2008-02-14 21:12:01 | |
| Subsystem: | 84. Unix Build | Assigned To: | dgp | |
| Priority: | 9 Immediate | Severity: | ||
| Status: | Closed | Last Modified: | 2008-10-11 01:56:33 | |
| Resolution: | Fixed | Closed By: | dgp | |
| Closed on: | 2008-10-10 18:56:33 | |||
| Description: |
When Tk 8.5.1 is built and installed
from the source code distribution, the
pkgIndex.tcl file that gets installed
contains:
if {[catch {package present Tcl 8.5.1}]} { return }
package ifneeded Tk 8.5.1 [list load [file join $dir .. libtk8.5.so] Tk]
This script means that in an 8.5.0 Tcl interp,
the command
package require -exact Tk 8.5.1
will fail, even though the corresponding
[load] would work just fine. Tk 8.5.1 is
perfectly compatible with Tcl 8.5.0.
It seems that replacing the "$(TCLPATCHL)"
on line 710 of tk/unix/Makefile.in with
the literal string ".0" would resolve this.
| |||
| User Comments: |
dgp added on 2008-10-11 01:56:33:
fixed for 8.5.5. dgp added on 2008-08-26 01:19:12: Logged In: YES user_id=80530 Originator: YES The original problem is still in the Tk 8.5.4 release, which is demanding Tcl 8.5.4 even though it's perfectly compatible with Tcl 8.5.0. Now the problem on the other end is arising. Tk 8.5.4 is not compatible with Tcl 8.6a2, and it's clear now that it won't be compatibile with Tcl 8.6.*, so the filter should be screening those out too. This interferes with testing Tk 8.6a2 at the moment. Out of the box, with both Tk 8.5.4 and Tk 8.6a2 installed, a bare package require Tk in a Tcl 8.6a2 interp will try to use Tk 8.5.4 and immediately fail with version conflict for package "Tcl": have 8.6a2, need exactly 8.5 The testing command package prefer latest or setting TCL_PKG_PREFER_LATEST will work around the problem, but this deserves a real fix in time for Tk 8.5.5. dgp added on 2008-04-02 02:41:26: Logged In: YES user_id=80530 Originator: YES Still buggy in 8.5.2 | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki