Overview
| Artifact ID: | 60644de46cb801807ed8f13717157cca20d832e99bbe87382ed987540bc537f7 |
|---|---|
| Ticket: | a998df01f3256f79f4d7d635517130012b4001f5
Attempt to load platform package in a pkgIndex.tcl generates circular dependency error |
| User & Date: | apnadkarni on 2022-07-04 17:08:12 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
If the `platform` package is required within a `pkgIndex.tcl` file for a package X, a circular dependency error is generated on `package require X`. The errors are: ``` error reading package index file d:/tcl/xx/p/pkgIndex.tcl: circular package dependency: attempt to provide platform 1.0.18 requires platform error reading package index file d:/tcl/xx/p/pkgIndex.tcl: circular package dependency: attempt to provide platform 1.0.18 requires platform error reading package index file d:/tcl/xx/p/pkgIndex.tcl: circular package dependency: attempt to provide platform 1.0.18 requires platform . . ``` This does not happen with 8.6. It also does not seem to happen if other packages are required within the `pkgIndex.tcl` e.g. the registry package or if the `platform` package is loaded beforehand. A sample testpkg is attached.
- foundin changed to: "8.7"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "39. Package Manager"
- title changed to:
Attempt to load platform package in a pkgIndex.tcl generates circular dependency error
- type changed to: "Bug"