Tcl Source Code

View Ticket
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Ticket UUID: 48f1c83efb6a60a9d5a8d6b463377576003edb0b
Title: package command issues
Type: Bug Version: core-8-6-branch
Submitter: bll Created on: 2019-04-16 17:00:51
Subsystem: 18. Commands M-Z Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2019-10-04 18:32:46
Resolution: Invalid Closed By: bll
    Closed on: 2019-10-04 18:32:46
Description:
System: Mac OS Mojave

Even though a package was provided, and Tk is started, package provide
is not reporting any version number.

Built with Tcl core-8-6-branch and Tk core-8-6-branch.

$ /Users/bll/Desktop/BallroomDJ.app/Contents/MacOS/darwin/64/tcl/bin/tclsh 
% package require Tk
attempt to provide package Tk 8.6.8 failed: package Tk 8.6.9 provided instead
% package provide Tk
%
User Comments: bll added on 2019-10-04 18:32:46:
An artifact of not updating the versions numbers in the development branch.

bll added on 2019-04-16 17:08:48:
Ignore that second comment.  
  package require Tk 
does odd things after the first provide.

bll added on 2019-04-16 17:06:23:
Also:

package require Tk 8.6

fails completely even though 8.6.9 is present.