Overview
| Artifact ID: | 944815e4775a63ac9c917b720b127c317e76b23baf9ee8dd010497ab81acf55b |
|---|---|
| Ticket: | 07eb49661ae9a183957cf732bbe5a544fed034c2
Change to genStubs.tcl between 8.6 and 8.7 breaks packages for macOS. |
| User & Date: | marc_culler on 2020-08-29 20:13:57 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
An example of a package which breaks for 8.7 is tkTable. In tkInt.decls the X stubs are marked with platform macosx. In 8.6 the macosx platform is guarded with the line: #ifdef MAC_OSX_TK /* AQUA */ For 8.7 the genStubs.tcl script was changed, so that the macosx platform is instead guarded by the line: #ifdef MAC_OSX_TCL /* MACOSX */ Packages such as tkTable written for 8.6 define MAC_OSX_TK when USE_STUBS is defined. But they do not define MAC_OSX_TCL. Consequently when building such a package there is a linker error reporting a missing symbol for each X stub that the package uses. There is a simple fix, which was not so simple to diagnose, however. That is to reclassify the X stubs for macOS as aqua instead of macosx. I will commit a bug-fix branch containing this change.
- is_private changed to: "0"
- login: "marc_culler"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "marc_culler"
- subsystem changed to: "- New Builtin Commands"
- title changed to:
Changes to genStubs.tcl between 8.6 and 8.7 breaks packages for macOS.
- type changed to: "Bug"