[MacPorts] #63033: Notes on Godot 3.3.2 and legacy OS's.
MacPorts
noreply at macports.org
Sun Nov 14 05:30:09 UTC 2021
#63033: Notes on Godot 3.3.2 and legacy OS's.
------------------------------------+------------------------
Reporter: Wowfunhappy | Owner: jasonliu--
Type: enhancement | Status: assigned
Priority: Low | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: godot macports-libcxx |
------------------------------------+------------------------
Comment (by jasonliu--):
Replying to [comment:7 Wowfunhappy]:
> Fwiw, without modifications the Godot port does not appear to be
compiling on 10.9 for me right now. Main.log attached. I don't remember if
these are the same errors I encountered five months ago, but my guess
would be that it needs macports-libcxx in order to work!
If you look at the build logs for
[https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/161442/steps
/install-port/logs/stdio 10.10],
[https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/166132/steps
/install-port/logs/stdio 10.9], and
[https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/66859/steps
/install-port/logs/stdio 10.8], they are now getting the same errors as
the log that you attached in [comment:6 comment:6]. These errors are
related to AppKit enums. With every new version of macOS, Apple renames,
deprecates, or introduces new ones. In order to work around the issue, you
(and by "you" I basically mean me, the package maintainer) basically need
to map the enum that is causing an error to an equivalent one on whatever
macOS you're on. I essentially had to do this in my Blender port:
[https://github.com/macports/macports-
ports/blob/master/graphics/blender/files/old_appkit_compat/AppKit/AppKit.h
blender/files/old_appkit_compat/AppKit/AppKit.h]. I expect to have to do
the same to get rid of these errors for Godot.
'''@Wowfunhappy''', it might help if you could send me the list of AppKit
enums from whatever macOS version you are running (it seems you are on
10.9). This file should be located at
{{{/System/Library/Frameworks/AppKit.framework/Resources/BridgeSupport/AppKit.bridgesupport}}}
This bridge support file collects all of the enums from all of AppKit's
submodules in one place. If you could add that as an attachment, that will
help me to add the enums to my AppKit compatibility header. If the bridge
support file doesn't exist on your version of macOS, let me know.
--
Ticket URL: <https://trac.macports.org/ticket/63033#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list