Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. 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.
    
  5. is_private changed to: "0"
  6. login: "marc_culler"
  7. priority changed to: "5 Medium"
  8. resolution changed to: "None"
  9. severity changed to: "Minor"
  10. status changed to: "Open"
  11. submitter changed to: "marc_culler"
  12. subsystem changed to: "- New Builtin Commands"
  13. title changed to:
    Changes to genStubs.tcl between 8.6 and 8.7 breaks packages for macOS.
    
  14. type changed to: "Bug"