New TBrowser doesn't worked now for macos

Maybe last question - did you build ROOT master from scratch?
Can it be that in your build directory older openui5 sources are stored?

built from master,
ui5/browser/manifest.json file below

{
	"_version": "6.33.01",
	"sap.app": {
		"id": "rootui5.browser",
		"type": "application"
	},

	"sap.ui5": {
		"rootView": {
			"viewName": "rootui5.browser.view.Browser",
			"type": "XML",
			"async": true,
			"id": "Browser"
		},
		"dependencies": {
			"minUI5Version": "1.98.0",
			"libs": {
				"sap.ui.layout": {},
				"sap.ui.core": {},
				"sap.m": {},
				"sap.ui.table": {}
			}
		},
		"contentDensities": {
			"compact": true,
			"cozy": true
		},
		"config": {
			"sample": {
				"files": [
					"view.contextmenu.fragment.xml"
				]
			}
		},
		"routing": {
			"config": {
				"routerClass": "sap.m.routing.Router",
				"viewType": "XML",
				"async": true,
				"viewPath": "rootui5.browser.view",
				"controlAggregation": "pages",
				"controlId": "idAppControl",
				"clearControlAggregation": false
			},
			"routes": [{
				"name": "RouteMain",
				"pattern": "RouteMain",
				"target": ["TargetMain"]
			}],
			"targets": {
				"TargetMain": {
					"viewType": "XML",
					"transition": "slide",
					"clearControlAggregation": false,
					"viewName": "Browser"
				}
			}
		}
	}
}

by the way, does the lastest ROOT still support TBrowser old mode cocoa maybe?

root --web=off

Yes, you always can use --web=off to activate old graphics or TBrowser

with --web=off cause core dump on my macos, see the top

*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/Users/chenxu/software/ROOT/install/lib/libASImage.so] TASImage::GetPixmap

I’m not sure if it’s cause by 3rd libraries

May be you require some extra libs - see other topics like Issue with root on Mac Sequoia (still?) - #7 by Angela

same issue thanks

ROOT Version: 6.35.99/6.36.00-rc1
Platform: MacOS 15.4.1
Compiler: clang 17.0.0


I downloaded the precompiled binary (because when compiling myself I always run into an error around 70% into the installation).

I have the exact same issue when trying to use the old TBrowser.

Part of the error output I get:

