[MacPorts] #59177: poppler-0.81.0 fails to install (fatal error: 'time. h' file not found)

MacPorts noreply at macports.org
Sat Oct 5 23:48:36 UTC 2019


#59177: poppler-0.81.0 fails to install (fatal error: 'time. h' file not found)
-----------------------------+--------------------
  Reporter:  jbgoette        |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.1
Resolution:                  |   Keywords:
      Port:  poppler-0.81.0  |
-----------------------------+--------------------

Comment (by iqgrande):

 Replying to [comment:3 iqgrande]:
 > Replying to [comment:1 jbgoette]:
 > > Downgrading to Xcode 10.3 resolves this problem.
 > I downgraded to Xcode 10.3 and the issue persisted.
 > {{{
 > $ xcodebuild -version
 > Xcode 10.3
 > Build version 10G8
 > }}}

 I kept Xcode.app (version 11) and made a Xcode-10.3.app and set the
 environment to look for Xcode-10.3. Anyways, I found the following within
 `main.log` which, I think, might hold the key to this.

 {{{
 version:1
 :debug:sysinfo macOS 10.14 (darwin/18.7.0) arch i386
 :debug:sysinfo MacPorts 2.6.1
 :debug:sysinfo Xcode 10.3
 :debug:sysinfo SDK 10.14
 <snip>
 :info:build clang: warning: no such sysroot directory:
 '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
 [-Wmissing-sysroot]
 <snip>
 }}}

 Ultimately, it is looking for things within `/Applications/Xcode.app`
 instead of through `xcode-select`, e.g.,

 {{{
 $ xcode-select -p
 /Applications/Xcode-10.3.app/Contents/Developer
 }}}

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


More information about the macports-tickets mailing list