Skip to content
Tcl Source Code History Of Ticket 503c4c6f56b5a45d
Login

History Of Ticket 503c4c6f56b5a45d

Artifacts Associated With Ticket 503c4c6f56b5a45d

  1. Ticket change [6dd9d34059] (rid 215313) by jal_frezie on 2023-05-24 16:21:40:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized to:
      If you build TclTk from source on MacOS 12.3 and specify -mmacosx-version-min=10.13" it should produce a framework that can run on older MacOS versions. But trying it on 10.15 I got
      
      dyld: Library not loaded: /System/Library/Frameworks/UniformTypeIdentifiers.framework/Versions/A/UniformTypeIdentifiers
      
      It seems that a workaround might be to hide that framework when compiling TclTk so the build process falls back on something else...
      
    5. foundin initialized to: "8.6.13 MacOS"
    6. is_private initialized to: "0"
    7. login: "jal_frezie"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "21e680c66afc6863cbbaf0aa5b26c9e8a4429339"
    10. resolution initialized to: "None"
    11. severity initialized to: "Severe"
    12. status initialized to: "Open"
    13. submitter initialized to: "jal_frezie"
    14. subsystem initialized to: "52. Portability Support"
    15. title initialized to: "Compiled code fails to run on older macos"
    16. type initialized to: "Bug"
  2. Ticket change [6c5e2893c6] (rid 215314) by jal_frezie on 2023-05-24 16:48:44:

    1. icomment:
      The problem of course being that system integrity protection does not allow you to hide a system framework even as root
      
    2. login: "jal_frezie"
    3. mimetype: "text/plain"
  3. Ticket change [00a0bae521] (rid 215607) by chrstphrchvz on 2023-06-07 02:32:37:

    1. icomment:
      Ideally this ticket belongs in the Tk issue tracker, since usage of UniformTypeIdentifiers is entirely in Tk Aqua, not Tcl.
      
      The changes relevant to this issue were part of the [https://core.tcl-lang.org/tk/timeline?r=monterey_deprecations|monterey_deprecations branch]. If I understand [https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WeakLinking.html#//apple_ref/doc/uid/20002378-107026] correctly, then the problem is because even though any usage of UniformTypeIdentifiers functions was put in <tt>if (@available(macOS 11.0, *)) {…}</tt> blocks, in [https://core.tcl-lang.org/tk/info/9b50c66a1c94] the framework itself was not weakly linked to. The attached patch may fix the issue. “Hiding” the framework during build should not be desirable nor necessary.
      
    2. login: "chrstphrchvz"
    3. mimetype: "text/x-fossil-wiki"
  4. Add attachment "503c4c6f56b5.diff" [38783f85f9] (rid 215609) by chrstphrchvz on 2023-06-07 02:33:30.

  5. Ticket change [ba6336e6c9] (rid 215626) by fvogel on 2023-06-08 17:22:29:

    1. assignee changed to: "jan.nijtmans"
    2. icomment: "Committed by Jan here [4094492b]."
    3. login: "fvogel"
    4. mimetype: "text/x-fossil-wiki"
  6. Ticket change [f637ac16b4] (rid 215692) by jan.nijtmans on 2023-06-13 09:17:04:

    1. closedate changed to: "2460108.88685326"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      Now [https://core.tcl-lang.org/tk/info/4094492b015d8eb6|committed]. If more is needed to make this fully functional, please re-open this ticket (or - better - create a new Tk ticket). I think it should work as-is now.
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"