Skip to content

Instantly share code, notes, and snippets.

@thefinn93
Created October 5, 2016 01:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thefinn93/e929afe2a3220827ce86912966182b6f to your computer and use it in GitHub Desktop.
Save thefinn93/e929afe2a3220827ce86912966182b6f to your computer and use it in GitHub Desktop.
$ node_modules/.bin/npm install vorbis
> ogg@1.2.5 install /tmp/oggtest/node_modules/ogg
> node-gyp rebuild
make: Entering directory '/tmp/oggtest/node_modules/ogg/build'
CC(target) Release/obj.target/libogg/deps/libogg/src/framing.o
CC(target) Release/obj.target/libogg/deps/libogg/src/bitwise.o
AR(target) Release/obj.target/deps/libogg/ogg.a
COPY Release/ogg.a
CXX(target) Release/obj.target/ogg/src/binding.o
In file included from ../../nan/nan.h:194:0,
from ../src/binding.cc:23:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::MaybeLocal<v8::Object> Nan::CloneElementAt(v8::Local<v8::Array>, uint32_t)’:
../../nan/nan_maybe_43_inl.h:221:58: warning: ‘v8::MaybeLocal<v8::Object> v8::Array::CloneElementAt(v8::Local<v8::Context>, uint32_t)’ is deprecated: Cloning is not supported. [-Wdeprecated-declarations]
return array->CloneElementAt(GetCurrentContext(), index);
^
In file included from /home/finn/.node-gyp/6.7.0/include/node/v8.h:25:0,
from /home/finn/.node-gyp/6.7.0/include/node/node.h:42,
from ../src/binding.cc:22:
/home/finn/.node-gyp/6.7.0/include/node/v8.h:3032:36: note: declared here
MaybeLocal<Object> CloneElementAt(Local<Context> context,
^
/home/finn/.node-gyp/6.7.0/include/node/v8config.h:333:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:200,
from ../src/binding.cc:23:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::BooleanObject>::return_t Nan::imp::Factory<v8::BooleanObject>::New(bool)’:
../../nan/nan_implementation_12_inl.h:40: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/finn/.node-gyp/6.7.0/include/node/v8.h:25:0,
from /home/finn/.node-gyp/6.7.0/include/node/node.h:42,
from ../src/binding.cc:22:
/home/finn/.node-gyp/6.7.0/include/node/v8.h:4007:56: note: declared here
V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
^
/home/finn/.node-gyp/6.7.0/include/node/v8config.h:333:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/binding.cc:23:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:602:20: error: variable or field ‘AddGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback
^~~~~~~~~~~~~~~~~~
../../nan/nan.h:602:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback
^~
../../nan/nan.h:603:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^~~~~~~~~~~~~~
../../nan/nan.h:608:20: error: variable or field ‘RemoveGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback) {
^~~~~~~~~~~~~~~~~~
../../nan/nan.h:608:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback) {
^~
../../nan/nan.h:613:20: error: variable or field ‘AddGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback
^~~~~~~~~~~~~~~~~~
../../nan/nan.h:613:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback
^~
../../nan/nan.h:614:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^~~~~~~~~~~~~~
../../nan/nan.h:619:20: error: variable or field ‘RemoveGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback) {
^~~~~~~~~~~~~~~~~~
../../nan/nan.h:619:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback) {
^~
../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:
../../nan/nan.h:1961:16: warning: ‘bool v8::Object::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
, attribute);
^
In file included from /home/finn/.node-gyp/6.7.0/include/node/v8.h:25:0,
from /home/finn/.node-gyp/6.7.0/include/node/node.h:42,
from ../src/binding.cc:22:
/home/finn/.node-gyp/6.7.0/include/node/v8.h:2751:22: note: declared here
bool SetAccessor(Local<Name> name,
^
/home/finn/.node-gyp/6.7.0/include/node/v8config.h:333:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
ogg.target.mk:101: recipe for target 'Release/obj.target/ogg/src/binding.o' failed
make: *** [Release/obj.target/ogg/src/binding.o] Error 1
make: Leaving directory '/tmp/oggtest/node_modules/ogg/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/tmp/oggtest/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.7.0-1-amd64
gyp ERR! command "/usr/local/bin/node" "/tmp/oggtest/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/oggtest/node_modules/ogg
gyp ERR! node -v v6.7.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
oggtest@1.0.0 /tmp/oggtest
├── bindings@1.2.1 extraneous
├── debug@2.2.0 extraneous
├── nan@2.1.0 extraneous
└── readable-stream@1.0.34 extraneous
npm WARN oggtest@1.0.0 No description
npm WARN oggtest@1.0.0 No repository field.
npm ERR! Linux 4.7.0-1-amd64
npm ERR! argv "/usr/local/bin/node" "/tmp/oggtest/node_modules/.bin/npm" "install" "vorbis"
npm ERR! node v6.7.0
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! ogg@1.2.5 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ogg@1.2.5 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ogg 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 ogg
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ogg
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/oggtest/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment