-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
[Formula/open-mpi] Open MPI Fails to Build and Install Under OS X v10.11.6 'El Capitan' #26009
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
Comments
I see |
@scpeters: Oof, should have looked for more of those; I saw one, but didn't catch the ones you saw before submitting this issue. I'm fixing them now…grumbles something incoherent about either auto-correct, having intermittent butterfingers, or both.) |
@scpeters: Reported upstream as open-mpi/ompi#5000. |
You know, I'm surprised Open MPI's |
Looking through my logs, it appears said script fell back to using some programs it found in |
Never mind; I don't see any old Apple Java run-time libraries left over on my machine in
So, in any case, I'm not crazy and did end up cleaning up after any old Apple Java VMs I might ever have had, if any.)
If I ask my shell what |
It's getting a bit late, so I'll probably sign off for the night soon, but I may have some idea of what would need to be patched upstream to get this to work, so I'll hack around on that tomorrow. (Or we could just make sure that Apple's shims don't come first in users' paths ourselves down here in Homebrew, but that feels like a hack, as it would make more sense for upstream to know not to look in |
I've now brought this issue's upstream counterpart to the attention of the Open MPI developers' mailing list here and have already received a response to the thread that my former message started there. This reply was to the effect that one of Open MPI's developers felt this issue to be important enough to submit at least a partial fix for it himself. I'll still be working on finishing things up, though (OS X/macOS JDK tool path handling still needs correcting,) so that's till coming. |
This issue will be addressed upstream once open-mpi/ompi#5001 and open-mpi/ompi#5015 get merged. I'll submit a formula patch to pull them in once they are (I doubt those two changes alone would be enough for upstream to tag a new release…) |
#5001 has now been merged upstream to |
Thanks @RandomDSdevel for chasing the bug and reporting it. Given that it affects a non-default option, I think we'll wait for the fix in the next version. |
I was going to submit the relevant patch in-formula to fix this once said commit landed upstream since I'm the one who's working on that anyway, but OK. |
Not that this is nearly as relevant before since @fxcoudert has indicated that Homebrew Core is just going to wait for the Open MPI v3.0.2 to get this fix and the previous one relevant here and has not indicated interest in reopening this issue for me to submit a formula patch to incorporate both of them, but open-mpi/ompi#5015 has now been merged to |
I'm going to go ahead and follow up on this issue by submitting a PR to fix it even though it was never reopened for this to happen. |
Apply some upstream patches in order to fix some fatal issues with configuring and building Open MPI's `:optional` Java bindings from source. Follows up on the first of the issues referenced below. Refs: - Homebrew#26009 - open-mpi/ompi#5000
Uh oh!
There was an error while loading. Please reload this page.
Please note we will close your issue without comment if you delete, do not read, or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
Please always confirm that you:
brew install
ing (orupgrade
ing orreinstall
ing) a single, official formula (not a cask?) If it's a generalbrew
problem, please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new. If it's abrew cask
problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap — e.g. Homebrew/homebrew-php — problem, please file this issue at the tap.brew update
and can still reproduce the problem? (Caveat: I suspended runningbrew update
s while producing debugging logs for this issue to ensure that Homebrew Core would stay on the same revision between both log-collection runs I made, so me checking this box only applies with respect to the status of my system prior to my preparing to submit this issue. This should not, however, prove to be any sort of problem, as no commits to Homebrew Core since I started going down this rabbit hole appear to have touched any files that would be relevant here.)brew doctor
, fixed all issues and can still reproduce the problem?ran(N/A; see the next bullet point.)brew gist-logs <formula>
(where<formula>
is the name of the formula that failed) and included the output link?brew gist-logs
didn't work (or, in this case, was not preferred:) ranbrew config
andbrew doctor
and included their output with your issue?To help us debug your issue please explain:
What you were trying to do (and why:)
Upgrade my local, built-from-source copy of Open MPI from v3.0.0, Homebrew formula
revision 2
, to v3.0.1 in the course of going through my normal routine of keeping all of my software tools up to date.What happened (include command output:)
Homebrew failed to successfully build Open MPI from v3.0.0, Homebrew formula
revision 2
, to v3.0.1. My logs are:HOMEBREW_BUILD_FROM_SOURCE=1
.)In both cases, the exact point of failure manifested itself as follows:
The issue I describe in this report is thus due to Homebrew's
open-mpi
formula's--with-java
option and the fact thatjavah
was deprecated in Java 9.x and removed in Java 10.What you expected to happen:
For Homebrew to successfully build the new version of Open MPI from source and install it in the old version's place.
Step-by-step reproduction instructions (by running
brew
commands:)With
HOMEBREW_BUILD_FROM_SOURCE=1
(not supported with issue resolution:)Note that setting that environment variable as shown above probably doesn't make any difference in this case, as upgrading Open MPI doesn't depend on upgrading any of its dependencies given the states my Homebrew installation and the packages it manages are currently in, but I usually set it any time I run
brew upgrade
, just to be consistent.Without
HOMEBREW_BUILD_FROM_SOURCE=1
(given to show that this issue also occurs under a supported configuration:)The text was updated successfully, but these errors were encountered: