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

Program "root" (from CERN) not installed correctly #165757

Closed
4 tasks done
ewanhilll opened this issue Mar 11, 2024 · 8 comments · Fixed by #165979
Closed
4 tasks done

Program "root" (from CERN) not installed correctly #165757

ewanhilll opened this issue Mar 11, 2024 · 8 comments · Fixed by #165979
Labels
bug Reproducible Homebrew/homebrew-core bug outdated PR was locked due to age upstream issue An upstream issue report is needed

Comments

@ewanhilll
Copy link

ewanhilll commented Mar 11, 2024

brew gist-logs <formula> link OR brew config AND brew doctor output

brew config
HOMEBREW_VERSION: 4.2.11
ORIGIN: https://github.com/Homebrew/brew
HEAD: d7d4c8266210c024b93a450a7d357cec0b46a1bb
Last commit: 7 days ago
Core tap JSON: 11 Mar 15:00 UTC
Core cask tap JSON: 11 Mar 15:00 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.47vLsxtwEv/org.xquartz:0
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.39.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.3.1-arm64
CLT: 15.1.0.0.1.1700200546
Xcode: 15.3
Rosetta 2: false
brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  openssl@1.1

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  pygments
  pycparser
  python-dateutil
  ipython
  html2text
  cffi
  fonttools
  pillow
  pyyaml
  mkdocs
  six
  scipy

Warning: Homebrew's "sbin" was not found in your PATH but you have installed
formulae that put executables in /opt/homebrew/sbin.
Consider setting your PATH for example like so:
  echo 'export PATH="/opt/homebrew/sbin:$PATH"' >> /Users/ewanhill/.bash_profile

Notes:

  • .bash_profile already contains that line of code. Not sure why I get that complaint still
  • I think all those unlinked "programs" or just python packages
  • I tried uninstalling openssl@1.1 since I also have a newer version but supposedly one of my other programs requires the older version of openssl.

Verification

  • My "brew doctor output" says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.
  • I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?

I am just trying to run the program "root". The program now entirely crashes when I try to run it. It may or may not be related to python@3.12 since I first noticed the issues when python@3.12's pip started clashing with homebrew when it comes to managing python packages. But at that time, root would still work. It worked a few days-weeks ago.

I get the following error when I try to run root

$ root
input_line_1:1:10: remark: building module 'std_new' as '/opt/homebrew/Cellar/root/6.30.04/lib/root/std_new.pcm' [-Rmodule-build]
#include <new>
         ^
While building module 'std_new' imported from input_line_1:1:
While building module 'std_private_type_traits_alignment_of' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/new:93:
While building module 'std_cstddef' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/alignment_of.h:14:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/cstddef:43:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/stddef.h:46:6: fatal error: module file '/tmp/root-20240223-11390-m0yomb/root-6.30.04/builddir/lib/std_config.pcm' not found: module file not found
#    include_next <stddef.h>
     ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/stddef.h:46:6: note: imported by module 'Darwin' in '/opt/homebrew/Cellar/root/6.30.04/lib/root/Darwin.pcm'
While building module 'std_new' imported from input_line_1:1:
While building module 'std_private_type_traits_alignment_of' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/new:93:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/alignment_of.h:14:10: fatal error: could not build module 'std_cstddef'
#include <cstddef>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/new:93:10: fatal error: could not build module 'std_private_type_traits_alignment_of'
#include <__type_traits/alignment_of.h>
 ~~~~~~~~^
While building module 'std_new' imported from input_line_1:1:
While building module 'std_cstdlib' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/new:99:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/cstdlib:87:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/stdlib.h:94:6: fatal error: module file '/opt/homebrew/Cellar/root/6.30.04/lib/root/Darwin.pcm' is out of date and needs to be rebuilt
#    include_next <stdlib.h>
     ^
While building module 'std_new' imported from input_line_1:1:
While building module 'std_exception' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/new:399:
While building module 'std_private_exception_exception_ptr' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/exception:82:
While building module 'std_private_exception_operations' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__exception/exception_ptr.h:13:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__exception/operations.h:14:10: fatal error: could not build module 'std_cstddef'
#include <cstddef>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__exception/exception_ptr.h:13:10: fatal error: could not build module 'std_private_exception_operations'
#include <__exception/operations.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/exception:82:10: fatal error: could not build module 'std_private_exception_exception_ptr'
#include <__exception/exception_ptr.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__exception/nested_exception.h:13:10: fatal error: could not build module 'std_private_exception_exception_ptr'
#include <__exception/exception_ptr.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/remove_reference.h:13:10: fatal error: could not build module 'std_cstddef'
#include <cstddef>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/add_pointer.h:17:10: fatal error: could not build module 'std_private_type_traits_remove_reference'
#include <__type_traits/remove_reference.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/decay.h:13:10: fatal error: could not build module 'std_private_type_traits_add_pointer'
#include <__type_traits/add_pointer.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_array.h:14:10: fatal error: could not build module 'std_cstddef'
#include <cstddef>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/remove_extent.h:13:10: fatal error: could not build module 'std_cstddef'
#include <cstddef>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_convertible.h:14:10: fatal error: could not build module 'std_private_type_traits_is_array'
#include <__type_traits/is_array.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__utility/forward.h:15:10: fatal error: could not build module 'std_private_type_traits_remove_reference'
#include <__type_traits/remove_reference.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/type_traits:425:10: fatal error: could not build module 'std_private_type_traits_add_pointer'
#include <__type_traits/add_pointer.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/type_list.h:13:10: fatal error: could not build module 'std_cstddef'
#include <cstddef>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/aligned_storage.h:16:10: fatal error: could not build module 'std_private_type_traits_type_list'
#include <__type_traits/type_list.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/aligned_union.h:13:10: fatal error: could not build module 'std_private_type_traits_aligned_storage'
#include <__type_traits/aligned_storage.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/apply_cv.h:15:10: fatal error: could not build module 'std_private_type_traits_remove_reference'
#include <__type_traits/remove_reference.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/remove_const_ref.h:14:10: fatal error: could not build module 'std_private_type_traits_remove_reference'
#include <__type_traits/remove_reference.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/can_extract_key.h:18:10: fatal error: could not build module 'std_private_type_traits_remove_const_ref'
#include <__type_traits/remove_const_ref.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/common_type.h:14:10: fatal error: could not build module 'std_private_type_traits_decay'
#include <__type_traits/decay.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/remove_cvref.h:15:10: fatal error: could not build module 'std_private_type_traits_remove_reference'
#include <__type_traits/remove_reference.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/common_reference.h:13:10: fatal error: could not build module 'std_private_type_traits_common_type'
#include <__type_traits/common_type.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/extent.h:14:10: fatal error: could not build module 'std_cstddef'
#include <cstddef>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/remove_all_extents.h:13:10: fatal error: could not build module 'std_cstddef'
#include <cstddef>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/has_unique_object_representation.h:14:10: fatal error: could not build module 'std_private_type_traits_remove_all_extents'
#include <__type_traits/remove_all_extents.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/invoke.h:15:10: fatal error: could not build module 'std_private_type_traits_apply_cv'
#include <__type_traits/apply_cv.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_member_function_pointer.h:16:10: fatal error: could not build module 'std_cstddef'
#include <cstddef>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_bounded_array.h:14:10: fatal error: could not build module 'std_cstddef'
#include <cstddef>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_null_pointer.h:15:10: fatal error: could not build module 'std_cstddef'
#include <cstddef>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_fundamental.h:14:10: fatal error: could not build module 'std_private_type_traits_is_null_pointer'
#include <__type_traits/is_null_pointer.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_compound.h:14:10: fatal error: could not build module 'std_private_type_traits_is_fundamental'
#include <__type_traits/is_fundamental.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_destructible.h:16:10: fatal error: could not build module 'std_private_type_traits_remove_all_extents'
#include <__type_traits/remove_all_extents.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_member_pointer.h:14:10: fatal error: could not build module 'std_private_type_traits_is_member_function_pointer'
#include <__type_traits/is_member_function_pointer.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_nothrow_constructible.h:17:10: fatal error: could not build module 'std_cstddef'
#include <cstddef>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_nothrow_convertible.h:16:10: fatal error: could not build module 'std_private_type_traits_is_convertible'
#include <__type_traits/is_convertible.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_nothrow_copy_constructible.h:16:10: fatal error: could not build module 'std_private_type_traits_is_nothrow_constructible'
#include <__type_traits/is_nothrow_constructible.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_nothrow_destructible.h:14:10: fatal error: could not build module 'std_private_type_traits_is_destructible'
#include <__type_traits/is_destructible.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_scalar.h:16:10: fatal error: could not build module 'std_private_type_traits_is_member_pointer'
#include <__type_traits/is_member_pointer.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_nothrow_move_constructible.h:15:10: fatal error: could not build module 'std_private_type_traits_is_nothrow_constructible'
#include <__type_traits/is_nothrow_constructible.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_object.h:14:10: fatal error: could not build module 'std_private_type_traits_is_array'
#include <__type_traits/is_array.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_scoped_enum.h:14:10: fatal error: could not build module 'std_private_type_traits_is_convertible'
#include <__type_traits/is_convertible.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_swappable.h:19:10: fatal error: could not build module 'std_private_type_traits_is_nothrow_move_constructible'
#include <__type_traits/is_nothrow_move_constructible.h>
 ~~~~~~~~^
