Artifacts Associated With Ticket 503c4c6f56b5a45d
Ticket change [6dd9d34059] (rid 215313) by jal_frezie on 2023-05-24 16:21:40:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- 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...
- foundin initialized to: "8.6.13 MacOS"
- is_private initialized to: "0"
- login: "jal_frezie"
- priority initialized to: "5 Medium"
- private_contact initialized to: "21e680c66afc6863cbbaf0aa5b26c9e8a4429339"
- resolution initialized to: "None"
- severity initialized to: "Severe"
- status initialized to: "Open"
- submitter initialized to: "jal_frezie"
- subsystem initialized to: "52. Portability Support"
- title initialized to: "Compiled code fails to run on older macos"
- type initialized to: "Bug"
Ticket change [6c5e2893c6] (rid 215314) by jal_frezie on 2023-05-24 16:48:44:
- icomment:
The problem of course being that system integrity protection does not allow you to hide a system framework even as root
- login: "jal_frezie"
- mimetype: "text/plain"
- icomment:
Ticket change [00a0bae521] (rid 215607) by chrstphrchvz on 2023-06-07 02:32:37:
- 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. - login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"
- icomment:
Add attachment "503c4c6f56b5.diff" [38783f85f9] (rid 215609) by chrstphrchvz on 2023-06-07 02:33:30.
Ticket change [ba6336e6c9] (rid 215626) by fvogel on 2023-06-08 17:22:29:
- assignee changed to: "jan.nijtmans"
- icomment: "Committed by Jan here [4094492b]."
- login: "fvogel"
- mimetype: "text/x-fossil-wiki"
Ticket change [f637ac16b4] (rid 215692) by jan.nijtmans on 2023-06-13 09:17:04:
- closedate changed to: "2460108.88685326"
- closer changed to: "jan.nijtmans"
- 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.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"