Artifacts Associated With Ticket 1068088fffffffff
Ticket change [442f8f043d] (rid 116683) by dgp on 2004-11-17 15:53:14:
- assignee initialized to: "das"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Test unixInit-2.8 is now failing on both active branches in the macosx build. I believe this is a recent regression. Any clue what we broke?
- foundin initialized to: "obsolete: 8.4.8"
- priority initialized to: "9 Immediate"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "38. Init - Library - Autoload"
- title initialized to: "unixInit-2.8 fails"
- type initialized to: "Bug"
Ticket change [d8a6ba3ff8] (rid 107478) by dgp on 2004-11-18 00:03:25:
- icomment:
Logged In: YES user_id=80530 Somehow the bogus value @TCL_IN_FRAMEWORK@ is getting exposed to the test. Is there some way we can prevent that value from leaking into the $tcl_libPath value or the [tcl::pkgconfig get scriptdir,runtime] value? If not, we need to constrain this test not to run in the Mac framework configuration. Still not clear to me why this just started failing recently.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [6e666bb712] (rid 100140) by dgp on 2004-11-18 04:10:18:
- icomment:
Logged In: YES user_id=80530 It appears that macosx Makefile sets TCL_LIBRARY = @TCL_IN_FRAMEWORK@ and then the routine MacOSXGetLibraryPath checks for that value as a signal that it should call Tcl_MacOSXOpenVersionedBundleResources(). The MOGLP () routine definition, is already protected by a HAVE_CFBUNDLE to control at compile time whether it is called. Isn't that enough? What is the use case where an additional compile-time signal is needed?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [d8b3eff0b5] (rid 107490) by dgp on 2004-11-18 12:23:17:
- icomment:
File Added - 109177: 1068088.patch Logged In: YES user_id=80530 Here's a patch that corrects the problem for me. Can someone more knowledgable about "frameworks" either approve it, or explain in short words and big cartoon figures what is wrong with it? Thanks.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "1068088.patch" [030e71a8fc] (rid 119755) by dgp on 2004-11-18 12:23:17.
Ticket change [a7805e6e89] (rid 98812) by dgp on 2004-11-18 20:58:05:
- icomment:
Logged In: YES user_id=80530 I just test Tcl 8.4.7 and my earlier claims that this is a new failure were mistaken. While I'd still like to sort this out, I'm dropping priority; I no longer consider this an 8.4.8 release blocker.
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "5 Medium"
- username: "dgp"
- icomment:
Add attachment "1068088-HEAD.diff" [a726d8bf7d] (rid 98736) by das on 2004-11-19 13:34:24.
Ticket change [5c634b50b7] (rid 115288) by das on 2004-11-19 13:34:24:
- closedate changed to: "2004-11-19T06:34:24"
- closer changed to: "das"
- icomment:
File Added - 109316: 1068088-HEAD.diff Logged In: YES user_id=90580 as mentioned, this is not a new test failure, we've discussed it before, bug 931061, this bug is a duplicate. I'm suspicious of your patch because it does not deal with the fact that tcl might not have been built as a framework (HAVE_CFBUNDLE has nothing to do with that, it's only about the availibitly of the bundle API). If we called Tcl_MacOSXOpenVersionedBundleResources unconditionally, this might then find the tcl library files in an unrelated Tcl.framework that we are not actually linked against. The current technique is a kludge but the only side-effect I've seen so far is unixInit-2.8 failing, so it hadn't been high on my list of things to improve. What was needed is a better way for tcl to determine that it has been built as a framework, the attached (and committed) patch uses an extra configure #define TCL_FRAMEWORK set when configured with --enable-framework, and removes the overloading of TCL_LIBRARY.
- login: "das"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "das"
Add attachment "1068088-core-8-4-branch.diff" [77c3edbf0e] (rid 89827) by das on 2004-11-19 13:35:24.
Ticket change [1d736a370a] (rid 90810) by das on 2004-11-19 13:35:24:
- icomment:
File Added - 109317: 1068088-core-8-4-branch.diff
- login: "das"
- mimetype: "text/plain"
- username: "das"
- icomment: