Skip to content

macos sequoia 15.4 homebrew - Failed to Open ROOT after today's update #18213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
yansonhuang opened this issue Apr 1, 2025 · 5 comments · Fixed by #18231 · May be fixed by #18235
Closed
1 task done

macos sequoia 15.4 homebrew - Failed to Open ROOT after today's update #18213

yansonhuang opened this issue Apr 1, 2025 · 5 comments · Fixed by #18231 · May be fixed by #18235
Labels

Comments

@yansonhuang
Copy link

Check duplicate issues.

  • Checked for duplicates

Description

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
Failed to load module std
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 std
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

Reproducer

brew install root
root

ROOT version

newest 6.34.06

Installation method

homebrew

Operating system

MacOS sequoia 15.4

Additional context

Xcode also updated to the latest 16.3 version

@yansonhuang yansonhuang added the bug label Apr 1, 2025
@dpiparo
Copy link
Member

dpiparo commented Apr 1, 2025

Thanks for filing this report.
I am sorry ROOT via Homebrew did not work out of the box for you. We are very grateful for the work done to package and distribute ROOT by Homebrew (and others!), but, unfortunately, we do not maintain the Homebew distribution of ROOT.
I would suggest you check the settings of your machine against what Homebrew expects, to then, if needed, file to Homebrew a ticket (knowing that they are quite good at providing the right binaries, since years).

@dpiparo dpiparo closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2025
Copy link

github-actions bot commented Apr 2, 2025

Hi @dpiparo,

It appears this issue is closed, but wasn't yet added to a project. Please add upcoming versions that will include the fix, or 'not applicable' otherwise.

Sincerely,
🤖

@dpiparo dpiparo reopened this Apr 2, 2025
@dpiparo
Copy link
Member

dpiparo commented Apr 2, 2025

Reopened after having a closer look: we are investigating.

@ferdymercury ferdymercury changed the title Failed to Open ROOT after today's update macos sequoia 15.4 homebrew - Failed to Open ROOT after today's update Apr 2, 2025
@ferdymercury
Copy link
Collaborator

ferdymercury commented Apr 2, 2025

Might be related to #17566

Copy link

github-actions bot commented Apr 4, 2025

Hi @devajithvs,

It appears this issue is closed, but wasn't yet added to a project. Please add upcoming versions that will include the fix, or 'not applicable' otherwise.

Sincerely,
🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: No status
3 participants