[MacPorts] #63875: mysql8 @8.0.27_1: Undefined symbols "_xdr_sizeof"

MacPorts noreply at macports.org
Tue Nov 9 08:52:13 UTC 2021


#63875: mysql8 @8.0.27_1: Undefined symbols "_xdr_sizeof"
---------------------------+-------------------------
  Reporter:  chrstphrchvz  |      Owner:  herbygillot
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:
      Port:  mysql8        |
---------------------------+-------------------------

Comment (by chrstphrchvz):

 I personally do not use this port.

 I want to say this has to do with
 plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/windeps/sunrpc/xdr_sizeof.c
 not being compiled for some reason. MySQL says it only needs to compile
 xdr_sizeof.c it with Xcode clang 10 or newer because `xdr_sizeof()` is no
 longer provided (I’ve not verified this claim): [https://github.com/mysql
 /mysql-
 server/blob/mysql-8.0.27/plugin/group_replication/libmysqlgcs/cmake/rpcgen.cmake#L45-L53].
 Meanwhile, MacPorts is instead trying to use its own clang 7 to workaround
 errors in MacPorts clang 8-9 and Xcode clang < 11: [ca0a578536/macports-
 ports].

 Note that MySQL builds fine on macOS 10.13 with MacPorts clang 7 (without
 compiling xdr_sizeof.c), and also builds fine on macOS 10.15 with Xcode
 clang 11.7 (which does compile xdr_sizeof.c).

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


More information about the macports-tickets mailing list