Please fill also the fields below. Note that root -b -q will tell you this info, and starting from 6.28/06 upwards, you can call .forum bug from the ROOT prompt to pre-populate a topic.
ROOT Version: 6.38.04 Platform: Macbook Air with Sequioa 15.7.4 Compiler: 26.3
Hi,
My ROOT installation failed after an update. I tried updating Mactools, but it still fails, with a bunch of error messages starting
warning: no such sysroot directory: ‘/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk’
C system headers (glibc/Xcode/Windows SDK) must be installed.
fatal error: module map file ‘module.modulemap’ not found
Module Darwin not found.
This problem looks very similar to the problem described in
However, I installed and maintain ROOT using homebrew, and am hoping that there is a simpler solution that does not require reinstalling ROOT using a different method. This seems like it would be a fairly common problem, with, hopefully, a simple solution.
My OS is Sequoia 15.7.4. This is not the latest (Tahoe), but is it close. I held off on updating to Tahoe because of reports of problems, but that was a while back. If updating to Tahoe will fix this problem, I could do so.
My Xcode is Version 26.3, which should be the latest (at least for Tahoe).
When I run those two commands, I get similar, but not identical versions. I believe that the Sequioia OS and Xcode are fully up-to-date, modulo not having installed Tahoe.
I suspect that the problem may be with the homebrew installation scripts - something isn’t getting connected up properly - i. e. some paths have changed, or something like that.
Is this problem likely to disappear if I upgrade the OS to Tahoe? Any other suggestions?
It looks like your versions for both MacOS and CLT are a bit behind the latest one. When you go to “System Preference” → “General” → “Software Update” it should propose you an update for both.
So, I updated the OS to the latest, and got build 24G624, as you did. There was no way to update Xcode, which thought it was up to date. Unfortunately, ROOT still failed in the same way.
Then, I tried updated to Tahoe, something I would have had to do eventually anyway. And then updated Xcode, and did a brew upgrade ROOT to make sure I had a Tahoe-compatible version. Then, I get the following:
sklein@Spencers-MacBook-Air ~ % root
warning: no such sysroot directory: ‘/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk’
C system headers (glibc/Xcode/Windows SDK) must be installed.
fatal error: module map file ‘module.modulemap’ not found
Module Darwin not found.
Module std not found.
<<< cling interactive line includer >>>: fatal error: module file ‘/private/tmp/root-20260410-30746-yhq51d/root-6.38.04/builddir/lib/Darwin.pcm’ not found: module file not found
<<< cling interactive line includer >>>: note: imported by module ‘_Builtin_intrinsics’ in ‘/usr/local/Cellar/root/6.38.04_1/lib/root/_Builtin_intrinsics.pcm’
Failed to load module _Builtin_intrinsics
Failed to load module ROOT_Foundation_C
Failed to load module ROOT_Config
Failed to load module ROOT_Rtypes
Failed to load module ROOT_Foundation_Stage1_NoRTTI
Failed to load module Core
Failed to load module Rint
Failed to load module RIO
Failed to load module MathCore
etc.
The first two lines of the ROOT crash
warning: no such sysroot directory: ‘/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk’
C system headers (glibc/Xcode/Windows SDK) must be installed.
make it seem like ROOT is not able to find something that it should. I’m confused because Windows SDK is found only on Windows machines, not Macs.
In the past, homebrew has handled these connections seamlessly. But, now, something is not matching up.