[MacPorts] #68282: ghc-prebuilt configure: error: Failed to compile test program

MacPorts noreply at macports.org
Fri Mar 22 05:48:15 UTC 2024


#68282: ghc-prebuilt configure: error: Failed to compile test program
---------------------------+--------------------------
  Reporter:  wyuenho       |      Owner:  essandess
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  sonoma arm64
      Port:  ghc-prebuilt  |
---------------------------+--------------------------

Comment (by kippesp):

 Check this error:
 {{{
 checking Xcode version... xcode-select: error: tool 'xcodebuild' requires
 Xcode, but active developer directory
 '/Library/Developer/CommandLineTools' is a command line tools instance
 not found (too old?)
 }}}

 Incorrect application of command `xcode-select -s
 /PATH/TO/XCODE/Contents/Developer` as a potential cause.  See also #69566
 with identical failure but w/o the xcode-select error.

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


More information about the macports-tickets mailing list