-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Cannot install on node.js 0.12.6 with the following message:
node-pre-gyp ERR! Source compile required: 404 status code downloading tarball
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory '/home/mycoboco/temp/node_modules/mp3info/build'
CC(target) Release/obj.target/mp3info/deps/mp3info/src/mp3tech.o
../deps/mp3info/src/mp3tech.c: In function ‘get_id3’:
../deps/mp3info/src/mp3tech.c:306:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(fbuf,1,3,mp3->file); fbuf[3] = '\0';
^
../deps/mp3info/src/mp3tech.c:316:20: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(mp3->id3.title,1,30,mp3->file); mp3->id3.title[30] = '\0';
^
../deps/mp3info/src/mp3tech.c:317:20: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(mp3->id3.artist,1,30,mp3->file); mp3->id3.artist[30] = '\0';
^
../deps/mp3info/src/mp3tech.c:318:20: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(mp3->id3.album,1,30,mp3->file); mp3->id3.album[30] = '\0';
^
../deps/mp3info/src/mp3tech.c:319:20: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(mp3->id3.year,1,4,mp3->file); mp3->id3.year[4] = '\0';
^
../deps/mp3info/src/mp3tech.c:320:20: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(mp3->id3.comment,1,30,mp3->file); mp3->id3.comment[30] = '\0';
^
../deps/mp3info/src/mp3tech.c:324:20: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(mp3->id3.genre,1,1,mp3->file);
^
AR(target) Release/obj.target/deps/mp3info/libmp3info.a
COPY Release/libmp3info.a
CXX(target) Release/obj.target/bindings/src/bindings.o
In file included from ../src/bindings.cc:17:0:
/home/mycoboco/.node-gyp/0.12.6/deps/v8/include/v8.h: In function ‘void ns_mp3info::Initialize(v8::Handle<v8::Object>)’:
/home/mycoboco/.node-gyp/0.12.6/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/bindings.cc:28:15: error: within this context
HandleScope scope;
^
bindings.target.mk:91: recipe for target 'Release/obj.target/bindings/src/bindings.o' failed
make: *** [Release/obj.target/bindings/src/bindings.o] Error 1
make: Leaving directory '/home/mycoboco/temp/node_modules/mp3info/build'
Simple updating the version of node-pre-gyp to the latest one (0.6.9 as of this writing) seems to fix the problem.
Metadata
Metadata
Assignees
Labels
No labels