[MacPorts] #59091: Poppler Build Failure XCODE 11.0 no such sysroot directory
MacPorts
noreply at macports.org
Tue Sep 24 00:23:53 UTC 2019
#59091: Poppler Build Failure XCODE 11.0 no such sysroot directory
---------------------------+---------------------
Reporter: mrspambucket | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: Poppler Xcode | Port: Poppler
---------------------------+---------------------
[ 87%] Generating Poppler-0.18.gir
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 /Users/mark/Downloads/poppler-0.80.0/build/glib/tmp-
introspect4ngthuit/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.
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/unixccompiler.py",
line 118, in _compile
extra_postargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/ccompiler.py",
line 909, in spawn
spawn(cmd, dry_run=self.dry_run)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/spawn.py",
line 36, in spawn
_spawn_posix(cmd, search_path, dry_run=dry_run)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/spawn.py",
line 159, in _spawn_posix
% (cmd, exit_status))
distutils.errors.DistutilsExecError: command '/usr/bin/clang' failed with
exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/bin/g-ir-scanner", line 96, in <module>
sys.exit(scanner_main(sys.argv))
File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py",
line 547, in scanner_main
shlibs = create_binary(transformer, options, args)
File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py",
line 418, in create_binary
gdump_parser.get_error_quark_functions())
File "/opt/local/lib/gobject-introspection/giscanner/dumper.py", line
294, in compile_introspection_binary
return dc.run()
File "/opt/local/lib/gobject-introspection/giscanner/dumper.py", line
168, in run
introspection_obj = self._compile(c_path)
File "/opt/local/lib/gobject-introspection/giscanner/dumper.py", line
197, in _compile
self._options.init_sections)
File "/opt/local/lib/gobject-introspection/giscanner/ccompiler.py", line
250, in compile
output_dir=os.path.abspath(os.sep))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/ccompiler.py",
line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/unixccompiler.py",
line 120, in _compile
raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/clang' failed with exit
status 1
make[2]: *** [glib/Poppler-0.18.gir] Error 1
make[1]: *** [glib/CMakeFiles/gir-typelibs.dir/all] Error 2
make: *** [all] Error 2
--
Ticket URL: <https://trac.macports.org/ticket/59091>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list