Build failure on new install (Mac OS 26.4)<Use a descriptive title here> #32552
-
Check these boxes if you have followed the posting rules.
Issue or question about MOOSEJust installed MOOSE on a new computer (MacBook Pro with M4Pro and OS 26.4). Everything worked until I tried to build MOOSE so I could run the tests. The diagnostic script was run and is pasted in a box below. Compilation began but failed with a lot of output. I am pasting it all here as I am not sure what part is most relevant.
Could I be missing a library due to the new Mac OS? Thanks. (Optional) code in question / simulation log / errorsNo response Encountering Errors? Please include diagnostic output |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
|
I believe I saw this same issue on a fresh machine today at INL. I'll take a look into it tomorrow. |
Beta Was this translation helpful? Give feedback.
-
|
@joe61vette what's the output of: Does it have CommandLineTools or Xcode in it? If it has Xcode in it - I think that's the issue. |
Beta Was this translation helpful? Give feedback.
-
|
The Conda compilers are no longer compatible with the latest-and-greatest version of command line tools or Xcode on Mac. We've just gotten lucky so far that they have been. Unfortunately, this requires downloading a version of the Mac SDK that is compatable with the Conda compilers. The package update in #32572 will formalize this process, but it's not in yet. This is going to be a bit of a pain for all users, but this new step should only need to be done once. Temporary fixFor the time being, you can download this script: get_mac_sdk.sh. Run it and follow the instructions to download Xcode and get the SDK needed to be able to use the MOOSE conda environment. Once you've successfully ran the attached script, you can set: With this, your MOOSE builds should work. |
Beta Was this translation helpful? Give feedback.
-
|
The newest conda update: removes the need to export It still requires calling a similar script to download Xcode that I shared above, but that script is included with the environment and you will see an error when loading the environment if it needs to be re-ran. If you have already ran the script from this discussion, there will be no need to run the new script because you will have already had Xcode downloaded. |
Beta Was this translation helpful? Give feedback.
The Conda compilers are no longer compatible with the latest-and-greatest version of command line tools or Xcode on Mac. We've just gotten lucky so far that they have been. Unfortunately, this requires downloading a version of the Mac SDK that is compatable with the Conda compilers. The package update in #32572 will formalize this process, but it's not in yet. This is going to be a bit of a pain for all users, but this new step should only need to be done once.
Temporary fix
For the time being, you can download this script: get_mac_sdk.sh. Run it and follow the instructions to download Xcode and get the SDK needed to be able to use the MOOSE conda environment. Once you've successfully ran…