Skip to content

Instantly share code, notes, and snippets.

@thefinn93
Created October 5, 2016 01:05
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/66de1e7f7efd9a9446ee38e80d867e74 to your computer and use it in GitHub Desktop.
Save thefinn93/66de1e7f7efd9a9446ee38e80d867e74 to your computer and use it in GitHub Desktop.
finn@wash  /tmp/oggtest  npm install vorbis
npm WARN package.json oggtest@1.0.0 No description
npm WARN package.json oggtest@1.0.0 No repository field.
npm WARN package.json oggtest@1.0.0 No README data
-
> ogg@1.2.5 install /tmp/oggtest/node_modules/vorbis/node_modules/ogg
> node-gyp rebuild
make: Entering directory '/tmp/oggtest/node_modules/vorbis/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
SOLINK(target) Release/obj.target/ogg.node
COPY Release/lib.target/ogg.node
make: Leaving directory '/tmp/oggtest/node_modules/vorbis/node_modules/ogg/build'
> vorbis@0.2.1 install /tmp/oggtest/node_modules/vorbis
> node-gyp rebuild
make: Entering directory '/tmp/oggtest/node_modules/vorbis/build'
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/mdct.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/smallft.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/block.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/envelope.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/window.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/lsp.o
../deps/libvorbis/lib/lsp.c: In function ‘Laguerre_With_Deflation’:
../deps/libvorbis/lib/lsp.c:312:10: warning: variable ‘lastdelta’ set but not used [-Wunused-but-set-variable]
double lastdelta=0.f;
^~~~~~~~~
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/lpc.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/analysis.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/synthesis.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/psy.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/info.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/floor1.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/floor0.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/res0.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/mapping0.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/registry.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/codebook.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/sharedbook.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/lookup.o
CC(target) Release/obj.target/libvorbis/deps/libvorbis/lib/bitrate.o
AR(target) Release/obj.target/deps/libvorbis/vorbis.a
COPY Release/vorbis.a
CC(target) Release/obj.target/vorbisenc/deps/libvorbis/lib/vorbisenc.o
AR(target) Release/obj.target/deps/libvorbis/libvorbisenc.a
COPY Release/libvorbisenc.a
CXX(target) Release/obj.target/vorbis/src/binding.o
../src/binding.cc: In constructor ‘nodevorbis::AnalysisWriteWorker::AnalysisWriteWorker(vorbis_dsp_state*, float*, int, long int, Nan::Callback*)’:
../src/binding.cc:178:7: warning: ‘nodevorbis::AnalysisWriteWorker::rtn’ will be initialized after [-Wreorder]
int rtn;
^~~
../src/binding.cc:147:30: warning: base ‘Nan::AsyncWorker’ [-Wreorder]
Nan::AsyncWorker(callback) { }
^
../src/binding.cc:145:3: warning: when initialized here [-Wreorder]
AnalysisWriteWorker(vorbis_dsp_state *vd, float *buffer, int channels, long samples, Nan::Callback *callback)
^~~~~~~~~~~~~~~~~~~
../src/binding.cc: In constructor ‘nodevorbis::AnalysisBlockoutWorker::AnalysisBlockoutWorker(vorbis_dsp_state*, vorbis_block*, Nan::Callback*)’:
../src/binding.cc:212:7: warning: ‘nodevorbis::AnalysisBlockoutWorker::rtn’ will be initialized after [-Wreorder]
int rtn;
^~~
../src/binding.cc:197:56: warning: base ‘Nan::AsyncWorker’ [-Wreorder]
: vd(vd), vb(vb), rtn(0), Nan::AsyncWorker(callback) { }
^
../src/binding.cc:196:3: warning: when initialized here [-Wreorder]
AnalysisBlockoutWorker(vorbis_dsp_state *vd, vorbis_block *vb, Nan::Callback *callback)
^~~~~~~~~~~~~~~~~~~~~~
../src/binding.cc: In constructor ‘nodevorbis::BitrateFlushpacketWorker::BitrateFlushpacketWorker(vorbis_dsp_state*, ogg_packet*, Nan::Callback*)’:
../src/binding.cc:273:7: warning: ‘nodevorbis::BitrateFlushpacketWorker::rtn’ will be initialized after [-Wreorder]
int rtn;
^~~
../src/binding.cc:258:56: warning: base ‘Nan::AsyncWorker’ [-Wreorder]
: vd(vd), op(op), rtn(0), Nan::AsyncWorker(callback) { }
^
../src/binding.cc:257:3: warning: when initialized here [-Wreorder]
BitrateFlushpacketWorker(vorbis_dsp_state *vd, ogg_packet *op, Nan::Callback *callback)
^~~~~~~~~~~~~~~~~~~~~~~~
../src/binding.cc: In constructor ‘nodevorbis::SynthesisIdheaderWorker::SynthesisIdheaderWorker(ogg_packet*, Nan::Callback*)’:
../src/binding.cc:305:7: warning: ‘nodevorbis::SynthesisIdheaderWorker::rtn’ will be initialized after [-Wreorder]
int rtn;
^~~
../src/binding.cc:291:48: warning: base ‘Nan::AsyncWorker’ [-Wreorder]
: op(op), rtn(0), Nan::AsyncWorker(callback) { }
^
../src/binding.cc:290:3: warning: when initialized here [-Wreorder]
SynthesisIdheaderWorker(ogg_packet *op, Nan::Callback *callback)
^~~~~~~~~~~~~~~~~~~~~~~
../src/binding.cc: In constructor ‘nodevorbis::SynthesisHeaderinWorker::SynthesisHeaderinWorker(vorbis_info*, vorbis_comment*, ogg_packet*, Nan::Callback*)’:
../src/binding.cc:338:7: warning: ‘nodevorbis::SynthesisHeaderinWorker::rtn’ will be initialized after [-Wreorder]
int rtn;
^~~
../src/binding.cc:322:64: warning: base ‘Nan::AsyncWorker’ [-Wreorder]
: vi(vi), vc(vc), op(op), rtn(0), Nan::AsyncWorker(callback) { }
^
../src/binding.cc:321:3: warning: when initialized here [-Wreorder]
SynthesisHeaderinWorker(vorbis_info *vi, vorbis_comment *vc, ogg_packet *op, Nan::Callback *callback)
^~~~~~~~~~~~~~~~~~~~~~~
SOLINK_MODULE(target) Release/obj.target/vorbis.node
g++: error: /tmp/oggtest/node_modules/vorbis/node_modules/ogg/build/Release/ogg.node: No such file or directory
vorbis.target.mk:137: recipe for target 'Release/obj.target/vorbis.node' failed
make: *** [Release/obj.target/vorbis.node] Error 1
make: Leaving directory '/tmp/oggtest/node_modules/vorbis/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/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 4.7.0-1-amd64
gyp ERR! command "/usr/bin/nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /tmp/oggtest/node_modules/vorbis
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! vorbis@0.2.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vorbis@0.2.1 install script.
npm ERR! This is most likely a problem with the vorbis 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 vorbis
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.7.0-1-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "vorbis"
npm ERR! cwd /tmp/oggtest
npm ERR! node -v v4.4.7
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/oggtest/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment