_On my end, after today’s sequoia 15.4 update. Homebrew failed to correctly build root (I tried to reinstall but no luck either.) I suspect it is a change of library or some C++ patches in the new MAC OS system. Also please see the following command line when I tried to open root after the installation:
/opt/homebrew/Cellar/root/6.34.06/etc/root/cling/std_darwin.modulemap:540:12: error: header ‘experimental/__memory’ not found
header “experimental/__memory”
^
input_line_1:1:10: note: submodule of top-level module ‘std’ implicitly imported here #include
^
Warning in cling::IncrementalParser::CheckABICompatibility():
Failed to extract C++ standard library version.
Warning in cling::IncrementalParser::CheckABICompatibility():
Possible C++ standard library mismatch, compiled with _LIBCPP_ABI_VERSION ‘1’
Extraction of runtime standard library version was: ‘’
input_line_2:1:2: fatal error: module file '/tmp/root-20250327-18543-ll7y48/root-6.34.06/builddir/lib/mach_port_t.pcm’ not found: module file not found #include <cling/Interpreter/RuntimeUniverse.h>
^
input_line_2:1:2: note: imported by module ‘pthread’ in ‘/opt/homebrew/Cellar/root/6.34.06/lib/root/pthread.pcm’
input_line_2:1:2: note: imported by module ‘std’ in ‘/opt/homebrew/Cellar/root/6.34.06/lib/root/std.pcm’
input_line_2:1:2: note: imported by module ‘Cling_Runtime_Extra’ in ‘/opt/homebrew/Cellar/root/6.34.06/lib/root/Cling_Runtime_Extra.pcm’
input_line_2:1:2: note: imported by module ‘Cling_Runtime’ in ‘/opt/homebrew/Cellar/root/6.34.06/lib/root/Cling_Runtime.pcm’
<<< cling interactive line includer >>>: fatal error: module file ‘/opt/homebrew/Cellar/root/6.34.06/lib/root/std.pcm’ is out of date and needs to be rebuilt
<<< cling interactive line includer >>>: note: imported by module ‘Darwin’ in ‘/opt/homebrew/Cellar/root/6.34.06/lib/root/Darwin.pcm’
Failed to load module Darwin
Hello, again, I have tried to uninstall homebrew and install again but no luck either. I have issued a troubleshooting message to homebrew. Hopefully, it will get resolved shortly.
I will also try to build root from the source later today as you suggested. I will return here if I still have issues.
Being a chronic upgrader, I have seen this sequence of events many times before:
New version of ROOT comes to Homebrew, everything works beautifully
New version of MacOS and Xcode comes out, root doesn’t work any more
ROOT formula adapts to Xcode, everything works beautifully again
Looking at my notes, it usually has something to do with the version of the C++ standard library, and sometimes I can find workarounds, but generally I have found it easier to wait for the experts to fix it, and I thank them for their efforts in maintaining Homebrew ROOT.
Hi @yansonhuang, @devajith ,
I am running into the same problem. I tried to install it from source as well but no luck. Is there any update? Have you manage to fix it or install it from source?
Users/fanfeizeng/Downloads/software/root/build/etc/cling/std_darwin.modulemap:540:12: error: header ‘experimental/__memory’ not found
header “experimental/__memory”
^
input_line_1:1:10: note: submodule of top-level module ‘std’ implicitly imported here #include
^
Warning in cling::IncrementalParser::CheckABICompatibility():
Failed to extract C++ standard library version.
Warning in cling::IncrementalParser::CheckABICompatibility():
Possible C++ standard library mismatch, compiled with _LIBCPP_ABI_VERSION ‘1’
Extraction of runtime standard library version was: ‘’
While building module ‘Core’:
While building module ‘Cling_Runtime’ imported from input_line_2:1:
While building module ‘Cling_Runtime_Extra’ imported from /Users/fanfeizeng/Downloads/software/root/build/etc/cling/Interpreter/RuntimeUniverse.h:27:
…
Hello,
just to let you know… I have 3 different Mac all of them with Sequoia 15.4 installed.The only one where I have this problem is the Mac with XCode installed. The other 2 Mac (where there is no XCode installed… only the command tools) works.
Best
For your information, I attempted to build ROOT 6.34.08 from source on
my macOS 15.4 with Xcode 16.3, but unfortunately,
I encountered similar errors as with version 6.34.06.
Below is a summary of my build options along with a digest of the typical errors I encountered.
I hope this information will be helpful for your further development.
Thanks! I found that the Homebrew version of 6.34.08 works fine with --build-from-source. The binary install of 6.34.08 still crashes at startup but this is great, thanks again.
Inspired by other discussions on this forum, I figured out a solution.
(Issue with macOS 15.4 Xcode 16.3 - #6 by suter_a)
For those who are interested in compiling from source, here is what I found to be useful: