Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
2.2.0
-
Security Level: Public
-
None
-
trond@ok:1153> brew info v8 ~/compile/couchbase/master
v8: stable 3.19.18.4, devel 3.20.12, HEAD
http://code.google.com/p/v8/
/usr/local/Cellar/v8/3.19.18.4 (20 files, 26M) *
Built from source
From: https://github.com/mxcl/homebrew/commits/master/Library/Formula/v8.rb
==> Dependencies
Optional: readline
==> Options
--with-readline
Use readline instead of libedittrond@ok :1153> brew info v8 ~/compile/couchbase/master v8: stable 3.19.18.4, devel 3.20.12, HEAD http://code.google.com/p/v8/ /usr/local/Cellar/v8/3.19.18.4 (20 files, 26M) * Built from source From: https://github.com/mxcl/homebrew/commits/master/Library/Formula/v8.rb ==> Dependencies Optional: readline ==> Options --with-readline Use readline instead of libedit
-
MacOSX 64-bit
Description
For branch-master it fails in couchstore, but on 2.2.0 it fails on couchdb with:
trond@ok:1159> cd couchdb ~/compile/couchbase/2.2.0
trond@ok:1160> gmake ~/compile/couchbase/2.2.0/couchdb
make all-recursive
Making all in bin
make[2]: Nothing to be done for `all'.
Making all in etc
Making all in couchdb
make[3]: Nothing to be done for `all'.
Making all in default
make[3]: Nothing to be done for `all'.
Making all in init
make[3]: Nothing to be done for `all'.
Making all in launchd
make[3]: Nothing to be done for `all'.
Making all in logrotate.d
make[3]: Nothing to be done for `all'.
Making all in windows
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in src
Making all in mapreduce
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/snappy-1.0.4 -Wall -Winline -I/usr/include/v8 -I/opt/local/include -I/usr/local/include/v8 -I/opt/local/include/v8 -L/usr/local/lib -L/opt/local/lib -I/usr/local/Cellar/erlang/R15B03-1/lib/erlang/usr/include -DXP_UNIX -g -O2 -MT mapreduce_nif_la-mapreduce.lo -MD -MP -MF .deps/mapreduce_nif_la-mapreduce.Tpo -c -o mapreduce_nif_la-mapreduce.lo `test -f 'mapreduce.cc' || echo './'`mapreduce.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/snappy/snappy-1.0.4 -Wall -Winline -I/usr/include/v8 -I/opt/local/include -I/usr/local/include/v8 -I/opt/local/include/v8 -L/usr/local/lib -L/opt/local/lib -I/usr/local/Cellar/erlang/R15B03-1/lib/erlang/usr/include -DXP_UNIX -g -O2 -MT mapreduce_nif_la-mapreduce.lo -MD -MP -MF .deps/mapreduce_nif_la-mapreduce.Tpo -c mapreduce.cc -fno-common -DPIC -o .libs/mapreduce_nif_la-mapreduce.o
mapreduce.cc: In function 'void initContext(map_reduce_ctx_t*, const function_sources_list_t&)':
mapreduce.cc:123: error: no matching function for call to 'v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)'
/usr/local/include/v8.h:4970: note: candidates are: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
/usr/local/include/v8.h:4966: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
/usr/local/include/v8.h:4964: note: v8::Context::Scope::Scope(const v8::Context::Scope&)
/usr/local/include/v8.h: In function 'void doInitContext(map_reduce_ctx_t*, const function_sources_list_t&)':
/usr/local/include/v8.h:752: error: 'v8::Persistent<T>& v8::Persistent<T>::operator=(const v8::Persistent<T>&) [with T = v8::Context]' is private
mapreduce.cc:140: error: within this context
/usr/local/include/v8.h:750: error: 'v8::Persistent<T>::Persistent(const v8::Persistent<T>&) [with T = v8::Context]' is private
mapreduce.cc:140: error: within this context
mapreduce.cc:141: error: no matching function for call to 'v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)'
/usr/local/include/v8.h:4970: note: candidates are: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
/usr/local/include/v8.h:4966: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
/usr/local/include/v8.h:4964: note: v8::Context::Scope::Scope(const v8::Context::Scope&)
/usr/local/include/v8.h:770: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Context]' is private
mapreduce.cc:143: error: within this context
mapreduce.cc:151: error: no matching function for call to 'v8::Persistent<v8::Object>::New(v8::Handle<v8::Object>&)'
/usr/local/include/v8.h:5508: note: candidates are: static T* v8::Persistent<T>::New(v8::Isolate*, T*) [with T = v8::Object]
mapreduce.cc:152: error: no matching function for call to 'v8::Persistent<v8::Function>::New(v8::Handle<v8::Function>&)'
/usr/local/include/v8.h:5508: note: candidates are: static T* v8::Persistent<T>::New(v8::Isolate*, T*) [with T = v8::Function]
mapreduce.cc:153: error: no matching function for call to 'v8::Persistent<v8::Function>::New(v8::Handle<v8::Function>&)'
/usr/local/include/v8.h:5508: note: candidates are: static T* v8::Persistent<T>::New(v8::Isolate*, T*) [with T = v8::Function]
mapreduce.cc: In function 'map_results_list_t mapDoc(map_reduce_ctx_t*, const ErlNifBinary&, const ErlNifBinary&)':
mapreduce.cc:168: error: no matching function for call to 'v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)'
/usr/local/include/v8.h:4970: note: candidates are: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
/usr/local/include/v8.h:4966: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
/usr/local/include/v8.h:4964: note: v8::Context::Scope::Scope(const v8::Context::Scope&)
mapreduce.cc:183: error: conversion from 'v8::Persistent<v8::Function>' to non-scalar type 'v8::Handle<v8::Function>' requested
mapreduce.cc: In function 'json_results_list_t runReduce(map_reduce_ctx_t*, const json_results_list_t&, const json_results_list_t&)':
mapreduce.cc:239: error: no matching function for call to 'v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)'
/usr/local/include/v8.h:4970: note: candidates are: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
/usr/local/include/v8.h:4966: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
/usr/local/include/v8.h:4964: note: v8::Context::Scope::Scope(const v8::Context::Scope&)
mapreduce.cc:249: error: conversion from 'v8::Persistent<v8::Function>' to non-scalar type 'v8::Handle<v8::Function>' requested
mapreduce.cc: In function 'ErlNifBinary runReduce(map_reduce_ctx_t*, int, const json_results_list_t&, const json_results_list_t&)':
mapreduce.cc:286: error: no matching function for call to 'v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)'
/usr/local/include/v8.h:4970: note: candidates are: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
/usr/local/include/v8.h:4966: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
/usr/local/include/v8.h:4964: note: v8::Context::Scope::Scope(const v8::Context::Scope&)
mapreduce.cc:294: error: conversion from 'v8::Persistent<v8::Function>' to non-scalar type 'v8::Handle<v8::Function>' requested
mapreduce.cc: In function 'ErlNifBinary runRereduce(map_reduce_ctx_t*, int, const json_results_list_t&)':
mapreduce.cc:325: error: no matching function for call to 'v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)'
/usr/local/include/v8.h:4970: note: candidates are: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
/usr/local/include/v8.h:4966: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
/usr/local/include/v8.h:4964: note: v8::Context::Scope::Scope(const v8::Context::Scope&)
mapreduce.cc:333: error: conversion from 'v8::Persistent<v8::Function>' to non-scalar type 'v8::Handle<v8::Function>' requested
mapreduce.cc: In function 'void destroyContext(map_reduce_ctx_t*)':
mapreduce.cc:362: error: no matching function for call to 'v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)'
/usr/local/include/v8.h:4970: note: candidates are: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
/usr/local/include/v8.h:4966: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
/usr/local/include/v8.h:4964: note: v8::Context::Scope::Scope(const v8::Context::Scope&)
mapreduce.cc: In function 'v8::Persistent<v8::Context> createJsContext(map_reduce_ctx_t*)':
mapreduce.cc:394: warning: 'New' is deprecated (declared at /usr/local/include/v8.h:4849)
/usr/local/include/v8.h:750: error: 'v8::Persistent<T>::Persistent(const v8::Persistent<T>&) [with T = v8::Context]' is private
mapreduce.cc:394: error: within this context
/usr/local/include/v8.h:750: error: 'v8::Persistent<T>::Persistent(const v8::Persistent<T>&) [with T = v8::Context]' is private
mapreduce.cc:394: error: within this context
mapreduce.cc:395: error: no matching function for call to 'v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)'
/usr/local/include/v8.h:4970: note: candidates are: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
/usr/local/include/v8.h:4966: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
/usr/local/include/v8.h:4964: note: v8::Context::Scope::Scope(const v8::Context::Scope&)
/usr/local/include/v8.h:770: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Context]' is private
mapreduce.cc:398: error: within this context
/usr/local/include/v8.h:770: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Context]' is private
mapreduce.cc:401: error: within this context
/usr/local/include/v8.h:770: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Context]' is private
mapreduce.cc:404: error: within this context
/usr/local/include/v8.h:750: error: 'v8::Persistent<T>::Persistent(const v8::Persistent<T>&) [with T = v8::Context]' is private
mapreduce.cc:406: error: within this context
/usr/local/include/v8.h: In function 'ErlNifBinary jsonStringify(const v8::Handle<v8::Value>&)':
/usr/local/include/v8.h:770: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Function]' is private
mapreduce.cc:437: error: within this context
mapreduce.cc:437: error: no matching function for call to 'v8::Function::Call(v8::Persistent<v8::Object>&, int, v8::Handle<v8::Value> [1])'
/usr/local/include/v8.h:2316: note: candidates are: v8::Local<v8::Value> v8::Function::Call(v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*)
/usr/local/include/v8.h: In function 'v8::Handle<v8::Value> jsonParse(const ErlNifBinary&)':
/usr/local/include/v8.h:770: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Function]' is private
mapreduce.cc:472: error: within this context
mapreduce.cc:472: error: no matching function for call to 'v8::Function::Call(v8::Persistent<v8::Object>&, int, v8::Handle<v8::Value> [1])'
/usr/local/include/v8.h:2316: note: candidates are: v8::Local<v8::Value> v8::Function::Call(v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*)
mapreduce.cc: In function 'void loadFunctions(map_reduce_ctx_t*, const function_sources_list_t&)':
mapreduce.cc:498: error: no matching function for call to 'v8::Persistent<v8::Function>::New(v8::Handle<v8::Function>&)'
/usr/local/include/v8.h:5508: note: candidates are: static T* v8::Persistent<T>::New(v8::Isolate*, T*) [with T = v8::Function]
make[3]: *** [mapreduce_nif_la-mapreduce.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2