Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Bringing base dependencies up to date...
- Error: Command failed: /usr/bin/env npm i --production
- gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
- gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
- gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
- ../deps/libmagic/src/cdf.c: In function ‘cdf_read’:
- ../deps/libmagic/src/cdf.c:306:2: warning: implicit declaration of function ‘pread’ [-Wimplicit-function-declaration]
- if (pread(info->i_fd, buf, len, off) != (ssize_t)len)
- ^
- In file included from ../src/magic.cc:3:0:
- ../node_modules/nan/nan.h:324:27: error: redefinition of ‘template<class T> v8::Local<T> Nan::imp::NanEnsureHandleOrPersistent(const v8::Local<T>&)’
- NAN_INLINE v8::Local<T> NanEnsureHandleOrPersistent(const v8::Local<T> &val) {
- ^
- ../node_modules/nan/nan.h:319:17: error: ‘template<class T> v8::Handle<T> Nan::imp::NanEnsureHandleOrPersistent(v8::Handle<T>&)’ previously declared here
- v8::Handle<T> NanEnsureHandleOrPersistent(const v8::Handle<T> &val) {
- ^
- ../node_modules/nan/nan.h:344:27: error: redefinition of ‘template<class T> v8::Local<T> Nan::imp::NanEnsureLocal(v8::Handle<T>&)’
- NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Handle<T> &val) {
- ^
- ../node_modules/nan/nan.h:334:27: error: ‘template<class T> v8::Local<T> Nan::imp::NanEnsureLocal(const v8::Local<T>&)’ previously declared here
- NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Local<T> &val) {
- ^
- ../node_modules/nan/nan.h:757:13: error: ‘node::smalloc’ has not been declared
- , node::smalloc::FreeCallback callback
- ^
- ../node_modules/nan/nan.h:757: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:761:50: error: ‘callback’ was not declared in this scope
- v8::Isolate::GetCurrent(), data, length, callback, hint);
- ^
- ../node_modules/nan/nan.h:761: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:768:67: error: call of overloaded ‘New(v8::Isolate*, const char*&, uint32_t&)’ is ambiguous
- return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
- ^
- ../node_modules/nan/nan.h:768:67: note: candidates are:
- In file included from ../src/magic.cc:2:0:
- /root/.node-gyp/4.4.3/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) <near match>
- NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
- ^
- /root/.node-gyp/4.4.3/include/node/node_buffer.h:31:40: note: no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’
- /root/.node-gyp/4.4.3/include/node/node_buffer.h:43:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <near match>
- NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
- ^
- /root/.node-gyp/4.4.3/include/node/node_buffer.h:43:40: note: no known conversion for argument 2 from ‘const char*’ to ‘char*’
- In file included from ../src/magic.cc:3:0:
- ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
- ../node_modules/nan/nan.h:772:61: 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:779:12: error: ‘Use’ is not a member of ‘node::Buffer’
- return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
- ^
- ```
- ```
- make: *** [Release/obj.target/magic/src/magic.o] Error 1
- gyp ERR! build error
- gyp ERR! stack Error: `make` failed with exit code: 2
- gyp ERR! stack at ChildProcess.onExit (/root/.nvm/v4.4.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
- gyp ERR! stack at emitTwo (events.js:87:13)
- gyp ERR! stack at ChildProcess.emit (events.js:172:7)
- gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
- gyp ERR! System Linux 3.10.0-123.8.1.el7.x86_64
- gyp ERR! command "/root/.nvm/v4.4.3/bin/node" "/root/.nvm/v4.4.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
- gyp ERR! cwd /root/nodebb/node_modules/mmmagic
- gyp ERR! node -v v4.4.3
- gyp ERR! node-gyp -v v3.3.1
- gyp ERR! not ok
- gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
- gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
- gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
- In file included from ../src/decoder/decoder.h:13:0,
- from ../src/decoder/init.cpp:1:
- ../node_modules/nan/nan.h:324:27: error: redefinition of ‘template<class T> v8::Local<T> Nan::imp::NanEnsureHandleOrPersistent(const v8::Local<T>&)’
- NAN_INLINE v8::Local<T> NanEnsureHandleOrPersistent(const v8::Local<T> &val) {
- ^
- ../node_modules/nan/nan.h:319:17: error: ‘template<class T> v8::Handle<T> Nan::imp::NanEnsureHandleOrPersistent(v8::Handle<T>&)’ previously declared here
- v8::Handle<T> NanEnsureHandleOrPersistent(const v8::Handle<T> &val) {
- ^
- ../node_modules/nan/nan.h:344:27: error: redefinition of ‘template<class T> v8::Local<T> Nan::imp::NanEnsureLocal(v8::Handle<T>&)’
- NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Handle<T> &val) {
- ^
- ../node_modules/nan/nan.h:334:27: error: ‘template<class T> v8::Local<T> Nan::imp::NanEnsureLocal(const v8::Local<T>&)’ previously declared here
- NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Local<T> &val) {
- ^
- ../node_modules/nan/nan.h:757:13: error: ‘node::smalloc’ has not been declared
- , node::smalloc::FreeCallback callback
- ^
- ../node_modules/nan/nan.h:757: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:761:50: error: ‘callback’ was not declared in this scope
- v8::Isolate::GetCurrent(), data, length, callback, hint);
- ^
- ../node_modules/nan/nan.h:761: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:768:67: error: call of overloaded ‘New(v8::Isolate*, const char*&, uint32_t&)’ is ambiguous
- return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
- ^
- ../node_modules/nan/nan.h:768:67: note: candidates are:
- In file included from ../src/decoder/decoder.h:12:0,
- from ../src/decoder/init.cpp:1:
- /root/.node-gyp/4.4.3/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) <near match>
- NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
- ^
- /root/.node-gyp/4.4.3/include/node/node_buffer.h:31:40: note: no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’
- /root/.node-gyp/4.4.3/include/node/node_buffer.h:43:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <near match>
- NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
- ^
- /root/.node-gyp/4.4.3/include/node/node_buffer.h:43:40: note: no known conversion for argument 2 from ‘const char*’ to ‘char*’
- In file included from ../src/decoder/decoder.h:13:0,
- from ../src/decoder/init.cpp:1:
- ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
- ../node_modules/nan/nan.h:772:61: 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:779:12: error: ‘Use’ is not a member of ‘node::Buffer’
- return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
- ^
- make: *** [Release/obj.target/lwip_decoder/src/decoder/init.o] Error 1
- gyp ERR! build error
- gyp ERR! stack Error: `make` failed with exit code: 2
- gyp ERR! stack at ChildProcess.onExit (/root/.nvm/v4.4.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
- gyp ERR! stack at emitTwo (events.js:87:13)
- gyp ERR! stack at ChildProcess.emit (events.js:172:7)
- gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
- gyp ERR! System Linux 3.10.0-123.8.1.el7.x86_64
- gyp ERR! command "/root/.nvm/v4.4.3/bin/node" "/root/.nvm/v4.4.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
- gyp ERR! cwd /root/nodebb/node_modules/lwip
- gyp ERR! node -v v4.4.3
- gyp ERR! node-gyp -v v3.3.1
- gyp ERR! not ok
- npm ERR! Linux 3.10.0-123.8.1.el7.x86_64
- npm ERR! argv "/root/.nvm/v4.4.3/bin/node" "/root/.nvm/v4.4.3/bin/npm" "i" "--production"
- npm ERR! node v4.4.3
- npm ERR! npm v2.15.1
- npm ERR! code ELIFECYCLE
- npm ERR! mmmagic@0.3.15 install: `node-gyp rebuild`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the mmmagic@0.3.15 install script 'node-gyp rebuild'.
- npm ERR! This is most likely a problem with the mmmagic package,
- npm ERR! not with npm itself.
- npm ERR! Tell the author that this fails on your system:
- npm ERR! node-gyp rebuild
- npm ERR! You can get information on how to open an issue for this project with:
- npm ERR! npm bugs mmmagic
- npm ERR! Or if that isn't available, you can get their info via:
- npm ERR!
- npm ERR! npm owner ls mmmagic
- npm ERR! There is likely additional logging output above.
- npm ERR! Please include the following file with any support request:
- npm ERR! /root/nodebb/npm-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement