Skip to content

Instantly share code, notes, and snippets.

@ziyan-junaideen
Created December 18, 2016 04:59
Show Gist options
  • Save ziyan-junaideen/88341d564d37d499c0a1c5901bd9a7c7 to your computer and use it in GitHub Desktop.
Save ziyan-junaideen/88341d564d37d499c0a1c5901bd9a7c7 to your computer and use it in GitHub Desktop.
Sinopia install error
➜ ~ npm install -g sinopia
npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated node-uuid@1.4.3: use uuid module instead
npm WARN deprecated tough-cookie@1.2.0: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
/home/ziyan/.npm-global/bin/sinopia -> /home/ziyan/.npm-global/lib/node_modules/sinopia/bin/sinopia
> dtrace-provider@0.4.0 install /home/ziyan/.npm-global/lib/node_modules/sinopia/node_modules/bunyan/node_modules/dtrace-provider
> node scripts/install.js
> crypt3@0.1.8 install /home/ziyan/.npm-global/lib/node_modules/sinopia/node_modules/crypt3
> node-gyp rebuild
make: Entering directory '/home/ziyan/.npm-global/lib/node_modules/sinopia/node_modules/crypt3/build'
CXX(target) Release/obj.target/crypt3/crypt3.o
In file included from ../node_modules/nan/nan.h:82:0,
from ../crypt3.cc:7:
../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../node_modules/nan/nan_new.h:34:64: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42:0,
from ../crypt3.cc:3:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:8442:14: note: declared here
Local<Int32> Value::ToInt32() const {
^
In file included from ../node_modules/nan/nan.h:82:0,
from ../crypt3.cc:7:
../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../node_modules/nan/nan_new.h:39:65: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42:0,
from ../crypt3.cc:3:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:8436:15: note: declared here
Local<Uint32> Value::ToUint32() const {
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../crypt3.cc:7:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:
../node_modules/nan/nan_implementation_12_inl.h:49:38: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../crypt3.cc:3:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:4048:56: note: declared here
V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../crypt3.cc:7:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:
../node_modules/nan/nan_implementation_12_inl.h:166:69: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../crypt3.cc:3:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1321:21: note: declared here
Local<Script> Compile(Isolate* isolate, Source* source,
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../crypt3.cc:7:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../node_modules/nan/nan_implementation_12_inl.h:173:69: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../crypt3.cc:3:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1321:21: note: declared here
Local<Script> Compile(Isolate* isolate, Source* source,
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../crypt3.cc:7:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:
../node_modules/nan/nan_implementation_12_inl.h:206:42: warning: ‘static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::String::kNormalString, length);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../crypt3.cc:3:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:2317:21: note: declared here
Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../crypt3.cc:7:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:
../node_modules/nan/nan_implementation_12_inl.h:217:66: warning: ‘static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../crypt3.cc:3:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:2355:38: note: declared here
Local<String> NewExternal(
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../crypt3.cc:7:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:
../node_modules/nan/nan_implementation_12_inl.h:237:30: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../crypt3.cc:3:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1301:45: note: declared here
Local<UnboundScript> CompileUnbound(
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../crypt3.cc:7:
../node_modules/nan/nan_implementation_12_inl.h:237:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../crypt3.cc:3:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1301:45: note: declared here
Local<UnboundScript> CompileUnbound(
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../crypt3.cc:7:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../node_modules/nan/nan_implementation_12_inl.h:244:30: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../crypt3.cc:3:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1301:45: note: declared here
Local<UnboundScript> CompileUnbound(
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../crypt3.cc:7:
../node_modules/nan/nan_implementation_12_inl.h:244:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../crypt3.cc:3:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1301:45: note: declared here
Local<UnboundScript> CompileUnbound(
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../crypt3.cc:7:0:
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:261:25: error: redefinition of ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:256:25: note: ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h: In function ‘bool NanIdleNotification(int)’:
../node_modules/nan/nan.h:289:71: warning: ‘bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../crypt3.cc:3:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:6290:22: note: declared here
bool IdleNotification(int idle_time_in_ms));
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../crypt3.cc:7:0:
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:473:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:473:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:474:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:479:20: error: variable or field ‘NanRemoveGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:479:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:484:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:485:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:490:20: error: variable or field ‘NanRemoveGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:490:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:569:15: error: ‘WeakCallbackData’ in namespace ‘v8’ does not name a template type
const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
^
../node_modules/nan/nan.h:569:31: error: expected ‘,’ or ‘...’ before ‘<’ token
const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
^
../node_modules/nan/nan.h: In function ‘void _NanWeakCallbackDispatcher(int)’:
../node_modules/nan/nan.h:570:42: error: ‘data’ was not declared in this scope
_NanWeakCallbackInfo<T, P> *info = data.GetParameter();
^
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
../node_modules/nan/nan.h:672:67: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
In file included from ../node_modules/nan/nan.h:25:0,
from ../crypt3.cc:7:
/home/ziyan/.node-gyp/7.2.1/include/node/node_buffer.h:46:40: note: initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../crypt3.cc:7:0:
../node_modules/nan/nan.h:672:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../node_modules/nan/nan.h:676:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
../node_modules/nan/nan.h:683:12: error: ‘Use’ is not a member of ‘node::Buffer’
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../node_modules/nan/nan.h:710:74: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../crypt3.cc:3:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1321:21: note: declared here
Local<Script> Compile(Isolate* isolate, Source* source,
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../crypt3.cc:7:0:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
../node_modules/nan/nan.h:717:74: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../crypt3.cc:3:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1321:21: note: declared here
Local<Script> Compile(Isolate* isolate, Source* source,
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../crypt3.cc: In function ‘void Method(const v8::FunctionCallbackInfo<v8::Value>&)’:
../crypt3.cc:29:59: warning: ‘v8::Local<v8::Value> node::ErrnoException(int, const char*, const char*, const char*)’ is deprecated: Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
return NanThrowError(node::ErrnoException(errno, "crypt"));
^
In file included from ../crypt3.cc:3:0:
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:100:45: note: declared here
inline v8::Local<v8::Value> ErrnoException(
^
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:66:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^
crypt3.target.mk:94: recipe for target 'Release/obj.target/crypt3/crypt3.o' failed
make: *** [Release/obj.target/crypt3/crypt3.o] Error 1
make: Leaving directory '/home/ziyan/.npm-global/lib/node_modules/sinopia/node_modules/crypt3/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.4.0-53-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ziyan/.npm-global/lib/node_modules/sinopia/node_modules/crypt3
gyp ERR! node -v v7.2.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
> fs-ext@0.4.5 install /home/ziyan/.npm-global/lib/node_modules/sinopia/node_modules/fs-ext
> node-gyp configure build
make: Entering directory '/home/ziyan/.npm-global/lib/node_modules/sinopia/node_modules/fs-ext/build'
CXX(target) Release/obj.target/fs-ext/fs-ext.o
In file included from ../node_modules/nan/nan.h:82:0,
from ../fs-ext.cc:27:
../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../node_modules/nan/nan_new.h:34:64: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42:0,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:8442:14: note: declared here
Local<Int32> Value::ToInt32() const {
^
In file included from ../node_modules/nan/nan.h:82:0,
from ../fs-ext.cc:27:
../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../node_modules/nan/nan_new.h:39:65: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42:0,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:8436:15: note: declared here
Local<Uint32> Value::ToUint32() const {
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../fs-ext.cc:27:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:
../node_modules/nan/nan_implementation_12_inl.h:49:38: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:4048:56: note: declared here
V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../fs-ext.cc:27:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:
../node_modules/nan/nan_implementation_12_inl.h:166:69: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1321:21: note: declared here
Local<Script> Compile(Isolate* isolate, Source* source,
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../fs-ext.cc:27:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../node_modules/nan/nan_implementation_12_inl.h:173:69: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1321:21: note: declared here
Local<Script> Compile(Isolate* isolate, Source* source,
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../fs-ext.cc:27:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:
../node_modules/nan/nan_implementation_12_inl.h:206:42: warning: ‘static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::String::kNormalString, length);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:2317:21: note: declared here
Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../fs-ext.cc:27:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:
../node_modules/nan/nan_implementation_12_inl.h:217:66: warning: ‘static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:2355:38: note: declared here
Local<String> NewExternal(
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../fs-ext.cc:27:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:
../node_modules/nan/nan_implementation_12_inl.h:237:30: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1301:45: note: declared here
Local<UnboundScript> CompileUnbound(
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../fs-ext.cc:27:
../node_modules/nan/nan_implementation_12_inl.h:237:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1301:45: note: declared here
Local<UnboundScript> CompileUnbound(
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../fs-ext.cc:27:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../node_modules/nan/nan_implementation_12_inl.h:244:30: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1301:45: note: declared here
Local<UnboundScript> CompileUnbound(
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:82,
from ../fs-ext.cc:27:
../node_modules/nan/nan_implementation_12_inl.h:244:76: warning: ‘static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1301:45: note: declared here
Local<UnboundScript> CompileUnbound(
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../fs-ext.cc:27:0:
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:261:25: error: redefinition of ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:256:25: note: ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h: In function ‘bool NanIdleNotification(int)’:
../node_modules/nan/nan.h:289:71: warning: ‘bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:6290:22: note: declared here
bool IdleNotification(int idle_time_in_ms));
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../fs-ext.cc:27:0:
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:473:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:473:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:474:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:479:20: error: variable or field ‘NanRemoveGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:479:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:484:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:485:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:490:20: error: variable or field ‘NanRemoveGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:490:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:569:15: error: ‘WeakCallbackData’ in namespace ‘v8’ does not name a template type
const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
^
../node_modules/nan/nan.h:569:31: error: expected ‘,’ or ‘...’ before ‘<’ token
const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
^
../node_modules/nan/nan.h: In function ‘void _NanWeakCallbackDispatcher(int)’:
../node_modules/nan/nan.h:570:42: error: ‘data’ was not declared in this scope
_NanWeakCallbackInfo<T, P> *info = data.GetParameter();
^
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
../node_modules/nan/nan.h:672:67: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
In file included from ../node_modules/nan/nan.h:25:0,
from ../fs-ext.cc:27:
/home/ziyan/.node-gyp/7.2.1/include/node/node_buffer.h:46:40: note: initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../fs-ext.cc:27:0:
../node_modules/nan/nan.h:672:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../node_modules/nan/nan.h:676:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
../node_modules/nan/nan.h:683:12: error: ‘Use’ is not a member of ‘node::Buffer’
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../node_modules/nan/nan.h:710:74: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1321:21: note: declared here
Local<Script> Compile(Isolate* isolate, Source* source,
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
In file included from ../fs-ext.cc:27:0:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
../node_modules/nan/nan.h:717:74: warning: ‘static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:1321:21: note: declared here
Local<Script> Compile(Isolate* isolate, Source* source,
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../fs-ext.cc: In function ‘void EIO_After(uv_work_t*)’:
../fs-ext.cc:108:47: warning: ‘v8::Local<v8::Value> node::ErrnoException(int, const char*, const char*, const char*)’ is deprecated: Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
argv[0] = ErrnoException(store_data->error);
^
In file included from ../fs-ext.cc:20:0:
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:100:45: note: declared here
inline v8::Local<v8::Value> ErrnoException(
^
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:66:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc:151:12: warning: ‘v8::TryCatch::TryCatch()’ is deprecated: Use isolate version [-Wdeprecated-declarations]
TryCatch try_catch;
^
In file included from /home/ziyan/.node-gyp/7.2.1/include/node/v8.h:26:0,
from /home/ziyan/.node-gyp/7.2.1/include/node/node.h:42,
from ../fs-ext.cc:20:
/home/ziyan/.node-gyp/7.2.1/include/node/v8.h:7015:40: note: declared here
V8_DEPRECATED("Use isolate version", TryCatch());
^
/home/ziyan/.node-gyp/7.2.1/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^
../fs-ext.cc:156:29: warning: ‘void node::FatalException(const v8::TryCatch&)’ is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations]
FatalException(try_catch);
^
In file included from ../fs-ext.cc:20:0:
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:299:29: note: declared here
inline void FatalException(const v8::TryCatch& try_catch) {
^
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:66:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc: In function ‘void Flock(const v8::FunctionCallbackInfo<v8::Value>&)’:
../fs-ext.cc:299:58: warning: ‘v8::Local<v8::Value> node::ErrnoException(int, const char*, const char*, const char*)’ is deprecated: Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (i != 0) return NanThrowError(ErrnoException(errno));
^
In file included from ../fs-ext.cc:20:0:
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:100:45: note: declared here
inline v8::Local<v8::Value> ErrnoException(
^
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:66:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc: In function ‘void Seek(const v8::FunctionCallbackInfo<v8::Value>&)’:
../fs-ext.cc:343:69: warning: ‘v8::Local<v8::Value> node::ErrnoException(int, const char*, const char*, const char*)’ is deprecated: Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (offs_result == -1) return NanThrowError(ErrnoException(errno));
^
In file included from ../fs-ext.cc:20:0:
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:100:45: note: declared here
inline v8::Local<v8::Value> ErrnoException(
^
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:66:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc: In function ‘void Fcntl(const v8::FunctionCallbackInfo<v8::Value>&)’:
../fs-ext.cc:380:64: warning: ‘v8::Local<v8::Value> node::ErrnoException(int, const char*, const char*, const char*)’ is deprecated: Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (result == -1) return NanThrowError(ErrnoException(errno));
^
In file included from ../fs-ext.cc:20:0:
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:100:45: note: declared here
inline v8::Local<v8::Value> ErrnoException(
^
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:66:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc: In function ‘void UTime(const v8::FunctionCallbackInfo<v8::Value>&)’:
../fs-ext.cc:439:80: warning: ‘v8::Local<v8::Value> node::ErrnoException(int, const char*, const char*, const char*)’ is deprecated: Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (ret != 0) return NanThrowError(ErrnoException(errno, "utime", "", *path));
^
In file included from ../fs-ext.cc:20:0:
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:100:45: note: declared here
inline v8::Local<v8::Value> ErrnoException(
^
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:66:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^
../fs-ext.cc: In function ‘void StatVFS(const v8::FunctionCallbackInfo<v8::Value>&)’:
../fs-ext.cc:476:82: warning: ‘v8::Local<v8::Value> node::ErrnoException(int, const char*, const char*, const char*)’ is deprecated: Use ErrnoException(isolate, ...) [-Wdeprecated-declarations]
if (ret != 0) return NanThrowError(ErrnoException(errno, "statvfs", "", *path));
^
In file included from ../fs-ext.cc:20:0:
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:100:45: note: declared here
inline v8::Local<v8::Value> ErrnoException(
^
/home/ziyan/.node-gyp/7.2.1/include/node/node.h:66:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^
fs-ext.target.mk:94: recipe for target 'Release/obj.target/fs-ext/fs-ext.o' failed
make: *** [Release/obj.target/fs-ext/fs-ext.o] Error 1
make: Leaving directory '/home/ziyan/.npm-global/lib/node_modules/sinopia/node_modules/fs-ext/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.4.0-53-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /home/ziyan/.npm-global/lib/node_modules/sinopia/node_modules/fs-ext
gyp ERR! node -v v7.2.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
/home/ziyan/.npm-global/lib
└─┬ sinopia@1.4.0
├── async@0.9.2
├─┬ body-parser@1.12.4
│ ├── bytes@1.0.0
│ ├── content-type@1.0.1
│ ├─┬ debug@2.2.0
│ │ └── ms@0.7.1
│ ├── depd@1.0.1
│ ├── iconv-lite@0.4.8
│ ├─┬ on-finished@2.2.1
│ │ └── ee-first@1.1.0
│ ├── qs@2.4.2
│ ├─┬ raw-body@2.0.2
│ │ └── bytes@2.1.0
│ └─┬ type-is@1.6.2
│ ├── media-typer@0.3.0
│ └─┬ mime-types@2.0.12
│ └── mime-db@1.10.0
├─┬ bunyan@1.3.5
│ ├─┬ dtrace-provider@0.4.0
│ │ └── nan@1.5.3
│ ├─┬ mv@2.0.3
│ │ ├── ncp@0.6.0
│ │ └── rimraf@2.2.8
│ └── safe-json-stringify@1.0.3
├─┬ commander@2.8.1
│ └── graceful-readlink@1.0.1
├─┬ compression@1.4.4
│ ├─┬ accepts@1.2.7
│ │ ├─┬ mime-types@2.0.12
│ │ │ └── mime-db@1.10.0
│ │ └── negotiator@0.5.3
│ ├── bytes@1.0.0
│ ├─┬ compressible@2.0.2
│ │ └── mime-db@1.10.0
│ ├─┬ debug@2.2.0
│ │ └── ms@0.7.1
│ ├── on-headers@1.0.0
│ └── vary@1.0.0
├─┬ cookies@0.5.0
│ └── keygrip@1.0.1
├── es6-shim@0.21.1
├─┬ express@5.0.0-alpha.1
│ ├─┬ accepts@1.1.4
│ │ ├─┬ mime-types@2.0.12
│ │ │ └── mime-db@1.10.0
│ │ └── negotiator@0.4.9
│ ├── content-disposition@0.5.0
│ ├── cookie@0.1.2
│ ├── cookie-signature@1.0.5
│ ├─┬ debug@2.1.3
│ │ └── ms@0.7.0
│ ├── depd@1.0.1
│ ├── escape-html@1.0.1
│ ├─┬ etag@1.5.1
│ │ └── crc@3.2.1
│ ├── finalhandler@0.3.2
│ ├── fresh@0.2.4
│ ├── media-typer@0.3.0
│ ├── merge-descriptors@0.0.2
│ ├── methods@1.1.0
│ ├─┬ on-finished@2.1.1
│ │ └── ee-first@1.1.0
│ ├── parseurl@1.3.0
│ ├── path-to-regexp@0.1.3
│ ├─┬ proxy-addr@1.0.8
│ │ ├── forwarded@0.1.0
│ │ └── ipaddr.js@1.0.1
│ ├── qs@2.3.2
│ ├── range-parser@1.0.2
│ ├─┬ send@0.10.1
│ │ ├── destroy@1.0.3
│ │ ├── mime@1.2.11
│ │ └── ms@0.6.2
│ ├── serve-static@1.7.2
│ ├─┬ type-is@1.5.7
│ │ └─┬ mime-types@2.0.12
│ │ └── mime-db@1.10.0
│ ├── utils-merge@1.0.0
│ └── vary@1.0.0
├─┬ express-json5@0.1.0
│ └─┬ raw-body@1.3.4
│ ├── bytes@1.0.0
│ └── iconv-lite@0.4.8
├─┬ handlebars@2.0.0
│ ├─┬ optimist@0.3.7
│ │ └── wordwrap@0.0.3
│ └─┬ uglify-js@2.3.6
│ ├── async@0.2.10
│ └─┬ source-map@0.1.43
│ └── amdefine@0.1.0
├── highlight.js@8.6.0
├─┬ http-errors@1.3.1
│ ├── inherits@2.0.1
│ └── statuses@1.2.1
├── jju@1.2.0
├─┬ js-yaml@3.3.1
│ ├─┬ argparse@1.0.2
│ │ ├── lodash@3.9.3
│ │ └── sprintf-js@1.0.2
│ └── esprima@2.2.0
├─┬ JSONStream@1.0.3
│ ├── jsonparse@1.0.0
│ └── through@2.3.7
├── lunr@0.5.9
├─┬ minimatch@1.0.0
│ ├── lru-cache@2.6.4
│ └── sigmund@1.0.1
├─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├─┬ readable-stream@1.1.13
│ ├── core-util-is@1.0.1
│ ├── inherits@2.0.1
│ ├── isarray@0.0.1
│ └── string_decoder@0.10.31
├─┬ render-readme@1.3.0
│ ├─┬ markdown-it@4.2.1
│ │ ├─┬ argparse@1.0.2
│ │ │ ├── lodash@3.9.3
│ │ │ └── sprintf-js@1.0.2
│ │ ├── entities@1.1.1
│ │ ├── linkify-it@1.1.0
│ │ ├── mdurl@1.0.0
│ │ └── uc.micro@1.0.0
│ └─┬ sanitize-html@1.6.1
│ ├─┬ htmlparser2@3.8.2
│ │ ├── domelementtype@1.3.0
│ │ ├── domhandler@2.3.0
│ │ ├─┬ domutils@1.5.1
│ │ │ └─┬ dom-serializer@0.1.0
│ │ │ ├── domelementtype@1.1.3
│ │ │ └── entities@1.1.1
│ │ └── entities@1.0.0
│ ├── lodash@2.4.2
│ └── regexp-quote@0.0.0
├─┬ request@2.56.0
│ ├── aws-sign2@0.5.0
│ ├─┬ bl@0.9.4
│ │ └─┬ readable-stream@1.0.33
│ │ ├── core-util-is@1.0.1
│ │ ├── inherits@2.0.1
│ │ ├── isarray@0.0.1
│ │ └── string_decoder@0.10.31
│ ├── caseless@0.10.0
│ ├─┬ combined-stream@1.0.3
│ │ └── delayed-stream@1.0.0
│ ├── forever-agent@0.6.1
│ ├─┬ form-data@0.2.0
│ │ └─┬ combined-stream@0.0.7
│ │ └── delayed-stream@0.0.5
│ ├─┬ har-validator@1.7.1
│ │ ├── bluebird@2.9.27
│ │ ├─┬ chalk@1.0.0
│ │ │ ├── ansi-styles@2.0.1
│ │ │ ├── escape-string-regexp@1.0.3
│ │ │ ├─┬ has-ansi@1.0.3
│ │ │ │ ├── ansi-regex@1.1.1
│ │ │ │ └── get-stdin@4.0.1
│ │ │ ├─┬ strip-ansi@2.0.1
│ │ │ │ └── ansi-regex@1.1.1
│ │ │ └── supports-color@1.3.1
│ │ └─┬ is-my-json-valid@2.12.0
│ │ ├── generate-function@2.0.0
│ │ ├─┬ generate-object-property@1.2.0
│ │ │ └── is-property@1.0.2
│ │ ├── jsonpointer@1.1.0
│ │ └── xtend@4.0.0
│ ├─┬ hawk@2.3.1
│ │ ├── boom@2.7.2
│ │ ├── cryptiles@2.0.4
│ │ ├── hoek@2.14.0
│ │ └── sntp@1.0.9
│ ├─┬ http-signature@0.11.0
│ │ ├── asn1@0.1.11
│ │ ├── assert-plus@0.1.5
│ │ └── ctype@0.5.3
│ ├── isstream@0.1.2
│ ├── json-stringify-safe@5.0.1
│ ├─┬ mime-types@2.0.12
│ │ └── mime-db@1.10.0
│ ├── node-uuid@1.4.3
│ ├── oauth-sign@0.8.0
│ ├── qs@3.1.0
│ ├── stringstream@0.0.4
│ ├── tough-cookie@1.2.0
│ └── tunnel-agent@0.4.0
├── semver@4.3.5
└── sinopia-htpasswd@0.4.5
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: crypt3@0.1.8 (node_modules/sinopia/node_modules/crypt3):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: crypt3@0.1.8 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs-ext@0.4.5 (node_modules/sinopia/node_modules/fs-ext):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs-ext@0.4.5 install: `node-gyp configure build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment