Skip to content
Tcl Source Code Artifact [b66e3dece4]
Login

Artifact [b66e3dece4]

Artifact b66e3dece445abceab83749f8e9ac64448561803:

Ticket change [b66e3dece4] - Ticket [1426692fffffffff|1426692fff] <i>package provide/package ifneeded mismatch errors</i> status still Open with 4 other changes by twylite on 2007-04-25 16:01:54.
D 2007-04-25T16:01:54
J icomment Logged\sIn:\sYES\s\nuser_id=91629\nOriginator:\sNO\n\nThen\sthe\sselection\slogic\sis\sbroken.\n\nThe\spackage\smanager\sis\sa\sstraightforward\sdynamic\slinker,\swhich\smeans\sit\smust\sdo\stwo\sthings:\n\n(a)\sIf\sI\sask\sfor\s"version\s1",\sit\smust\sgive\sme\sthe\smost\sappropriate\sversion\s1.x\sthat\sit\shas.\s\sTcl\sdoes\sthis.\n\n(b)\sBut\sif\sI\ssay\sthat\sI\sam\sproviding\s"version\s1",\sthen\sit\smust\suse\sthat\sas\sa\slast-resort\sfallback\sif\sit\sdoesn't\shave\sany\smore\sspecific\sinformation\sto\shelp\sit\ssatisfy\sa\srequest\sfor\ssome\sversion\s1.x.\n\n>\s[package\srequire\sp\s1.1]\swill\sfail,\seven\sthough\sversion\s1.1\sis\savailable.\n\nSee\s(b)\sabove\s--\sit\sshould\sfall\sback\sto\susing\sthe\s"ifneeded\sp\s1"\sstatement,\swhich\sis\sthe\sbest\sinformation\sit\shas.\n\n>\s[package\srequire\s-exact\sp\s1]\swill\s"succeed"\sbut\sit\swon't\sdeliver\sthe\sexact\sversion\srequested.\n\nThis\sis\sa\sconsequence\sof\sthe\simplementation\sof\s-exact.\s\sThere\sis\sno\sreason\swhy\sit\sshouldn't\sbe\simplemented\sso\sthat\sit\sfails.\s\sSimilarly\sa\s[package\srequire\s-exact\sp\s1.1]\sshould\sfall\sback\sto\sthe\s"ifneeded\sp\s1"\sstatement,\sget\sa\s"provide\sp\s1.1",\sand\ssubsequently\ssucceed.\n
J login twylite
J mimetype text/plain
J username twylite
K 1426692fffffffffffffffffffffffffffffffff
U twylite
Z 1b7805acacd97ee6d57903f05755d8e2