/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] PNGReadPlugin::InitializePluginData(IIOImageReadSession*, IIODictionary*, IIODictionary*, CGImageMetadata*, CGColorSpace**, ReadPluginData&, PNGPluginData&, __CFDictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOReadPlugin::callInitialize() (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIO_Reader::initImageAtOffset(CGImagePlugin*, unsigned long, unsigned long, unsigned long) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::makeImagePlus(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::getPropertiesAtIndexInternal(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] IIOImageSource::copyPropertiesAtIndex(unsigned long, IIODictionary*) (no debug info)
[/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO] CGImageSourceCopyPropertiesAtIndex (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] ImageSourceOptionsForCGImageSource_index_ (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSBitmapImageRep _imagesWithData:hfsFileType:extension:zone:expandImageContentNow:includeAllReps:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSBitmapImageRep _imageRepsWithData:hfsFileType:extension:expandImageContentNow:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] +[NSImageRep _imageRepsWithContentsOfURL:expandImageContentNow:giveUpOnNetworkURLsWithoutGoodExtensions:] (no debug info)
[/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit] -[NSImage initWithContentsOfURL:] (no debug info)

I have already tried installing any possible missing graphics-related packages via homebrow and I explicitly add the homebrew library path to both my LD and DYLD paths.

the problem was cause by different giflib, see the url provide by linev before

It is Mac and Oliver @couet has better knowledge about it.

But looks like problem with libpng.
Is it installed and really used for ROOT compilation?

Indeed, I already installed that library but the problem keeps persisting.

I am using the precompiled binary, I am not sure if I have such an option

It could be that the png libray used to build ROOT is not compatible with the one you have on your machine. When I build ROOt on my mac TBrowser is working fime. Which error do you get at 70% when you try to install ROOT ?

This is the error output I get:

While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:358:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:2918:
/opt/local/include/unctrl.h:61:54: error: conflicting types for 'unctrl'
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
                                                     ^
/opt/local/include/unctrl.h:58:38: note: previous declaration is here
NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype);
                                     ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:362:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/form.h:39:
/opt/local/include/curses.h:684:45: error: functions that differ only in their return type cannot be overloaded
extern NCURSES_EXPORT(NCURSES_CONST char *) keyname (int);              /* implemented */
                                    ~~~~~~  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:719:45: note: previous declaration is here
extern NCURSES_EXPORT(NCURSES_CONST char *) keyname (int);              /* implemented */
                                    ~~~~~~  ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:362:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/form.h:39:
/opt/local/include/curses.h:714:28: error: conflicting types for 'mvscanw'
extern NCURSES_EXPORT(int) mvscanw (int,int, const char *,...)          /* implemented */
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:749:28: note: previous declaration is here
extern NCURSES_EXPORT(int) mvscanw (int,int, NCURSES_CONST char *,...)  /* implemented */
                           ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:362:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/form.h:39:
/opt/local/include/curses.h:739:28: error: conflicting types for 'mvwscanw'
extern NCURSES_EXPORT(int) mvwscanw (WINDOW *,int,int, const char *,...)        /* implemented */
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:774:28: note: previous declaration is here
extern NCURSES_EXPORT(int) mvwscanw (WINDOW *,int,int, NCURSES_CONST char *,...)        /* implemented */
                           ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:362:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/form.h:39:
/opt/local/include/curses.h:744:33: error: conflicting types for 'newterm'
extern NCURSES_EXPORT(SCREEN *) newterm (const char *,FILE *,FILE *);   /* implemented */
                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:779:33: note: previous declaration is here
extern NCURSES_EXPORT(SCREEN *) newterm (NCURSES_CONST char *,FILE *,FILE *);   /* implemented */
                                ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:362:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/form.h:39:
/opt/local/include/curses.h:773:28: error: conflicting types for 'scanw'
extern NCURSES_EXPORT(int) scanw (const char *,...)                     /* implemented */
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:808:28: note: previous declaration is here
extern NCURSES_EXPORT(int) scanw (NCURSES_CONST char *,...)             /* implemented */
                           ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:362:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/form.h:39:
/opt/local/include/curses.h:823:28: error: conflicting types for 'vwscanw'
extern NCURSES_EXPORT(int) vwscanw (WINDOW *, const char *, va_list) GCC_DEPRECATED(use vw_scanw)       /* implemented */
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:862:28: note: previous declaration is here
extern NCURSES_EXPORT(int) vwscanw (WINDOW *, NCURSES_CONST char *,va_list)     /* implemented */
                           ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:362:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/form.h:39:
/opt/local/include/curses.h:825:28: error: conflicting types for 'vw_scanw'
extern NCURSES_EXPORT(int) vw_scanw (WINDOW *, const char *, va_list)   /* implemented */
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:864:28: note: previous declaration is here
extern NCURSES_EXPORT(int) vw_scanw (WINDOW *, NCURSES_CONST char *,va_list)    /* generated */
                           ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:362:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/form.h:39:
/opt/local/include/curses.h:872:28: error: conflicting types for 'wscanw'
extern NCURSES_EXPORT(int) wscanw (WINDOW *, const char *,...)          /* implemented */
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:919:28: note: previous declaration is here
extern NCURSES_EXPORT(int) wscanw (WINDOW *, NCURSES_CONST char *,...)  /* implemented */
                           ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:362:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/form.h:39:
/opt/local/include/curses.h:887:28: error: conflicting types for 'tigetflag'
extern NCURSES_EXPORT(int) tigetflag (const char *);                    /* implemented */
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:939:28: note: previous declaration is here
extern NCURSES_EXPORT(int) tigetflag (NCURSES_CONST char *);            /* implemented */
                           ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:362:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/form.h:39:
/opt/local/include/curses.h:888:28: error: conflicting types for 'tigetnum'
extern NCURSES_EXPORT(int) tigetnum (const char *);                     /* implemented */
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:940:28: note: previous declaration is here
extern NCURSES_EXPORT(int) tigetnum (NCURSES_CONST char *);             /* implemented */
                           ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:362:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/form.h:39:
/opt/local/include/curses.h:889:31: error: conflicting types for 'tigetstr'
extern NCURSES_EXPORT(char *) tigetstr (const char *);                  /* implemented */
                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:941:31: note: previous declaration is here
extern NCURSES_EXPORT(char *) tigetstr (NCURSES_CONST char *);          /* implemented */
                              ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:362:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/form.h:39:
/opt/local/include/curses.h:893:31: error: conflicting types for 'tparm'
extern NCURSES_EXPORT(char *) tparm (const char *, ...);                /* special */
                              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:945:31: note: previous declaration is here
extern NCURSES_EXPORT(char *) tparm (NCURSES_CONST char *, ...);        /* special */
                              ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:362:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/form.h:39:
/opt/local/include/curses.h:2017:32: error: functions that differ only in their return type cannot be overloaded
extern NCURSES_EXPORT(mmask_t) mousemask (mmask_t, mmask_t *);
                      ~~~~~~~  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:2836:32: note: previous declaration is here
extern NCURSES_EXPORT(mmask_t) mousemask (mmask_t, mmask_t *);
                      ~~~~~~~  ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:362:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/form.h:39:
In file included from /opt/local/include/curses.h:2096:
/opt/local/include/unctrl.h:58:38: error: functions that differ only in their return type cannot be overloaded
NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype);
                             ~~~~~~  ^
/opt/local/include/unctrl.h:58:38: note: previous declaration is here
NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype);
                             ~~~~~~  ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:363:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/menu.h:42:
/opt/local/include/curses.h:684:45: error: functions that differ only in their return type cannot be overloaded
extern NCURSES_EXPORT(NCURSES_CONST char *) keyname (int);              /* implemented */
                                    ~~~~~~  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:719:45: note: previous declaration is here
extern NCURSES_EXPORT(NCURSES_CONST char *) keyname (int);              /* implemented */
                                    ~~~~~~  ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:363:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/menu.h:42:
/opt/local/include/curses.h:714:28: error: conflicting types for 'mvscanw'
extern NCURSES_EXPORT(int) mvscanw (int,int, const char *,...)          /* implemented */
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:749:28: note: previous declaration is here
extern NCURSES_EXPORT(int) mvscanw (int,int, NCURSES_CONST char *,...)  /* implemented */
                           ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:363:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/menu.h:42:
/opt/local/include/curses.h:739:28: error: conflicting types for 'mvwscanw'
extern NCURSES_EXPORT(int) mvwscanw (WINDOW *,int,int, const char *,...)        /* implemented */
                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:774:28: note: previous declaration is here
extern NCURSES_EXPORT(int) mvwscanw (WINDOW *,int,int, NCURSES_CONST char *,...)        /* implemented */
                           ^
While building module 'Core':
While building module 'Darwin' imported from /Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:
In file included from <module-includes>:363:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/menu.h:42:
/opt/local/include/curses.h:744:33: error: conflicting types for 'newterm'
extern NCURSES_EXPORT(SCREEN *) newterm (const char *,FILE *,FILE *);   /* implemented */
                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/curses.h:779:33: note: previous declaration is here
extern NCURSES_EXPORT(SCREEN *) newterm (NCURSES_CONST char *,FILE *,FILE *);   /* implemented */
                                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from input_line_7:75:
In file included from /Users/user/opt/root-6.36.00-rc1-build/include/TRedirectOutputGuard.h:34:
/Users/user/opt/root-6.36.00-rc1-build/include/TSystem.h:27:10: fatal error: could not build module 'Darwin'
#include <fcntl.h>
 ~~~~~~~~^
Error: /Users/user/opt/root-6.36.00-rc1-build/core/rootcling_stage1/src/rootcling_stage1: compilation failure (/Users/user/opt/root-6.36.00-rc1-build/lib/libCoreb76d2eea27_dictUmbrella.h)
make[2]: *** [core/G__Core.cxx] Error 1
make[1]: *** [core/CMakeFiles/G__Core.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Sorry, perhaps for completeness the build log might be useful too. I checked myself if there were any of the aformenetioned libraries not found but seems like they are. But perhaps I missed something.

Command:

cmake -Dbuiltin_glew=ON -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON -DCMAKE_INSTALL_PREFIX=../root-6.36.00-rc1-install ../root-6.36.00-rc1-src 

Output:

-- The C compiler identification is AppleClang 17.0.0.17000013
-- The CXX compiler identification is AppleClang 17.0.0.17000013
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /opt/local/bin/git (found version "2.36.1") 
-- Building ROOT version 6.35.99
-- Looking for a CUDA compiler
-- Looking for a CUDA compiler - NOTFOUND
-- The default C++ standard in use by the detected compiler (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++) is lower than C++17. Setting C++17 as the minimum standard.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found a macOS system
-- Using SDK path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk
-- Found an AArch64 system
-- Performing Test GLIBCXX_USE_CXX11_ABI
-- Performing Test GLIBCXX_USE_CXX11_ABI - Failed
-- ROOT default compression algorithm: zlib
-- Checking internet connectivity
-- Checking internet connectivity - found
-- Looking for ZLib
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/lib/libz.tbd (found version "1.2.12") 
-- Looking for nlohmann/json.hpp
-- Found nlohmann/json.hpp in /opt/homebrew/include;/opt/homebrew/include (found version 3.11.3)
-- Building freetype version 2.12.1 included in ROOT itself
-- Looking for PCRE
-- Found PCRE2: /opt/local/include (found version "10.40") 
-- Looking for LZMA
-- Looking for lzma_auto_decoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_auto_decoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_easy_encoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_easy_encoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_lzma_preset in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_lzma_preset in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/lib/liblzma.tbd - found
-- Found LibLZMA: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/lib/liblzma.tbd (found version "5.8.1") 
-- Looking for xxHash
-- Found xxHash: /opt/local/lib/libxxhash.dylib (found suitable version "0.8.1", minimum required is "0.8") 
-- Looking for ZSTD
-- Found ZSTD: /opt/homebrew/lib/libzstd.dylib  
-- Looking for LZ4
-- Found LZ4: /opt/homebrew/lib/liblz4.dylib (found version "1.10.0") 
-- Found GIF: /opt/homebrew/lib/libgif.dylib (found version "5.2.2") 
-- Found PNG: /opt/homebrew/lib/libpng.dylib (found version "1.6.48") 
-- Found JPEG: /opt/homebrew/lib/libjpeg.dylib (found version "80") 
-- Found TIFF: /opt/homebrew/lib/libtiff.dylib (found version "4.7.0")  
-- Looking for GSL
-- Found PkgConfig: /opt/local/bin/pkg-config (found version "0.29.2") 
-- Found GSL: /opt/local/include (found suitable version "2.7.1", minimum required is "1.10") 
-- Looking for Python
-- Found Python3: /opt/local/bin/python3.10 (found suitable version "3.10.5", minimum required is "3.8") found components: Interpreter Development NumPy Development.Module Development.Embed 
-- Looking for OpenGL
-- Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/OpenGL.framework   
-- Looking for gl2ps
-- Found gl2ps: /opt/local/lib/libgl2ps.dylib  
-- Looking for LibXml2
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found version "2.9.14") 
-- Found OpenSSL: /opt/local/libexec/openssl3/lib/libcrypto.dylib (found version "3.0.3") found components: SSL 
-- Looking for SQLite
-- Found Sqlite: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include  
-- Looking for CFITSIO
-- Could NOT find CFITSIO (missing: CFITSIO_LIBRARY CFITSIO_INCLUDE_DIR) 
-- CFITSIO not found. You can enable the option 'builtin_cfitsio' to build the library internally
--                    For the time being switching off 'fitsio' option
-- Looking for XROOTD
-- Could NOT find FTGL (missing: FTGL_INCLUDE_DIR FTGL_LIBRARY) 
-- ftgl library not found. Set variable FTGL_ROOT_DIR to point to your installation
-- For the time being switching ON 'builtin_ftgl' option
-- Checking for module 'davix>=0.6.4'
--   Found davix, version 0.8.2
-- Looking for TBB
-- Found TBB: /opt/local (found suitable version "2020.3", minimum required is "2020")  
-- Performing Test tbb_exception_result
-- Performing Test tbb_exception_result - Success
-- Looking for VDT
-- Found Vdt: /opt/local/include (found suitable version "0.4", minimum required is "0.4") 
-- Looking for BLAS for optional parts of TMVA
-- Using GSL CBLAS for optional parts of TMVA
-- PyROOT: development package found. Building for version 3.10.5
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Building LLVM in 'Release' mode.
-- Building Cling as part of ROOT
-- Cling version (from VERSION file): ROOT_1.3~dev
CMake Warning at interpreter/cling/lib/Interpreter/CMakeLists.txt:286 (MESSAGE):
  Cannot determine location of C++ headers for runtime.


