[MacPorts] #59575: mariadb-10.2: error: no member named 'ptrdiff_t' in the global namespace, error: unknown type name 'ptrdiff_t'

MacPorts noreply at macports.org
Wed Dec 25 00:34:12 UTC 2019


#59575: mariadb-10.2: error: no member named 'ptrdiff_t' in the global namespace,
error: unknown type name 'ptrdiff_t'
---------------------------+-----------------------
  Reporter:  iEFdev        |      Owner:  michaelld
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.2
Resolution:                |   Keywords:
      Port:  mariadb-10.2  |
---------------------------+-----------------------

Comment (by devernay):

 Here's how I manually fixed it, for those intersested to make a proper
 patch. the issue is the the madiadb source tree includes a file called
 "VERSION" and ctsddef from  llvm-9 includes <version>, which includes that
 file instead, because of the case insensitive filesystem.
 fixed by:

 - renaming mariadb-5.5.66/VERSION to mariadb-5.5.66/VERSION.TXT

 - replacing "/VERSION" with "/VERSION.TXT" (two places) in
 mariadb-5.5.66/cmake/mysql_version.cmake

 Those files should be in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mariadb/mariadb/work/
 after a first unsuccessful build

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


More information about the macports-tickets mailing list