Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#65372 closed defect (worksforme)

mariadb from 10.5 through 10.9 cannot be built on macOS 12.4

Reported by: jasimon9 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: michaelld (Michael Dickens)
Port: mariadb-10.5-server mariadb-10.6-server mariadb-10.7-server mariadb-10.7-server mariadb-10.9-server mariadb-10.6

Description

mariadb cannot be built on macOS 12.4. Checking the log shows the first error line to be like the following:

clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=12.0'

Does this mean that any version of Monterey beyond 12.0 is unsupported?

I have tried so far to install the following:

  • mariadb-10.5-server
  • mariadb-10.6-server
  • mariadb-10.7-server
  • mariadb-10.7-server
  • mariadb-10.9-server
  • mariadb-10.6

While the error logs are in different locations, they all generally get to that error about the deployment target.

Change History (5)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Cc: michaelld added

This is most likely because your Command Line Tools are outdated. These ports built OK for macOS 12 on the buildbot, see e.g. https://ports.macports.org/port/mariadb-10.6/details/

comment:2 Changed 2 years ago by michaelld (Michael Dickens)

Agreed with @jmroot. Strongly recommend you uninstall CLT & then reinstall CTL, to remove cruft (just in case). You might also consider after the uninstall also removing Xcode.app (go to /Applications, find Xcode.app, move it to trash & empty trash) & using the App Store to reinstall it.

comment:3 Changed 2 years ago by michaelld (Michael Dickens)

Resolution: worksforme
Status: newclosed

Closing this as worksforme. If reinstalling CLT / Xcode doesn't do the trick, then reopen this issue & provide build log(s) showing the issue(s).

comment:4 Changed 2 years ago by jasimon9

I had thought that I had the current version of CLT. However, I went ahead with blowing all of Macports away, deleting CLT, reinstalling CLT and starting from scratch.

After that, all ports built normally and the issue reported in this ticket no longer occurs.

I did get a short pause from your instructions in comment:2 where there is typo on "reinstall CTL" instead of "reinstall CLT", especially as I tried to access those links.

But all good now. Thanks!

Last edited 2 years ago by jasimon9 (previous) (diff)

comment:5 Changed 2 years ago by michaelld (Michael Dickens)

Glad that worked!

Note: See TracTickets for help on using tickets.