While building module 'std_new' imported from input_line_1:1:
While building module 'std_exception' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/new:399:
While building module 'std_type_traits' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/exception:94:
While building module 'std_private_type_traits_is_trivially_copyable' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/type_traits:508:
While building module 'std_cstdint' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:14:
While building module 'std_stdint_h' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/stdint.h:124:
In file included from <module-includes>:1:
In file included from /opt/homebrew/Cellar/root/6.30.04/etc/root/cling/lib/clang/13.0.0/include/stdint.h:52:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h:18:2: fatal error: module file '/opt/homebrew/Cellar/root/6.30.04/lib/root/Darwin.pcm' is out of date and needs to be rebuilt
#include <sys/_types/_int8_t.h>
 ^
While building module 'std_new' imported from input_line_1:1:
While building module 'std_exception' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/new:399:
While building module 'std_type_traits' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/exception:94:
While building module 'std_private_type_traits_is_trivially_copyable' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/type_traits:508:
While building module 'std_cstdint' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:14:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/cstdint:146:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/stdint.h:124:17: fatal error: could not build module 'std_stdint_h'
#  include_next <stdint.h>
   ~~~~~~~~~~~~~^
While building module 'std_new' imported from input_line_1:1:
While building module 'std_exception' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/new:399:
While building module 'std_type_traits' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/exception:94:
While building module 'std_private_type_traits_is_trivially_copyable' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/type_traits:508:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_trivially_copyable.h:14:10: fatal error: could not build module 'std_cstdint'
#include <cstdint>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/is_trivially_destructible.h:14:10: fatal error: could not build module 'std_private_type_traits_is_destructible'
#include <__type_traits/is_destructible.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/make_const_lvalue_ref.h:13:10: fatal error: could not build module 'std_private_type_traits_remove_reference'
#include <__type_traits/remove_reference.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/make_signed.h:13:10: fatal error: could not build module 'std_private_type_traits_apply_cv'
#include <__type_traits/apply_cv.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/make_unsigned.h:13:10: fatal error: could not build module 'std_private_type_traits_apply_cv'
#include <__type_traits/apply_cv.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/rank.h:14:10: fatal error: could not build module 'std_cstddef'
#include <cstddef>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__functional/invoke.h:14:10: fatal error: could not build module 'std_private_type_traits_invoke'
#include <__type_traits/invoke.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/result_of.h:13:10: fatal error: could not build module 'std_private_functional_invoke'
#include <__functional/invoke.h>
 ~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk/usr/include/c++/v1/__type_traits/unwrap_ref.h:13:10: fatal error: could not build module 'std_private_type_traits_decay'
#include <__type_traits/decay.h>
 ~~~~~~~~^
input_line_1:1:10: remark: finished building module 'std_new' [-Rmodule-build]
#include <new>
         ^
