Skip to content
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

Build failing on Mac OSX Yosemite / io.js 2.0.0 #56

Closed
andywer opened this issue May 5, 2015 · 2 comments
Closed

Build failing on Mac OSX Yosemite / io.js 2.0.0 #56

andywer opened this issue May 5, 2015 · 2 comments

Comments

@andywer
Copy link

andywer commented May 5, 2015

Installing webworker-threads fails when using io.js 2.0.0:

> webworker-threads@0.5.5 install /home/travis/build/andywer/threadpool-js/node_modules/webworker-threads
> node-gyp rebuild
make: Entering directory `/home/travis/build/andywer/threadpool-js/node_modules/webworker-threads/build'
  CXX(target) Release/obj.target/WebWorkerThreads/src/WebWorkerThreads.o
In file included from ../node_modules/nan/nan_new.h:190:0,
                 from ../node_modules/nan/nan.h:74,
                 from ../src/WebWorkerThreads.cc:13:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Signature>::return_t NanIntern::Factory<v8::Signature>::New(NanIntern::Factory<v8::Signature>::FTH, int, NanIntern::Factory<v8::Signature>::FTH*)’:
../node_modules/nan/nan_implementation_12_inl.h:181:76: error: no matching function for call to ‘v8::Signature::New(v8::Isolate*, NanIntern::Factory<v8::Signature>::FTH&, int&, NanIntern::Factory<v8::Signature>::FTH*&)’
../node_modules/nan/nan_implementation_12_inl.h:181:76: note: candidate is:
/home/travis/.node-gyp/2.0.0/deps/v8/include/v8.h:4188:27: note: static v8::Local<v8::Signature> v8::Signature::New(v8::Isolate*, v8::Handle<v8::FunctionTemplate>)
/home/travis/.node-gyp/2.0.0/deps/v8/include/v8.h:4188:27: note:   candidate expects 2 arguments, 4 provided
In file included from ../src/WebWorkerThreads.cc:38:0:
../src/bson.cc: In static member function ‘static void BSON::BSONDeserialize(const v8::FunctionCallbackInfo<v8::Value>&)’:
../src/bson.cc:796:45: warning: ‘ssize_t node::DecodeBytes(v8::Handle<v8::Value>, node::encoding)’ is deprecated (declared at /home/travis/.node-gyp/2.0.0/src/node.h:297): Use DecodeBytes(isolate, ...) [-Wdeprecated-declarations]
../src/bson.cc:803:41: warning: ‘ssize_t node::DecodeWrite(char*, size_t, v8::Handle<v8::Value>, node::encoding)’ is deprecated (declared at /home/travis/.node-gyp/2.0.0/src/node.h:310): Use DecodeWrite(isolate, ...) [-Wdeprecated-declarations]
In file included from ../src/WebWorkerThreads.cc:38:0:
../src/bson.cc: In static member function ‘static void BSON::BSONSerialize(const v8::FunctionCallbackInfo<v8::Value>&)’:
../src/bson.cc:897:73: warning: ‘v8::Local<v8::Value> node::Encode(const void*, size_t, node::encoding)’ is deprecated (declared at /home/travis/.node-gyp/2.0.0/src/node.h:278): Use Encode(isolate, ...) [-Wdeprecated-declarations]
../src/WebWorkerThreads.cc: In function ‘void Callback(uv_async_t*, int)’:
../src/WebWorkerThreads.cc:540:37: warning: ‘void node::FatalException(const v8::TryCatch&)’ is deprecated (declared at /home/travis/.node-gyp/2.0.0/src/node.h:262): Use FatalException(isolate, ...) [-Wdeprecated-declarations]
make: *** [Release/obj.target/WebWorkerThreads/src/WebWorkerThreads.o] Error 1

See travis log.

Hint: The failure seems NOT to be related to #55. At least not on first glance ;)

@heavyk
Copy link
Contributor

heavyk commented May 6, 2015

pull this #57

@andywer
Copy link
Author

andywer commented May 6, 2015

Hey cool. Thanks for the quick reply.

Shows some deprecation notices on build, but works like a charm, though :) Waiting for the next npm publish now.

@audreyt audreyt closed this as completed May 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants