Opened 8 days ago

Last modified 8 days ago

#59780 assigned defect

cmake fails to build on Leopard 10.5: error: 'shared_mutex' is unavailable: introduced in macOS 10.12

Reported by: rmottola (Riccardo) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard Cc: kencu (Ken)
Port: cmake

Description

I don't understand what fails, I attach the buildlog with clang 5, it fails also clang 7 as well with the default compiler.

Attachments (1)

main.log (1.1 MB) - added by rmottola (Riccardo) 8 days ago.
build on 10.7 with clang 5

Download all attachments as: .zip

Change History (8)

Changed 8 days ago by rmottola (Riccardo)

Attachment: main.log added

build on 10.7 with clang 5

comment:1 Changed 8 days ago by kencu (Ken)

Lots of errors, working on it.

PPC is a long way from fixed.

Even Intel might be trouble:

error: 'shared_mutex' is unavailable: introduced in macOS 10.12

although I notice that on the buildbots, it did build on 10.6.8 (but not 10.7?) and then up from there...

Last edited 8 days ago by kencu (Ken) (previous) (diff)

comment:2 Changed 8 days ago by kencu (Ken)

Owner: set to michaelld
Status: newassigned

comment:3 Changed 8 days ago by kencu (Ken)

Summary: cmake fails to build on Lion 10.5cmake fails to build on Lion 10.5: error: 'shared_mutex' is unavailable: introduced in macOS 10.12

comment:4 Changed 8 days ago by kencu (Ken)

Cc: kencu added

comment:5 Changed 8 days ago by kencu (Ken)

by the way, I think I've mentioned this to you before, but I do keep a reasonably up-to-date set of overlay repos for older systems that pegs (or fixes) these ports when I find them broken and unpegs them when we/I get around to fixing them in MacPorts. There's also a nice version of libsdl2 that works on 10.4 and 10.5 there.

https://github.com/kencu/TigerPorts
https://github.com/kencu/LeopardPorts
https://github.com/kencu/SnowLeopardPorts
https://github.com/kencu/LionPorts

Last edited 8 days ago by kencu (Ken) (previous) (diff)

comment:6 Changed 8 days ago by kencu (Ken)

Summary: cmake fails to build on Lion 10.5: error: 'shared_mutex' is unavailable: introduced in macOS 10.12cmake fails to build on Leopard 10.5: error: 'shared_mutex' is unavailable: introduced in macOS 10.12

comment:7 Changed 8 days ago by kencu (Ken)

Keywords: leopard added
Note: See TracTickets for help on using tickets.