JCMais / node-libcurl

libcurl bindings for Node.js
https://npmjs.org/package/node-libcurl
MIT License
667 stars 118 forks source link

Build failed node-libcurl@0.6.3 node-gyp Exit Status 1 #41

Closed musichen closed 8 years ago

musichen commented 9 years ago

Hi guys, used node-libcurl 0.5.1 in project, there was no problem with it. Then migrated deployment to another server with Debian 7, and it failed to compile there, changed to newer 0.6.3 --> on server Debian now compiles, but on my local machine (Elementary OS (based on Ubuntu Precise 12.04) it now doesn't (although older version 0.5.1 still compiles locally).

I got problem since newer version of node-libcurl 0.6.3 on my local machine: Linux Elementary OS Luna (Ubuntu Precise 12.04) kernel 3.11.0-26-generic x64 Intel core i5 node -v 0.12.4 npm -v 2.13.3 python -v 2.7 node-gyp -v 3.0.3 gcc -v 4.9.2 g++ 4.9.2 cmake --version 3.3.0-rc3

The output console error:

36 clang            0x000000000058dd39
Stack dump:
0.      Program arguments: /usr/bin/clang -cc1 -triple x86_64-pc-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -main-file-name Multi.cc -pic-level 2 -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 2.22 -momit-leaf-frame-pointer -ffunction-sections -fdata-sections -coverage-file Release/obj.target/node-libcurl/src/Multi.o -resource-dir /usr/bin/../lib/clang/3.0 -dependency-file ./Release/.deps/Release/obj.target/node-libcurl/src/Multi.o.d.raw -MT Release/obj.target/node-libcurl/src/Multi.o -D NODE_GYP_MODULE_NAME=node-libcurl -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D BUILDING_NODE_EXTENSION -I /home/musichen/.node-gyp/0.12.4/src -I /home/musichen/.node-gyp/0.12.4/deps/uv/include -I /home/musichen/.node-gyp/0.12.4/deps/v8/include -I ../node_modules/nan -fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem /usr/include/c++/4.6 -internal-isystem /usr/include/c++/4.6/x86_64-linux-gnu -internal-isystem /usr/include/c++/4.6/backward -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/clang/3.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /usr/include -O2 -Wall -Wextra -Wno-unused-parameter -Wno-narrowing -std=c++11 -fdeprecated-macro -ferror-limit 19 -fmessage-length 160 -pthread -fno-rtti -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option -fcolor-diagnostics -o Release/obj.target/node-libcurl/src/Multi.o -x c++ ../src/Multi.cc 
1.      ../src/Multi.cc:32:180: current parser token ';'
2.      ../src/Multi.cc:25:1: parsing namespace 'NodeLibcurl'
3.      ../src/Multi.cc:30:5: parsing function body 'Multi'
4.      ../src/Multi.cc:30:5: in compound statement ('{}')
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal 2 (use -v to see invocation)
clang: note: diagnostic msg: Please submit a bug report to http://llvm.org/bugs/ and include command line arguments and all diagnostic information.
clang: note: diagnostic msg: Preprocessed source(s) are located at:
clang: note: diagnostic msg: /tmp/Multi-9i56WC.ii
make: *** [Release/obj.target/node-libcurl/src/Multi.o] Error 254
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-publisher/node_modules/lib-storage-bindings/node_modules/node-libcurl/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-publisher/node_modules/lib-storage-bindings/node_modules/node-libcurl
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
npm ERR! Linux 3.11.0-26-generic
npm ERR! argv "node" "/usr/local/bin/npm" "install" "node-libcurl"
npm ERR! node v0.12.4
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! node-libcurl@0.6.3 install: `node tools/retrieve-win-deps && node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-libcurl@0.6.3 install script 'node tools/retrieve-win-deps && node-gyp rebuild'.
npm ERR! This is most likely a problem with the node-libcurl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node tools/retrieve-win-deps && node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-libcurl
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/musichen/dev/bitbucket/_playground/wng-backend-publisher/node_modules/lib-storage-bindings/node_modules/npm-debug.log
JCMais commented 9 years ago

Strange, you are on Ubuntu but it's compilling using clang compiler, can you post the output of clang --version

You need a version with support for c++11 features.

musichen commented 9 years ago

Sure, here's the output:

$ clang --version
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: x86_64-pc-linux-gnu
Thread model: posix

I recently added LLVM to support libc++, may be the reason.

JCMais commented 9 years ago

Can you try to update it? 3.0 is an old version. http://askubuntu.com/a/261658

musichen commented 8 years ago

Updated clang to 3.2.1:

clang --version
Ubuntu clang version 3.2-1~exp9ubuntu1~precise1 (tags/RELEASE_32/final) (based on LLVM 3.2)
Target: x86_64-pc-linux-gnu
Thread model: posix

npm install gave this output:

clang: warning: argument unused during compilation: '-fno-tree-vrp'
../src/Multi.cc:32:144: error: reference to non-static member function must be called; did you mean to call it with no arguments?
        this->timeout = deleted_unique_ptr<uv_timer_t>( new uv_timer_t, [&]( uv_timer_t *handle ) { uv_close( reinterpret_cast<uv_handle_t *>( handle ), Multi::OnTimerClose ); } );
                                                                                                                                               ^~~~~~
                                                                                                                                                     ()
../src/Multi.cc:32:111: error: reinterpret_cast from 'v8::Local<v8::Object>' to 'uv_handle_t *' (aka 'uv_handle_s *') is not allowed
        this->timeout = deleted_unique_ptr<uv_timer_t>( new uv_timer_t, [&]( uv_timer_t *handle ) { uv_close( reinterpret_cast<uv_handle_t *>( handle ), Multi::OnTimerClose ); } );
                                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0  libLLVM-3.0.so.1 0x00002b9940868fcf
1  libLLVM-3.0.so.1 0x00002b9940869591
2  libpthread.so.0  0x00002b994118bcb0
3  clang            0x0000000000d1d349 clang::Expr::hasAnyTypeDependentArguments(clang::Expr**, unsigned int) + 41
4  clang            0x000000000094f31f clang::Sema::BuildCXXTypeConstructExpr(clang::TypeSourceInfo*, clang::SourceLocation, clang::ASTMultiPtr<clang::Expr*>, clang::SourceLocation) + 239
5  clang            0x000000000094f854 clang::Sema::ActOnCXXTypeConstructExpr(clang::OpaquePtr<clang::QualType>, clang::SourceLocation, clang::ASTMultiPtr<clang::Expr*>, clang::SourceLocation) + 84
6  clang            0x0000000000815fb2 clang::Parser::ParseCXXTypeConstructExpression(clang::DeclSpec const&) + 674
7  clang            0x000000000080e931 clang::Parser::ParseCastExpression(bool, bool, bool&, bool) + 7361
8  clang            0x000000000080f59e clang::Parser::ParseCastExpression(bool, bool, bool) + 30
9  clang            0x000000000080d7c0 clang::Parser::ParseCastExpression(bool, bool, bool&, bool) + 2896
10 clang            0x000000000080f59e clang::Parser::ParseCastExpression(bool, bool, bool) + 30
11 clang            0x000000000080fe8f clang::Parser::ParseAssignmentExpression() + 31
12 clang            0x000000000080f6da clang::Parser::ParseRHSOfBinaryExpression(clang::ActionResult<clang::Expr*, true>, clang::prec::Level) + 266
13 clang            0x000000000080fe9f clang::Parser::ParseAssignmentExpression() + 47
14 clang            0x0000000000810c59 clang::Parser::ParseExpression() + 9
15 clang            0x00000000007d35f2 clang::Parser::ParseExprStatement(clang::ParsedAttributes&) + 50
16 clang            0x00000000007cfe18 clang::Parser::ParseStatementOrDeclaration(clang::ASTOwningVector<clang::Stmt*, 32u>&, bool) + 2616
17 clang            0x00000000007cca11 clang::Parser::ParseCompoundStatementBody(bool) + 417
18 clang            0x00000000007cd6fa clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) + 138
19 clang            0x00000000007e708c clang::Parser::ParseFunctionDefinition(clang::Parser::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&) + 1116
20 clang            0x00000000007f4a42 clang::Parser::ParseDeclGroup(clang::Parser::ParsingDeclSpec&, unsigned int, bool, clang::SourceLocation*, clang::Parser::ForRangeInit*) + 610
21 clang            0x00000000007e2c75 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsingDeclSpec&, clang::AccessSpecifier) + 149
22 clang            0x00000000007e32e6 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::AccessSpecifier) + 678
23 clang            0x00000000007e4ead clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::Parser::ParsingDeclSpec*) + 2685
24 clang            0x00000000008032ef clang::Parser::ParseInnerNamespace(std::vector<clang::SourceLocation, std::allocator<clang::SourceLocation> >&, std::vector<clang::IdentifierInfo*, std::allocator<clang::IdentifierInfo*> >&, std::vector<clang::SourceLocation, std::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::Parser::BalancedDelimiterTracker&) + 367
25 clang            0x000000000080403e clang::Parser::ParseNamespace(unsigned int, clang::SourceLocation&, clang::SourceLocation) + 1854
26 clang            0x00000000007f9b11 clang::Parser::ParseDeclaration(clang::ASTOwningVector<clang::Stmt*, 32u>&, unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 641
27 clang            0x00000000007e483d clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::Parser::ParsingDeclSpec*) + 1037
28 clang            0x00000000007e5417 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 167
29 clang            0x00000000007bcbfd clang::ParseAST(clang::Sema&, bool) + 269
30 clang            0x00000000006a6253 clang::CodeGenAction::ExecuteAction() + 51
31 clang            0x00000000005adc7f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 319
32 clang            0x000000000059653a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1114
33 clang            0x000000000058e1c4 cc1_main(char const**, char const**, char const*, void*) + 820
34 clang            0x000000000058cb3c main + 620
35 libc.so.6        0x00002b994194e76d __libc_start_main + 237
36 clang            0x000000000058dd39
Stack dump:
0.      Program arguments: /usr/bin/clang -cc1 -triple x86_64-pc-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -main-file-name Multi.cc -pic-level 2 -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 2.22 -momit-leaf-frame-pointer -ffunction-sections -fdata-sections -coverage-file Release/obj.target/node-libcurl/src/Multi.o -resource-dir /usr/bin/../lib/clang/3.0 -dependency-file ./Release/.deps/Release/obj.target/node-libcurl/src/Multi.o.d.raw -MT Release/obj.target/node-libcurl/src/Multi.o -D NODE_GYP_MODULE_NAME=node-libcurl -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D BUILDING_NODE_EXTENSION -I /home/musichen/.node-gyp/0.12.4/src -I /home/musichen/.node-gyp/0.12.4/deps/uv/include -I /home/musichen/.node-gyp/0.12.4/deps/v8/include -I ../node_modules/nan -fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem /usr/include/c++/4.6 -internal-isystem /usr/include/c++/4.6/x86_64-linux-gnu -internal-isystem /usr/include/c++/4.6/backward -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/clang/3.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /usr/include -O2 -Wall -Wextra -Wno-unused-parameter -Wno-narrowing -std=c++11 -fdeprecated-macro -ferror-limit 19 -fmessage-length 229 -pthread -fno-rtti -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option -fcolor-diagnostics -o Release/obj.target/node-libcurl/src/Multi.o -x c++ ../src/Multi.cc 
1.      ../src/Multi.cc:32:180: current parser token ';'
2.      ../src/Multi.cc:25:1: parsing namespace 'NodeLibcurl'
3.      ../src/Multi.cc:30:5: parsing function body 'Multi'
4.      ../src/Multi.cc:30:5: in compound statement ('{}')
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal 2 (use -v to see invocation)
clang: note: diagnostic msg: Please submit a bug report to http://llvm.org/bugs/ and include command line arguments and all diagnostic information.
clang: note: diagnostic msg: Preprocessed source(s) are located at:
clang: note: diagnostic msg: /tmp/Multi-NdGK3z.ii
make: *** [Release/obj.target/node-libcurl/src/Multi.o] Error 254
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/node-libcurl/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/node-libcurl
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> kerberos@0.0.17 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos
> (node-gyp rebuild) || (exit 0)

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/build'
  CXX(target) Release/obj.target/kerberos/lib/kerberos.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CXX(target) Release/obj.target/kerberos/lib/worker.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/kerberos/lib/kerberosgss.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/kerberos/lib/base64.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CXX(target) Release/obj.target/kerberos/lib/kerberos_context.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  SOLINK_MODULE(target) Release/obj.target/kerberos.node
  COPY Release/kerberos.node
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/build'
npm ERR! Linux 3.11.0-26-generic
npm ERR! argv "node" "/usr/local/bin/npm" "i"
npm ERR! node v0.12.4
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! node-libcurl@0.6.3 install: `node tools/retrieve-win-deps && node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-libcurl@0.6.3 install script 'node tools/retrieve-win-deps && node-gyp rebuild'.
npm ERR! This is most likely a problem with the node-libcurl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node tools/retrieve-win-deps && node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-libcurl
npm ERR! There is likely additional logging output above.

musichen@musichenpc:~/dev/bitbucket/_playground/wng-backend-ad$ ls
app.js  config  deploy.yml  index.js  lib  model  npm-debug.log  package.json  README.md  route  test
musichen@musichenpc:~/dev/bitbucket/_playground/wng-backend-ad$ npm i
npm WARN engine node-libcurl@0.6.3: wanted: {"node":">= 0.10.0","npm":">= 2.14"} (current: {"node":"0.12.4","npm":"2.13.3"})

> posix@2.0.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
  CXX(target) Release/obj.target/posix/src/posix.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x3bd6bc0: i64 = fabs 0x3bddc90 [ORD=38] [ID=46]
  0x3bddc90: i64 = zero_extend 0x3bd59b0 [ID=45]
    0x3bd59b0: i8 = X86ISD::SETCC 0x3bdf1a0, 0x3bd5db0 [ID=43]
      0x3bdf1a0: i8 = Constant<4> [ID=18]
      0x3bd5db0: i32 = X86ISD::CMP 0x3bd75c0, 0x3bde090 [ID=41]
        0x3bd75c0: i64,ch,glue = CopyFromReg 0x3bd6ac0, 0x3bddd90, 0x3bd6ac0:1 [ORD=34] [ID=40]
          0x3bddd90: i64 = Register %RAX [ORD=29] [ID=10]
          0x3bd6ac0: ch,glue = callseq_end 0x3bd68c0, 0x3bdefa0, 0x3bdefa0, 0x3bd68c0:1 [ORD=34] [ID=39]
            0x3bdefa0: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x3bdefa0: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x3bd68c0: ch,glue = X86ISD::CALL 0x3bd63b0, 0x3bd65b0, 0x3bd84d0, 0x3bdeba0, 0x3bd63b0:1 [ORD=34] [ID=38]
              0x3bd65b0: i64 = TargetGlobalAddress<%"class.v8::Integer"* (%"class.v8::Value"*)* @_ZNK2v85Value9ToIntegerEv> 0 [TF=6] [ORD=34] [ID=14]
              0x3bd84d0: i64 = Register %RDI [ORD=31] [ID=11]
              0x3bdeba0: Untyped = RegisterMask [ORD=27] [ID=7]
              0x3bd63b0: ch,glue = CopyToReg 0x3bd60b0, 0x3bd84d0, 0x3bd5cb0 [ORD=34] [ID=37]
                0x3bd84d0: i64 = Register %RDI [ORD=31] [ID=11]
                0x3bd5cb0: i64,ch,glue = CopyFromReg 0x3bd71c0, 0x3bddd90, 0x3bd71c0:1 [ORD=31] [ID=35]
                  0x3bddd90: i64 = Register %RAX [ORD=29] [ID=10]
                  0x3bd71c0: ch,glue = callseq_end 0x3bd72c0, 0x3bdefa0, 0x3bdefa0, 0x3bd72c0:1 [ORD=31] [ID=34]

        0x3bde090: i64 = Constant<0> [ORD=36] [ID=2]
In function: _Z12node_getppidRKN2v820FunctionCallbackInfoINS_5ValueEEE
make: *** [Release/obj.target/posix/src/posix.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> posix@2.0.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-sucfail/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-sucfail/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
  CXX(target) Release/obj.target/posix/src/posix.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x362ac80: i64 = fabs 0x362edc0 [ORD=38] [ID=46]
  0x362edc0: i64 = zero_extend 0x3629a70 [ID=45]
    0x3629a70: i8 = X86ISD::SETCC 0x36302d0, 0x3629e70 [ID=43]
      0x36302d0: i8 = Constant<4> [ID=18]
      0x3629e70: i32 = X86ISD::CMP 0x362b680, 0x362f1c0 [ID=41]
        0x362b680: i64,ch,glue = CopyFromReg 0x362ab80, 0x362eec0, 0x362ab80:1 [ORD=34] [ID=40]
          0x362eec0: i64 = Register %RAX [ORD=29] [ID=10]
          0x362ab80: ch,glue = callseq_end 0x362a980, 0x36300d0, 0x36300d0, 0x362a980:1 [ORD=34] [ID=39]
            0x36300d0: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x36300d0: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x362a980: ch,glue = X86ISD::CALL 0x362a470, 0x362a670, 0x362d7a0, 0x362fcd0, 0x362a470:1 [ORD=34] [ID=38]
              0x362a670: i64 = TargetGlobalAddress<%"class.v8::Integer"* (%"class.v8::Value"*)* @_ZNK2v85Value9ToIntegerEv> 0 [TF=6] [ORD=34] [ID=14]
              0x362d7a0: i64 = Register %RDI [ORD=31] [ID=11]
              0x362fcd0: Untyped = RegisterMask [ORD=27] [ID=7]
              0x362a470: ch,glue = CopyToReg 0x362a170, 0x362d7a0, 0x3629d70 [ORD=34] [ID=37]
                0x362d7a0: i64 = Register %RDI [ORD=31] [ID=11]
                0x3629d70: i64,ch,glue = CopyFromReg 0x362b280, 0x362eec0, 0x362b280:1 [ORD=31] [ID=35]
                  0x362eec0: i64 = Register %RAX [ORD=29] [ID=10]
                  0x362b280: ch,glue = callseq_end 0x362b380, 0x36300d0, 0x36300d0, 0x362b380:1 [ORD=31] [ID=34]

        0x362f1c0: i64 = Constant<0> [ORD=36] [ID=2]
In function: _Z12node_getppidRKN2v820FunctionCallbackInfoINS_5ValueEEE
make: *** [Release/obj.target/posix/src/posix.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-sucfail/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-sucfail/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> posix@2.0.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-database-connectionhandler/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-database-connectionhandler/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
  CXX(target) Release/obj.target/posix/src/posix.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x3002ea0: i64 = fabs 0x3005dd0 [ORD=38] [ID=46]
  0x3005dd0: i64 = zero_extend 0x3000b30 [ID=45]
    0x3000b30: i8 = X86ISD::SETCC 0x30072e0, 0x3000f30 [ID=43]
      0x30072e0: i8 = Constant<4> [ID=18]
      0x3000f30: i32 = X86ISD::CMP 0x30038a0, 0x30061d0 [ID=41]
        0x30038a0: i64,ch,glue = CopyFromReg 0x3002da0, 0x3005ed0, 0x3002da0:1 [ORD=34] [ID=40]
          0x3005ed0: i64 = Register %RAX [ORD=29] [ID=10]
          0x3002da0: ch,glue = callseq_end 0x3002ba0, 0x30070e0, 0x30070e0, 0x3002ba0:1 [ORD=34] [ID=39]
            0x30070e0: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x30070e0: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x3002ba0: ch,glue = X86ISD::CALL 0x3001530, 0x3001730, 0x30047b0, 0x3006ce0, 0x3001530:1 [ORD=34] [ID=38]
              0x3001730: i64 = TargetGlobalAddress<%"class.v8::Integer"* (%"class.v8::Value"*)* @_ZNK2v85Value9ToIntegerEv> 0 [TF=6] [ORD=34] [ID=14]
              0x30047b0: i64 = Register %RDI [ORD=31] [ID=11]
              0x3006ce0: Untyped = RegisterMask [ORD=27] [ID=7]
              0x3001530: ch,glue = CopyToReg 0x3001230, 0x30047b0, 0x3000e30 [ORD=34] [ID=37]
                0x30047b0: i64 = Register %RDI [ORD=31] [ID=11]
                0x3000e30: i64,ch,glue = CopyFromReg 0x30034a0, 0x3005ed0, 0x30034a0:1 [ORD=31] [ID=35]
                  0x3005ed0: i64 = Register %RAX [ORD=29] [ID=10]
                  0x30034a0: ch,glue = callseq_end 0x30035a0, 0x30070e0, 0x30070e0, 0x30035a0:1 [ORD=31] [ID=34]

        0x30061d0: i64 = Constant<0> [ORD=36] [ID=2]
In function: _Z12node_getppidRKN2v820FunctionCallbackInfoINS_5ValueEEE
make: *** [Release/obj.target/posix/src/posix.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-database-connectionhandler/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-database-connectionhandler/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> posix@2.0.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
  CXX(target) Release/obj.target/posix/src/posix.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x3194c80: i64 = fabs 0x319bd50 [ORD=38] [ID=46]
  0x319bd50: i64 = zero_extend 0x3193a70 [ID=45]
    0x3193a70: i8 = X86ISD::SETCC 0x319d260, 0x3193e70 [ID=43]
      0x319d260: i8 = Constant<4> [ID=18]
      0x3193e70: i32 = X86ISD::CMP 0x3195680, 0x319c150 [ID=41]
        0x3195680: i64,ch,glue = CopyFromReg 0x3194b80, 0x319be50, 0x3194b80:1 [ORD=34] [ID=40]
          0x319be50: i64 = Register %RAX [ORD=29] [ID=10]
          0x3194b80: ch,glue = callseq_end 0x3194980, 0x319d060, 0x319d060, 0x3194980:1 [ORD=34] [ID=39]
            0x319d060: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x319d060: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x3194980: ch,glue = X86ISD::CALL 0x3194470, 0x3194670, 0x319a730, 0x319cc60, 0x3194470:1 [ORD=34] [ID=38]
              0x3194670: i64 = TargetGlobalAddress<%"class.v8::Integer"* (%"class.v8::Value"*)* @_ZNK2v85Value9ToIntegerEv> 0 [TF=6] [ORD=34] [ID=14]
              0x319a730: i64 = Register %RDI [ORD=31] [ID=11]
              0x319cc60: Untyped = RegisterMask [ORD=27] [ID=7]
              0x3194470: ch,glue = CopyToReg 0x3194170, 0x319a730, 0x3193d70 [ORD=34] [ID=37]
                0x319a730: i64 = Register %RDI [ORD=31] [ID=11]
                0x3193d70: i64,ch,glue = CopyFromReg 0x3195280, 0x319be50, 0x3195280:1 [ORD=31] [ID=35]
                  0x319be50: i64 = Register %RAX [ORD=29] [ID=10]
                  0x3195280: ch,glue = callseq_end 0x3195380, 0x319d060, 0x319d060, 0x3195380:1 [ORD=31] [ID=34]

        0x319c150: i64 = Constant<0> [ORD=36] [ID=2]
In function: _Z12node_getppidRKN2v820FunctionCallbackInfoINS_5ValueEEE
make: *** [Release/obj.target/posix/src/posix.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> posix@2.0.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-conf/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-conf/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
  CXX(target) Release/obj.target/posix/src/posix.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x286cea0: i64 = fabs 0x286fdd0 [ORD=38] [ID=46]
  0x286fdd0: i64 = zero_extend 0x286a980 [ID=45]
    0x286a980: i8 = X86ISD::SETCC 0x28712e0, 0x286ad80 [ID=43]
      0x28712e0: i8 = Constant<4> [ID=18]
      0x286ad80: i32 = X86ISD::CMP 0x286d8a0, 0x28701d0 [ID=41]
        0x286d8a0: i64,ch,glue = CopyFromReg 0x286cda0, 0x286fed0, 0x286cda0:1 [ORD=34] [ID=40]
          0x286fed0: i64 = Register %RAX [ORD=29] [ID=10]
          0x286cda0: ch,glue = callseq_end 0x286cba0, 0x28710e0, 0x28710e0, 0x286cba0:1 [ORD=34] [ID=39]
            0x28710e0: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x28710e0: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x286cba0: ch,glue = X86ISD::CALL 0x286b380, 0x286b580, 0x286e7b0, 0x2870ce0, 0x286b380:1 [ORD=34] [ID=38]
              0x286b580: i64 = TargetGlobalAddress<%"class.v8::Integer"* (%"class.v8::Value"*)* @_ZNK2v85Value9ToIntegerEv> 0 [TF=6] [ORD=34] [ID=14]
              0x286e7b0: i64 = Register %RDI [ORD=31] [ID=11]
              0x2870ce0: Untyped = RegisterMask [ORD=27] [ID=7]
              0x286b380: ch,glue = CopyToReg 0x286b080, 0x286e7b0, 0x286ac80 [ORD=34] [ID=37]
                0x286e7b0: i64 = Register %RDI [ORD=31] [ID=11]
                0x286ac80: i64,ch,glue = CopyFromReg 0x286d4a0, 0x286fed0, 0x286d4a0:1 [ORD=31] [ID=35]
                  0x286fed0: i64 = Register %RAX [ORD=29] [ID=10]
                  0x286d4a0: ch,glue = callseq_end 0x286d5a0, 0x28710e0, 0x28710e0, 0x286d5a0:1 [ORD=31] [ID=34]

        0x28701d0: i64 = Constant<0> [ORD=36] [ID=2]
In function: _Z12node_getppidRKN2v820FunctionCallbackInfoINS_5ValueEEE
make: *** [Release/obj.target/posix/src/posix.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-conf/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-conf/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> posix@2.0.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/module-broker-client/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/module-broker-client/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
  CXX(target) Release/obj.target/posix/src/posix.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x3b7fca0: i64 = fabs 0x3b86d70 [ORD=38] [ID=46]
  0x3b86d70: i64 = zero_extend 0x3b7ea90 [ID=45]
    0x3b7ea90: i8 = X86ISD::SETCC 0x3b88280, 0x3b7ee90 [ID=43]
      0x3b88280: i8 = Constant<4> [ID=18]
      0x3b7ee90: i32 = X86ISD::CMP 0x3b806a0, 0x3b87170 [ID=41]
        0x3b806a0: i64,ch,glue = CopyFromReg 0x3b7fba0, 0x3b86e70, 0x3b7fba0:1 [ORD=34] [ID=40]
          0x3b86e70: i64 = Register %RAX [ORD=29] [ID=10]
          0x3b7fba0: ch,glue = callseq_end 0x3b7f9a0, 0x3b88080, 0x3b88080, 0x3b7f9a0:1 [ORD=34] [ID=39]
            0x3b88080: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x3b88080: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x3b7f9a0: ch,glue = X86ISD::CALL 0x3b7f490, 0x3b7f690, 0x3b85750, 0x3b87c80, 0x3b7f490:1 [ORD=34] [ID=38]
              0x3b7f690: i64 = TargetGlobalAddress<%"class.v8::Integer"* (%"class.v8::Value"*)* @_ZNK2v85Value9ToIntegerEv> 0 [TF=6] [ORD=34] [ID=14]
              0x3b85750: i64 = Register %RDI [ORD=31] [ID=11]
              0x3b87c80: Untyped = RegisterMask [ORD=27] [ID=7]
              0x3b7f490: ch,glue = CopyToReg 0x3b7f190, 0x3b85750, 0x3b7ed90 [ORD=34] [ID=37]
                0x3b85750: i64 = Register %RDI [ORD=31] [ID=11]
                0x3b7ed90: i64,ch,glue = CopyFromReg 0x3b802a0, 0x3b86e70, 0x3b802a0:1 [ORD=31] [ID=35]
                  0x3b86e70: i64 = Register %RAX [ORD=29] [ID=10]
                  0x3b802a0: ch,glue = callseq_end 0x3b803a0, 0x3b88080, 0x3b88080, 0x3b803a0:1 [ORD=31] [ID=34]

        0x3b87170: i64 = Constant<0> [ORD=36] [ID=2]
In function: _Z12node_getppidRKN2v820FunctionCallbackInfoINS_5ValueEEE
make: *** [Release/obj.target/posix/src/posix.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/module-broker-client/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/module-broker-client/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> posix@2.0.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-broker-client-cbor/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-broker-client-cbor/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
  CXX(target) Release/obj.target/posix/src/posix.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x311bec0: i64 = fabs 0x311edf0 [ORD=38] [ID=46]
  0x311edf0: i64 = zero_extend 0x3119b10 [ID=45]
    0x3119b10: i8 = X86ISD::SETCC 0x3120300, 0x3119f10 [ID=43]
      0x3120300: i8 = Constant<4> [ID=18]
      0x3119f10: i32 = X86ISD::CMP 0x311c8c0, 0x311f1f0 [ID=41]
        0x311c8c0: i64,ch,glue = CopyFromReg 0x311bdc0, 0x311eef0, 0x311bdc0:1 [ORD=34] [ID=40]
          0x311eef0: i64 = Register %RAX [ORD=29] [ID=10]
          0x311bdc0: ch,glue = callseq_end 0x311bbc0, 0x3120100, 0x3120100, 0x311bbc0:1 [ORD=34] [ID=39]
            0x3120100: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x3120100: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x311bbc0: ch,glue = X86ISD::CALL 0x311a510, 0x311a710, 0x311d7d0, 0x311fd00, 0x311a510:1 [ORD=34] [ID=38]
              0x311a710: i64 = TargetGlobalAddress<%"class.v8::Integer"* (%"class.v8::Value"*)* @_ZNK2v85Value9ToIntegerEv> 0 [TF=6] [ORD=34] [ID=14]
              0x311d7d0: i64 = Register %RDI [ORD=31] [ID=11]
              0x311fd00: Untyped = RegisterMask [ORD=27] [ID=7]
              0x311a510: ch,glue = CopyToReg 0x311a210, 0x311d7d0, 0x3119e10 [ORD=34] [ID=37]
                0x311d7d0: i64 = Register %RDI [ORD=31] [ID=11]
                0x3119e10: i64,ch,glue = CopyFromReg 0x311c4c0, 0x311eef0, 0x311c4c0:1 [ORD=31] [ID=35]
                  0x311eef0: i64 = Register %RAX [ORD=29] [ID=10]
                  0x311c4c0: ch,glue = callseq_end 0x311c5c0, 0x3120100, 0x3120100, 0x311c5c0:1 [ORD=31] [ID=34]

        0x311f1f0: i64 = Constant<0> [ORD=36] [ID=2]
In function: _Z12node_getppidRKN2v820FunctionCallbackInfoINS_5ValueEEE
make: *** [Release/obj.target/posix/src/posix.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-broker-client-cbor/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-broker-client-cbor/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> posix@2.0.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-broker-client-cbor/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-broker-client-cbor/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
  CXX(target) Release/obj.target/posix/src/posix.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x3deecd0: i64 = fabs 0x3df5da0 [ORD=38] [ID=46]
  0x3df5da0: i64 = zero_extend 0x3dedac0 [ID=45]
    0x3dedac0: i8 = X86ISD::SETCC 0x3df72b0, 0x3dedec0 [ID=43]
      0x3df72b0: i8 = Constant<4> [ID=18]
      0x3dedec0: i32 = X86ISD::CMP 0x3def6d0, 0x3df61a0 [ID=41]
        0x3def6d0: i64,ch,glue = CopyFromReg 0x3deebd0, 0x3df5ea0, 0x3deebd0:1 [ORD=34] [ID=40]
          0x3df5ea0: i64 = Register %RAX [ORD=29] [ID=10]
          0x3deebd0: ch,glue = callseq_end 0x3dee9d0, 0x3df70b0, 0x3df70b0, 0x3dee9d0:1 [ORD=34] [ID=39]
            0x3df70b0: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x3df70b0: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x3dee9d0: ch,glue = X86ISD::CALL 0x3dee4c0, 0x3dee6c0, 0x3df4780, 0x3df6cb0, 0x3dee4c0:1 [ORD=34] [ID=38]
              0x3dee6c0: i64 = TargetGlobalAddress<%"class.v8::Integer"* (%"class.v8::Value"*)* @_ZNK2v85Value9ToIntegerEv> 0 [TF=6] [ORD=34] [ID=14]
              0x3df4780: i64 = Register %RDI [ORD=31] [ID=11]
              0x3df6cb0: Untyped = RegisterMask [ORD=27] [ID=7]
              0x3dee4c0: ch,glue = CopyToReg 0x3dee1c0, 0x3df4780, 0x3deddc0 [ORD=34] [ID=37]
                0x3df4780: i64 = Register %RDI [ORD=31] [ID=11]
                0x3deddc0: i64,ch,glue = CopyFromReg 0x3def2d0, 0x3df5ea0, 0x3def2d0:1 [ORD=31] [ID=35]
                  0x3df5ea0: i64 = Register %RAX [ORD=29] [ID=10]
                  0x3def2d0: ch,glue = callseq_end 0x3def3d0, 0x3df70b0, 0x3df70b0, 0x3def3d0:1 [ORD=31] [ID=34]

        0x3df61a0: i64 = Constant<0> [ORD=36] [ID=2]
In function: _Z12node_getppidRKN2v820FunctionCallbackInfoINS_5ValueEEE
make: *** [Release/obj.target/posix/src/posix.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-broker-client-cbor/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-broker-client-cbor/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> posix@2.0.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/module-broker-client/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/module-broker-client/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
  CXX(target) Release/obj.target/posix/src/posix.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x38bcf40: i64 = fabs 0x38bfe70 [ORD=38] [ID=46]
  0x38bfe70: i64 = zero_extend 0x38babd0 [ID=45]
    0x38babd0: i8 = X86ISD::SETCC 0x38c1380, 0x38bafd0 [ID=43]
      0x38c1380: i8 = Constant<4> [ID=18]
      0x38bafd0: i32 = X86ISD::CMP 0x38bd940, 0x38c0270 [ID=41]
        0x38bd940: i64,ch,glue = CopyFromReg 0x38bce40, 0x38bff70, 0x38bce40:1 [ORD=34] [ID=40]
          0x38bff70: i64 = Register %RAX [ORD=29] [ID=10]
          0x38bce40: ch,glue = callseq_end 0x38bcc40, 0x38c1180, 0x38c1180, 0x38bcc40:1 [ORD=34] [ID=39]
            0x38c1180: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x38c1180: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x38bcc40: ch,glue = X86ISD::CALL 0x38bb5d0, 0x38bb7d0, 0x38be850, 0x38c0d80, 0x38bb5d0:1 [ORD=34] [ID=38]
              0x38bb7d0: i64 = TargetGlobalAddress<%"class.v8::Integer"* (%"class.v8::Value"*)* @_ZNK2v85Value9ToIntegerEv> 0 [TF=6] [ORD=34] [ID=14]
              0x38be850: i64 = Register %RDI [ORD=31] [ID=11]
              0x38c0d80: Untyped = RegisterMask [ORD=27] [ID=7]
              0x38bb5d0: ch,glue = CopyToReg 0x38bb2d0, 0x38be850, 0x38baed0 [ORD=34] [ID=37]
                0x38be850: i64 = Register %RDI [ORD=31] [ID=11]
                0x38baed0: i64,ch,glue = CopyFromReg 0x38bd540, 0x38bff70, 0x38bd540:1 [ORD=31] [ID=35]
                  0x38bff70: i64 = Register %RAX [ORD=29] [ID=10]
                  0x38bd540: ch,glue = callseq_end 0x38bd640, 0x38c1180, 0x38c1180, 0x38bd640:1 [ORD=31] [ID=34]

        0x38c0270: i64 = Constant<0> [ORD=36] [ID=2]
In function: _Z12node_getppidRKN2v820FunctionCallbackInfoINS_5ValueEEE
make: *** [Release/obj.target/posix/src/posix.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/module-broker-client/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/module-broker-client/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> posix@2.0.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-webservicediscovery/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-webservicediscovery/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
  CXX(target) Release/obj.target/posix/src/posix.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x305d370: i64 = fabs 0x30602a0 [ORD=38] [ID=46]
  0x30602a0: i64 = zero_extend 0x305afc0 [ID=45]
    0x305afc0: i8 = X86ISD::SETCC 0x30617b0, 0x305b3c0 [ID=43]
      0x30617b0: i8 = Constant<4> [ID=18]
      0x305b3c0: i32 = X86ISD::CMP 0x305dd70, 0x30606a0 [ID=41]
        0x305dd70: i64,ch,glue = CopyFromReg 0x305d270, 0x30603a0, 0x305d270:1 [ORD=34] [ID=40]
          0x30603a0: i64 = Register %RAX [ORD=29] [ID=10]
          0x305d270: ch,glue = callseq_end 0x305d070, 0x30615b0, 0x30615b0, 0x305d070:1 [ORD=34] [ID=39]
            0x30615b0: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x30615b0: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x305d070: ch,glue = X86ISD::CALL 0x305b9c0, 0x305bbc0, 0x305ec80, 0x30611b0, 0x305b9c0:1 [ORD=34] [ID=38]
              0x305bbc0: i64 = TargetGlobalAddress<%"class.v8::Integer"* (%"class.v8::Value"*)* @_ZNK2v85Value9ToIntegerEv> 0 [TF=6] [ORD=34] [ID=14]
              0x305ec80: i64 = Register %RDI [ORD=31] [ID=11]
              0x30611b0: Untyped = RegisterMask [ORD=27] [ID=7]
              0x305b9c0: ch,glue = CopyToReg 0x305b6c0, 0x305ec80, 0x305b2c0 [ORD=34] [ID=37]
                0x305ec80: i64 = Register %RDI [ORD=31] [ID=11]
                0x305b2c0: i64,ch,glue = CopyFromReg 0x305d970, 0x30603a0, 0x305d970:1 [ORD=31] [ID=35]
                  0x30603a0: i64 = Register %RAX [ORD=29] [ID=10]
                  0x305d970: ch,glue = callseq_end 0x305da70, 0x30615b0, 0x30615b0, 0x305da70:1 [ORD=31] [ID=34]

        0x30606a0: i64 = Constant<0> [ORD=36] [ID=2]
In function: _Z12node_getppidRKN2v820FunctionCallbackInfoINS_5ValueEEE
make: *** [Release/obj.target/posix/src/posix.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-webservicediscovery/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-webservicediscovery/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> bufferutil@1.2.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/bufferutil/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x30e0260: i64 = fabs 0x30df150 [ORD=187] [ID=66]
  0x30df150: i64 = zero_extend 0x30dff60 [ID=65]
    0x30dff60: i8 = X86ISD::SETCC 0x30dfa60, 0x30e5a90 [ID=64]
      0x30dfa60: i8 = Constant<4> [ID=19]
      0x30e5a90: i32 = X86ISD::CMP 0x30e0770, 0x30e5890 [ID=63]
        0x30e0770: i64 = add 0x30e0870, 0x30d3bb0 [ORD=184] [ID=62]
          0x30e0870: i64,ch = load 0x30e0d70, 0x30e0970, 0x30e5790<LD8[%15](tbaa=!"any pointer")> [ORD=183] [ID=59]
            0x30e0970: i64 = add 0x30e0c70, 0x30d3bb0 [ORD=182] [ID=57]
              0x30e0c70: i64,ch = load 0x30e0d70, 0x30ca620, 0x30e5790<LD8[%5](tbaa=!"omnipotent char")> [ORD=178] [ID=56]
                0x30ca620: i64,ch = CopyFromReg 0x306a1b0, 0x30c9410 [ORD=171] [ID=21]
                  0x30c9410: i64 = Register %vreg0 [ORD=171] [ID=1]
                0x30e5790: i64 = undef [ORD=169] [ID=13]
              0x30d3bb0: i64 = Constant<8> [ORD=169] [ID=14]
            0x30e5790: i64 = undef [ORD=169] [ID=13]
          0x30d3bb0: i64 = Constant<8> [ORD=169] [ID=14]
        0x30e5890: i64 = Constant<0> [ORD=169] [ID=12]
In function: _ZN10BufferUtil3NewERKN3Nan20FunctionCallbackInfoIN2v85ValueEEE
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/bufferutil/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/bufferutil
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> utf-8-validate@1.2.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x4293650: i64 = fabs 0x4292040 [ORD=188] [ID=66]
  0x4292040: i64 = zero_extend 0x4293250 [ID=65]
    0x4293250: i8 = X86ISD::SETCC 0x429b9b0, 0x42b5de0 [ID=64]
      0x429b9b0: i8 = Constant<4> [ID=19]
      0x42b5de0: i32 = X86ISD::CMP 0x42b35c0, 0x42b5ce0 [ID=63]
        0x42b35c0: i64 = add 0x42b37c0, 0x42b59e0 [ORD=185] [ID=62]
          0x42b37c0: i64,ch = load 0x42b3ec0, 0x42b38c0, 0x42b5be0<LD8[%15](tbaa=!"any pointer")> [ORD=184] [ID=59]
            0x42b38c0: i64 = add 0x42b3cc0, 0x42b59e0 [ORD=183] [ID=57]
              0x42b3cc0: i64,ch = load 0x42b3ec0, 0x42a4eb0, 0x42b5be0<LD8[%5](tbaa=!"omnipotent char")> [ORD=179] [ID=56]
                0x42a4eb0: i64,ch = CopyFromReg 0x4246300, 0x428d7f0 [ORD=172] [ID=21]
                  0x428d7f0: i64 = Register %vreg0 [ORD=172] [ID=1]
                0x42b5be0: i64 = undef [ORD=170] [ID=13]
              0x42b59e0: i64 = Constant<8> [ORD=170] [ID=14]
            0x42b5be0: i64 = undef [ORD=170] [ID=13]
          0x42b59e0: i64 = Constant<8> [ORD=170] [ID=14]
        0x42b5ce0: i64 = Constant<0> [ORD=170] [ID=12]
In function: _ZN10Validation3NewERKN3Nan20FunctionCallbackInfoIN2v85ValueEEE
make: *** [Release/obj.target/validation/src/validation.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/utf-8-validate/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
npm WARN optional dep failed, continuing bufferutil@1.2.1

> posix@2.0.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-webservicediscovery/node_modules/lib-health/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-webservicediscovery/node_modules/lib-health/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
  CXX(target) Release/obj.target/posix/src/posix.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x2b9f210: i64 = fabs 0x2ba62e0 [ORD=38] [ID=46]
  0x2ba62e0: i64 = zero_extend 0x2b9e000 [ID=45]
    0x2b9e000: i8 = X86ISD::SETCC 0x2ba77f0, 0x2b9e400 [ID=43]
      0x2ba77f0: i8 = Constant<4> [ID=18]
      0x2b9e400: i32 = X86ISD::CMP 0x2b9fc10, 0x2ba66e0 [ID=41]
        0x2b9fc10: i64,ch,glue = CopyFromReg 0x2b9f110, 0x2ba63e0, 0x2b9f110:1 [ORD=34] [ID=40]
          0x2ba63e0: i64 = Register %RAX [ORD=29] [ID=10]
          0x2b9f110: ch,glue = callseq_end 0x2b9ef10, 0x2ba75f0, 0x2ba75f0, 0x2b9ef10:1 [ORD=34] [ID=39]
            0x2ba75f0: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x2ba75f0: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x2b9ef10: ch,glue = X86ISD::CALL 0x2b9ea00, 0x2b9ec00, 0x2ba4cc0, 0x2ba71f0, 0x2b9ea00:1 [ORD=34] [ID=38]
              0x2b9ec00: i64 = TargetGlobalAddress<%"class.v8::Integer"* (%"class.v8::Value"*)* @_ZNK2v85Value9ToIntegerEv> 0 [TF=6] [ORD=34] [ID=14]
              0x2ba4cc0: i64 = Register %RDI [ORD=31] [ID=11]
              0x2ba71f0: Untyped = RegisterMask [ORD=27] [ID=7]
              0x2b9ea00: ch,glue = CopyToReg 0x2b9e700, 0x2ba4cc0, 0x2b9e300 [ORD=34] [ID=37]
                0x2ba4cc0: i64 = Register %RDI [ORD=31] [ID=11]
                0x2b9e300: i64,ch,glue = CopyFromReg 0x2b9f810, 0x2ba63e0, 0x2b9f810:1 [ORD=31] [ID=35]
                  0x2ba63e0: i64 = Register %RAX [ORD=29] [ID=10]
                  0x2b9f810: ch,glue = callseq_end 0x2b9f910, 0x2ba75f0, 0x2ba75f0, 0x2b9f910:1 [ORD=31] [ID=34]

        0x2ba66e0: i64 = Constant<0> [ORD=36] [ID=2]
In function: _Z12node_getppidRKN2v820FunctionCallbackInfoINS_5ValueEEE
make: *** [Release/obj.target/posix/src/posix.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-webservicediscovery/node_modules/lib-health/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-webservicediscovery/node_modules/lib-health/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
npm WARN optional dep failed, continuing utf-8-validate@1.2.1

> utf-8-validate@1.2.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x3d6ea50: i64 = fabs 0x3d6d440 [ORD=188] [ID=66]
  0x3d6d440: i64 = zero_extend 0x3d6e650 [ID=65]
    0x3d6e650: i8 = X86ISD::SETCC 0x3d50e40, 0x3d911e0 [ID=64]
      0x3d50e40: i8 = Constant<4> [ID=19]
      0x3d911e0: i32 = X86ISD::CMP 0x3d8e9c0, 0x3d910e0 [ID=63]
        0x3d8e9c0: i64 = add 0x3d8ebc0, 0x3d90de0 [ORD=185] [ID=62]
          0x3d8ebc0: i64,ch = load 0x3d8f2c0, 0x3d8ecc0, 0x3d90fe0<LD8[%15](tbaa=!"any pointer")> [ORD=184] [ID=59]
            0x3d8ecc0: i64 = add 0x3d8f0c0, 0x3d90de0 [ORD=183] [ID=57]
              0x3d8f0c0: i64,ch = load 0x3d8f2c0, 0x3d4fc30, 0x3d90fe0<LD8[%5](tbaa=!"omnipotent char")> [ORD=179] [ID=56]
                0x3d4fc30: i64,ch = CopyFromReg 0x3d1e2c0, 0x3d68bf0 [ORD=172] [ID=21]
                  0x3d68bf0: i64 = Register %vreg0 [ORD=172] [ID=1]
                0x3d90fe0: i64 = undef [ORD=170] [ID=13]
              0x3d90de0: i64 = Constant<8> [ORD=170] [ID=14]
            0x3d90fe0: i64 = undef [ORD=170] [ID=13]
          0x3d90de0: i64 = Constant<8> [ORD=170] [ID=14]
        0x3d910e0: i64 = Constant<0> [ORD=170] [ID=12]
In function: _ZN10Validation3NewERKN3Nan20FunctionCallbackInfoIN2v85ValueEEE
make: *** [Release/obj.target/validation/src/validation.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/utf-8-validate/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> bufferutil@1.2.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/bufferutil/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x2776030: i64 = fabs 0x2774f20 [ORD=187] [ID=66]
  0x2774f20: i64 = zero_extend 0x2775d30 [ID=65]
    0x2775d30: i8 = X86ISD::SETCC 0x2775830, 0x277b860 [ID=64]
      0x2775830: i8 = Constant<4> [ID=19]
      0x277b860: i32 = X86ISD::CMP 0x2776540, 0x277b660 [ID=63]
        0x2776540: i64 = add 0x2776640, 0x2769980 [ORD=184] [ID=62]
          0x2776640: i64,ch = load 0x2776b40, 0x2776740, 0x277b560<LD8[%15](tbaa=!"any pointer")> [ORD=183] [ID=59]
            0x2776740: i64 = add 0x2776a40, 0x2769980 [ORD=182] [ID=57]
              0x2776a40: i64,ch = load 0x2776b40, 0x27603f0, 0x277b560<LD8[%5](tbaa=!"omnipotent char")> [ORD=178] [ID=56]
                0x27603f0: i64,ch = CopyFromReg 0x26fe160, 0x275f1e0 [ORD=171] [ID=21]
                  0x275f1e0: i64 = Register %vreg0 [ORD=171] [ID=1]
                0x277b560: i64 = undef [ORD=169] [ID=13]
              0x2769980: i64 = Constant<8> [ORD=169] [ID=14]
            0x277b560: i64 = undef [ORD=169] [ID=13]
          0x2769980: i64 = Constant<8> [ORD=169] [ID=14]
        0x277b660: i64 = Constant<0> [ORD=169] [ID=12]
In function: _ZN10BufferUtil3NewERKN3Nan20FunctionCallbackInfoIN2v85ValueEEE
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/bufferutil/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/module-broker-client/node_modules/mqtt/node_modules/websocket-stream/node_modules/ws/node_modules/bufferutil
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
npm WARN optional dep failed, continuing utf-8-validate@1.2.1

> posix@2.0.1 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-webservicediscovery/node_modules/lib-health/node_modules/lib-conf/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-webservicediscovery/node_modules/lib-health/node_modules/lib-conf/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
  CXX(target) Release/obj.target/posix/src/posix.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x29792a0: i64 = fabs 0x2980370 [ORD=38] [ID=46]
  0x2980370: i64 = zero_extend 0x2978090 [ID=45]
    0x2978090: i8 = X86ISD::SETCC 0x2981880, 0x2978490 [ID=43]
      0x2981880: i8 = Constant<4> [ID=18]
      0x2978490: i32 = X86ISD::CMP 0x2979ca0, 0x2980770 [ID=41]
        0x2979ca0: i64,ch,glue = CopyFromReg 0x29791a0, 0x2980470, 0x29791a0:1 [ORD=34] [ID=40]
          0x2980470: i64 = Register %RAX [ORD=29] [ID=10]
          0x29791a0: ch,glue = callseq_end 0x2978fa0, 0x2981680, 0x2981680, 0x2978fa0:1 [ORD=34] [ID=39]
            0x2981680: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x2981680: i64 = TargetConstant<0> [ORD=27] [ID=5]
            0x2978fa0: ch,glue = X86ISD::CALL 0x2978a90, 0x2978c90, 0x297ed50, 0x2981280, 0x2978a90:1 [ORD=34] [ID=38]
              0x2978c90: i64 = TargetGlobalAddress<%"class.v8::Integer"* (%"class.v8::Value"*)* @_ZNK2v85Value9ToIntegerEv> 0 [TF=6] [ORD=34] [ID=14]
              0x297ed50: i64 = Register %RDI [ORD=31] [ID=11]
              0x2981280: Untyped = RegisterMask [ORD=27] [ID=7]
              0x2978a90: ch,glue = CopyToReg 0x2978790, 0x297ed50, 0x2978390 [ORD=34] [ID=37]
                0x297ed50: i64 = Register %RDI [ORD=31] [ID=11]
                0x2978390: i64,ch,glue = CopyFromReg 0x29798a0, 0x2980470, 0x29798a0:1 [ORD=31] [ID=35]
                  0x2980470: i64 = Register %RAX [ORD=29] [ID=10]
                  0x29798a0: ch,glue = callseq_end 0x29799a0, 0x2981680, 0x2981680, 0x29799a0:1 [ORD=31] [ID=34]

        0x2980770: i64 = Constant<0> [ORD=36] [ID=2]
In function: _Z12node_getppidRKN2v820FunctionCallbackInfoINS_5ValueEEE
make: *** [Release/obj.target/posix/src/posix.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-webservicediscovery/node_modules/lib-health/node_modules/lib-conf/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/lib-webservicediscovery/node_modules/lib-health/node_modules/lib-conf/node_modules/lib-log/node_modules/winston-posix-syslog/node_modules/posix
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
npm WARN optional dep failed, continuing bufferutil@1.2.1

> node-libcurl@0.6.3 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/node-libcurl
> node tools/retrieve-win-deps && node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/node-libcurl/build'
  CXX(target) Release/obj.target/node-libcurl/src/node_libcurl.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
In file included from ../src/node_libcurl.cc:28:
In file included from ../src/Multi.h:35:
In file included from ../src/make_unique.h:22:
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/cstddef:50:11: error: no member named 'max_align_t' in the global namespace
  using ::max_align_t;
        ~~^
1 error generated.
make: *** [Release/obj.target/node-libcurl/src/node_libcurl.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/node-libcurl/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/node-libcurl
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> kerberos@0.0.17 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos
> (node-gyp rebuild) || (exit 0)

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/build'
  CXX(target) Release/obj.target/kerberos/lib/kerberos.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x41814d0: i64 = fabs 0x4192f20 [ORD=649] [ID=52]
  0x4192f20: i64 = zero_extend 0x41817d0 [ID=51]
    0x41817d0: i8 = X86ISD::SETCC 0x4145be0, 0x4181fd0 [ID=50]
      0x4145be0: i8 = Constant<4> [ID=16]
      0x4181fd0: i32 = X86ISD::CMP 0x41463e0, 0x40de140 [ID=49]
        0x41463e0: i64 = add 0x41462e0, 0x40cc460 [ORD=646] [ID=48]
          0x41462e0: i64,ch = load 0x40cc560, 0x41461e0, 0x40de440<LD8[%17](tbaa=!"any pointer")> [ORD=645] [ID=45]
            0x41461e0: i64 = add 0x4145ee0, 0x40cc460 [ORD=644] [ID=43]
              0x4145ee0: i64,ch = load 0x40cc560, 0x40de540, 0x40de440<LD8[%7](tbaa=!"omnipotent char")> [ORD=640] [ID=42]
                0x40de540: i64,ch = CopyFromReg 0x408afe0, 0x41459e0 [ORD=633] [ID=18]
                  0x41459e0: i64 = Register %vreg0 [ORD=633] [ID=1]
                0x40de440: i64 = undef [ORD=625] [ID=10]
              0x40cc460: i64 = Constant<8> [ORD=626] [ID=11]
            0x40de440: i64 = undef [ORD=625] [ID=10]
          0x40cc460: i64 = Constant<8> [ORD=626] [ID=11]
        0x40de140: i64 = Constant<0> [ORD=625] [ID=9]
In function: _ZN8Kerberos3NewERKN3Nan20FunctionCallbackInfoIN2v85ValueEEE
make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/mongoose/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

> mmmagic@0.3.16 install /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/mmmagic
> node-gyp rebuild

make: Entering directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/mmmagic/build'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/apprentice.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/apptype.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/ascmagic.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
../deps/libmagic/src/cdf.c:306:6: warning: implicit declaration of function 'pread' is invalid in C99 [-Wimplicit-function-declaration]
        if (pread(info->i_fd, buf, len, off) != (ssize_t)len)
            ^
1 warning generated.
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf_time.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/compress.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/encoding.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/fsmagic.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/funcs.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/is_tar.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/magic.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/print.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/readcdf.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/readelf.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/softmagic.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/fmtcheck.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/strlcat.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libmagic/deps/libmagic/src/strlcpy.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  AR(target) Release/obj.target/deps/libmagic/magic.a
  COPY Release/magic.a
  CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_byte_order.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_chartables.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_compile.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_config.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_dfa_exec.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_exec.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_fullinfo.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_get.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_globals.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_jit_compile.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
fatal error: error in backend: Cannot select: 0x2c145c0: i64 = fabs 0x2c19f10 [ORD=852] [ID=11]
  0x2c19f10: i64,ch = load 0x2c163e0, 0x2c18800, 0x2c18c00<LD4[%719], sext from i32> [ID=10]
    0x2c18800: i64,ch = CopyFromReg 0x2868180, 0x2c1b430 [ORD=846] [ID=8]
      0x2c1b430: i64 = Register %vreg158 [ORD=846] [ID=1]
    0x2c18c00: i64 = undef [ORD=849] [ID=4]
In function: _pcre_jit_compile
make: *** [Release/obj.target/libpcre/deps/libmagic/pcre/pcre_jit_compile.o] Error 1
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/mmmagic/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/mmmagic
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
npm ERR! Linux 3.11.0-26-generic
npm ERR! argv "node" "/usr/local/bin/npm" "i"
npm ERR! node v0.12.4
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! posix@2.0.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the posix@2.0.1 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the posix 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 posix
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/musichen/dev/bitbucket/_playground/wng-backend-ad/npm-debug.log

It seems to be more errors there, than it was with old compiler. The problem is with Clang/LLVM and GCC being both present on my machine. I guess i need to swich to just GCC.

I currently have these LLVM bins on my machine:

/usr/bin$ ls | grep llvm
llvm-ar-3.0
llvm-ar-3.2
llvm-as-3.0
llvm-as-3.2
llvm-bcanalyzer-3.0
llvm-bcanalyzer-3.2
llvm-clang
llvm-config-3.0
llvm-config-3.2
llvm-cov-3.0
llvm-cov-3.2
llvm-diff-3.0
llvm-diff-3.2
llvm-dis-3.0
llvm-dis-3.2
llvm-dwarfdump-3.0
llvm-dwarfdump-3.2
llvm-extract-3.0
llvm-extract-3.2
llvm-ld-3.0
llvm-link-3.0
llvm-link-3.2
llvm-mc-3.0
llvm-mc-3.2
llvm-mcmarkup-3.2
llvm-nm-3.0
llvm-nm-3.2
llvm-objdump-3.0
llvm-objdump-3.2
llvm-prof-3.0
llvm-prof-3.2
llvm-ranlib-3.0
llvm-ranlib-3.2
llvm-readobj-3.2
llvm-rtdyld-3.0
llvm-rtdyld-3.2
llvm-size-3.0
llvm-size-3.2
llvm-stress-3.2
llvm-stub-3.0
llvm-tblgen-3.0
llvm-tblgen-3.2

and got these gcc bins:

/usr/bin$ ls | grep gcc
c89-gcc
c99-gcc
gcc
gcc-4.4
gcc-4.6
gcc-4.8
gcc-4.9
gcc-ar-4.8
gcc-ar-4.9
gcc-nm-4.8
gcc-nm-4.9
gcc-ranlib-4.8
gcc-ranlib-4.9
winegcc
x86_64-linux-gnu-gcc
x86_64-linux-gnu-gcc-4.4
x86_64-linux-gnu-gcc-4.6
x86_64-linux-gnu-gcc-4.8
x86_64-linux-gnu-gcc-4.9
x86_64-linux-gnu-gcc-ar-4.8
x86_64-linux-gnu-gcc-ar-4.9
x86_64-linux-gnu-gcc-nm-4.8
x86_64-linux-gnu-gcc-nm-4.9
x86_64-linux-gnu-gcc-ranlib-4.8
x86_64-linux-gnu-gcc-ranlib-4.9

Tried to work around, did this:

sudo add-apt-repository --remove ppa:kxstudio-team/builds
sudo apt-get purge llvm-3.2 clang-3.2
sudo apt-get install clang
clang --version
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: x86_64-pc-linux-gnu
Thread model: posix

So now with CLANG 3.0.6-ubuntu problem only with NODE-LIBCURL still persists:

clang: note: diagnostic msg: Preprocessed source(s) are located at:
clang: note: diagnostic msg: /tmp/Multi-3wK41F.ii
make: *** [Release/obj.target/node-libcurl/src/Multi.o] Error 254
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/node-libcurl/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/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 Linux 3.11.0-26-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/node-libcurl
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 

  AR(target) Release/obj.target/deps/libmagic/pcre/pcre.a
  COPY Release/pcre.a
  CXX(target) Release/obj.target/magic/src/magic.o
clang: warning: argument unused during compilation: '-fno-tree-vrp'
  SOLINK_MODULE(target) Release/obj.target/magic.node
  COPY Release/magic.node
make: Leaving directory `/home/musichen/dev/bitbucket/_playground/wng-backend-ad/node_modules/lib-storage-bindings/node_modules/mmmagic/build'
npm ERR! Linux 3.11.0-26-generic
npm ERR! argv "node" "/usr/local/bin/npm" "i"
npm ERR! node v0.12.4
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! node-libcurl@0.6.3 install: `node tools/retrieve-win-deps && node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-libcurl@0.6.3 install script 'node tools/retrieve-win-deps && node-gyp rebuild'.
npm ERR! This is most likely a problem with the node-libcurl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node tools/retrieve-win-deps && node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-libcurl
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/musichen/dev/bitbucket/_playground/wng-backend-ad/npm-debug.log

Any suggestions?

JCMais commented 8 years ago

Strange, looks like clang 3.0 has some issue with lambda functions (or it's a bug with the compiler, since the Multi instance has a variable with the same name than the lambda argument list...). I don't get any problem with clang version 3.4. If you can get that release, it should work.

But as you have gcc too, I recommend you to use it, you can do so overwriting the CC, CXX and LINK env variables to the gcc binary path. Example:

$ export CC="/usr/bin/gcc-4.9"
$ export CXX="/usr/bin/gcc-4.9"
$ export LINK="/usr/bin/gcc-4.9"

Then try installing again.

JCMais commented 8 years ago

Timing out.

Feel free to re-open if needed.