Thanks to visit codestin.com
Credit goes to github.com

Skip to content

No building on Mac OS Mojave 10.14.6 #4

@maxvanceffer

Description

@maxvanceffer

[email protected] install /Users/maximgnidak/projects/gmi/backend/node_modules/x509
node-gyp rebuild

CXX(target) Release/obj.target/x509/src/addon.o
In file included from ../src/addon.cc:5:
In file included from ../include/x509.h:7:
In file included from ../node_modules/nan/nan.h:222:
In file included from ../node_modules/nan/nan_converters.h:67:
../node_modules/nan/nan_converters_43_inl.h:22:1: warning: 'ToBoolean' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
X(Boolean)
^
../node_modules/nan/nan_converters_43_inl.h:18:12: note: expanded from macro 'X'
val->To ## TYPE(isolate->GetCurrentContext())
^
:210:1: note: expanded from here
ToBoolean
^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8.h:2663:3: note: 'ToBoolean' has been explicitly marked deprecated here
V8_DEPRECATED("ToBoolean can never throw. Use Local version.",
^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^
In file included from ../src/addon.cc:5:
In file included from ../include/x509.h:7:
In file included from ../node_modules/nan/nan.h:222:
In file included from ../node_modules/nan/nan_converters.h:67:
../node_modules/nan/nan_converters_43_inl.h:40:1: warning: 'BooleanValue' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
X(bool, Boolean)
^
../node_modules/nan/nan_converters_43_inl.h:37:15: note: expanded from macro 'X'
return val->NAME ## Value(isolate->GetCurrentContext());
^
:217:1: note: expanded from here
BooleanValue
^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8.h:2701:3: note: 'BooleanValue' has been explicitly marked deprecated here
V8_DEPRECATED("BooleanValue can never throw. Use Isolate version.",
^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:328:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^
In file included from ../src/addon.cc:5:
In file included from ../include/x509.h:7:
In file included from ../node_modules/nan/nan.h:223:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:356:37: error: too few arguments to function call, expected 2, have 1
return v8::StringObject::New(value).Asv8::StringObject();
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8.h:5531:3: note: 'New' declared here
static Local New(Isolate* isolate, Local value);
^
In file included from ../src/addon.cc:5:
In file included from ../include/x509.h:7:
In file included from ../node_modules/nan/nan.h:223:
In file included from ../node_modules/nan/nan_new.h:189:
../node_modules/nan/nan_implementation_12_inl.h:356:58: error: expected '(' for function-style cast or type construction
return v8::StringObject::New(value).Asv8::StringObject();
~~~~~~~~~~~~~~~~^
../node_modules/nan/nan_implementation_12_inl.h:356:60: error: expected expression
return v8::StringObject::New(value).Asv8::StringObject();
^
In file included from ../src/addon.cc:5:
In file included from ../include/x509.h:7:
In file included from ../node_modules/nan/nan.h:2706:
../node_modules/nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraitsv8::Object >'
assert(persistent().IsNearDeath());
~~~~~~~~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? _assert_rtn(func, FILE, LINE, #e) : (void)0)
^
In file included from ../src/addon.cc:5:
In file included from ../include/x509.h:7:
In file included from ../node_modules/nan/nan.h:2706:
../node_modules/nan/nan_object_wrap.h:127:26: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraitsv8::Object >'
assert(wrap->handle
.IsNearDeath());
~~~~~~~~~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(func, FILE, LINE, #e) : (void)0)
^
../src/addon.cc:16:53: error: too few arguments to function call, single argument 'context' was not specified
Nan::New(verify)->GetFunction());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8.h:6126:3: note: 'GetFunction' declared here
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:368:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT attribute((warn_unused_result))
^
../src/addon.cc:20:59: error: too few arguments to function call, single argument 'context' was not specified
Nan::New(get_altnames)->GetFunction());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8.h:6126:3: note: 'GetFunction' declared here
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:368:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT attribute((warn_unused_result))
^
../src/addon.cc:23:58: error: too few arguments to function call, single argument 'context' was not specified
Nan::New(get_subject)->GetFunction());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8.h:6126:3: note: 'GetFunction' declared here
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:368:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT attribute((warn_unused_result))
^
../src/addon.cc:26:57: error: too few arguments to function call, single argument 'context' was not specified
Nan::New(get_issuer)->GetFunction());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8.h:6126:3: note: 'GetFunction' declared here
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:368:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT attribute((warn_unused_result))
^
../src/addon.cc:29:57: error: too few arguments to function call, single argument 'context' was not specified
Nan::New(parse_cert)->GetFunction());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8.h:6126:3: note: 'GetFunction' declared here
V8_WARN_UNUSED_RESULT MaybeLocal GetFunction(
^
/Users/maximgnidak/Library/Caches/node-gyp/12.16.1/include/node/v8config.h:368:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT attribute((warn_unused_result))
^
2 warnings and 10 errors 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