[MacPorts] #59091: Poppler Build Failure XCODE 11.0 no such sysroot directory
MacPorts
noreply at macports.org
Tue Sep 24 06:45:26 UTC 2019
#59091: Poppler Build Failure XCODE 11.0 no such sysroot directory
---------------------------+---------------------
Reporter: mrspambucket | Owner: dbevans
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: duplicate | Keywords:
Port: poppler |
---------------------------+---------------------
Comment (by dbevans):
In this case, gobject-introspection is passing flags from when it was
built, not the new ones that you are using to build poppler. Rebuilding
all poppler dependencies as well as poppler after installing Xcode11
yields a working build.
Here's what I did (refer to the Migration instructions for details
Install the following:
* Xcode 11 (only provides 10.15 sdk not 10.14)
* Command Line Tools for Xcode 11 (developer download) (Includes sdks
for both 10.14/10.15)
* MacPorts 2.6.0
Make a list of ports installed (for later use) and uninstall them
* sudo port uninstall installed
Install poppler using source build option to avoid ports built with
previous versions
* sudo port -s install poppler
So this is not a problem with poppler per se or gobject-introspection, but
a case of mixed ports built with different (conflicting) build
environments.
--
Ticket URL: <https://trac.macports.org/ticket/59091#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list