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

Only bash-like shells work on macOS for v6.30 #251

Open
chrisburr opened this issue Jun 29, 2024 · 4 comments
Open

Only bash-like shells work on macOS for v6.30 #251

chrisburr opened this issue Jun 29, 2024 · 4 comments
Assignees

Comments

@chrisburr
Copy link
Member

@vepadulano I just noticed there is a clang patch missing (conda-forge/clangdev-feedstock@027fdaa) which means the conda package only works with bash/zsh on macOS:

$ root
C system headers (glibc/Xcode/Windows SDK) must be installed.
fatal error: module map file 'module.modulemap' not found
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!
Module Darwin not found.
Failed to load module std
<<< cling interactive line includer >>>: fatal error: module file '/tmp/root-feedstock/miniforge3/conda-bld/root_base_1719007212029/work/build-dir/lib/Darwin.pcm' not found: module file not found
<<< cling interactive line includer >>>: note: imported by module '_Builtin_intrinsics' in '/Users/cburr/mambaforge/envs/root-env/lib/_Builtin_intrinsics.pcm'
@vepadulano
Copy link
Contributor

I see, thanks for noticing! This means we need to update both 13.x and 16.x before then updating ROOT 6.30 and 6.32 builds. I'll take care of this.

@vepadulano vepadulano self-assigned this Jul 3, 2024
@vepadulano
Copy link
Contributor

So just to keep track of the status of this effort:

  • The PR for 16.x has been up for a while, after some back-and-forth I believe it is now in a good state and hopefully will be approved and merged soon [16.x] Improve sysroot detection on MacOS clangdev-feedstock#298
  • clangdev 13.x is currently broken upstream, I have put some effort into fixing it (see this PR), but the causes of the current state of things are unclear even to the feedstock maintainers.

@vepadulano
Copy link
Contributor

The PR has been merged for 16.x. For 13.x we probably have no chances to move forward. Even if we understood how to fix the currently broken state, we have seen that updates to the standard library on Mac break cling usage and we cannot pin libc++ to the same version of the OS SDK.

@vepadulano
Copy link
Contributor

@chrisburr Let me know if this can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants