ROOT stopped yesterday working on OSX

Hello
yesterday I was working with root on my macmini and after a couple of hours break (for the 70th CERN anniversary) root stopped to work… I restart the macmini but still the same problem, then I connected to my macmini in my office (same OSX version) and I got the same error. I guess Apple launched an Xcode update breaking the homebrew root installation. See the error below. Could you have a look? Thanks

Attilio

ROOT Version:6.32.04
Platform: OSX Sonoma 14.6.1 (23G93)
Homebrew installation

root
input_line_1:1:2: fatal error: malformed or corrupted AST file: 'could not find file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_types.modulemap' referenced by AST file'
#include <new>
 ^
input_line_1:1:2: note: after modifying system headers, please delete the module cache at '/opt/homebrew/Cellar/root/6.32.04/lib/root'
input_line_1:1:2: note: imported by module 'std' in '/opt/homebrew/Cellar/root/6.32.04/lib/root/std.pcm'
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: ''
Replaced symbol at_quick_exit cannot be found in JIT!
<<< cling interactive line includer >>>: fatal error: module file '/opt/homebrew/Cellar/root/6.32.04/lib/root/Darwin.pcm' is out of date and needs to be rebuilt
Failed to load module Darwin
Failed to load module std
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
Failed to load module Hist
Failed to load module RHTTPSniff
Failed to load module RMySQL
Failed to load module RDAVIX
Failed to load module ROOTVecOps
Failed to load module FitPanel
Failed to load module Genetic
Failed to load module Physics
Failed to load module Tree
Failed to load module Matrix
Failed to load module Gpad
Failed to load module ROOTEve
Failed to load module RGL
Failed to load module GCocoa
Failed to load module GeomBuilder
Failed to load module Cling_Runtime
Failed to load module SPlot
Failed to load module Hbook
Failed to load module ROOT_Config
Failed to load module Rint
Failed to load module XMLParser
Failed to load module Recorder
Failed to load module GuiBld
Failed to load module ROOTWebDisplay
Failed to load module XMLIO
Failed to load module ROOT_Rtypes
Failed to load module std
Failed to load module ROOTHistDraw
Failed to load module RIO
Failed to load module MathMore
Failed to load module ROOT_Foundation_C
Failed to load module SpectrumPainter
Failed to load module Core
Failed to load module NetxNG
Failed to load module Minuit
Failed to load module TMVA
Failed to load module ROOTNTupleUtil
Failed to load module Graf
Failed to load module Gdml
Failed to load module Cling_Runtime_Extra
Failed to load module MathCore
Failed to load module WebGui6
Failed to load module ROOTTPython
Failed to load module ROOTHist
Failed to load module ROOTGeomViewer
Failed to load module ROOTFitPanelv7
Failed to load module Smatrix
Failed to load module Thread
Failed to load module Darwin
Failed to load module ROOTBrowsable
Failed to load module Imt
Failed to load module HistPainter
Failed to load module PyMVA
Failed to load module RHTTP
Failed to load module ROOT_Foundation_Stage1_NoRTTI
Failed to load module Quadp
Failed to load module ROOTNTuple
Failed to load module Eve
Failed to load module GeomPainter
Failed to load module TreeViewer
Failed to load module EG
Failed to load module HistFactory
Failed to load module Spectrum
Failed to load module Html
Failed to load module Hist
Failed to load module GuiHtml
Failed to load module _Builtin_intrinsics
Failed to load module TMVAGui
Failed to load module Postscript
Failed to load module Fumili
Failed to load module Net
Failed to load module Geom
Failed to load module RooFitMore
Failed to load module ROOTGpadv7
Failed to load module RCsg
Failed to load module RooFit
Failed to load module RooFitRDataFrameHelpers
Failed to load module MultiProc
Failed to load module RooStats
Failed to load module FITSIO
Failed to load module Ged
Failed to load module FFTW
Failed to load module RooFitCore
Failed to load module Gui
Failed to load module SQLIO
Failed to load module TMVAUtils
Failed to load module ROOTTMVASofie
Failed to load module ASImage
Failed to load module RooFitXRooFit
Failed to load module RooFitHS3
Failed to load module Foam
Failed to load module RSQLite
Failed to load module Minuit2
Failed to load module MLP
Failed to load module ROOTDataFrame
Failed to load module GenVector
Failed to load module ROOTBrowserv7
Failed to load module RootAuth
Failed to load module Graf3d
Failed to load module ASImageGui
Failed to load module ROOTTreeViewer
Failed to load module Gviz3d
Failed to load module TreePlayer
Failed to load module RooFitJSONInterface
Failed to load module ROOTGraphicsPrimitives

 *** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/opt/homebrew/Cellar/root/6.32.04/lib/root/libCling.so] ROOT::TMetaUtils::TNormalizedCtxtImpl::keepTypedef(cling::LookupHelper const&, char const*, bool) (no debug info)