input_line_1:1:10: fatal error: could not build module 'std_new'
#include <new>
 ~~~~~~~~^
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!
<<< cling interactive line includer >>>: fatal error: module file '/opt/homebrew/Cellar/root/6.30.04/lib/root/Darwin.pcm' is out of date and needs to be rebuilt
Failed to load module Darwin
Failed to load module std
Failed to load module _Builtin_intrinsics
Failed to load module ROOT_Foundation_C
Failed to load module ROOT_Config
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 RHTTPSniff
Failed to load module RMySQL
Failed to load module Matrix
Failed to load module Gpad
Failed to load module GCocoa
Failed to load module Hbook
Failed to load module ROOT_Config
Failed to load module Recorder
Failed to load module std
Failed to load module ProofPlayer
Failed to load module NetxNG
Failed to load module ROOTNTupleUtil
Failed to load module Graf
Failed to load module Cling_Runtime_Extra
Failed to load module SessionViewer
Failed to load module ProofDraw
Failed to load module EG
Failed to load module HistFactory
Failed to load module Hist
Failed to load module Fumili
Failed to load module Net
Failed to load module RooFit
Failed to load module MultiProc
Failed to load module SQLIO
Failed to load module TMVAUtils
Failed to load module RooFitXRooFit
Failed to load module RooFitHS3
Failed to load module MLP
Failed to load module ROOTTreeViewer
Failed to load module Gviz3d
Failed to load module RDAVIX
Failed to load module Tree
Failed to load module GeomBuilder
Failed to load module SPlot
Failed to load module Proof
Failed to load module GuiBld
Failed to load module XMLIO
Failed to load module MathMore
Failed to load module TMVA
Failed to load module ROOTFitPanelv7
Failed to load module Quadp
Failed to load module ROOTNTuple
Failed to load module ROOT_Foundation_Stage1_NoRTTI
Failed to load module TreeViewer
Failed to load module Spectrum
Failed to load module _Builtin_intrinsics
Failed to load module RooFitMore
Failed to load module Geom
Failed to load module ROOTGpadv7
Failed to load module RCsg
Failed to load module Ged
Failed to load module FITSIO
Failed to load module ROOTBrowserv7
Failed to load module ROOTGraphicsPrimitives
Failed to load module FitPanel
Failed to load module ROOTEve
Failed to load module Cling_Runtime
Failed to load module Rint
Failed to load module Core
Failed to load module WebGui6
Failed to load module ROOTTPython
Failed to load module ROOTGeomViewer
Failed to load module ROOTHist
Failed to load module Imt
Failed to load module PyMVA
Failed to load module HistPainter
Failed to load module ROOTBrowsable
Failed to load module RHTTP
Failed to load module GeomPainter
Failed to load module Eve
Failed to load module Postscript
Failed to load module TMVAGui
Failed to load module RooFitRDataFrameHelpers
Failed to load module Gui
Failed to load module ASImage
Failed to load module RSQLite
Failed to load module Minuit2
Failed to load module ROOTDataFrame
Failed to load module GenVector
Failed to load module RootAuth
Failed to load module ROOTVecOps
Failed to load module Genetic
Failed to load module Physics
Failed to load module RGL
Failed to load module XMLParser
Failed to load module ROOTWebDisplay
Failed to load module ROOT_Rtypes
Failed to load module ROOTHistDraw
Failed to load module RIO
Failed to load module ROOT_Foundation_C
Failed to load module SpectrumPainter
Failed to load module Minuit
Failed to load module Gdml
Failed to load module ProofBench
Failed to load module MathCore
Failed to load module Smatrix
Failed to load module Thread
Failed to load module Darwin
Failed to load module GuiHtml
Failed to load module Html
Failed to load module RooStats
Failed to load module FFTW
Failed to load module RooFitCore
Failed to load module ROOTTMVASofie
Failed to load module Foam
Failed to load module Graf3d
Failed to load module ASImageGui
Failed to load module TreePlayer
Failed to load module RooFitJSONInterface

 *** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/opt/homebrew/Cellar/root/6.30.04/lib/root/libCling.so] ROOT::TMetaUtils::TNormalizedCtxtImpl::keepTypedef(cling::LookupHelper const&, char const*, bool) (no debug info)
[/opt/homebrew/Cellar/root/6.30.04/lib/root/libCling.so] ROOT::TMetaUtils::TNormalizedCtxtImpl::TNormalizedCtxtImpl(cling::LookupHelper const&) (no debug info)
[/opt/homebrew/Cellar/root/6.30.04/lib/root/libCling.so] ROOT::TMetaUtils::TNormalizedCtxt::TNormalizedCtxt(cling::LookupHelper const&) (no debug info)
[/opt/homebrew/Cellar/root/6.30.04/lib/root/libCling.so] TCling::TCling(char const*, char const*, char const* const*, void*) (no debug info)
[/opt/homebrew/Cellar/root/6.30.04/lib/root/libCling.so] CreateInterpreter (no debug info)
[/opt/homebrew/Cellar/root/6.30.04/lib/root/libCore.so] TROOT::InitInterpreter() (no debug info)
[/opt/homebrew/Cellar/root/6.30.04/lib/root/libCore.so] ROOT::Internal::GetROOT2() (no debug info)
[/opt/homebrew/Cellar/root/6.30.04/lib/root/libCore.so] TApplication::TApplication(char const*, int*, char**, void*, int) (no debug info)
[/opt/homebrew/Cellar/root/6.30.04/lib/root/libRint.so] TRint::TRint(char const*, int*, char**, void*, int, bool, bool) (no debug info)
[/opt/homebrew/Cellar/root/6.30.04/bin/root.exe] main (no debug info)
[/usr/lib/dyld] start (no debug info)

What happened (include all command output)?

The program entirely crashes

What did you expect to happen?

Anything

Step-by-step reproduction instructions (by running brew commands)

N/A...  sorry, am I posting in the right place... ?
@ewanhilll ewanhilll added the bug Reproducible Homebrew/homebrew-core bug label Mar 11, 2024
@cho-m
Copy link
Member

cho-m commented Mar 11, 2024

Those look like C++ issues, maybe when mixing different headers/libraries.

Did the version of Xcode.app get upgraded between when it was working and now? Sonoma bottle was probably built with Xcode 15.1 which is what is on our runners. Could be some incompatibility with Xcode 15.3.

@ewanhilll
Copy link
Author

I did do an OS update today, which included an xCode update, but the problems started before then. I've tried rerunning the brew update/upgrade commands since with no change.

@ewanhilll
Copy link
Author

... I'm restoring xCode 15.1 from my backups just to see if it helps.... then I'll try reinstalling ROOT to see if it helps.

@ewanhilll
Copy link
Author

YAY, thanks. After switching to a backedup version of xCode, things tarted working again. I accidentally chose xCode 15.0.1 instead of 15.1, but I won't try to update it.

If I want to avoid these kinds of problems in the future, how long should I wait before updating my xCode (in general) ?

@cho-m
Copy link
Member

cho-m commented Mar 12, 2024

If I want to avoid these kinds of problems in the future, how long should I wait before updating my xCode (in general) ?

There isn't a good guideline. The version of Xcode on runners may lag a bit behind latest as they need a maintainer to perform the system upgrades. And after that, we don't rebuild formulae until the next version or until we get error reports like this.

It may be worth getting input from someone at ROOT for guidance on compatibility across Xcode versions and if there is a way to minimize incompatibilities. Though, it may not be possible as Xcode upgrades can bring in new LLVM code and other changes.

@fxcoudert
Copy link
Member

Trying a build from source on macOS 14 (ARM) with latest Xcode & SDK: https://github.com/Homebrew/homebrew-core/actions/runs/8264391325

Copy link
Contributor

@fxcoudert bottle request for root failed.

@fxcoudert fxcoudert added the upstream issue An upstream issue report is needed label Mar 13, 2024
@fxcoudert
Copy link
Member

Confirmed as an upstream bug there: root-project/root#14902
Fix is at root-project/root#14920

@github-actions github-actions bot added the outdated PR was locked due to age label Apr 13, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Reproducible Homebrew/homebrew-core bug outdated PR was locked due to age upstream issue An upstream issue report is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants