Skip to content

Instantly share code, notes, and snippets.

@brianmcd
Created May 5, 2015 13:27
Show Gist options
  • Save brianmcd/fd687ce4bddaba8d43c1 to your computer and use it in GitHub Desktop.
Save brianmcd/fd687ce4bddaba8d43c1 to your computer and use it in GitHub Desktop.
gyp info it worked if it ends with ok
gyp info using node-gyp@1.0.3
gyp info using node@0.12.2 | darwin | x64
gyp info spawn python
gyp info spawn args [ '/Users/brianmcd/local/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/brianmcd/projects/contextify/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/brianmcd/local/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/brianmcd/.node-gyp/0.12.2/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/brianmcd/.node-gyp/0.12.2',
gyp info spawn args '-Dmodule_root_dir=/Users/brianmcd/projects/contextify',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CXX(target) Release/obj.target/contextify/src/contextify.o
In file included from ../src/contextify.cc:1:
In file included from /Users/brianmcd/.node-gyp/0.12.2/src/node.h:61:
/Users/brianmcd/.node-gyp/0.12.2/deps/v8/include/v8.h:596:5: error: assigning to 'v8::Object *volatile' from
incompatible type 'v8::Primitive *'
TYPE_CHECK(O, Primitive);
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/brianmcd/.node-gyp/0.12.2/deps/v8/include/v8.h:167:37: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^ ~~~~~~~~~~~~~~~~~~
/Users/brianmcd/.node-gyp/0.12.2/deps/v8/include/v8.h:592:5: note: in instantiation of function template
specialization 'v8::NonCopyablePersistentTraits<v8::Object>::Uncompilable<v8::Object>' requested here
Uncompilable<Object>();
^
/Users/brianmcd/.node-gyp/0.12.2/deps/v8/include/v8.h:5826:6: note: in instantiation of function template
specialization 'v8::NonCopyablePersistentTraits<v8::Object>::Copy<v8::Object,
v8::NonCopyablePersistentTraits<v8::Object> >' requested here
M::Copy(that, this);
^
/Users/brianmcd/.node-gyp/0.12.2/deps/v8/include/v8.h:657:5: note: in instantiation of function template
specialization 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >::Copy<v8::Object,
v8::NonCopyablePersistentTraits<v8::Object> >' requested here
Copy(that);
^
../src/contextify.cc:117:24: note: in instantiation of member function 'v8::Persistent<v8::Object,
v8::NonCopyablePersistentTraits<v8::Object> >::Persistent' requested here
NanReturnValue(ctx->proxyGlobal);
^
../node_modules/nan/nan.h:401:81: note: expanded from macro 'NanReturnValue'
# define NanReturnValue(value) return args.GetReturnValue().Set(_NanEnsureLocal(value))
^
1 error generated.
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/brianmcd/local/lib/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "node" "/Users/brianmcd/local/bin/node-gyp" "rebuild"
gyp ERR! cwd /Users/brianmcd/projects/contextify
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment