Skip to content

Installation of dtrace-provider fails using iojs 2.x #830

@yads

Description

@yads

There is an issue with dtrace-provider and nan. Looks like it was resolved in version 0.5.0. Can we get a version bump? Here's some output:

  c++ '-DNODE_GYP_MODULE_NAME=DTraceProviderBindings' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/Users/vadimkazakov/.node-gyp/2.3.0/src -I/Users/vadimkazakov/.node-gyp/2.3.0/deps/uv/include -I/Users/vadimkazakov/.node-gyp/2.3.0/deps/v8/include -I../libusdt -I../node_modules/nan  -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++0x -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/DTraceProviderBindings/dtrace_provider.o.d.raw  -c -o Release/obj.target/DTraceProviderBindings/dtrace_provider.o ../dtrace_provider.cc
In file included from ../dtrace_provider.cc:1:
In file included from ../dtrace_provider.h:1:
In file included from ../node_modules/nan/nan.h:74:
In file included from ../node_modules/nan/nan_new.h:181:
../node_modules/nan/nan_implementation_12_inl.h:172:66: error: too many
      arguments to function call, expected at most 2, have 4
  ...v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);
     ~~~~~~~~~~~~~~~~~~                                      ^~~~~~~~~~
/Users/vadimkazakov/.node-gyp/2.3.0/deps/v8/include/v8.h:4188:3: note: 
      'New' declared here
  static Local<Signature> New(
  ^
1 error generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions