Spidermonkey not compatible with CouchDB on OS X 10.9 #23332
Comments
Can I see your build logs? They'd be in ~/Library/Logs/Homebrew/spidermonkey |
I'm experiencing the same issue described here. I've copied my build logs here: https://gist.github.com/strmpnk/7028077 |
My build logs for spidermonkey are here: |
For what it's worth, couchdb seems to work fine if I compile from source by hand after installing spidermonkey. It seems like homebrew is raising a false alarm of some sort. |
This case is probably a false alarm, if couchdb is itself not C++ code. However it's a very subtle incompatibility (if there is one) - not the build-failing kind, but the random-segfaults kind that doesn't reproduce instantly. |
(I'm going to improve the false alarm situation.) |
Interesting. The CouchDB code integrates spidermonkey using C rather than C++ but I'm not sure if that avoids the problem or not. I'll continue looking for any issues in the meantime. |
Getting the same here on a ± clean install of everything (removed and pruned full list, definitely built spidermonkey just now). Is there a way to force brew to give the couchdb build a go despite the mismatch? |
I'm going to be pushing a fix soon which will squelch these false positives. |
If there's no C then it's fine, and this won't be flagged as an incompatibility once I improve tracking. |
I can confirm that this false positive will be squelched when #23458 lands. |
👍 Thanks for your diligence in making these OS upgrades smooth! |
For some reason spidermonkey is using libc++ in stdenv, which resolves the couchdb issue. stdenv: https://gist.github.com/mistydemeo/d9430cdace5045d9ea83 Ping @manphiz |
@mistydemeo the superenv log doesn't seem to have superenv flag note, which is kind of weird. |
Is this resolved? /cc @mistydemeo |
Seems like 8f5d0f7 did resolve this. |
Should be fixed. |
I applied the fix and I have the same issues. I cannot build spider monkey because of libstdc++ instead of libc++ |
The problem persists. |
Building Spidermonkey with |
FWIW I didn't have this issue, after doing this:
Worked fine for mavericks both shortly after release time, and again on 2013/11/29. Hope that helps! ** although my situation was slightly more complex (custom erlang with --brewed-ssl) most other packages are just defaults. |
I still have this issue. What is the newest solution that works? I tried all the above and no changes. |
@julianguyen did you |
Aha it works. Thanks! Reinstalling spidermonkey helped! |
@julianguyen any chance you can post output of
I've just tried this here on 10.9.1 without issues, on 2 macs, for On 22 January 2014 19:11, Julia Nguyen notifications@github.com wrote:
|
@dch that didn't work for me *** WARNING: System might fail to configure or === running autoconf in lib |
@anthonybrown you've not followed the instructions then: current brewed erlang is R16B03-1, but you're installing R15B03. The current erlang build includes:
Can you If you're still stuck today, drop by #couchdb on on irc://freenode.net/#couchdb and we'll get you started. If the erlang build still fails, best to address that in a new ticket, not in a couchdb one that's over a year old and already closed -- let sleeping dogs lie :-). |
I'm trying to install CouchDB but it gives me the following error:
I am on Mavericks GM. I tried a complete reinstall of homebrew but that still gives me the same error.
Shouldn't Spidermonkey build with libc++ by default on Mavericks?
How can I manually make Spidermonkey compile against libc++?
The text was updated successfully, but these errors were encountered: