Tcl Library Source Code

View Ticket
Login
2026-11-15
13:36 • Ticket [61e49798ee] typo in pkgIndex.tcl status still Open with 3 other changes artifact: 78249cdad8 user: serhiy.storchaka
13:36 • Ticket [523f7e0556] Incorrect versions/files provided compared to pkgIndex.tcl status still Open with 3 other changes artifact: 85ed12cd31 user: serhiy.storchaka
13:20
Fix [61e49798ee], [523f7e0556], [cdbdd399e4]: pkgIndex.tcl entries that do not match the code. nettool's index sourced nexttool.tcl, so package require nettool always failed (since tcllib 2.0); rest's index said 1.7 while rest.tcl provides 1.8; doctools::toc, math::filters and tcl::chan::std had wrong versions too. Add tests comparing the index with package provide. leaf check-in: d828c0f28f user: serhiy.storchaka tags: pkgindex-version-fixes
2026-08-07
16:43 • New ticket [523f7e0556] Incorrect versions/files provided compared to pkgIndex.tcl. artifact: c4ab071fd9 user: juliannoble2

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.