#59108 closed defect (fixed)
mercurial 5.1: fails to build with "ld: library not found for -lSystem"
Reported by: | ylluminarious (George Plymale II) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.0 |
Keywords: | Cc: | ||
Port: | mercurial |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Making a new ticket as per the discussion here. I'm attaching the last log file which was in that thread to this ticket.
Attachments (1)
Change History (7)
Changed 5 years ago by ylluminarious (George Plymale II)
comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:2 follow-up: 3 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 follow-up: 4 Changed 5 years ago by ylluminarious (George Plymale II)
Replying to ryandesign:
Well, the log shows you're using Xcode 11, yet the build is using flags like
-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
. Xcode 11 does not contain the 10.14 SDK; it only contains the 10.15 SDK. There are many other tickets for this issue already.
Are there any known solutions or workarounds to this problem? Could you point me to one of these tickets?
comment:4 Changed 5 years ago by kencu (Ken)
Replying to ylluminarious:
Are there any known solutions or workarounds to this problem? Could you point me to one of these tickets?
There are several workarounds in 59113
comment:5 follow-up: 6 Changed 5 years ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:6 Changed 5 years ago by ylluminarious (George Plymale II)
Replying to jmroot:
In efb1b95f2d20f268aafb7026cdd0c75e059c5db2/macports-ports (master):
Thanks a lot for fixing it, it works now!
Well, the log shows you're using Xcode 11, yet the build is using flags like
-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
. Xcode 11 does not contain the 10.14 SDK; it only contains the 10.15 SDK. There are many other tickets for this issue already.