[MacPorts] #66168: mariadb-10.1 @10.1.48: error: expected unqualified-id (was: mariadb-10.1 fails to build on macOS Ventura 13.0 (MacBook Pro M1))

MacPorts noreply at macports.org
Tue Oct 8 15:18:39 UTC 2024


#66168: mariadb-10.1 @10.1.48: error: expected unqualified-id
------------------------------+-----------------------
  Reporter:  RonnieRocket147  |      Owner:  michaelld
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.8.0
Resolution:                   |   Keywords:
      Port:  mariadb-10.1     |
------------------------------+-----------------------

Comment (by ryandesign):

 The error in the log is actually:

 {{{
 mariadb-10.1.48/version:1:1: error: expected unqualified-id
 MYSQL_VERSION_MAJOR=10
 ^
 }}}

 This is an incompatibility between this project and C++20-capable
 compilers on case-insensitive filesystems. This project's VERSION file is
 being misinterpreted as the C++ <version> header. Solutions that the port
 could employ include not adding an `-I` flag that points to the directory
 that contains the VERSION file, or deleting or renaming the VERSION file
 and updating any essential references to it elsewhere in the project.

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


More information about the macports-tickets mailing list