[MacPorts] #59078: poppler @0.80.0 build fails with Xcode 11.0

MacPorts noreply at macports.org
Sun Sep 22 23:34:58 UTC 2019


#59078: poppler @0.80.0 build fails with Xcode 11.0
------------------------+----------------------
 Reporter:  mndavidoff  |      Owner:  dbevans
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  poppler
------------------------+----------------------
 I received this error when trying to install poppler.

 {{{
 sudo port -vs install poppler
 ...
 clang: warning: no such sysroot directory:
 '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
 [-Wmissing-sysroot]
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build/glib
 /tmp-introspect5kyi2vdc/Poppler-0.18.c:2:
 In file included from /opt/local/include/glib-2.0/glib.h:30:
 In file included from /opt/local/include/glib-2.0/glib/galloca.h:32:
 /opt/local/include/glib-2.0/glib/gtypes.h:35:10: fatal error: 'time.h'
 file not found
 #include <time.h>
          ^~~~~~~~
 1 error generated.
 }}}

 The problem might have been introduced after upgrading to Xcode 11.0.

 {{{
 $ xcodebuild -version
 Xcode 11.0
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59078>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list