Skip to content

Instantly share code, notes, and snippets.

@codekoala
Created October 17, 2013 19:17
Show Gist options
  • Save codekoala/7030625 to your computer and use it in GitHub Desktop.
Save codekoala/7030625 to your computer and use it in GitHub Desktop.
Build error for RethinkDB 1.10.0 with icu 52.1-1 on Arch Linux
[125/281] CC src/rdb_protocol/term.cc -o build/release/obj/rdb_protocol/term.o
In file included from src/extproc/js_job.cc:10:0:
/usr/include/v8.h: In constructor ‘js_context_t::js_context_t()’:
/usr/include/v8.h:764:3: error: ‘v8::Persistent<T>::Persistent(const v8::Persistent<T>&) [with T = v8::Context]’ is private
V8_INLINE(Persistent(const Persistent& that)) : val_(that.val_) {}
^
src/extproc/js_job.cc:59:22: error: within this context
scope(context) { }
^
src/extproc/js_job.cc:59:22: error: no matching function for call to ‘v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)’
src/extproc/js_job.cc:59:22: note: candidates are:
In file included from src/extproc/js_job.cc:10:0:
/usr/include/v8.h:5146:5: note: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
V8_INLINE(Scope(Isolate* isolate, Persistent<Context>& context)) // NOLINT
^
/usr/include/v8.h:5146:5: note: candidate expects 2 arguments, 1 provided
/usr/include/v8.h:5142:14: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
explicit V8_INLINE(Scope(Handle<Context> context)) : context_(context) {
^
/usr/include/v8.h:5142:14: note: no known conversion for argument 1 from ‘v8::Persistent<v8::Context>’ to ‘v8::Handle<v8::Context>’
/usr/include/v8.h:5140:9: note: constexpr v8::Context::Scope::Scope(const v8::Context::Scope&)
class Scope {
^
/usr/include/v8.h:5140:9: note: no known conversion for argument 1 from ‘v8::Persistent<v8::Context>’ to ‘const v8::Context::Scope&’
[126/281] CC src/rdb_protocol/btree.cc -o build/release/obj/rdb_protocol/btree.o
src/extproc/js_job.cc: In member function ‘js_id_t js_env_t::remember_value(const v8::Handle<v8::Value>&)’:
src/extproc/js_job.cc:273:62: error: no matching function for call to ‘v8::Persistent<v8::Value>::New(const v8::Handle<v8::Value>&)’
*persistent_handle = v8::Persistent<v8::Value>::New(value);
^
src/extproc/js_job.cc:273:62: note: candidate is:
In file included from src/extproc/js_job.cc:10:0:
/usr/include/v8.h:5701:4: note: static T* v8::Persistent<T>::New(v8::Isolate*, T*) [with T = v8::Value]
T* Persistent<T>::New(Isolate* isolate, T* that) {
^
/usr/include/v8.h:5701:4: note: candidate expects 2 arguments, 1 provided
src/extproc/js_job.cc: In member function ‘js_result_t js_env_t::call(js_id_t, const std::vector<counted_t<const ql::datum_t> >&)’:
src/extproc/js_job.cc:328:79: error: no matching function for call to ‘v8::Local<v8::Value>::New(v8::Persistent<v8::Value>&)’
v8::Local<v8::Value> local_handle = v8::Local<v8::Value>::New(*found_value);
^
src/extproc/js_job.cc:328:79: note: candidates are:
In file included from src/extproc/js_job.cc:10:0:
/usr/include/v8.h:5622:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Value]
Local<T> Local<T>::New(Handle<T> that) {
^
/usr/include/v8.h:5622:10: note: no known conversion for argument 1 from ‘v8::Persistent<v8::Value>’ to ‘v8::Handle<v8::Value>’
/usr/include/v8.h:5635:10: note: static v8::Local<T> v8::Local<T>::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Value]
Local<T> Local<T>::New(Isolate* isolate, Handle<T> that) {
^
/usr/include/v8.h:5635:10: note: candidate expects 2 arguments, 1 provided
/usr/include/v8.h:5641:10: note: static v8::Local<T> v8::Local<T>::New(v8::Isolate*, const v8::Persistent<T>&) [with T = v8::Value]
Local<T> Local<T>::New(Isolate* isolate, const Persistent<T>& that) {
^
/usr/include/v8.h:5641:10: note: candidate expects 2 arguments, 1 provided
/usr/include/v8.h:5657:10: note: static v8::Local<T> v8::Local<T>::New(v8::Isolate*, T*) [with T = v8::Value]
Local<T> Local<T>::New(Isolate* isolate, T* that) {
^
/usr/include/v8.h:5657:10: note: candidate expects 2 arguments, 1 provided
make[1]: *** [build/release/obj/extproc/js_job.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [make] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment