[MacPorts] #62784: mysql57 @5.7.34: version:1:1: error: expected unqualified-id (was: mysql57 @5.7.34_0 does not build under Big Sur 11.3)

MacPorts noreply at macports.org
Sat May 1 17:19:44 UTC 2021


#62784: mysql57 @5.7.34: version:1:1: error: expected unqualified-id
--------------------------+--------------------
  Reporter:  josephsacco  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.4
Resolution:               |   Keywords:  bigsur
      Port:  mysql57      |
--------------------------+--------------------

Comment (by ryandesign):

 Replying to [comment:3 josephsacco]:
 > Taking another look at the log file,  I see that a number of tests
 failed during the configuration stage.

 Specifically?

 The configuration process determines the capabilities of your system. It
 is normal for some tests to report that things are not found.

 It is also possible that some configuration tests are making incorrect
 determinations due to implicit declaration of functions, but we would not
 be able to know whether that is so without looking at the config.log. Or
 you could upgrade to MacPorts 2.7.0-beta2 which will print a message at
 the end of the configure phase if this problem occurs.

 The problem I see in the log is:

 {{{
 version:1:1: error: expected unqualified-id
 }}}

 This means you are using a C++20-capable compiler and the VERSION file
 included in the source is conflicting with the version header of your
 compiler because you are on a case-insensitive filesystem. See
 https://bugs.llvm.org/show_bug.cgi?id=42540. The consensus seems to be
 that the correct fix is for the build system not to add the root directory
 (the one containing the VERSION file) as an include path, but I don't know
 whether that is easy or hard to do in the MySQL build system.

 Is there a specific reason why you need mysql57, which is old? The current
 version is mysql8.

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


More information about the macports-tickets mailing list