Created
August 18, 2015 18:44
-
-
Save dukex/7c61805c3f52ebac29ca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/tmp $> nvm install iojs [ ruby-2.2.2p95 ] | |
######################################################################## 100,0% | |
WARNING: checksums are currently disabled for io.js | |
Now using io.js v3.0.0 (npm v2.13.3) | |
/tmp $> npm install -g node-sass [ ruby-2.2.2p95 ] | |
/home/duke/.nvm/versions/io.js/v3.0.0/bin/node-sass -> /home/duke/.nvm/versions/io.js/v3.0.0/lib/node_modules/node-sass/bin/node-sass | |
> [email protected] install /home/duke/.nvm/versions/io.js/v3.0.0/lib/node_modules/node-sass | |
> node scripts/install.js | |
Cannot download "https://github.com/sass/node-sass/releases/download/v3.2.0/linux-x64-45_binding.node": HTTP error 404 Not Found | |
> [email protected] postinstall /home/duke/.nvm/versions/io.js/v3.0.0/lib/node_modules/node-sass | |
> node scripts/build.js | |
Building: /home/duke/.nvm/versions/io.js/v3.0.0/bin/iojs node_modules/pangyp/bin/node-gyp rebuild --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= | |
make: Entering directory '/home/duke/.nvm/versions/io.js/v3.0.0/lib/node_modules/node-sass/build' | |
CXX(target) Release/obj.target/libsass/src/libsass/ast.o | |
CXX(target) Release/obj.target/libsass/src/libsass/base64vlq.o | |
CXX(target) Release/obj.target/libsass/src/libsass/bind.o | |
CC(target) Release/obj.target/libsass/src/libsass/cencode.o | |
CXX(target) Release/obj.target/libsass/src/libsass/constants.o | |
CXX(target) Release/obj.target/libsass/src/libsass/context.o | |
CXX(target) Release/obj.target/libsass/src/libsass/contextualize.o | |
CXX(target) Release/obj.target/libsass/src/libsass/contextualize_eval.o | |
CXX(target) Release/obj.target/libsass/src/libsass/cssize.o | |
CXX(target) Release/obj.target/libsass/src/libsass/emitter.o | |
CXX(target) Release/obj.target/libsass/src/libsass/error_handling.o | |
CXX(target) Release/obj.target/libsass/src/libsass/eval.o | |
CXX(target) Release/obj.target/libsass/src/libsass/expand.o | |
CXX(target) Release/obj.target/libsass/src/libsass/extend.o | |
CXX(target) Release/obj.target/libsass/src/libsass/file.o | |
CXX(target) Release/obj.target/libsass/src/libsass/functions.o | |
CXX(target) Release/obj.target/libsass/src/libsass/inspect.o | |
CXX(target) Release/obj.target/libsass/src/libsass/json.o | |
../src/libsass/json.cpp: In function ‘bool parse_string(const char**, char**)’: | |
../src/libsass/json.cpp:110:51: warning: ‘sb.SB::start’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
sb->start = (char*) realloc(sb->start, alloc + 1); | |
^ | |
../src/libsass/json.cpp:823:6: note: ‘sb.SB::start’ was declared here | |
SB sb; | |
^ | |
../src/libsass/json.cpp:97:19: warning: ‘sb.SB::end’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
if ((sb)->end - (sb)->cur < (need)) \ | |
^ | |
../src/libsass/json.cpp:823:6: note: ‘sb.SB::end’ was declared here | |
SB sb; | |
^ | |
../src/libsass/json.cpp:138:72: warning: ‘sb.SB::cur’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
assert(sb->start <= sb->cur && strlen(sb->start) == (size_t)(sb->cur - sb->start)); | |
^ | |
../src/libsass/json.cpp:823:6: note: ‘sb.SB::cur’ was declared here | |
SB sb; | |
../src/libsass/json.cpp:823:6: note: ‘sb.SB::cur’ was declared here [106/164] SB sb; | |
^ | |
CXX(target) Release/obj.target/libsass/src/libsass/lexer.o | |
CXX(target) Release/obj.target/libsass/src/libsass/listize.o | |
CXX(target) Release/obj.target/libsass/src/libsass/node.o | |
CXX(target) Release/obj.target/libsass/src/libsass/output.o | |
CXX(target) Release/obj.target/libsass/src/libsass/parser.o | |
CXX(target) Release/obj.target/libsass/src/libsass/plugins.o | |
CXX(target) Release/obj.target/libsass/src/libsass/position.o | |
CXX(target) Release/obj.target/libsass/src/libsass/prelexer.o | |
CXX(target) Release/obj.target/libsass/src/libsass/remove_placeholders.o | |
CXX(target) Release/obj.target/libsass/src/libsass/sass.o | |
CXX(target) Release/obj.target/libsass/src/libsass/sass2scss.o | |
CXX(target) Release/obj.target/libsass/src/libsass/sass_context.o | |
CXX(target) Release/obj.target/libsass/src/libsass/sass_functions.o | |
CXX(target) Release/obj.target/libsass/src/libsass/sass_util.o | |
CXX(target) Release/obj.target/libsass/src/libsass/sass_values.o | |
CXX(target) Release/obj.target/libsass/src/libsass/source_map.o | |
CXX(target) Release/obj.target/libsass/src/libsass/to_c.o | |
CXX(target) Release/obj.target/libsass/src/libsass/to_string.o | |
CXX(target) Release/obj.target/libsass/src/libsass/units.o | |
CXX(target) Release/obj.target/libsass/src/libsass/utf8_string.o | |
CXX(target) Release/obj.target/libsass/src/libsass/util.o | |
AR(target) Release/obj.target/src/sass.a | |
COPY Release/sass.a | |
CXX(target) Release/obj.target/binding/src/binding.o | |
In file included from ../src/binding.cpp:1:0: | |
../node_modules/nan/nan.h:324:27: error: redefinition of ‘template<class T> v8::Local<T> Nan::imp::NanEnsureHandleOrPersistent(const v8::Local<T>&)’ | |
NAN_INLINE v8::Local<T> NanEnsureHandleOrPersistent(const v8::Local<T> &val) { | |
^ | |
../node_modules/nan/nan.h:319:17: note: ‘template<class T> v8::Handle<T> Nan::imp::NanEnsureHandleOrPersistent(v8::Handle<T>&)’ previously declared here | |
v8::Handle<T> NanEnsureHandleOrPersistent(const v8::Handle<T> &val) { | |
^ | |
../node_modules/nan/nan.h:344:27: error: redefinition of ‘template<class T> v8::Local<T> Nan::imp::NanEnsureLocal(v8::Handle<T>&)’ | |
NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Handle<T> &val) { | |
^ | |
../node_modules/nan/nan.h:334:27: note: ‘template<class T> v8::Local<T> Nan::imp::NanEnsureLocal(const v8::Local<T>&)’ previously declared here | |
NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Local<T> &val) { | |
^ | |
../node_modules/nan/nan.h:757:13: error: ‘node::smalloc’ has not been declared | |
, node::smalloc::FreeCallback callback | |
^ | |
../node_modules/nan/nan.h:757:35: error: expected ‘,’ or ‘...’ before ‘callback’ | |
, node::smalloc::FreeCallback callback | |
^ | |
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’: | |
../node_modules/nan/nan.h:761:50: error: ‘callback’ was not declared in this scope | |
v8::Isolate::GetCurrent(), data, length, callback, hint); | |
^ | |
../node_modules/nan/nan.h:761:60: error: ‘hint’ was not declared in this scope | |
v8::Isolate::GetCurrent(), data, length, callback, hint); | |
^ | |
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’: | |
../node_modules/nan/nan.h:768:67: error: call of overloaded ‘New(v8::Isolate*, const char*&, uint32_t&)’ is ambiguous | |
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’: [53/164]../node_modules/nan/nan.h:768:67: error: call of overloaded ‘New(v8::Isolate*, const char*&, uint32_t&)’ is ambiguous | |
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size); | |
^ | |
../node_modules/nan/nan.h:768:67: note: candidates are: | |
In file included from ../node_modules/nan/nan.h:25:0, | |
from ../src/binding.cpp:1: | |
/home/duke/.node-gyp/3.0.0/src/node_buffer.h:35:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Handle<v8::String>, node::encoding) <near match> | |
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, | |
^ | |
/home/duke/.node-gyp/3.0.0/src/node_buffer.h:35:40: note: no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’ | |
/home/duke/.node-gyp/3.0.0/src/node_buffer.h:47:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <near match> | |
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, | |
^ | |
/home/duke/.node-gyp/3.0.0/src/node_buffer.h:47:40: note: no known conversion for argument 2 from ‘const char*’ to ‘char*’ | |
In file included from ../src/binding.cpp:1:0: | |
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’: | |
../node_modules/nan/nan.h:772:61: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’ | |
return node::Buffer::New(v8::Isolate::GetCurrent(), size); | |
^ | |
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’: | |
../node_modules/nan/nan.h:779:12: error: ‘Use’ is not a member of ‘node::Buffer’ | |
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size); | |
^ | |
../src/binding.cpp: In function ‘Sass_Import** sass_importer(const char*, Sass_Importer_Entry, Sass_Compiler*)’: | |
../src/binding.cpp:13:25: warning: unused variable ‘ctx_w’ [-Wunused-variable] | |
sass_context_wrapper* ctx_w = static_cast<sass_context_wrapper*>(cookie); | |
^ | |
../src/binding.cpp: In function ‘void MakeCallback(uv_work_t*)’: | |
../src/binding.cpp:225:35: warning: ‘void node::FatalException(const v8::TryCatch&)’ is deprecated (declared at /home/duke/.node-gyp/3.0.0/src/node.h:282): Use FatalException(isolate, ...) [-Wdeprecated-declaratio | |
ns] | |
node::FatalException(try_catch); | |
^ | |
In file included from ../src/custom_function_bridge.h:6:0, | |
from ../src/sass_context_wrapper.h:10, | |
from ../src/binding.cpp:3: | |
../src/callback_bridge.h: In instantiation of ‘static void CallbackBridge<T, L>::dispatched_async_uv_callback(uv_async_t*) [with T = Sass_Value*; L = void*; uv_async_t = uv_async_s]’: | |
../src/callback_bridge.h:64:93: required from ‘CallbackBridge<T, L>::CallbackBridge(NanCallback*, bool) [with T = Sass_Value*; L = void*]’ | |
../src/custom_function_bridge.h:12:98: required from here | |
../src/callback_bridge.h:117:35: warning: ‘void node::FatalException(const v8::TryCatch&)’ is deprecated (declared at /home/duke/.node-gyp/3.0.0/src/node.h:282): Use FatalException(isolate, ...) [-Wdeprecated-decl | |
arations] | |
node::FatalException(try_catch); | |
^ | |
../src/callback_bridge.h: In instantiation of ‘static void CallbackBridge<T, L>::dispatched_async_uv_callback(uv_async_t*) [with T = Sass_Import**; L = void*; uv_async_t = uv_async_s]’: | |
../src/callback_bridge.h:64:93: required from ‘CallbackBridge<T, L>::CallbackBridge(NanCallback*, bool) [with T = Sass_Import**; L = void*]’ | |
../src/custom_importer_bridge.h:14:101: required from here | |
../src/callback_bridge.h:117:35: warning: ‘void node::FatalException(const v8::TryCatch&)’ is deprecated (declared at /home/duke/.node-gyp/3.0.0/src/node.h:282): Use FatalException(isolate, ...) [-Wdeprecated-decl | |
arations] | |
../src/callback_bridge.h: In instantiation of ‘static void CallbackBridge<T, L>::ReturnCallback(const v8::FunctionCallbackInfo<v8::Value>&) [with T = Sass_Value*; L = void*]’: | |
../src/callback_bridge.h:152:46: required from ‘static v8::Handle<v8::Function> CallbackBridge<T, L>::get_wrapper_constructor() [with T = Sass_Value*; L = void*; v8::Handle<v8::Function> = v8::Local<v8::Function | |
>]’ | |
../src/callback_bridge.h:67:85: required from ‘CallbackBridge<T, L>::CallbackBridge(NanCallback*, bool) [with T = Sass_Value*; L = void*]’ | |
../src/custom_function_bridge.h:12:98: required from here | |
../src/callback_bridge.h:138:35: warning: ‘void node::FatalException(const v8::TryCatch&)’ is deprecated (declared at /home/duke/.node-gyp/3.0.0/src/node.h:282): Use FatalException(isolate, ...) [-Wdeprecated-decl | |
arations] | |
../src/callback_bridge.h:138:35: warning: ‘void node::FatalException(const v8::TryCatch&)’ is deprecated (declared at /home/duke/.node-gyp/3.0.0/src/node.h:282): Use FatalException(isolate, ...) [-Wdeprecat[0/164]arations] | |
node::FatalException(try_catch); | |
^ | |
../src/callback_bridge.h: In instantiation of ‘static void CallbackBridge<T, L>::ReturnCallback(const v8::FunctionCallbackInfo<v8::Value>&) [with T = Sass_Import**; L = void*]’: | |
../src/callback_bridge.h:152:46: required from ‘static v8::Handle<v8::Function> CallbackBridge<T, L>::get_wrapper_constructor() [with T = Sass_Import**; L = void*; v8::Handle<v8::Function> = v8::Local<v8::Function>]’ | |
../src/callback_bridge.h:67:85: required from ‘CallbackBridge<T, L>::CallbackBridge(NanCallback*, bool) [with T = Sass_Import**; L = void*]’ | |
../src/custom_importer_bridge.h:14:101: required from here | |
../src/callback_bridge.h:138:35: warning: ‘void node::FatalException(const v8::TryCatch&)’ is deprecated (declared at /home/duke/.node-gyp/3.0.0/src/node.h:282): Use FatalException(isolate, ...) [-Wdeprecated-declarations] | |
In file included from ../src/binding.cpp:1:0: | |
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’: | |
../node_modules/nan/nan.h:769:3: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
binding.target.mk:108: recipe for target 'Release/obj.target/binding/src/binding.o' failed | |
make: *** [Release/obj.target/binding/src/binding.o] Error 1 | |
make: Leaving directory '/home/duke/.nvm/versions/io.js/v3.0.0/lib/node_modules/node-sass/build' | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/home/duke/.nvm/versions/io.js/v3.0.0/lib/node_modules/node-sass/node_modules/pangyp/lib/build.js:271: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 3.19.0-25-generic | |
gyp ERR! command "/home/duke/.nvm/versions/io.js/v3.0.0/bin/iojs" "/home/duke/.nvm/versions/io.js/v3.0.0/lib/node_modules/node-sass/node_modules/pangyp/bin/node-gyp" "rebuild" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" | |
gyp ERR! cwd /home/duke/.nvm/versions/io.js/v3.0.0/lib/node_modules/node-sass | |
gyp ERR! node -v v3.0.0 | |
gyp ERR! pangyp -v v2.3.0 | |
gyp ERR! not ok | |
Build failed | |
npm ERR! Linux 3.19.0-25-generic | |
npm ERR! argv "/home/duke/.nvm/versions/io.js/v3.0.0/bin/iojs" "/home/duke/.nvm/versions/io.js/v3.0.0/bin/npm" "install" "-g" "node-sass" | |
npm ERR! node v3.0.0 | |
npm ERR! npm v2.13.3 | |
npm ERR! code ELIFECYCLE | |
npm ERR! [email protected] postinstall: `node scripts/build.js` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] postinstall script 'node scripts/build.js'. | |
npm ERR! This is most likely a problem with the node-sass package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! node scripts/build.js | |
npm ERR! You can get their info via: | |
npm ERR! npm owner ls node-sass | |
npm ERR! There is likely additional logging output above. | |
npm ERR! Please include the following file with any support request: | |
npm ERR! /tmp/npm-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@dukex did you manage to compile this?