-- Cling will look for C++ headers in '' at runtime.
-- And if not found, will invoke: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk' for them.
-- Building with -fPIC
-- Performing Test CXX_HAS_fno_rtti
-- Performing Test CXX_HAS_fno_rtti - Success
-- Found xxHash: /opt/local/lib/libxxhash.dylib (found version "0.8.1") 
-- Performing Test found_arc4
-- Performing Test found_arc4 - Success
-- Found arc4random_buf in stdlib.h
-- Performing Test C_HAS_Wno_strict_overflow
-- Performing Test C_HAS_Wno_strict_overflow - Success
-- Performing Test C_HAS_Wno_maybe_uninitialized
-- Performing Test C_HAS_Wno_maybe_uninitialized - Failed
-- Performing Test C_HAS_Wno_parentheses_equality
-- Performing Test C_HAS_Wno_parentheses_equality - Success
-- Looking for m
-- Looking for m - not found
-- Use SSL API VERSION 3.0 for civetweb
-- Performing Test GCC_HAS_BIDI_CHARS_FLAG
-- Performing Test GCC_HAS_BIDI_CHARS_FLAG - Failed
-- Distributed RDataFrame enabled
-- Found Chrome browser executable /Applications/Google Chrome.app/Contents/MacOS/Google Chrome major version 135
-- Found Firefox browser executable /Applications/firefox.app/Contents/MacOS/firefox
-- Performing Test found_setresuid
-- Performing Test found_setresuid - Failed
-- Performing Test found_attribute_always_inline
-- Performing Test found_attribute_always_inline - Success
-- Performing Test has_found_attribute_noinline
-- Performing Test has_found_attribute_noinline - Success
-- Performing Test found_hardware_interference_size
-- Performing Test found_hardware_interference_size - Failed
Running /Users/user/root-6.36.00-rc1-src/cmake/unix/compiledata.sh
Making /Users/user/root-6.36.00-rc1-build/ginclude/compiledata.h
-- ROOT Configuration 

System:            Darwin-24.4.0
ROOT Platform:     macosx
ROOT Architecture: macosxarm64
Processor:         8 core Apple M1 (arm64)
Build type:        Release
Install path:      /Users/user/root-6.36.00-rc1-install
Compiler:          AppleClang 17.0.0.17000013
C++ standard:      20
Compiler flags:
-- 
 - C:                          -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread
 - C (build type specific):   -O3 -DNDEBUG
 - C++:                        -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++
 - C++ (build type specific): -O3 -DNDEBUG
-- Linker flags:
 - Executable:     
 - Module:         
 - Shared:         

-- Enabled support for:  asimage asimage_tiff builtin_clang builtin_cling builtin_freetype builtin_ftgl builtin_glew builtin_llvm builtin_openui5 clad cocoa dataframe davix gdml geom http imt libcxx opengl pyroot roofit root7 rpath runtime_cxxmodules shared spectrum sqlite ssl tmva tmva-cpu tmva-cudnn tmva-pymva tpython use_gsl_cblas vdt webgui xml xrootd
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/user/root-6.36.00-rc1-build

Which version of MacOS do you have ?

Which version of the CLT ? you get it with:
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables

Usually I do something as simple as:

$ git clone https://github.com/root-project/root.git
$ mkdir build
$ cd build
$ cmake ../root
$ make -j8

I have MacOS version Sequoia 15.4.1

My CLT version is 16.3.0.0.1.1742442376

I obtained the source from Release 63600 Rc1 - ROOT, then unpacked, created a build and install folder, went into build folder and executed the cmake command.

The problem looks similar to the one you encountered here: Error when building root 6.26/06 on MacOS Monterey 12.5 - #10 by pcanal. Isn’t it ?

Yes, it does seem quite similar, I had almost forgotten about this sorry. Indeed, after some time, the issue just disappeared by itself and for many macOS updates, I did not encounter any issues like that anymore, until now. But I do not think I actually found a working solution back then. I remember renaming the /opt/local/include folder did not solve my issue. Indeed, when I try now again, i have still modules trying to look for that path, so I do not even make it past the build stage. Is there perhaps a way to tell ROOT not to look into that particular path?

@pcanal proposed you a solutiom in that thread . Is it still working ?