[MacPorts] #59154: p5.28-dbd-pg @3.10.0: error: 'wchar.h' file not found

MacPorts noreply at macports.org
Thu Oct 3 07:11:18 UTC 2019


#59154: p5.28-dbd-pg @3.10.0: error: 'wchar.h' file not found
---------------------------+--------------------
  Reporter:  sobchenyuk    |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  p5.28-dbd-pg  |
---------------------------+--------------------

Comment (by ryandesign):

 I presume this relates to another message shown in the log:

 {{{
 :info:build no such sysroot directory:
 '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
 [-Wmissing-sysroot]
 }}}

 and the fact that you're on 10.14, but have updated to Xcode 11, which
 only has the 10.15 SDK.

 This type of problem is one we are discovering with many, many ports.
 There are many other open tickets. You can avoid the problem by
 downgrading to Xcode 10.

 It's not clear from your log why MacPorts is trying to build this port
 from source. We have a binary of this port which MacPorts should have
 used. You can `sudo port clean p5.28-dbd-pg` and try again, and maybe this
 time it will use the binary and thereby not care about your version of
 Xcode.

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


More information about the macports-tickets mailing list