Installation Issues with ROOT v6.32.06 on Intel Mac (macOS 15 Sequoia)

Dear all,

I’m currently facing difficulties installing ROOT v6.32.06 on an Intel Mac running macOS 15 (Sequoia).

Initially, I encountered the same issue described in the thread titled /usr/local/bin/xpdtest does not exist (It says that a new user cannot post a link) regarding the absence of xpdtest when installing ROOT through Homebrew. Although ROOT itself seems to work, I get the following error when attempting to compile my own project using its libraries.

I then tried building ROOT from the source code, but ran into additional errors during the installation process:

/usr/local/include/ROOT/RWrap_libcpp_string_view.h:143:4: error: redefinition of '__pad_and_output'
  143 |    __pad_and_output(_OutputIterator __s,
      |    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/locale:1221:39: note: previous definition is here
 1221 | _LIBCPP_HIDE_FROM_ABI _OutputIterator __pad_and_output(
      |                                       ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
In file included from /usr/local/include/ROOT/RStringView.hxx:26:
/usr/local/include/ROOT/RWrap_libcpp_string_view.h:367:4: error: non-constexpr declaration of '__str_find' follows constexpr declaration
  367 |    __str_find(const _CharT *__p, _SizeT __sz,
      |    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__string/char_traits.h:614:1: note: previous declaration is here
  614 | __str_find(const _CharT* __p, _SizeT __sz, _CharT __c, _SizeT __pos) _NOEXCEPT {
      | ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
In file included from /usr/local/include/ROOT/RStringView.hxx:26:
/usr/local/include/ROOT/RWrap_libcpp_string_view.h:380:4: error: '__str_find' is missing exception specification 'noexcept'
  380 |    __str_find(const _CharT *__p, _SizeT __sz,
      |    ^
  381 |               const _CharT* __s, _SizeT __pos, _SizeT __n)
      |
      |                                                            noexcept
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__string/char_traits.h:663:1: note: previous declaration is here
  663 | __str_find(const _CharT* __p, _SizeT __sz, const _CharT* __s, _SizeT __pos, _SizeT __n) _NOEXCEPT {
      | ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
In file included from /usr/local/include/ROOT/RStringView.hxx:26:
/usr/local/include/ROOT/RWrap_libcpp_string_view.h:388:14: error: no member named '__search' in namespace 'std'
  388 |       _VSTD::__search(__p + __pos, __p + __sz,
      |       ~~~~~~~^
/usr/local/include/ROOT/RWrap_libcpp_string_view.h:401:4: error: '__str_rfind' is missing exception specification 'noexcept'
  401 |    __str_rfind(const _CharT *__p, _SizeT __sz,
      |    ^
  402 |                _CharT __c, _SizeT __pos)
      |
      |                                          noexcept
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__string/char_traits.h:681:1: note: previous declaration is here
  681 | __str_rfind(const _CharT* __p, _SizeT __sz, _CharT __c, _SizeT __pos) _NOEXCEPT {
      | ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
In file included from /usr/local/include/ROOT/RStringView.hxx:26:
/usr/local/include/ROOT/RWrap_libcpp_string_view.h:420:4: error: '__str_rfind' is missing exception specification 'noexcept'
  420 |    __str_rfind(const _CharT *__p, _SizeT __sz,
      |    ^
  421 |                const _CharT* __s, _SizeT __pos, _SizeT __n)
      |
      |                                                             noexcept
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__string/char_traits.h:697:1: note: previous declaration is here
  697 | __str_rfind(const _CharT* __p, _SizeT __sz, const _CharT* __s, _SizeT __pos, _SizeT __n) _NOEXCEPT {
      | ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
In file included from /usr/local/include/ROOT/RStringView.hxx:26:
/usr/local/include/ROOT/RWrap_libcpp_string_view.h:439:4: error: '__str_find_first_of' is missing exception specification 'noexcept'
  439 |    __str_find_first_of(const _CharT *__p, _SizeT __sz,
      |    ^
  440 |                        const _CharT* __s, _SizeT __pos, _SizeT __n)
      |
      |                                                                     noexcept
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__string/char_traits.h:712:1: note: previous declaration is here
  712 | __str_find_first_of(const _CharT* __p, _SizeT __sz, const _CharT* __s, _SizeT __pos, _SizeT __n) _NOEXCEPT {
      | ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
In file included from /usr/local/include/ROOT/RStringView.hxx:26:
/usr/local/include/ROOT/RWrap_libcpp_string_view.h:455:4: error: '__str_find_last_of' is missing exception specification 'noexcept'
  455 |    __str_find_last_of(const _CharT *__p, _SizeT __sz,
      |    ^
  456 |                       const _CharT* __s, _SizeT __pos, _SizeT __n)
      |
      |                                                                    noexcept
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__string/char_traits.h:724:1: note: previous declaration is here
  724 | __str_find_last_of(const _CharT* __p, _SizeT __sz, const _CharT* __s, _SizeT __pos, _SizeT __n) _NOEXCEPT {
      | ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
In file included from /usr/local/include/ROOT/RStringView.hxx:26:
/usr/local/include/ROOT/RWrap_libcpp_string_view.h:478:4: error: '__str_find_first_not_of' is missing exception specification 'noexcept'
  478 |    __str_find_first_not_of(const _CharT *__p, _SizeT __sz,
      |    ^
  479 |                            const _CharT* __s, _SizeT __pos, _SizeT __n)
      |
      |                                                                         noexcept
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__string/char_traits.h:742:1: note: previous declaration is here
  742 | __str_find_first_not_of(const _CharT* __p, _SizeT __sz, const _CharT* __s, _SizeT __pos, _SizeT __n) _NOEXCEPT {
      | ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
In file included from /usr/local/include/ROOT/RStringView.hxx:26:
/usr/local/include/ROOT/RWrap_libcpp_string_view.h:494:4: error: '__str_find_first_not_of' is missing exception specification 'noexcept'
  494 |    __str_find_first_not_of(const _CharT *__p, _SizeT __sz,
      |    ^
  495 |                            _CharT __c, _SizeT __pos)
      |
      |                                                      noexcept
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__string/char_traits.h:754:1: note: previous declaration is here
  754 | __str_find_first_not_of(const _CharT* __p, _SizeT __sz, _CharT __c, _SizeT __pos) _NOEXCEPT {
      | ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
In file included from /usr/local/include/ROOT/RStringView.hxx:26:
/usr/local/include/ROOT/RWrap_libcpp_string_view.h:511:4: error: '__str_find_last_not_of' is missing exception specification 'noexcept'
  511 |    __str_find_last_not_of(const _CharT *__p, _SizeT __sz,
      |    ^
  512 |                           const _CharT* __s, _SizeT __pos, _SizeT __n)
      |
      |                                                                        noexcept
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__string/char_traits.h:767:1: note: previous declaration is here
  767 | __str_find_last_not_of(const _CharT* __p, _SizeT __sz, const _CharT* __s, _SizeT __pos, _SizeT __n) _NOEXCEPT {
      | ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
In file included from /usr/local/include/ROOT/RStringView.hxx:26:
/usr/local/include/ROOT/RWrap_libcpp_string_view.h:527:4: error: '__str_find_last_not_of' is missing exception specification 'noexcept'
  527 |    __str_find_last_not_of(const _CharT *__p, _SizeT __sz,
      |    ^
  528 |                           _CharT __c, _SizeT __pos)
      |
      |                                                     noexcept
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__string/char_traits.h:780:1: note: previous declaration is here
  780 | __str_find_last_not_of(const _CharT* __p, _SizeT __sz, _CharT __c, _SizeT __pos) _NOEXCEPT {
      | ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
In file included from /usr/local/include/ROOT/RStringView.hxx:26:
In file included from /usr/local/include/ROOT/RWrap_libcpp_string_view.h:545:
/usr/local/include/ROOT/libcpp_string_view.h:797:14: error: no template named 'unary_function'; did you mean '__unary_function'?
  797 |     : public unary_function<std::experimental::basic_string_view<_CharT, _Traits>, size_t>
      |              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
   46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
      | ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
/usr/local/include/ROOT/RStringView.hxx:35:12: error: reference to 'basic_string_view' is ambiguous
   35 |    typedef basic_string_view<char> string_view;
      |            ^
/usr/local/include/ROOT/RStringView.hxx:32:4: note: candidate found by name lookup is 'std::basic_string_view'
   32 |    using basic_string_view = ::std::experimental::basic_string_view<_CharT,_Traits>;
      |    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/string_view:272:7: note: candidate found by name lookup is 'std::__1::basic_string_view'
  272 | class basic_string_view {
      |       ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
/usr/local/include/ROOT/RStringView.hxx:36:12: error: reference to 'basic_string_view' is ambiguous
   36 |    typedef basic_string_view<char16_t> u16string_view;
      |            ^
/usr/local/include/ROOT/RStringView.hxx:32:4: note: candidate found by name lookup is 'std::basic_string_view'
   32 |    using basic_string_view = ::std::experimental::basic_string_view<_CharT,_Traits>;
      |    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/string_view:272:7: note: candidate found by name lookup is 'std::__1::basic_string_view'
  272 | class basic_string_view {
      |       ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
/usr/local/include/ROOT/RStringView.hxx:37:12: error: reference to 'basic_string_view' is ambiguous
   37 |    typedef basic_string_view<char32_t> u32string_view;
      |            ^
/usr/local/include/ROOT/RStringView.hxx:32:4: note: candidate found by name lookup is 'std::basic_string_view'
   32 |    using basic_string_view = ::std::experimental::basic_string_view<_CharT,_Traits>;
      |    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/string_view:272:7: note: candidate found by name lookup is 'std::__1::basic_string_view'
  272 | class basic_string_view {
      |       ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
/usr/local/include/ROOT/RStringView.hxx:38:12: error: reference to 'basic_string_view' is ambiguous
   38 |    typedef basic_string_view<wchar_t> wstring_view;
      |            ^
/usr/local/include/ROOT/RStringView.hxx:32:4: note: candidate found by name lookup is 'std::basic_string_view'
   32 |    using basic_string_view = ::std::experimental::basic_string_view<_CharT,_Traits>;
      |    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/string_view:272:7: note: candidate found by name lookup is 'std::__1::basic_string_view'
  272 | class basic_string_view {
      |       ^
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /PATH_TO_ROOT/root-6.32.06/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:27:
In file included from /usr/local/include/TDirectoryFile.h:25:
In file included from /usr/local/include/TDirectory.h:24:
In file included from /usr/local/include/TBuffer.h:24:
In file included from /usr/local/include/TDataType.h:25:
In file included from /usr/local/include/TDictionary.h:44:
In file included from /usr/local/include/TNamed.h:26:
In file included from /usr/local/include/TString.h:28:
/usr/local/include/ROOT/RStringView.hxx:48:28: error: reference to 'string_view' is ambiguous
   48 |    inline double stod(std::string_view str, size_t *pos)
      |                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__fwd/string_view.h:25:33: note: candidate found by name lookup is 'std::__1::string_view'
   25 | typedef basic_string_view<char> string_view;
      |                                 ^
/usr/local/include/ROOT/RStringView.hxx:35:36: note: candidate found by name lookup is 'std::string_view'
   35 |    typedef basic_string_view<char> string_view;
      |                                    ^
/usr/local/include/ROOT/RStringView.hxx:65:56: error: reference to 'string_view' is ambiguous
   65 | inline std::string &operator+=(std::string &left, std::string_view right)
      |                                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__fwd/string_view.h:25:33: note: candidate found by name lookup is 'std::__1::string_view'
   25 | typedef basic_string_view<char> string_view;
      |                                 ^
/usr/local/include/ROOT/RStringView.hxx:35:36: note: candidate found by name lookup is 'std::string_view'
   35 |    typedef basic_string_view<char> string_view;
      |                                    ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make[2]: *** [tree/readspeed/CMakeFiles/ReadSpeed.dir/src/ReadSpeed.cxx.o] Error 1
make[1]: *** [tree/readspeed/CMakeFiles/ReadSpeed.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Is there any way to resolve these issues? Alternatively, does ROOT v6.32.06 not support Intel Macs on this macOS version?

My configuration is like this.

System:            Darwin-24.0.0
ROOT Platform:     macosx
ROOT Architecture: macosx64
Processor:         4 core Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz (x86_64)
Build type:        Release
Install path:      /usr/local/root_v6.32.06
Compiler:          AppleClang 16.0.0.16000026
C++ standard:      17
Compiler flags:
 - C:                          -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread
 - C (built type specific):   -O3 -DNDEBUG
 - C++:                        -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++
 - C++ (built type specific): -O3 -DNDEBUG
Linker flags:
 - Executable:      -mmacosx-version-min=15.0

Any help would be greatly appreciated!

Best regards,
Chaeyeon

Dear Chaeyeon,

Thanks for the post and welcome to the ROOT Community!
I am sorry to read ROOT did not work out of the box on your platform.
ROOT 6.32.06 supports macOS15, it was one of the main reasons to release it, and it’s regularly running on our CI, building from scratch, on that very platform (there we use M2 cpus, but we verified on other nodes that it runs and tests successfully on Intel Core i7 cpus).

Could you please have a look to this post (ROOT on macOS 15 / Xcode 16 - #8 by Danilo) and subsequent to see whether you are affected by the same issue, i.e. somthing related to the Command Line Tools?

Best,
Danilo

Hi Danilo, thank you for your response!

I updated Xcode CLT and restarted the installation process using the source code from the Git repository (previously, I had used the version downloaded from the ROOT website).

Now, I’m encountering different errors such as the following:

/PATH_TO_ROOT/root_git/tree/readspeed/src/ReadSpeed.cxx:273:37: error: no member named 'GetThreadPoolSize' in namespace 'ROOT'
  273 |    const auto actualThreads = ROOT::GetThreadPoolSize();
      |                               ~~~~~~^
/PATH_TO_ROOT/root_git/tree/readspeed/src/ReadSpeed.cxx:280:47: error: no member named 'GetTasksPerWorkerHint' in 'ROOT::TTreeProcessorMT'
  280 |       std::ceil(float(ROOT::TTreeProcessorMT::GetTasksPerWorkerHint() * actualThreads) / float(d.fFileNames.size()));
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~^
/PATH_TO_ROOT/root_git/tree/readspeed/src/ReadSpeed.cxx:319:34: error: no matching member function for call to 'MapReduce'
  319 |       const auto byteData = pool.MapReduce(readRange, rangesPerFile[fileIdx], SumBytes);
      |                             ~~~~~^~~~~~~~~
...
/PATH_TO_ROOT/root_git/tree/readspeed/src/ReadSpeed.cxx:326:36: error: no matching member function for call to 'MapReduce'
  326 |    const auto totalByteData = pool.MapReduce(processFile, ROOT::TSeqUL(d.fFileNames.size()), SumBytes);
      |                               ~~~~~^~~~~~~~~

Hello,

Thanks.
The errors seem to point to some kind of misconfiguration of the system. How did you configure ROOT (CMake invocation)? What was the output? Did you start from a clean build directory?

Cheers,
Danilo

Hello,

I used this command: (cmake version = 3.30.3. Just upgraded from v3.21.3, fyi)
cmake -DCMAKE_INSTALL_PREFIX=/PATH_INSTALL/ -Dbuiltin_glew=ON ../SRC_PATH/
Dbuiltin_glew option or I’m in the same situation: Installing ROOT-GLEW Error
And this is everything I got.

CMake Deprecation Warning at CMakeLists.txt:31 (cmake_policy):
  The OLD behavior for policy CMP0116 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The C compiler identification is AppleClang 16.0.0.16000026
-- The CXX compiler identification is AppleClang 16.0.0.16000026
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.39.5 (Apple Git-154)")
-- Building ROOT version 6.33.01
-- Checking internet connectivity
-- Checking internet connectivity - found
-- Looking for a CUDA compiler
-- Looking for a CUDA compiler - NOTFOUND
-- The default C++ standard in use by the detected compiler (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++) is lower than C++17. Setting C++17 as the minimum standard.
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found a macOS system 15.0
-- Found an x86_64 system
-- Performing Test GLIBCXX_USE_CXX11_ABI
-- Performing Test GLIBCXX_USE_CXX11_ABI - Failed
-- ROOT default compression algorithm: zlib
-- Cannot enable cudnn without enabling cuda or tmva-gpu: cudnn is disabled.
-- Looking for ZLib
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libz.tbd (found version "1.2.12")
-- Looking for nlohmann/json.hpp
-- nlohmann/json.hpp not found. Switching on builtin_nlohmannjson option
-- Building freetype version 2.12.1 included in ROOT itself
-- Looking for PCRE
-- Found PCRE2: /usr/local/include (found version "10.44")
-- Looking for LZMA
-- Looking for lzma_auto_decoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_auto_decoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_easy_encoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_easy_encoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_lzma_preset in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_lzma_preset in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/liblzma.tbd - found
-- Found LibLZMA: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/liblzma.tbd (found version "5.6.2")
-- Looking for xxHash
-- Could NOT find xxHash (missing: xxHash_LIBRARY xxHash_INCLUDE_DIR) (Required is at least version "0.8")
-- xxHash not found. Switching on builtin_xxhash option
-- Looking for ZSTD
-- Found ZSTD: /usr/local/lib/libzstd.dylib
-- Looking for LZ4
-- Found LZ4: /usr/local/lib/liblz4.dylib (found version "1.10.0")
-- Found GIF: /usr/local/lib/libgif.dylib (found version "5.2.2")
-- Found TIFF: /usr/local/lib/libtiff.dylib (found version "4.7.0")
-- Found PNG: /usr/local/lib/libpng.dylib (found version "1.6.44")
-- Found JPEG: /usr/local/lib/libjpeg.dylib (found version "80")
-- Looking for Python
-- Could NOT find Python3 (missing: Python3_NumPy_INCLUDE_DIRS NumPy) (found suitable version "3.9.6", minimum required is "3.8")
-- Looking for OpenGL
-- Found OpenGL: /usr/X11R6/lib/libGL.dylib
-- Looking for gl2ps
-- Could NOT find gl2ps (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
-- gl2ps not found. Switching on builtin_gl2ps option
-- Looking for LibXml2
-- Found LibXml2: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libxml2.tbd (found version "2.9.13")
-- Found OpenSSL: /usr/local/Cellar/openssl@3/3.3.2/lib/libcrypto.dylib (found version "3.3.2")
-- Looking for MySQL
-- Could NOT find MySQL (missing: MYSQL_INCLUDE_DIR MYSQL_LIBRARIES)
-- MySQL not found. Switching off mysql option
-- Looking for PostgreSQL
-- Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR)
-- PostgreSQL not found. Switching off pgsql option
-- Looking for SQLite
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Found Sqlite: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include
-- Looking for CFITSIO
-- Could NOT find CFITSIO (missing: CFITSIO_LIBRARY CFITSIO_INCLUDE_DIR)
-- CFITSIO not found. You can enable the option 'builtin_cfitsio' to build the library internally'
--                    For the time being switching off 'fitsio' option
-- Looking for XROOTD
CMake Warning at cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package):
  By not providing "FindXRootD.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "XRootD", but
  CMake did not find one.

  Could not find a package configuration file provided by "XRootD" with any
  of the following names:

    XRootDConfig.cmake
    xrootd-config.cmake

  Add the installation prefix of "XRootD" to CMAKE_PREFIX_PATH or set
  "XRootD_DIR" to a directory containing one of the above files.  If "XRootD"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  cmake/modules/SearchInstalledSoftware.cmake:882 (find_package)
  CMakeLists.txt:298 (include)


-- XROOTD not found, enabling 'builtin_xrootd' option
-- Downloading and building XROOTD version 5.5.2
-- Could NOT find FTGL (missing: FTGL_INCLUDE_DIR)
-- ftgl library not found. Set variable FTGL_ROOT_DIR to point to your installation
-- For the time being switching ON 'builtin_ftgl' option
-- Checking for module 'davix>=0.6.4'
--   No package 'davix' found
-- Looking for uuid_generate_random in uuid
-- Looking for uuid_generate_random in uuid - not found
-- Found libuuid: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include
-- Davix not found, switching ON 'builtin_davix' option.
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for TBB
-- Could NOT find TBB (missing: TBB_ROOT_DIR TBB_INCLUDE_DIR TBB_LIBRARY) (Required is at least version "2020")
-- TBB not found, enabling 'builtin_tbb' option
-- Looking for VDT
-- Found Vdt: /usr/local/include (found suitable version "0.4", minimum required is "0.4")
-- Looking for BLAS for optional parts of TMVA
-- Looking for sgemm_
-- Looking for sgemm_ - not found
-- Looking for dgemm_
-- Looking for dgemm_ - found
-- Found BLAS: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/System/Library/Frameworks/Accelerate.framework
-- TMVA: Numpy or Python development package not found for python /usr/bin/python3. Switching off tmva-pymva option
-- PyROOT: development package found. Building for version 3.9.6
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Building LLVM in 'Release' mode.
CMake Deprecation Warning at interpreter/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy):
  The OLD behavior for policy CMP0114 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
  interpreter/llvm-project/llvm/CMakeLists.txt:6 (include)


CMake Deprecation Warning at interpreter/llvm-project/cmake/Modules/CMakePolicy.cmake:11 (cmake_policy):
  The OLD behavior for policy CMP0116 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
  interpreter/llvm-project/llvm/CMakeLists.txt:6 (include)


-- The ASM compiler identification is AppleClang
-- Found assembler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- bolt project is disabled
-- clang project is enabled
-- clang-tools-extra project is disabled
-- compiler-rt project is disabled
-- cross-project-tests project is disabled
-- libc project is disabled
-- libclc project is disabled
-- lld project is disabled
-- lldb project is disabled
-- mlir project is disabled
-- openmp project is disabled
-- polly project is disabled
-- pstl project is disabled
-- flang project is disabled
-- Found libtool - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
-- Found Python3: /usr/bin/python3 (found suitable version "3.9.6", minimum required is "3.0") found components: Interpreter
-- Found LibEdit: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include (found version "2.11")
-- Found Terminfo: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libcurses.tbd
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include
-- LLVM host triple: x86_64-apple-darwin24.0.0
-- Native target architecture is X86
-- Threads disabled.
-- Doxygen disabled.
-- Found ld64 - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld-classic
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- LLVM default target triple: x86_64-apple-darwin24.0.0
-- Building with -fPIC
-- Linker detection: Apple
-- Targeting X86
-- Targeting NVPTX
CMake Deprecation Warning at interpreter/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy):
  The OLD behavior for policy CMP0114 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
  interpreter/llvm-project/clang/CMakeLists.txt:6 (include)


CMake Deprecation Warning at interpreter/llvm-project/cmake/Modules/CMakePolicy.cmake:11 (cmake_policy):
  The OLD behavior for policy CMP0116 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
  interpreter/llvm-project/clang/CMakeLists.txt:6 (include)


-- Clang version: 18.1.6
-- Host linker version: 1115.7.3
-- Building Cling as part of ROOT
-- Cling version (from VERSION file): ROOT_1.2~dev
-- Cling will look for C++ headers in '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1' at runtime.
-- And if not found, will invoke: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -isysroot;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk' for them.
-- Performing Test CXX_HAS_fno_rtti
-- Performing Test CXX_HAS_fno_rtti - Success
-- Performing Test found_arc4
-- Performing Test found_arc4 - Success
-- Found arc4random_buf in stdlib.h
-- Performing Test C_HAS_Wno_strict_overflow
-- Performing Test C_HAS_Wno_strict_overflow - Success
-- Performing Test C_HAS_Wno_maybe_uninitialized
-- Performing Test C_HAS_Wno_maybe_uninitialized - Failed
-- Performing Test C_HAS_Wno_parentheses_equality
-- Performing Test C_HAS_Wno_parentheses_equality - Success
-- Looking for m
-- Looking for m - not found
-- Use SSL API VERSION 3.3 for civetweb
-- Performing Test GCC_HAS_BIDI_CHARS_FLAG
-- Performing Test GCC_HAS_BIDI_CHARS_FLAG - Failed
-- Distributed RDataFrame enabled
-- RapidYAML not found, only compiling RooFit with nlohmann-json parser
-- Found CHROME executable /Applications/Google Chrome.app/Contents/MacOS/Google Chrome major version 129
-- Performing Test found_setresuid
-- Performing Test found_setresuid - Failed
-- Performing Test found_attribute_always_inline
-- Performing Test found_attribute_always_inline - Success
-- Performing Test has_found_attribute_noinline
-- Performing Test has_found_attribute_noinline - Success
-- Performing Test found_hardware_interference_size
-- Performing Test found_hardware_interference_size - Failed
Running /PATH_SRC/root_git/cmake/unix/compiledata.sh
Making /PATH_BUILD/root_build/ginclude/compiledata.h
-- ROOT Configuration

System:            Darwin-24.0.0
ROOT Platform:     macosx
ROOT Architecture: macosx64
Processor:         4 core Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz (x86_64)
Build type:        Release
Install path:      /usr/local/root_v6.32.06
Compiler:          AppleClang 16.0.0.16000026
C++ standard:      17
Compiler flags:
--
 - C:                          -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread
 - C (build type specific):   -O3 -DNDEBUG
 - C++:                        -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++
 - C++ (build type specific): -O3 -DNDEBUG
-- Linker flags:
 - Executable:      -mmacosx-version-min=15.0
 - Module:
 - Shared:

-- Enabled support for:  asimage builtin_clang builtin_cling builtin_davix builtin_freetype builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_nlohmannjson builtin_openui5 builtin_tbb builtin_xrootd builtin_xxhash clad cocoa dataframe davix gdml http imt libcxx opengl pyroot roofit webgui root7 rpath runtime_cxxmodules shared sqlite ssl tmva tmva-cpu tpython spectrum vdt xml xrootd
-- Configuring done (90.6s)

Hi,

And with this configuration, which seems to end well, did you encounter issues in building?

Best,
D

Yes, during the building.
The make fails to complete successfully due to the issues mentioned above:

I wasn’t sure what you meant by “which seems to end well,” so I’ve attached all the messages that appeared before the build terminated.

[ 55%] Generating ../ginclude/rootCommandLineOptionsHelp.h
[ 55%] Building CXX object rootx/CMakeFiles/root.dir/src/rootx.cxx.o
[ 55%] Linking CXX static library ../../lib/libmathtext.a
[ 55%] Built target mathtext
[ 55%] Building CXX object interpreter/llvm-project/llvm/lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeStreamMerger.cpp.o
[ 55%] Building CXX object interpreter/llvm-project/llvm/tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangTypeNodesEmitter.cpp.o
[ 55%] Building CXX object rootx/CMakeFiles/root.dir/src/rootxx-cocoa.mm.o
[ 55%] Building CXX object tree/readspeed/CMakeFiles/ReadSpeed.dir/src/ReadSpeed.cxx.o
In file included from /SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:11:
In file included from /SRC_PATH/root-git/tree/readspeed/inc/ReadSpeed.hxx:14:
In file included from /usr/local/include/TFile.h:28:
/usr/local/include/TMap.h:145:30: warning: 'iterator<std::bidirectional_iterator_tag, TObject *, long, const TObject **, const TObject *&>' is deprecated [-Wdeprecated-declarations]
  145 |                  public std::iterator<std::bidirectional_iterator_tag,
      |                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__iterator/iterator.h:23:29: note: 'iterator<std::bidirectional_iterator_tag, TObject *, long, const TObject **, const TObject *&>' has been explicitly marked deprecated here
   23 | struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator {
      |                             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__config:1022:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1022 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__config:995:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  995 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
[ 55%] Building CXX object interpreter/llvm-project/llvm/lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeTableCollection.cpp.o
In file included from /SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:17:
In file included from /usr/local/include/ROOT/TTreeProcessorMT.hxx:16:
In file included from /usr/local/include/TTree.h:36:
In file included from /usr/local/include/TBranch.h:30:
In file included from /usr/local/include/TBranchCacheInfo.h:25:
/usr/local/include/TBits.h:150:11: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  150 |    return (Bool_t)lhs & rhs;
      |           ^~~~~~~~~~~~~~~~~
      |                       &&
/usr/local/include/TBits.h:150:11: note: cast one or both operands to int to silence this warning
/usr/local/include/TBits.h:155:11: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  155 |    return (Bool_t)lhs | rhs;
      |           ^~~~~~~~~~~~~~~~~
      |                       ||
/usr/local/include/TBits.h:155:11: note: cast one or both operands to int to silence this warning
[ 55%] Building CXX object interpreter/llvm-project/llvm/tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o
In file included from /SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:17:
In file included from /usr/local/include/ROOT/TTreeProcessorMT.hxx:19:
/usr/local/include/TTreeReader.h:56:19: warning: 'iterator<std::input_iterator_tag, const long long, long long>' is deprecated [-Wdeprecated-declarations]
   56 |       public std::iterator<std::input_iterator_tag, const Long64_t, Long64_t> {
      |                   ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__iterator/iterator.h:23:29: note: 'iterator<std::input_iterator_tag, const long long, long long>' has been explicitly marked deprecated here
   23 | struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator {
      |                             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__config:1022:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
 1022 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
      |                                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__config:995:49: note: expanded from macro '_LIBCPP_DEPRECATED'
  995 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
      |                                                 ^
/SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:273:37: error: no member named 'GetThreadPoolSize' in namespace 'ROOT'
  273 |    const auto actualThreads = ROOT::GetThreadPoolSize();
      |                               ~~~~~~^
/SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:280:47: error: no member named 'GetTasksPerWorkerHint' in 'ROOT::TTreeProcessorMT'
  280 |       std::ceil(float(ROOT::TTreeProcessorMT::GetTasksPerWorkerHint() * actualThreads) / float(d.fFileNames.size()));
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~^
/SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:319:34: error: no matching member function for call to 'MapReduce'
  319 |       const auto byteData = pool.MapReduce(readRange, rangesPerFile[fileIdx], SumBytes);
      |                             ~~~~~^~~~~~~~~
/usr/local/include/ROOT/TExecutor.hxx:88:9: note: candidate template ignored: could not match 'TSeq' against 'vector'
   88 |    auto MapReduce(F func, ROOT::TSeq<INTEGER> args, R redfunc) -> typename std::result_of<F(INTEGER)>::type;
      |         ^
/usr/local/include/ROOT/TExecutor.hxx:91:9: note: candidate template ignored: could not match 'initializer_list' against 'vector'
   91 |    auto MapReduce(F func, std::initializer_list<T> args, R redfunc) -> typename std::result_of<F(T)>::type;
      |         ^
/usr/local/include/ROOT/TThreadExecutor.hxx:391:26: note: candidate template ignored: substitution failure [with F = (lambda at /SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:300:24), R = ByteData (*)(const std::vector<ByteData> &)]: no type named 'type' in 'std::result_of<(lambda at /SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:300:24) ()>'
  391 |    auto TThreadExecutor::MapReduce(F func, unsigned nTimes, R redfunc) -> typename std::result_of<F()>::type {
      |                          ^
/usr/local/include/ROOT/TThreadExecutor.hxx:412:26: note: candidate template ignored: deduced type 'vector<...>' of 2nd parameter does not match adjusted type 'const vector<...>' of argument [with F = (lambda at /SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:300:24), T = ReadSpeed::EntryRange, R = ByteData (*)(const std::vector<ByteData> &), Cond = noReferenceCond<(lambda at /SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:300:24), EntryRange>]
  412 |    auto TThreadExecutor::MapReduce(F func, std::vector<T> &args, R redfunc) -> typename std::result_of<F(T)>::type {
      |                          ^
/usr/local/include/ROOT/TExecutor.hxx:94:7: note: candidate function not viable: requires 2 arguments, but 3 were provided
   94 |    T* MapReduce(F func, std::vector<T*> &args);
      |       ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ROOT/TThreadExecutor.hxx:396:26: note: candidate function template not viable: requires 4 arguments, but 3 were provided
  396 |    auto TThreadExecutor::MapReduce(F func, unsigned nTimes, R redfunc, unsigned nChunks) -> typename std::result_of<F()>::type {
      |                          ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ROOT/TThreadExecutor.hxx:401:26: note: candidate function template not viable: requires 4 arguments, but 3 were provided
  401 |    auto TThreadExecutor::MapReduce(F func, ROOT::TSeq<INTEGER> args, R redfunc, unsigned nChunks) -> typename std::result_of<F(INTEGER)>::type {
      |                          ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ROOT/TThreadExecutor.hxx:406:26: note: candidate function template not viable: requires 4 arguments, but 3 were provided
  406 |    auto TThreadExecutor::MapReduce(F func, std::initializer_list<T> args, R redfunc, unsigned nChunks) -> typename std::result_of<F(T)>::type {
      |                          ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ROOT/TThreadExecutor.hxx:417:26: note: candidate function template not viable: requires 4 arguments, but 3 were provided
  417 |    auto TThreadExecutor::MapReduce(F func, std::vector<T> &args, R redfunc, unsigned nChunks) -> typename std::result_of<F(T)>::type {
      |                          ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:326:36: error: no matching member function for call to 'MapReduce'
  326 |    const auto totalByteData = pool.MapReduce(processFile, ROOT::TSeqUL(d.fFileNames.size()), SumBytes);
      |                               ~~~~~^~~~~~~~~
/usr/local/include/ROOT/TExecutor.hxx:88:9: note: candidate template ignored: substitution failure [with F = (lambda at /SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:295:23), INTEGER = unsigned long, R = ByteData (*)(const std::vector<ByteData> &)]: no type named 'type' in 'std::result_of<(lambda at /SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:295:23) (unsigned long)>'
   67 |    auto MapReduce(F func, ROOT::TSeq<INTEGER> args, R redfunc) -> typename std::result_of<F(INTEGER)>::type;
      |         ^
/usr/local/include/ROOT/TExecutor.hxx:91:9: note: candidate template ignored: could not match 'initializer_list' against 'TSeq'
   91 |    auto MapReduce(F func, std::initializer_list<T> args, R redfunc) -> typename std::result_of<F(T)>::type;
      |         ^
/usr/local/include/ROOT/TThreadExecutor.hxx:391:26: note: candidate template ignored: substitution failure [with F = (lambda at /SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:295:23), R = ByteData (*)(const std::vector<ByteData> &)]: no type named 'type' in 'std::result_of<(lambda at /SRC_PATH/root-git/tree/readspeed/src/ReadSpeed.cxx:295:23) ()>'
  391 |    auto TThreadExecutor::MapReduce(F func, unsigned nTimes, R redfunc) -> typename std::result_of<F()>::type {
      |                          ^
/usr/local/include/ROOT/TThreadExecutor.hxx:412:26: note: candidate template ignored: could not match 'vector' against 'TSeq'
  412 |    auto TThreadExecutor::MapReduce(F func, std::vector<T> &args, R redfunc) -> typename std::result_of<F(T)>::type {
      |                          ^
/usr/local/include/ROOT/TExecutor.hxx:94:7: note: candidate function not viable: requires 2 arguments, but 3 were provided
   94 |    T* MapReduce(F func, std::vector<T*> &args);
      |       ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ROOT/TThreadExecutor.hxx:396:26: note: candidate function template not viable: requires 4 arguments, but 3 were provided
  396 |    auto TThreadExecutor::MapReduce(F func, unsigned nTimes, R redfunc, unsigned nChunks) -> typename std::result_of<F()>::type {
      |                          ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ROOT/TThreadExecutor.hxx:401:26: note: candidate function template not viable: requires 4 arguments, but 3 were provided
  401 |    auto TThreadExecutor::MapReduce(F func, ROOT::TSeq<INTEGER> args, R redfunc, unsigned nChunks) -> typename std::result_of<F(INTEGER)>::type {
      |                          ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ROOT/TThreadExecutor.hxx:406:26: note: candidate function template not viable: requires 4 arguments, but 3 were provided
  406 |    auto TThreadExecutor::MapReduce(F func, std::initializer_list<T> args, R redfunc, unsigned nChunks) -> typename std::result_of<F(T)>::type {
      |                          ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ROOT/TThreadExecutor.hxx:417:26: note: candidate function template not viable: requires 4 arguments, but 3 were provided
  417 |    auto TThreadExecutor::MapReduce(F func, std::vector<T> &args, R redfunc, unsigned nChunks) -> typename std::result_of<F(T)>::type {
      |                          ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings and 4 errors generated.
make[2]: *** [tree/readspeed/CMakeFiles/ReadSpeed.dir/src/ReadSpeed.cxx.o] Error 1
make[1]: *** [tree/readspeed/CMakeFiles/ReadSpeed.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 55%] Building CXX object interpreter/llvm-project/llvm/tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o
[ 55%] Linking CXX executable ../bin/root
[ 55%] Linking CXX static library ../../libLLVMDebugInfoCodeView.a
[ 55%] Built target LLVMDebugInfoCodeView
[ 55%] Building CXX object interpreter/llvm-project/llvm/tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o
[ 55%] Built target root
[ 55%] Building CXX object interpreter/llvm-project/llvm/tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o
[ 55%] Building CXX object interpreter/llvm-project/llvm/tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o
[ 55%] Linking CXX executable ../../../../bin/clang-tblgen
[ 55%] Built target clang-tblgen
make: *** [all] Error 2