stephenmathieson/node-sophist

0.10.29

stephenmathieson opened this issue · 1 comments

not cool. fails to build. will be a huge problem when we deploy next :/

$ npm install sophist

> sophist@0.2.2 install /Users/stephenmathieson/node_modules/sophist
> node-gyp rebuild

  CXX(target) Release/obj.target/sophia-cc/deps/sophia.cc/sophia.o
  CC(target) Release/obj.target/sophia-cc/deps/sophia.cc/deps/list/list.o
../deps/sophia.cc/deps/list/list.c:173:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
  if (index < self->len) {
      ~~~~~ ^ ~~~~~~~~~
1 warning generated.
  CC(target) Release/obj.target/sophia-cc/deps/sophia.cc/deps/list/list_iterator.o
  CC(target) Release/obj.target/sophia-cc/deps/sophia.cc/deps/list/list_node.o
  LIBTOOL-STATIC Release/libsophia-cc.a
  CC(target) Release/obj.target/sophia/deps/sophia/db/cat.o
In file included from ../deps/sophia/db/cat.c:10:
In file included from ../deps/sophia/db/sp.h:44:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/util.h:25:
/Users/stephenmathieson/.node-gyp/0.10.29/deps/v8/include/v8.h:82:1: error: unknown type name 'namespace'
namespace v8 {
^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/v8/include/v8.h:82:13: error: expected ';' after top level declarator
namespace v8 {
            ^
            ;
In file included from ../deps/sophia/db/cat.c:10:
In file included from ../deps/sophia/db/sp.h:44:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/util.h:26:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/string_bytes.h:28:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/node.h:61:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:67:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv-private/uv-unix.h:25:
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv-private/ngx-queue.h:14:5: error: unknown type name 'ngx_queue_t'
    ngx_queue_t  *prev;
    ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv-private/ngx-queue.h:15:5: error: unknown type name 'ngx_queue_t'
    ngx_queue_t  *next;
    ^
In file included from ../deps/sophia/db/cat.c:10:
In file included from ../deps/sophia/db/sp.h:44:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/util.h:26:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/string_bytes.h:28:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/node.h:61:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:67:
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv-private/uv-unix.h:75:3: error: unknown type name 'ngx_queue_t'
  ngx_queue_t pending_queue;
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv-private/uv-unix.h:76:3: error: unknown type name 'ngx_queue_t'
  ngx_queue_t watcher_queue;
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv-private/uv-unix.h:97:3: error: unknown type name 'ngx_queue_t'
  ngx_queue_t wq;
  ^
In file included from ../deps/sophia/db/cat.c:10:
In file included from ../deps/sophia/db/sp.h:44:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/util.h:26:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/string_bytes.h:28:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/node.h:61:
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:446:3: error: unknown type name 'ngx_queue_t'
  UV_REQ_FIELDS
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:441:3: note: expanded from macro 'UV_REQ_FIELDS'
  ngx_queue_t active_queue;                                                   \
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:466:3: error: unknown type name 'ngx_queue_t'
  UV_REQ_FIELDS
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:441:3: note: expanded from macro 'UV_REQ_FIELDS'
  ngx_queue_t active_queue;                                                   \
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:486:3: error: unknown type name 'ngx_queue_t'
  UV_HANDLE_FIELDS
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:481:3: note: expanded from macro 'UV_HANDLE_FIELDS'
  ngx_queue_t handle_queue;                                                   \
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:570:3: error: unknown type name 'ngx_queue_t'
  UV_HANDLE_FIELDS
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:481:3: note: expanded from macro 'UV_HANDLE_FIELDS'
  ngx_queue_t handle_queue;                                                   \
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:571:3: error: unknown type name 'ngx_queue_t'
  UV_STREAM_FIELDS
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:559:3: note: expanded from macro 'UV_STREAM_FIELDS'
  UV_STREAM_PRIVATE_FIELDS
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv-private/uv-unix.h:230:3: note: expanded from macro 'UV_STREAM_PRIVATE_FIELDS'
  ngx_queue_t write_queue;                                                    \
  ^
In file included from ../deps/sophia/db/cat.c:10:
In file included from ../deps/sophia/db/sp.h:44:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/util.h:26:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/string_bytes.h:28:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/node.h:61:
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:571:3: error: unknown type name 'ngx_queue_t'
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:559:3: note: expanded from macro 'UV_STREAM_FIELDS'
  UV_STREAM_PRIVATE_FIELDS
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv-private/uv-unix.h:231:3: note: expanded from macro 'UV_STREAM_PRIVATE_FIELDS'
  ngx_queue_t write_completed_queue;                                          \
  ^
In file included from ../deps/sophia/db/cat.c:10:
In file included from ../deps/sophia/db/sp.h:44:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/util.h:26:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/string_bytes.h:28:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/node.h:61:
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:648:3: error: unknown type name 'ngx_queue_t'
  UV_REQ_FIELDS
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:441:3: note: expanded from macro 'UV_REQ_FIELDS'
  ngx_queue_t active_queue;                                                   \
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:652:3: error: unknown type name 'ngx_queue_t'
  UV_WRITE_PRIVATE_FIELDS
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv-private/uv-unix.h:201:3: note: expanded from macro 'UV_WRITE_PRIVATE_FIELDS'
  ngx_queue_t queue;                                                          \
  ^
In file included from ../deps/sophia/db/cat.c:10:
In file included from ../deps/sophia/db/sp.h:44:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/util.h:26:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/string_bytes.h:28:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/node.h:61:
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:679:3: error: unknown type name 'ngx_queue_t'
  UV_HANDLE_FIELDS
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:481:3: note: expanded from macro 'UV_HANDLE_FIELDS'
  ngx_queue_t handle_queue;                                                   \
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:680:3: error: unknown type name 'ngx_queue_t'
  UV_STREAM_FIELDS
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:559:3: note: expanded from macro 'UV_STREAM_FIELDS'
  UV_STREAM_PRIVATE_FIELDS
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv-private/uv-unix.h:230:3: note: expanded from macro 'UV_STREAM_PRIVATE_FIELDS'
  ngx_queue_t write_queue;                                                    \
  ^
In file included from ../deps/sophia/db/cat.c:10:
In file included from ../deps/sophia/db/sp.h:44:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/util.h:26:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/string_bytes.h:28:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/node.h:61:
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:680:3: error: unknown type name 'ngx_queue_t'
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:559:3: note: expanded from macro 'UV_STREAM_FIELDS'
  UV_STREAM_PRIVATE_FIELDS
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv-private/uv-unix.h:231:3: note: expanded from macro 'UV_STREAM_PRIVATE_FIELDS'
  ngx_queue_t write_completed_queue;                                          \
  ^
In file included from ../deps/sophia/db/cat.c:10:
In file included from ../deps/sophia/db/sp.h:44:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/util.h:26:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/string_bytes.h:28:
In file included from /Users/stephenmathieson/.node-gyp/0.10.29/src/node.h:61:
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:733:3: error: unknown type name 'ngx_queue_t'
  UV_REQ_FIELDS
  ^
/Users/stephenmathieson/.node-gyp/0.10.29/deps/uv/include/uv.h:441:3: note: expanded from macro 'UV_REQ_FIELDS'
  ngx_queue_t active_queue;                                                   \
  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/sophia/deps/sophia/db/cat.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/stephenmathieson/.nvm/v0.10.29/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Darwin 13.0.0
gyp ERR! command "node" "/Users/stephenmathieson/.nvm/v0.10.29/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/stephenmathieson/node_modules/sophist
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.13.1
gyp ERR! not ok 
npm ERR! sophist@0.2.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the sophist@0.2.2 install script.
npm ERR! This is most likely a problem with the sophist 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 their info via:
npm ERR!     npm owner ls sophist
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.0.0
npm ERR! command "/Users/stephenmathieson/.nvm/v0.10.29/bin/node" "/Users/stephenmathieson/.nvm/v0.10.29/bin/npm" "install" "sophist"
npm ERR! cwd /Users/stephenmathieson
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/stephenmathieson/npm-debug.log
npm ERR! not ok code 0