[MacPorts] #59091: Poppler Build Failure XCODE 11.0 no such sysroot directory

MacPorts noreply at macports.org
Tue Sep 24 04:49:35 UTC 2019


#59091: Poppler Build Failure XCODE 11.0 no such sysroot directory
---------------------------+----------------------
  Reporter:  mrspambucket  |      Owner:  dbevans
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  poppler       |
---------------------------+----------------------

Comment (by dbevans):

 Replying to [comment:2 ryandesign]:
 > Or did you perhaps install Xcode 11, which does not have the 10.14 SDK
 anymore like Xcode 10 did but which instead now has the 10.15 SDK? If so,
 we'll have to identify why the path to the 10.14 SDK is still being used
 (maybe it's baked into the files installed by some other ports that are
 dependencies of poppler). There are other tickets about that.

 @ryandesign I'm seeing this with other ports as well.  And I'm thinking
 that the problem has to do with mixing ports that are prebuilt using
 Xcode10 (either locally or installing a binary archive) which uses the
 Xcode10 sdk and others built with Xcode11 which now uses the sdk from
 CommandLineTools.  In brief, the sysroots for these two situations are
 different and vestiges of the old sysroot are baked into some binaries as
 you say.  This is only a
 problem on Mojave transitioning from Xcode10 to Xcode11 and should not be
 an issue with Xcode11 on Catalina since all ports will be rebuilt using
 the same configuration.

 So I see two fixes

 1) Don't use Xcode11 on Mojave but stay with say Xcode10.3 or
 2)Upgrade to Xcode11 and treat it as the same issue as migrating from one
 OS version to the next.  The other gotcha is that you have to use port -s
 install when rebuilding ports to avoid fetching old incompatible 10.14
 archives.

 I'm testing this is a limited way on a separate machine to see if this
 theory bears out with the case at hand.

-- 
Ticket URL: <https://trac.macports.org/ticket/59091#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list