Opened 3 years ago

Closed 3 years ago

#62805 closed defect (fixed)

et @6.1.7: builds failing for all macOS releases earlier than 10.15

Reported by: mascguy (Christopher Nielsen) Owned by: l2dy (Zero King)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: et

Description (last modified by mascguy (Christopher Nielsen))

https://ports.macports.org/port/et/builds

Failures are occurring on the buildbots, as well as locally.

Error appears to be:

.../work/EternalTerminal-6.1.7/src/base/Headers.hpp:88:10: fatal error: 'experimental/filesystem' file not found
#include <experimental/filesystem>
         ^~~~~~~~~~~~~~~~~~~~~~~~~

Change History (5)

comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)

Description: modified (diff)

comment:2 Changed 3 years ago by l2dy (Zero King)

There are two types of error. This one is a "bug" in base that compiler.cxx_standard 2017 is not enforced and <filesystem> is missing.

comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

MacPorts base does "enforce" all values of compiler.cxx_standard to the extent that it makes sure that a compiler that it believes is compatible with that standard is used. It is of course possible that MacPorts base contains inaccurate information about which compilers support which C++ standard. See for example [e641f42a9f6d93e1768bd91785d19467c30ddb02/macports-base].

The error I see in the log is:

error: 'exists' is unavailable: introduced in macOS 10.15

In that case, no amount of using different compilers will help if the functionality that is required is not present in (the C++ standard library of) earlier OS versions.

comment:4 in reply to:  3 Changed 3 years ago by l2dy (Zero King)

Replying to ryandesign:

In that case, no amount of using different compilers will help if the functionality that is required is not present in (the C++ standard library of) earlier OS versions.

Yes, but if I remove these function calls it could be fixed.

comment:5 Changed 3 years ago by l2dy (Zero King)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.