[MacPorts] #71841: btop fails to build on Sequioa arm64: source_location not found
MacPorts
noreply at macports.org
Wed Jan 15 18:51:09 UTC 2025
#71841: btop fails to build on Sequioa arm64: source_location not found
--------------------+--------------------
Reporter: ednl | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: btop
--------------------+--------------------
{{{
In file included from src/btop_theme.cpp:23:
:info:build src/btop_tools.hpp:40:10: fatal error: 'source_location' file
not found
:info:build 40 | #include <source_location>
:info:build | ^~~~~~~~~~~~~~~~~
}}}
It seems to be part of the C++20 standard:
https://en.cppreference.com/w/cpp/utility/source_location but does have a
feature-test macro (mentioned on that page). Either it's not available in
Apple clang 16 arm64, or the compilation command is wonky; there were a
lot of "warning: argument unused/unknown". See attached main.log.
--
Ticket URL: <https://trac.macports.org/ticket/71841>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list