[MacPorts] #57166: poppler 0.69.0 build failure on Mojave

MacPorts noreply at macports.org
Wed Sep 26 00:40:44 UTC 2018


#57166: poppler 0.69.0 build failure on Mojave
-------------------------+----------------------
 Reporter:  Schamschula  |      Owner:  dbevans
     Type:  defect       |     Status:  assigned
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.5.3
 Keywords:  Mojave       |       Port:  poppler
-------------------------+----------------------
 While upgrading poppler form 0.68.0 to 0.69.0 I get the following error:

 {{{
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build/glib
 && /opt/local/bin/g-ir-scanner --library-
 path=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build/glib
 --namespace=Poppler --nsversion=0.18 --no-libtool --library=poppler-glib
 --include=GObject-2.0 --include=Gio-2.0 --include=cairo-1.0 --pkg-export
 =poppler-glib --c-include poppler.h -I/opt/local/include
 -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/fofi
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/goo
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/poppler
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build/poppler
 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include
 -I/opt/local/include/openjpeg-2.3 -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build/glib
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/cairo
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-action.cc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-date.cc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-document.cc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-page.cc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-attachment.cc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-form-field.cc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-annot.cc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-layer.cc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-movie.cc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-media.cc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib/poppler.cc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-cached-file-loader.cc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-input-stream.cc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-structure-element.cc
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-action.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-date.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-document.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-page.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-attachment.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-form-field.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-annot.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-layer.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-movie.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-media.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib/poppler.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.69.0/glib
 /poppler-structure-element.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build/glib
 /poppler-enums.c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build/glib
 /poppler-enums.h
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build/glib
 /poppler-features.h --output
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build/glib/Poppler-0.18.gir
 :info:build clang: warning: no such sysroot directory: '/Applications
 /Xcode-
 beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
 [-Wmissing-sysroot]
 :info:build 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-introspectK2ZAmS/Poppler-0.18.c:2:
 :info:build In file included from /opt/local/include/glib-2.0/glib.h:30:
 :info:build In file included from
 /opt/local/include/glib-2.0/glib/galloca.h:32:
 :info:build /opt/local/include/glib-2.0/glib/gtypes.h:35:10: fatal error:
 'time.h' file not found
 :info:build #include <time.h>
 :info:build          ^~~~~~~~
 :info:build 1 error generated.
 :info:build Traceback (most recent call last):
 :info:build   File "/opt/local/bin/g-ir-scanner", line 66, in <module>
 :info:build     sys.exit(scanner_main(sys.argv))
 :info:build   File "/opt/local/lib/gobject-
 introspection/giscanner/scannermain.py", line 547, in scanner_main
 :info:build     shlibs = create_binary(transformer, options, args)
 :info:build   File "/opt/local/lib/gobject-
 introspection/giscanner/scannermain.py", line 422, in create_binary
 :info:build     gdump_parser.get_error_quark_functions())
 :info:build   File "/opt/local/lib/gobject-
 introspection/giscanner/dumper.py", line 302, in
 compile_introspection_binary
 :info:build     return dc.run()
 :info:build   File "/opt/local/lib/gobject-
 introspection/giscanner/dumper.py", line 168, in run
 :info:build     introspection_obj = self._compile(c_path)
 :info:build   File "/opt/local/lib/gobject-
 introspection/giscanner/dumper.py", line 208, in _compile
 :info:build     self._options.init_sections)
 :info:build   File "/opt/local/lib/gobject-
 introspection/giscanner/ccompiler.py", line 251, in compile
 :info:build     output_dir=os.path.abspath(os.sep))
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/ccompiler.py",
 line 574, in compile
 :info:build     self._compile(obj, src, ext, cc_args, extra_postargs,
 pp_opts)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/unixccompiler.py",
 line 124, in _compile
 :info:build     raise CompileError, msg
 }}}

 I then installed
 {{{/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg}}}
 and have {{{/usr/include/time.h}}}, but I still get the same error.

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


More information about the macports-tickets mailing list