[MacPorts] #59651: platypus @5.3: Undefined symbols: _objc_loadClassref (was: platypus @5.3 build fails on macOS 10.14, Xcode 11.2)

MacPorts noreply at macports.org
Sat Nov 9 00:43:00 UTC 2019


#59651: platypus @5.3: Undefined symbols: _objc_loadClassref
-------------------------+----------------------
  Reporter:  i0ntempest  |      Owner:  amake
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:
      Port:  platypus    |
-------------------------+----------------------
Changes (by ryandesign):

 * cc: amake (removed)
 * owner:  (none) => amake
 * status:  new => assigned


Comment:

 The error seems to be:

 {{{
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_objc_loadClassref", referenced from:
 :info:build       __ARCLite__load() in libarclite_macosx.a(arclite.o)
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 }}}

 I see from the log that you're on 10.14 with Xcode 11.2 and your
 deployment target is set to 10.14, but the port is overriding the
 deployment target to 10.8. In general, ports should not override the
 user's deployment target choice.

 Googling, I see other reports of this problem occurring as of Xcode 11. It
 says using a newer deployment target avoids this problem. So you could try
 removing the deployment target override from the portfile.

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


More information about the macports-tickets mailing list