[/opt/homebrew/Cellar/root/6.32.04/lib/root/libCling.so] ROOT::TMetaUtils::TNormalizedCtxtImpl::TNormalizedCtxtImpl(cling::LookupHelper const&) (no debug info)
[/opt/homebrew/Cellar/root/6.32.04/lib/root/libCling.so] ROOT::TMetaUtils::TNormalizedCtxt::TNormalizedCtxt(cling::LookupHelper const&) (no debug info)
[/opt/homebrew/Cellar/root/6.32.04/lib/root/libCling.so] TCling::TCling(char const*, char const*, char const* const*, void*) (no debug info)
[/opt/homebrew/Cellar/root/6.32.04/lib/root/libCling.so] CreateInterpreter (no debug info)
[/opt/homebrew/Cellar/root/6.32.04/lib/root/libCore.so] TROOT::InitInterpreter() (no debug info)
[/opt/homebrew/Cellar/root/6.32.04/lib/root/libCore.so] ROOT::Internal::GetROOT2() (no debug info)
[/opt/homebrew/Cellar/root/6.32.04/lib/root/libCore.so] TApplication::TApplication(char const*, int*, char**, void*, int) (no debug info)
[/opt/homebrew/Cellar/root/6.32.04/lib/root/libRint.so] TRint::TRint(char const*, int*, char**, void*, int, bool, bool) (no debug info)
[/opt/homebrew/Cellar/root/6.32.04/bin/root.exe] main (no debug info)
[/usr/lib/dyld] start (no debug info)

Hi Attilio,

Thanks for the post.
We are working on a new release for macos15.
You can re-build ROOT on your computer from the top of the v6-32-00-patches branch, which is the code which will be included in the 6.32.06 release.

Cheers,
Danilo

Thank Danilo,
I confirm that rebuilding from the v6-32-00-patches branch works

Thanks again

Attilio

Is it possible to build this branch (v6-32-00-patches) with homebrew?

Hi many thanks for the post, I got the same issue with OSX SDK 15.0 (automatically updated during the CERN70 party…).

The build on v6-32-00-patches is working okay but needs a lot of local patches to compile because the branch is still unstable… would be great if you can point out a certain commit that is recommended to use

1 Like

Hi James,

Welcome to the ROOT Community!

Once a release is out, Homebrew typically provides ROOT quite quickly!

Cheers

Hi,

As said above, we are preparing a release, which will be provided in a matter of days and announced also on this Forum, as usual. I am sorry to read ROOT did not work out of the box for you!

I know it’s not ideal to talk about branches, but currently that’s a way to unblock you.

I am not sure I fully agree about the fact that v6-32-00-patches needs a lot of patches because the branch is still unstable though.
That branch is built and tested successfully every night, and for every PR (both submitted and merged), on

  • 4 macOS versions (13,14,15 and beta),
  • 4 Windows flavours ([x86, x64]x[Debug, Release]),
  • as well as 6 Linux distros (Ubuntus, Almas and Fedora).

If this helps though, I can be explicit about a specific commit and pick this one, which is the one the CI picked for yesterday’s nightly :slight_smile:

Thanks a lot for your patience.

Cheers,
Danilo

Thanks for your patience Attilio. Once the Release is available, it will be announced also on this Forum.

Cheers,
Danilo

Hi,

Just to add some info to this thread. ROOT’s 6.32.06-rc1, the Release Candidate 1, has been built and is available for download and available on CVMFS for several platforms (/cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.32.06-rc1/).

The 6.32.06 release is imminent.

Cheers,
D

Hello,

6.32.06, which supports macOS 15 Sequoia, among the other things, is out.

Best,
D