Skip to content

Instantly share code, notes, and snippets.

@cgole
Created September 8, 2015 17:12
Show Gist options
  • Save cgole/72cc0c22a8fdf6d18423 to your computer and use it in GitHub Desktop.
Save cgole/72cc0c22a8fdf6d18423 to your computer and use it in GitHub Desktop.
$ npm i -g strong-pm --registry http://ci.strongloop.com:4873
> heapdump@0.3.7 install /home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-runner/node_modules/strong-supervisor/node_modules/heapdump
> node-gyp rebuild
make: Entering directory `/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-runner/node_modules/strong-supervisor/node_modules/heapdump/build'
CXX(target) Release/obj.target/addon/src/heapdump.o
SOLINK_MODULE(target) Release/obj.target/addon.node
COPY Release/addon.node
make: Leaving directory `/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-runner/node_modules/strong-supervisor/node_modules/heapdump/build'
> bufferutil@1.2.1 install /home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-control-channel/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild
make: Entering directory `/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-control-channel/node_modules/ws/node_modules/bufferutil/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
COPY Release/bufferutil.node
make: Leaving directory `/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-control-channel/node_modules/ws/node_modules/bufferutil/build'
> utf-8-validate@1.2.1 install /home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-control-channel/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild
make: Entering directory `/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-control-channel/node_modules/ws/node_modules/utf-8-validate/build'
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
COPY Release/validation.node
make: Leaving directory `/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-control-channel/node_modules/ws/node_modules/utf-8-validate/build'
> modern-syslog@1.1.3 install /home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-runner/node_modules/strong-supervisor/node_modules/modern-syslog
> node-gyp rebuild
make: Entering directory `/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-runner/node_modules/strong-supervisor/node_modules/modern-syslog/build'
CXX(target) Release/obj.target/core/core.o
SOLINK_MODULE(target) Release/obj.target/core.node
COPY Release/core.node
make: Leaving directory `/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-runner/node_modules/strong-supervisor/node_modules/modern-syslog/build'
> strong-agent@2.0.24 install /home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-runner/node_modules/strong-supervisor/node_modules/strong-agent
> node-gyp rebuild || exit 0
make: Entering directory `/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-runner/node_modules/strong-supervisor/node_modules/strong-agent/build'
CXX(target) Release/obj.target/strong-agent/src/strong-agent.o
SOLINK_MODULE(target) Release/obj.target/strong-agent.node
COPY Release/strong-agent.node
make: Leaving directory `/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/strong-runner/node_modules/strong-supervisor/node_modules/strong-agent/build'
npm WARN deprecated jsonstream@1.0.3: use JSONStream instead
|
> sqlite3@3.0.10 install /home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/minkelite/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build
make: Entering directory `/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/minkelite/node_modules/sqlite3/build'
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3081101/sqlite3.c
TOUCH Release/obj.target/deps/action_before_build.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3081101/sqlite3.o
Release/obj/gen/sqlite-autoconf-3081101/sqlite3.c: In function ‘rtreeInsertCell’:
Release/obj/gen/sqlite-autoconf-3081101/sqlite3.c:155150:26: warning: array subscript is above array bounds [-Warray-bounds]
aCenterCoord[iDim] += DCOORD(aCell[ii].aCoord[iDim*2]);
^
Release/obj/gen/sqlite-autoconf-3081101/sqlite3.c:155151:26: warning: array subscript is above array bounds [-Warray-bounds]
aCenterCoord[iDim] += DCOORD(aCell[ii].aCoord[iDim*2+1]);
^
Release/obj/gen/sqlite-autoconf-3081101/sqlite3.c:155150:26: warning: array subscript is above array bounds [-Warray-bounds]
aCenterCoord[iDim] += DCOORD(aCell[ii].aCoord[iDim*2]);
^
Release/obj/gen/sqlite-autoconf-3081101/sqlite3.c:155151:26: warning: array subscript is above array bounds [-Warray-bounds]
aCenterCoord[iDim] += DCOORD(aCell[ii].aCoord[iDim*2+1]);
^
Release/obj/gen/sqlite-autoconf-3081101/sqlite3.c:155150:26: warning: array subscript is above array bounds [-Warray-bounds]
aCenterCoord[iDim] += DCOORD(aCell[ii].aCoord[iDim*2]);
^
Release/obj/gen/sqlite-autoconf-3081101/sqlite3.c:155151:26: warning: array subscript is above array bounds [-Warray-bounds]
aCenterCoord[iDim] += DCOORD(aCell[ii].aCoord[iDim*2+1]);
^
Release/obj/gen/sqlite-autoconf-3081101/sqlite3.c:155150:26: warning: array subscript is above array bounds [-Warray-bounds]
aCenterCoord[iDim] += DCOORD(aCell[ii].aCoord[iDim*2]);
^
Release/obj/gen/sqlite-autoconf-3081101/sqlite3.c:155151:26: warning: array subscript is above array bounds [-Warray-bounds]
aCenterCoord[iDim] += DCOORD(aCell[ii].aCoord[iDim*2+1]);
^
AR(target) Release/obj.target/deps/sqlite3.a
COPY Release/sqlite3.a
CXX(target) Release/obj.target/node_sqlite3/src/database.o
In file included from ../src/database.h:11:0,
from ../src/database.cc:5:
../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: error: ‘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: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: 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:672:67: note: candidates are:
In file included from ../node_modules/nan/nan.h:25:0,
from ../src/database.h:11,
from ../src/database.cc:5:
/home/ubuntu/.node-gyp/3.0.0/include/node/node_buffer.h:35:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Handle<v8::String>, node::encoding) <near match>
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/home/ubuntu/.node-gyp/3.0.0/include/node/node_buffer.h:35:40: note: no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’
/home/ubuntu/.node-gyp/3.0.0/include/node/node_buffer.h:47: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,
^
/home/ubuntu/.node-gyp/3.0.0/include/node/node_buffer.h:47:40: note: no known conversion for argument 2 from ‘const char*’ to ‘char*’
In file included from ../src/database.h:11:0,
from ../src/database.cc:5:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../node_modules/nan/nan.h:676: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:683:12: error: ‘Use’ is not a member of ‘node::Buffer’
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginOpen(node_sqlite3::Database::Baton*)’:
../src/database.cc:145:9: warning: unused variable ‘status’ [-Wunused-variable]
int status = uv_queue_work(uv_default_loop(),
^
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginClose(node_sqlite3::Database::Baton*)’:
../src/database.cc:230:9: warning: unused variable ‘status’ [-Wunused-variable]
int status = uv_queue_work(uv_default_loop(),
^
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginExec(node_sqlite3::Database::Baton*)’:
../src/database.cc:509:9: warning: unused variable ‘status’ [-Wunused-variable]
int status = uv_queue_work(uv_default_loop(),
^
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginLoadExtension(node_sqlite3::Database::Baton*)’:
../src/database.cc:610:9: warning: unused variable ‘status’ [-Wunused-variable]
int status = uv_queue_work(uv_default_loop(),
^
make: *** [Release/obj.target/node_sqlite3/src/database.o] Error 1
make: Leaving directory `/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/minkelite/node_modules/sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269: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.13.0-44-generic
gyp ERR! command "/home/ubuntu/.nvm/versions/io.js/v3.0.0/bin/iojs" "/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/minkelite/node_modules/sqlite3/lib/binding/node-v45-linux-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/minkelite/node_modules/sqlite3/lib/binding/node-v45-linux-x64"
gyp ERR! cwd /home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/minkelite/node_modules/sqlite3
gyp ERR! node -v v3.0.0
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/home/ubuntu/.nvm/versions/io.js/v3.0.0/bin/iojs /home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/minkelite/node_modules/sqlite3/lib/binding/node-v45-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/minkelite/node_modules/sqlite3/lib/binding/node-v45-linux-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/minkelite/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:87:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:172:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:764:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
node-pre-gyp ERR! System Linux 3.13.0-44-generic
node-pre-gyp ERR! command "/home/ubuntu/.nvm/versions/io.js/v3.0.0/bin/iojs" "/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/minkelite/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/minkelite/node_modules/sqlite3
node-pre-gyp ERR! node -v v3.0.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.9
node-pre-gyp ERR! not ok
Failed to execute '/home/ubuntu/.nvm/versions/io.js/v3.0.0/bin/iojs /home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/minkelite/node_modules/sqlite3/lib/binding/node-v45-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/ubuntu/.nvm/versions/io.js/v3.0.0/lib/node_modules/strong-pm/node_modules/minkelite/node_modules/sqlite3/lib/binding/node-v45-linux-x64' (1)
npm ERR! Linux 3.13.0-44-generic
npm ERR! argv "/home/ubuntu/.nvm/versions/io.js/v3.0.0/bin/iojs" "/home/ubuntu/.nvm/versions/io.js/v3.0.0/bin/npm" "i" "-g" "strong-pm" "--registry" "http://ci.strongloop.com:4873"
npm ERR! node v3.0.0
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! sqlite3@3.0.10 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@3.0.10 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! This is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR! npm owner ls sqlite3
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntu/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment