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
3.4.1RC build_visit --qt6
fails on macOS if Homebrew-installed LLVM is present
#19413
Comments
build_visit --qt6
fails on macOS 14build_visit --qt6
fails on macOS if Homebrew-installed LLVM is present
@BenWibking whenever I build on a mac with "special stuff" installed, I need to take explicit action to prevent
|
Not sure how we can defend against this - other than requesting that homebrew is not in PATH before using build_visit. Should we document this in some way? |
Maybe it could check whether the compiler identifies itself as "Apple clang" (and abort if not) when building on Mac?
|
Strangely, I can't get it to build |
Can you share the qwt build issue? We are in a constant battle with packages that poke around the file system and find random installs. We try to be as explicit as we can about pointing our builds to our TPLs to avoid this, but is a challenge. |
@cyrush This is the log for the qwt build error: build_visit_log.zip I built with: I used the
|
Just after I posted that, I did some more digging and I think it's a CMake environment variable issue. Testing a possible fix now. |
Ok, that was caused by having I fixed that, but now I'm getting a strange, apparently unrelated issue building Python:
Full log: build_visit_log.zip |
The log doesn't suggest to me what the issue might be. In absence of another VisIt team member providing a different path forward, I would suggest starting a clean build if you haven't already. Sometimes when libraries fail to build and you restart, VisIt thinks the ones that failed actually succeeded and keeps chugging along, leading to mysterious errors further in the pipeline. |
Ah... that fixed it. I had to re-clone the repo, as |
I'm glad. :) Dependencies can end up in our third party directory even if they fail to build, which confuses |
So, I have homebrew on my system and I wind up having to go to great lenghts to ensure
And, that only partially works because several of the packages All that said, I am working on an update to |
Yes, the build finally finished successfully (using |
Since things appear to compile on my system now, I'll close this ticket. However, I am still seeing the runtime issue in #19415 that prevents the main viewer windows from opening. |
Describe the bug
Compiling VisIt 3.4.1RC on macOS 14 fails when building qt6.
This appears to be because if LLVM is installed via Homebrew, build_visit uses libtool from the Homebrew installation, rather than from XCode.
This may be the same issue: telegramdesktop/tdesktop#25058
To Reproduce
Steps to reproduce the behavior. For example:
./build_visit --qt6
The actual error from the logfile is:
Desktop
Additional context
Logfile: build_visit_log.zip
The text was updated successfully, but these errors were encountered: