-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Another active Homebrew process is already using openblas. #17730
Comments
The locking is implemented using flock(), which is only locks file descriptors and is thus supposed to be released when the holding process terminates. I've seen it seem to persist before, but I was never able to reproduce it consistently. |
Might need a |
One thought I had is that during the build, some long-running process detaches itself and never terminates; the lock would still be held by this process. |
Ran the unlock a few times, no dice. I've rebooted my mac to make sure brew was killed, as well.
|
Sorry, it could be a lock on a dep; just blow away all the *.brewing files. |
Could you do |
Mmm, this is subtler than it seems; I just tapped staticfloat/julia and see the same thing immediately. |
The problem is that the dependencies in the julia formula are inconsistent, and end up pulling in openblas, homebrew/science/openblas, and staticfloat/julia/openblas, which map to the same lock. |
Ah, thanks very much for your help. It installed fine a few weeks ago. Do I close this or what do I do now? |
Probably open an issue with staticfloat/julia, the openblas deps need to be sorted out, as it will cause more problems than just locking conflicts if the same software is in the deps list more than once. |
Recently I also had this problem, and at last I found the reason to my case is I used formula aliases in depends_on part of my formula. My formula depends on pkg-config and little-cms2, and they have aliases "pkgconfig" and "lcms2" and I used them. I think the cookbook need to be updated to remind people don't use alias in formula. |
Yeah, I just had this problem with qt, and that was the issue for me too (my formula depended on qt4). |
Just hit this with |
I just ran into this issue as well with a |
I am hitting this issue today. This is what I did:
How do I fix this error, please? |
@max0x7ba I was having the exact same problem and found a fix in the homebrew-science github forums (https://github.com/Homebrew/homebrew-science/pull/767). It involves editing the formula for numpy (''brew edit numpy'') and replacing the reference to |
Thanks for the tip jack! one note on how to reproduce the issue: start a brew install gradle (for example) then hit cntrl z while its in progress. Thats how i reproduced it anyway. |
I get:
But there is no active homebrew process. OSX 10.8.2, Ruby 1.8.7. I have brew rm'd and reinstalled blas, any ideas?
brew doctor only notifies me of a libwfdb which I have installed (I have mv'd it elsewhere, no help).
The text was updated successfully, but these errors were encountered: