Skip to content
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

Issue with prebuilt binaries for MacOS 15.x #17566

Open
1 task
grasph opened this issue Jan 29, 2025 · 0 comments
Open
1 task

Issue with prebuilt binaries for MacOS 15.x #17566

grasph opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels

Comments

@grasph
Copy link
Contributor

grasph commented Jan 29, 2025

Check duplicate issues.

  • Checked for duplicates

Description

Summary

With root from https://root.cern/download/root_v6.32.06.macos-15.0-arm64-clang160.tar.gz and https://root.cern/download/root_v6.32.08.macos-15.1-arm64-clang160.tar.gz, I get two isues:

  1. libztd.1.dylib is not found out of the box
  2. After fixing 1 by adding a link in $ROOTSYS/lib, DarwinFoundation.pcm is not found

Details of the first issue

Error:

Fatal in <TROOT::InitInterpreter>: cannot load library dlopen(/Users/pgras/root/lib/libCling.so, 0x0005): Library not loaded: /opt/local/lib/libzstd.1.dylib
  Referenced from: <899F4988-A8F7-3529-8A9B-B0EF2C47FED6> /Users/pgras/root/lib/libCling.so
  Reason: tried: '/Users/pgras/root/lib/libzstd.1.dylib' (no such file), '/opt/local/lib/libzstd.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libzstd.1.dylib' (no such file), '/opt/local/lib/libzstd.1.dylib' (no such file)

Found workaround (found with Pere's help):

ln -s /opt/homebrew/Cellar/zstd/1.5.6/lib/libzstd.1.dylib .

Details of the second issue

Error:

input_line_1:1:2: fatal error: module file '/Users/sftnight/ROOT-CI/build/lib/DarwinFoundation.pcm' not found: module file not found
#include <new>
 ^
input_line_1:1:2: note: imported by module 'std' in '/Users/pgras/root/lib/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: ''
<<< cling interactive line includer >>>: fatal error: module file '/Users/sftnight/ROOT-CI/build/lib/DarwinFoundation.pcm' not found: module file not found
<<< cling interactive line includer >>>: note: imported by module 'Darwin' in '/Users/pgras/root/lib/Darwin.pcm'
Failed to load module Darwin
Failed to load module std
[...]
 *** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/Users/pgras/root/lib/libCling.so] clang::Lexer::LexTokenInternal(clang::Token&, bool) (no debug info)
[/Users/pgras/root/lib/libCling.so] clang::Lexer::LexTokenInternal(clang::Token&, bool) (no debug info)
[/Users/pgras/root/lib/libCling.so] clang::Preprocessor::Lex(clang::Token&) (no debug info)
[/Users/pgras/root/lib/libCling.so] clang::Parser::ConsumeAnyToken(bool) (no debug info)
[...]

Environement

Darwin Kernel Version 24.1.0: Thu Oct 10 21:05:14 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8103 arm64
> sw_vers 
ProductName:		macOS
ProductVersion:		15.1
BuildVersion:		24B83

Reproducer

mkdir test; cd test
curl https://root.cern/download/root_v6.32.08.macos-15.1-arm64-clang160.tar.gz  | tar xzf -
source root/bin/thisroot.sh
root
>>>> Error of the First issue

ln -s /opt/homebrew/Cellar/zstd/1.5.6/lib/libzstd.1.dylib . #first path to adapt to system
root
>>> Error of the second issue

ROOT version

6.32.06 and 6.32.08

Installation method

tarball

Operating system

MacOS

Additional context

cc: @peremato @dpiparo

@grasph grasph added the bug label Jan 29, 2025
@dpiparo dpiparo self-assigned this Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants