Opened 2 years ago
Last modified 4 weeks ago
#66168 assigned defect
mariadb-10.1 @10.1.48: error: expected unqualified-id
Reported by: | RonnieRocket147 | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | Cc: | ||
Port: | mariadb-10.1 |
Description
---> Building mariadb-10.1 Error: Failed to build mariadb-10.1: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mariadb-10.1/mariadb-10.1/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port mariadb-10.1 failed
mariadb-10.9 has no issues, however I needed 10.1 to access an older MariaDB server.
Any help is much appreciated!
Attachments (1)
Change History (5)
comment:1 Changed 2 years ago by RonnieRocket147
comment:2 Changed 2 years ago by RonnieRocket147
Port: | mariadb-10.1 added; mariadb-10.1-server removed |
---|
comment:3 Changed 2 years ago by jmroot (Joshua Root)
Owner: | set to michaelld |
---|---|
Status: | new → assigned |
Please attach the whole log (compressed if it's large).
Changed 2 years ago by RonnieRocket147
Attachment: | main.log.zip added |
---|
comment:4 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)
Summary: | mariadb-10.1 fails to build on macOS Ventura 13.0 (MacBook Pro M1) → mariadb-10.1 @10.1.48: error: expected unqualified-id |
---|
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.
Note: See
TracTickets for help on using
tickets.
The log file shows this: