[MacPorts] #59137: VLC @3.0.7.1_3+quartz: Fails to Build

MacPorts noreply at macports.org
Tue Oct 1 15:07:42 UTC 2019


#59137: VLC @3.0.7.1_3+quartz: Fails to Build
------------------------+--------------------
  Reporter:  akierig    |      Owner:  RJVB
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.0
Resolution:  duplicate  |   Keywords:
      Port:  VLC        |
------------------------+--------------------

Comment (by kencu):

 In response to Apple's removing `/usr/include` from the default
 installation path in Mojave, MacPorts' builds were forced to specifically
 include building against an SDK in most cases. The following tool was most
 often used to find the SDK:

 {{{
 xcrun --show-sdk-path
 }}}

 And (unfortunately perhaps) this delivers a fully-versioned SDK path,
 rather than a generic one. This path was baked into a number of build
 scrips that were installed with various ports.

 But then Xcode11 removed MacOSX10.14.sdk and replaced it with
 MacOSX10.15.sdk.

 So now we realize that the method used was too fragile, and we are
 currently struggling to come up with a more robust, less fragile version
 of the method to accomplish the goal of finding the right SDK.

 I personally think that setting `SDKROOT` in the environment is the right
 answer, and that is now in base, but this is being worked through all the
 different systems and ports that need to use it.

 It's a tricky problem.

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


More information about the macports-tickets mailing list