Tcl Library Source Code

View Ticket
Login
Ticket UUID: 523f7e055647611328efa2539717023d18b99ccd
Title: Incorrect versions/files provided compared to pkgIndex.tcl
Type: Bug Version: 2
Submitter: juliannoble2 Created on: 2026-08-07 16:43:33
Subsystem: (unused) Assigned To: nobody
Priority: 5 Medium Severity: Important
Status: Open Last Modified: 2026-11-15 13:36:40
Resolution: None Closed By: nobody
    Closed on:
Description:
Various packages are versioned incorrectly

  % package require rest
  attempt to provide package rest 1.7 failed: package rest 1.8 provided instead
  % package require doctools::toc
  attempt to provide package doctools::toc 2 failed: package doctools::toc 2.1 provided instead
  % package require math::filters
  attempt to provide package math::filters 0.3 failed: package math::filters 0.4 provided instead

file is nettool.tcl - attempts to source nexttool.tcl
  % package require nettool
  couldn't read file "C:/Users/sleek/AppData/Local/Apps/Tcl903/lib/tcllib/nettool/nexttool.tcl": no such file or directory

tcl::chan::std in virtchannel_base has 1.0.2 indexed but provides 1.2 (shadowed by my tclsh installation which has the proper version - but still possibly broken for some)
User Comments: serhiy.storchaka added on 2026-11-15 13:36:40:

Proposed fix in branch pkgindex-version-fixes: fixes the entries for rest, doctools::toc, math::filters, tcl::chan::std and nettool, and adds tests that compare each pkgIndex.tcl entry with what the code provides.