[MacPorts] #57879: MacVim @8.1.snapshot153_0+cscope+huge+lua+perl+python27+python36+ruby+ruby18: Error running on High Sierra 10.13.6. The error claims that it can only run on Mojave 10.14

MacPorts noreply at macports.org
Mon Feb 7 21:36:17 UTC 2022


#57879: MacVim
@8.1.snapshot153_0+cscope+huge+lua+perl+python27+python36+ruby+ruby18:
Error running on High Sierra 10.13.6. The error claims that it can only run
on Mojave 10.14
-------------------------+--------------------
  Reporter:  geohussain  |      Owner:  raimue
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.5.4
Resolution:  worksforme  |   Keywords:
      Port:  MacVim      |
-------------------------+--------------------

Comment (by ryandesign):

 Replying to [comment:2 raimue]:
 > Maybe it was caused by a specific combination of Xcode, SDK, and Command
 Line Tools.

 This seems highly likely to me. Unfortunately nobody mentioned which
 versions of Xcode or CLT or which SDK they were using. I suspect that the
 user was using a newer Xcode or CLT which contained the 10.14 SDK.

 [https://github.com/macvim-
 dev/macvim/commit/6e1489e531068b4dfc46bdc5778d742502452b00 This is the
 code] that was added to MacVim in snapshot 152 that uses
 `NSAppearanceNameAccessibilityHighContrastDarkAqua`.

 Regardless what SDK you have, if it chose to build for a newer deployment
 target than you're running on, that's a bug in the build system. The bug
 was worked around in MacPorts in [387a02d05d585163db4eaf8fcfbf06628249ef47
 /macports-ports] as long as the Xcode version is 10 or greater. The port
 doesn't work around the bug for Xcode versions earlier than 10. The port
 should work around it regardless of Xcode version.

 > Another note is that when I install MacVim without any variants it
 works. But when I add any variant such as Lua, it gives me the error.

 When you use default variants, you ideally get a binary from our build
 server, where I deliberately use older versions of Xcode and CLT in order
 to keep the SDK version matching the OS version. When you use non-default
 variants, you build from source on your system using whatever Xcode / CLT
 / SDK you happen to have.

-- 
Ticket URL: <https://trac.macports.org/ticket/57879#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list