===> Building for btop-1.4.3 ██████╗ ████████╗ ██████╗ ██████╗ ██╔══██╗╚══██╔══╝██╔═══██╗██╔══██╗ ██╗ ██╗ ██████╔╝ ██║ ██║ ██║██████╔╝ ██████╗██████╗ ██╔══██╗ ██║ ██║ ██║██╔═══╝ ╚═██╔═╝╚═██╔═╝ ██████╔╝ ██║ ╚██████╔╝██║ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ Makefile v1.6 PLATFORM ?| macos ARCH ?| arm64 GPU_SUPPORT :| false CXX ?| clang++ (13.1.6) THREADS :| 10 REQFLAGS !| -std=c++20 WARNFLAGS :| -Wall -Wextra -pedantic OPTFLAGS :| -O2 LDCXXFLAGS :| -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -s -framework IOKit -framework CoreFoundation -Wno-format-truncation CXXFLAGS +| $(REQFLAGS) $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe -Os -I/opt/pkg/include -DNDEBUG LDFLAGS +| $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) -L/opt/pkg/lib Building btop++ (v1.4.3) macos arm64 mkdir -p bin mkdir -p obj/osx Generating man page btop.1... Configuring obj/config.h sed -e "s|@GIT_COMMIT@||" -e "s|@CONFIGURE_COMMAND@|/opt/pkg/bin/gmake STATIC=|" -e "s|@COMPILER@|clang++|" -e "s|@COMPILER_VERSION@|13.1.6|" src/config.h.in | tee obj/config.h > /dev/null Compiling src/btop.cpp clang++ -pipe -Os -I/opt/pkg/include -DNDEBUG -std=c++20 -pthread -DFMT_HEADER_ONLY -D_GLIBCXX_ASSERTIONS -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG -D_FILE_OFFSET_BITS=64 -fexceptions -fstack-clash-protection -s -framework IOKit -framework CoreFoundation -Wno-format-truncation -O2 -Wall -Wextra -pedantic -isystem include -Isrc -Iobj -MMD -c -o obj/btop.o src/btop.cpp clang: warning: -framework IOKit: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -framework CoreFoundation: 'linker' input unused [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument] warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option] In file included from src/btop.cpp:51: src/btop_tools.hpp:215:48: error: no member named 'count_if' in namespace 'std::ranges' return (wide ? wide_ulen(str) : std::ranges::count_if(str, [](char c) { return (static_cast(c) & 0xC0) != 0x80; })); ~~~~~~~~~~~~~^ src/btop_tools.hpp:229:16: error: no member named 'for_each' in namespace 'std::ranges' std::ranges::for_each(str, [&replacement](char& c) { if (c < 0x20) c = replacement; }); ~~~~~~~~~~~~~^ src/btop_tools.hpp:241:16: error: no member named 'for_each' in namespace 'std::ranges' std::ranges::for_each(str, [](auto& c) { c = ::toupper(c); } ); ~~~~~~~~~~~~~^ src/btop_tools.hpp:247:16: error: no member named 'for_each' in namespace 'std::ranges' std::ranges::for_each(str, [](char& c) { c = ::tolower(c); } ); ~~~~~~~~~~~~~^ src/btop_tools.hpp:254:10: error: no member named 'find' in namespace 'std::ranges'; did you mean 'bind'? return std::ranges::find(vec, find_val) != vec.end(); ^~~~~~~~~~~~~~~~~ bind /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:706:9: note: 'bind' declared here int bind(int, const struct sockaddr *, socklen_t) __DARWIN_ALIAS(bind); ^ In file included from src/btop.cpp:51: src/btop_tools.hpp:276:10: error: no member named 'distance' in namespace 'std::ranges'; did you mean 'std::distance'? return std::ranges::distance(vec.begin(), std::ranges::find(vec, find_val)); ^~~~~~~~~~~~~~~~~~~~~ std::distance /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/__iterator/distance.h:47:1: note: 'std::distance' declared here distance(_InputIter __first, _InputIter __last) ^ In file included from src/btop.cpp:51: src/btop_tools.hpp:276:45: error: no member named 'find' in namespace 'std::ranges'; did you mean 'bind'? return std::ranges::distance(vec.begin(), std::ranges::find(vec, find_val)); ^~~~~~~~~~~~~~~~~ bind /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:706:9: note: 'bind' declared here int bind(int, const struct sockaddr *, socklen_t) __DARWIN_ALIAS(bind); ^ In file included from src/btop.cpp:51: src/btop_tools.hpp:312:23: error: no member named 'all_of' in namespace 'std::ranges' return std::ranges::all_of(str, ::isdigit); ~~~~~~~~~~~~~^ src/btop.cpp:151:13: error: no matching literal operator for call to 'operator""_a' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template "clear"_a = Term::clear, "bg_black"_a = Global::bg_black, "fg_white"_a = Global::fg_white, ^ src/btop.cpp:151:41: error: no matching literal operator for call to 'operator""_a' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template "clear"_a = Term::clear, "bg_black"_a = Global::bg_black, "fg_white"_a = Global::fg_white, ^ src/btop.cpp:151:74: error: no matching literal operator for call to 'operator""_a' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template "clear"_a = Term::clear, "bg_black"_a = Global::bg_black, "fg_white"_a = Global::fg_white, ^ src/btop.cpp:152:11: error: no matching literal operator for call to 'operator""_a' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template "mv1"_a = Mv::to((height / 2) - 2, (width / 2) - 11), ^ src/btop.cpp:153:11: error: no matching literal operator for call to 'operator""_a' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template "mv2"_a = Mv::to((height / 2) - 1, (width / 2) - 10), ^ src/btop.cpp:154:17: error: no matching literal operator for call to 'operator""_a' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template "fg_width"_a = (width < minWidth ? Global::fg_red : Global::fg_green), ^ src/btop.cpp:155:14: error: no matching literal operator for call to 'operator""_a' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template "width"_a = width, ^ src/btop.cpp:156:18: error: no matching literal operator for call to 'operator""_a' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template "fg_height"_a = (height < minHeight ? Global::fg_red : Global::fg_green), ^ src/btop.cpp:157:15: error: no matching literal operator for call to 'operator""_a' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template "height"_a = height, ^ src/btop.cpp:158:11: error: no matching literal operator for call to 'operator""_a' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template "mv3"_a = Mv::to((height / 2) + 1, (width / 2) - 12), ^ src/btop.cpp:159:11: error: no matching literal operator for call to 'operator""_a' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template "mv4"_a = Mv::to((height / 2) + 2, (width / 2) - 10), ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. gmake: *** [Makefile:396: obj/btop.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/btop *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/btop