#67570 closed defect (fixed)

bear: bulds failing for macOS 15 and earlier: needs cxx_standard 2017, and legacysupport for CLOCK_REALTIME

Reported by: mascguy (Christopher Nielsen) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: catap (Kirill A. Korinsky), neverpanic (Clemens Lang)
Port: Bear

Description (last modified by mascguy (Christopher Nielsen))

This port is failing to build for 10.15 and earlier, due to needing to build with a 2017 cxx compiler.

From the project CMakeLists.txt:

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

In addition, there are also failures for earlier macOS releases, due to a requirement on CLOCK_REALTIME. The latter is currently pending via the following PR, and legacysupport should be added once a new release is available with this functionality:

https://github.com/macports/macports-legacy-support/pull/58

Change History (7)

comment:1 Changed 17 months ago by mascguy (Christopher Nielsen)

Summary: bear: bulds failing for 10.15 and earlier: needs cxx_standard 2011, and legacysupport for CLOCK_REALTIMEbear: bulds failing for older macOS releases: needs cxx_standard 2011, and legacysupport for CLOCK_REALTIME

comment:2 Changed 17 months ago by mascguy (Christopher Nielsen)

Description: modified (diff)
Summary: bear: bulds failing for older macOS releases: needs cxx_standard 2011, and legacysupport for CLOCK_REALTIMEbear: bulds failing for macOS 15 and earlier: needs cxx_standard 2017, and legacysupport for CLOCK_REALTIME

comment:3 Changed 17 months ago by Christopher Nielsen <mascguy@…>

In 0205575b872772a7ac359049d10c20536b8c81e5/macports-ports (master):

bear: set cxx_standard to 2017
See: #67570

comment:4 Changed 17 months ago by Christopher Nielsen <mascguy@…>

In d3642b1a489899ac486f77badd4eb921ff621210/macports-ports (master):

bear: use legacysupport/macports-libcxx, for std::filesystem
See: #67570

comment:5 Changed 17 months ago by mascguy (Christopher Nielsen)

Cc: neverpanic added
Owner: changed from neverpanic to mascguy

comment:6 Changed 17 months ago by Christopher Nielsen <mascguy@…>

In cc82434dbea06f26da7309e0a15abd24b16113f5/macports-ports (master):

bear: add comment re: need for clock_gettime
See: #67570

comment:7 Changed 17 months ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

While I expected failures on the oldest macOS releases (due to CLOCK_REALTIME), legacysupport was enough to fix this port across-the-board. So we're done!

Note: See TracTickets for help on using tickets.