Maybe I’m doing something wrong but things are still broken when I try to get the fixed ROOT version for Sequoia 15.4 + Xcode 16.3 through homebrew. Made sure brew points to 6.34.08 after the latest commit (920df531afd46056e409fbd21f6d3f5959da075b) to the default branch. Tried “brew upgrade root” first, didn’t work. Then uninstalled root, reinstalled it. Still doesn’t work. Launching the ROOT interpreter fails. Getting the ROOT version also fails. Need some help figuring out what I’m doing wrong (and fix, of course). Snaps of the relevant terminal lines below:
Last login: Tue Apr 8 12:47:03 on console
heerakbanerjee@host-10-1-2-243 ~ % brew update
==> Updating Homebrew...
Already up-to-date.
heerakbanerjee@host-10-1-2-243 ~ % brew info root
==> root: stable 6.34.08 (bottled), HEAD
Analyzing petabytes of data, scientifically
https://root.cern
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/r/root.rb
License: LGPL-2.1-or-later
==> Dependencies
Build: cmake ✘, ninja ✘, pkgconf ✘
Required: cfitsio ✘, davix ✘, fftw ✘, freetype ✔, ftgl ✘, gcc ✔, giflib ✔, gl2ps ✘, glew ✘, graphviz ✘, gsl ✔, jpeg-turbo ✔, libpng ✔, libtiff ✔, lz4 ✔, mariadb-connector-c ✘, nlohmann-json ✘, numpy ✔, openblas ✔, openssl@3 ✔, pcre ✘, pcre2 ✔, python@3.13 ✔, sqlite ✔, tbb ✘, xrootd ✘, xxhash ✘, xz ✔, zstd ✔
heerakbanerjee@host-10-1-2-243 ~ % which root
root not found
heerakbanerjee@host-10-1-2-243 ~ % brew install root
.
.<0 Warnings, 0 Errors, 0 Failures>
.
==> Installing root
==> Pouring root--6.34.08.arm64_sequoia.bottle.tar.gz
==> Caveats
As of ROOT 6.22, you should not need the thisroot scripts; but if you
depend on the custom variables set by them, you can still run them:
For bash users:
. /opt/homebrew/bin/thisroot.sh
For zsh users:
pushd /opt/homebrew >/dev/null; . bin/thisroot.sh; popd >/dev/null
For csh/tcsh users:
source /opt/homebrew/bin/thisroot.csh
For fish users:
. /opt/homebrew/bin/thisroot.fish
==> Summary
🍺 /opt/homebrew/Cellar/root/6.34.08: 7,211 files, 623.2MB
==> Running `brew cleanup root`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /Users/heerakbanerjee/Library/Caches/Homebrew/root_bottle_manifest--6.34.06-1... (84.3KB)
Removing: /Users/heerakbanerjee/Library/Caches/Homebrew/root--6.34.06... (270.7MB)
==> Caveats
==> root
As of ROOT 6.22, you should not need the thisroot scripts; but if you
depend on the custom variables set by them, you can still run them:
For bash users:
. /opt/homebrew/bin/thisroot.sh
For zsh users:
pushd /opt/homebrew >/dev/null; . bin/thisroot.sh; popd >/dev/null
For csh/tcsh users:
source /opt/homebrew/bin/thisroot.csh
For fish users:
. /opt/homebrew/bin/thisroot.fish
heerakbanerjee@host-10-1-2-243 ~ % pushd /opt/homebrew >/dev/null; . bin/thisroot.sh; popd >/dev/null
heerakbanerjee@host-10-1-2-243 ~ % which root
/opt/homebrew/Cellar/root/6.34.08/bin/root
heerakbanerjee@host-10-1-2-243 ~ % root
fatal error: module map file '/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/std_darwin.modulemap' not found
<<< cling interactive line includer >>>: fatal error: module file '/private/tmp/root-20250408-18619-fisguy/root-6.34.08/builddir/lib/std.pcm' not found: module file not found
<<< cling interactive line includer >>>: note: imported by module 'Darwin' in '/opt/homebrew/Cellar/root/6.34.08/lib/root/Darwin.pcm'
Failed to load module Darwin
Module std not found.
Failed to load module ROOT_Foundation_C
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 SpectrumPainter
Failed to load module XMLParser
Failed to load module RooFitHS3
Failed to load module SPlot
Failed to load module TreePlayer
Failed to load module Foam
Failed to load module ROOTBrowserv7
Failed to load module ROOTBrowsable
Failed to load module Rint
Failed to load module FFTW
Failed to load module GCocoa
Failed to load module FITSIO
Failed to load module RIO
Failed to load module MathCore
Failed to load module Fumili
Failed to load module FitPanel
Failed to load module RHTTP
Failed to load module Spectrum
Failed to load module ASImageGui
Failed to load module pthread
Failed to load module ROOTHistDraw
Failed to load module Net
Failed to load module Gviz3d
Failed to load module Graf
Failed to load module WebGui6
Failed to load module Eve
Failed to load module GeomPainter
Failed to load module RMySQL
Failed to load module ROOTEve
Failed to load module Cling_Runtime_Extra
Failed to load module Darwin
Failed to load module RDAVIX
Failed to load module HistPainter
Failed to load module Ged
Failed to load module GuiBld
Failed to load module TMVAGui
Failed to load module ROOTWebDisplay
Failed to load module RootAuth
Failed to load module EG
Failed to load module Gui
Failed to load module RooFit
Failed to load module MathMore
Failed to load module Hist
Failed to load module ROOTDataFrame
Failed to load module TreeViewer
Failed to load module Gpad
Failed to load module Physics
Failed to load module RCsg
Failed to load module Minuit2
Failed to load module Thread
Failed to load module Imt
Failed to load module PyMVA
Failed to load module ROOTHist
Failed to load module Graf3d
Failed to load module Quadp
Failed to load module Hbook
Failed to load module Postscript
Failed to load module ROOTGraphicsPrimitives
Failed to load module Genetic
Failed to load module ROOT_Rtypes
Failed to load module RSQLite
Failed to load module HistFactory
Failed to load module RooFitMore
Failed to load module ROOTGeomViewer
Failed to load module ROOT_Foundation_Stage1_NoRTTI
Failed to load module Smatrix
Failed to load module ROOTFitPanelv7
Failed to load module Geom
Failed to load module MultiProc
Failed to load module Minuit
Failed to load module RooStats
Failed to load module TMVAUtils
Failed to load module ROOTGpadv7
Failed to load module GuiHtml
Failed to load module ROOTTPython
Failed to load module MLP
Failed to load module XMLIO
Failed to load module TMVA
Failed to load module RooFitXRooFit
Failed to load module NetxNG
Failed to load module Tree
Failed to load module SQLIO
Failed to load module RHTTPSniff
Failed to load module ROOTNTuple
Failed to load module ROOTTMVASofie
Failed to load module ROOTVecOps
Failed to load module ASImage
Failed to load module RGL
Failed to load module Matrix
Failed to load module RooFitJSONInterface
Failed to load module Recorder
Failed to load module Gdml
Failed to load module ROOT_Foundation_C
Failed to load module ROOTTreeViewer
Failed to load module GenVector
Failed to load module Cling_Runtime
Failed to load module RooFitCore
Failed to load module Core
Failed to load module ROOTNTupleUtil
*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCling.so] ROOT::TMetaUtils::TNormalizedCtxtImpl::keepTypedef(cling::LookupHelper const&, char const*, bool) (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCling.so] ROOT::TMetaUtils::TNormalizedCtxtImpl::TNormalizedCtxtImpl(cling::LookupHelper const&) (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCling.so] ROOT::TMetaUtils::TNormalizedCtxt::TNormalizedCtxt(cling::LookupHelper const&) (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCling.so] TCling::TCling(char const*, char const*, char const* const*, void*) (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCling.so] CreateInterpreter (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCore.so] TROOT::InitInterpreter() (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCore.so] ROOT::Internal::GetROOT2() (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCore.so] TApplication::TApplication(char const*, int*, char**, void*, int) (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libRint.so] TRint::TRint(char const*, int*, char**, void*, int, bool, bool) (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/bin/root.exe] main (no debug info)
[/usr/lib/dyld] start (no debug info)
Model Name: | MacBook Pro |
---|---|
Model Identifier: | MacBookPro17,1 |
Model Number: | Z11C0001XD/A |
Chip: | Apple M1 |
Total Number of Cores: | 8 (4 performance and 4 efficiency) |
Memory: | 16 GB |
System Firmware Version: | 11881.101.1 |
OS Loader Version: | 11881.101.1 |
System Version: | macOS 15.4 (24E248) |
---|---|
Kernel Version: | Darwin 24.4.0 |
Boot Volume: | Macintosh HD |
Boot Mode: | Normal |
Developer Tools:
Version: 16.3 (16E140)
Location: /Applications/Xcode.app
Applications:
Xcode: 16.3 (23785)
Instruments: 16.3 (64570.99)
SDKs:
DriverKit:
24,4:
iOS:
18,4: (22E235)
iOS Simulator:
18,4: (22E235)
macOS:
15,4: (24E241)
tvOS:
18,4: (22L251)
tvOS Simulator:
18,4: (22L251)
visionOS:
2,4: (22O233)
visionOS Simulator:
2,4: (22O233)
watchOS:
11,4: (22T246)
watchOS Simulator:
11,4: (22T246)
_ROOT Version:6.34.08
_Platform:macOS15.4
_Compiler:XCode 16.3