[MacPorts] #59214: Build failure poppler-0.81.0_0.
MacPorts
noreply at macports.org
Tue Oct 8 16:22:57 UTC 2019
#59214: Build failure poppler-0.81.0_0.
---------------------------------+--------------------------
Reporter: murrayE | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.1
Keywords: build failure xcode | Port: poppler-0.81
---------------------------------+--------------------------
I'm seeing the same, or similar, build failure with Xcode 11.0 (under
macOS 10.14.6) with poppler-0.81.0_0. From the log:
{{{
:info:build clang: warning: no such sysroot directory:
'/Applications/Xcode.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_release_tarballs_ports_graphics_poppler/poppler/work/build/glib
/tmp-introspectt6pqsio6/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/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/unixccompiler.py",
line 118, in _compile
:info:build extra_postargs)
}}}
Note the line showing "MacOSX10.14.sdk. With Xcode 11.0, there is indeed
no such folder. Instead, in
{{{Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs}}}
a link "MacOSX10.15.sdk" whose target is the folder MacOSX.sk in the
above-mentioned Xcode folder.
--
Ticket URL: <https://trac.macports.org/ticket/59214>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list