Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#59196 closed defect (duplicate)

popper fails to compile with XCode 11 on MacOS 10.14

Reported by: tk7r (Thomas Kotzian) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc:
Port: poppler

Description (last modified by mf2k (Frank Schima))

log file shows:

clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk' [-Wmissing-sysroot]

XCode 11 is missing this location; actual content of ls -al /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs

DriverKit19.0.sdk
MacOSX.sdk
MacOSX10.15.sdk

Change History (7)

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Please do not Cc openmaintainer because it is not a valid email address.

comment:2 Changed 5 years ago by mf2k (Frank Schima)

In the future, please use WikiFormatting.

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Cc: devans@… dbevans openmaintainer removed
Description: modified (diff)

comment:4 Changed 5 years ago by mf2k (Frank Schima)

Owner: set to dbevans
Status: newassigned

comment:5 Changed 5 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed

Duplicate of #59078. (Yes that has been closed; take it up with the maintainer.)

comment:6 Changed 5 years ago by kencu (Ken)

An excellent workaround, suggested by knowledgeable folks, is to

Install the command line tools for Xcode 11, that contains the 10.14 SDK, then make this synlink:

$ sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
Version 2, edited 5 years ago by kencu (Ken) (previous) (next) (diff)

comment:7 Changed 5 years ago by boatmorrow

This worked for me. Thanks.

Note: See TracTickets for help on using tickets.