{"action":"opened","issue":{"url":"https://api.github.com/repos/ramr/nodejs-custom-version-openshift/issues/12","labels_url":"https://api.github.com/repos/ramr/nodejs-custom-version-openshift/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ramr/nodejs-custom-version-openshift/issues/12/comments","events_url":"https://api.github.com/repos/ramr/nodejs-custom-version-openshift/issues/12/events","html_url":"https://github.com/ramr/nodejs-custom-version-openshift/issues/12","id":111970260,"number":12,"title":"Mongoose (kerberos) module build error with recent Node.js versions","user":{"login":"kyrylkov","id":6225870,"avatar_url":"https://avatars.githubusercontent.com/u/6225870?v=3","gravatar_id":"","url":"https://api.github.com/users/kyrylkov","html_url":"https://github.com/kyrylkov","followers_url":"https://api.github.com/users/kyrylkov/followers","following_url":"https://api.github.com/users/kyrylkov/following{/other_user}","gists_url":"https://api.github.com/users/kyrylkov/gists{/gist_id}","starred_url":"https://api.github.com/users/kyrylkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyrylkov/subscriptions","organizations_url":"https://api.github.com/users/kyrylkov/orgs","repos_url":"https://api.github.com/users/kyrylkov/repos","events_url":"https://api.github.com/users/kyrylkov/events{/privacy}","received_events_url":"https://api.github.com/users/kyrylkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-17T16:06:02Z","updated_at":"2015-10-17T16:06:02Z","closed_at":null,"body":"```\r\nremote: npm info install kerberos@0.0.15\r\nremote:\r\nremote: > kerberos@0.0.15 install /var/lib/openshift/56226d8e89f5cf9628000216/app-root/runtime/repo/node_modules/kerberos\r\nremote: > (node-gyp rebuild) || (exit 0)\r\nremote:\r\nremote: gyp info it worked if it ends with ok\r\nremote: gyp info using node-gyp@3.0.3\r\nremote: gyp info using node@4.2.1 | linux | x64\r\nremote: gyp http GET https://nodejs.org/download/release/v4.2.1/node-v4.2.1-headers.tar.gz\r\nremote: gyp http 200 https://nodejs.org/download/release/v4.2.1/node-v4.2.1-headers.tar.gz\r\nremote: gyp http GET https://nodejs.org/download/release/v4.2.1/SHASUMS256.txt\r\nremote: gyp http 200 https://nodejs.org/download/release/v4.2.1/SHASUMS256.txt\r\nremote: gyp info spawn python2\r\nremote: gyp info spawn args [ '/var/lib/openshift/56226d8e89f5cf9628000216/app-root/data/node-v4.2.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',\r\nremote: gyp info spawn args   'binding.gyp',\r\nremote: gyp info spawn args   '-f',\r\nremote: gyp info spawn args   'make',\r\nremote: gyp info spawn args   '-I',\r\nremote: gyp info spawn args   '/var/lib/openshift/56226d8e89f5cf9628000216/app-root/runtime/repo/node_modules/kerberos/build/config.gypi',\r\nremote: gyp info spawn args   '-I',\r\nremote: gyp info spawn args   '/var/lib/openshift/56226d8e89f5cf9628000216/app-root/data/node-v4.2.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',\r\nremote: gyp info spawn args   '-I',\r\nremote: gyp info spawn args   '/var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/common.gypi',\r\nremote: gyp info spawn args   '-Dlibrary=shared_library',\r\nremote: gyp info spawn args   '-Dvisibility=default',\r\nremote: gyp info spawn args   '-Dnode_root_dir=/var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1',\r\nremote: gyp info spawn args   '-Dnode_gyp_dir=/var/lib/openshift/56226d8e89f5cf9628000216/app-root/data/node-v4.2.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp',\r\nremote: gyp info spawn args   '-Dnode_lib_file=node.lib',\r\nremote: gyp info spawn args   '-Dmodule_root_dir=/var/lib/openshift/56226d8e89f5cf9628000216/app-root/runtime/repo/node_modules/kerberos',\r\nremote: gyp info spawn args   '--depth=.',\r\nremote: gyp info spawn args   '--no-parallel',\r\nremote: gyp info spawn args   '--generator-output',\r\nremote: gyp info spawn args   'build',\r\nremote: gyp info spawn args   '-Goutput_dir=.' ]\r\nremote: gyp info spawn make\r\nremote: gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]\r\nremote: make: Entering directory `/var/lib/openshift/56226d8e89f5cf9628000216/app-root/runtime/repo/node_modules/kerberos/build'\r\nremote:   CXX(target) Release/obj.target/kerberos/lib/kerberos.o\r\nremote: In file included from /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/node.h:42,\r\nremote:                  from ../lib/kerberos.h:4,\r\nremote:                  from ../lib/kerberos.cc:1:\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:336: error: expected unqualified-id before 'using'\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h: In constructor 'v8::MaybeLocal<T>::MaybeLocal()':\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:353: error: 'nullptr' was not declared in this scope\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h: In member function 'bool v8::MaybeLocal<T>::IsEmpty() const':\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:360: error: 'nullptr' was not declared in this scope\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h: In member function 'bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const':\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:364: error: 'nullptr' was not declared in this scope\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h: In member function 'bool v8::WeakCallbackInfo<T>::IsFirstPass() const':\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:430: error: 'nullptr' was not declared in this scope\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h: At global scope:\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:469: error: expected unqualified-id before 'using'\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h: In constructor 'v8::Global<T>::Global()':\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:790: error: 'nullptr' was not declared in this scope\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h: In constructor 'v8::Global<T>::Global(v8::Global<T>&&)':\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:815: error: 'nullptr' was not declared in this scope\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h: In member function 'v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)':\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:827: error: 'nullptr' was not declared in this scope\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h: At global scope:\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:852: error: expected unqualified-id before 'using'\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:1089: error: 'nullptr' was not declared in this scope\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:1095: error: 'nullptr' was not declared in this scope\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h: In member function 'v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const':\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:3205: error: 'nullptr' was not declared in this scope\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h: In member function 'v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()':\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:7164: error: 'nullptr' was not declared in this scope\r\nremote: In file included from ../node_modules/nan/nan.h:182,\r\nremote:                  from ../lib/kerberos.h:9,\r\nremote:                  from ../lib/kerberos.cc:1:\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h: At global scope:\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:13: error: expected unqualified-id before 'using'\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:16: error: expected unqualified-id before 'using'\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:19: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:24: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:31: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:36: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:41: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:46: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:51: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:60: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:65: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:70: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:77: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:84: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:92: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:99: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:109: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:115: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:119: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:126: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:131: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:136: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:140: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:146: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:151: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:157: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:163: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:169: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:175: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:181: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:187: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:195: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:202: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:206: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:210: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:214: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan_maybe_43_inl.h:218: error: expected initializer before '<' token\r\nremote: In file included from ../node_modules/nan/nan.h:187,\r\nremote:                  from ../lib/kerberos.h:9,\r\nremote:                  from ../lib/kerberos.cc:1:\r\nremote: ../node_modules/nan/nan_converters.h:14: error: ISO C++ forbids declaration of 'MaybeLocal' with no type\r\nremote: ../node_modules/nan/nan_converters.h:14: error: expected ';' before '<' token\r\nremote: ../node_modules/nan/nan_converters.h:16: error: ISO C++ forbids declaration of 'Maybe' with no type\r\nremote: ../node_modules/nan/nan_converters.h:16: error: expected ';' before '<' token\r\nremote: ../node_modules/nan/nan_converters.h:26: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_converters.h:27: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_converters.h:28: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_converters.h:29: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_converters.h:30: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_converters.h:31: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_converters.h:32: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_converters.h:42: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_converters.h:43: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_converters.h:44: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_converters.h:45: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_converters.h:46: error: 'return_t' does not name a type\r\nremote: In file included from ../node_modules/nan/nan_converters.h:59,\r\nremote:                  from ../node_modules/nan/nan.h:187,\r\nremote:                  from ../lib/kerberos.h:9,\r\nremote:                  from ../lib/kerberos.cc:1:\r\nremote: ../node_modules/nan/nan_converters_43_inl.h:18: error: 'return_t' in class 'Nan::imp::ToFactory<v8::Boolean>' does not name a type\r\nremote: ../node_modules/nan/nan_converters_43_inl.h:19: error: 'return_t' in class 'Nan::imp::ToFactory<v8::Number>' does not name a type\r\nremote: ../node_modules/nan/nan_converters_43_inl.h:20: error: 'return_t' in class 'Nan::imp::ToFactory<v8::String>' does not name a type\r\nremote: ../node_modules/nan/nan_converters_43_inl.h:21: error: 'return_t' in class 'Nan::imp::ToFactory<v8::Object>' does not name a type\r\nremote: ../node_modules/nan/nan_converters_43_inl.h:22: error: 'return_t' in class 'Nan::imp::ToFactory<v8::Integer>' does not name a type\r\nremote: ../node_modules/nan/nan_converters_43_inl.h:23: error: 'return_t' in class 'Nan::imp::ToFactory<v8::Uint32>' does not name a type\r\nremote: ../node_modules/nan/nan_converters_43_inl.h:24: error: 'return_t' in class 'Nan::imp::ToFactory<v8::Int32>' does not name a type\r\nremote: ../node_modules/nan/nan_converters_43_inl.h:34: error: 'return_t' in class 'Nan::imp::ToFactory<bool>' does not name a type\r\nremote: ../node_modules/nan/nan_converters_43_inl.h:35: error: 'return_t' in class 'Nan::imp::ToFactory<double>' does not name a type\r\nremote: ../node_modules/nan/nan_converters_43_inl.h:36: error: 'return_t' in class 'Nan::imp::ToFactory<long int>' does not name a type\r\nremote: ../node_modules/nan/nan_converters_43_inl.h:37: error: 'return_t' in class 'Nan::imp::ToFactory<unsigned int>' does not name a type\r\nremote: ../node_modules/nan/nan_converters_43_inl.h:38: error: 'return_t' in class 'Nan::imp::ToFactory<int>' does not name a type\r\nremote: In file included from ../node_modules/nan/nan.h:188,\r\nremote:                  from ../lib/kerberos.h:9,\r\nremote:                  from ../lib/kerberos.cc:1:\r\nremote: ../node_modules/nan/nan_new.h: In function 'v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]':\r\nremote: ../node_modules/nan/nan_new.h:21: error: no matching function for call to 'To(v8::Local<v8::Integer>&)'\r\nremote: ../node_modules/nan/nan_new.h: In function 'v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]':\r\nremote: ../node_modules/nan/nan_new.h:28: error: no matching function for call to 'To(v8::Local<v8::Integer>&)'\r\nremote: ../node_modules/nan/nan_new.h: In function 'v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]':\r\nremote: ../node_modules/nan/nan_new.h:35: error: no matching function for call to 'To(v8::Local<v8::Integer>&)'\r\nremote: ../node_modules/nan/nan_new.h: At global scope:\r\nremote: ../node_modules/nan/nan_new.h:43: error: ISO C++ forbids declaration of 'MaybeLocal' with no type\r\nremote: ../node_modules/nan/nan_new.h:43: error: expected ';' before '<' token\r\nremote: ../node_modules/nan/nan_new.h:75: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:141: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:147: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:148: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:160: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:161: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:162: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:163: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:165: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:166: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:182: error: 'return_t' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:183: error: 'return_t' does not name a type\r\nremote: In file included from ../node_modules/nan/nan_new.h:189,\r\nremote:                  from ../node_modules/nan/nan.h:188,\r\nremote:                  from ../lib/kerberos.h:9,\r\nremote:                  from ../lib/kerberos.cc:1:\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h:56: error: 'return_t' in class 'Nan::imp::Factory<v8::Date>' does not name a type\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h: In static member function 'static v8::Local<v8::Function> Nan::imp::Factory<v8::Function>::New(void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)':\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h:90: error: 'NewInstance' was not declared in this scope\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h: In static member function 'static v8::Local<v8::FunctionTemplate> Nan::imp::Factory<v8::FunctionTemplate>::New(void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>, v8::Local<v8::Signature>)':\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h:118: error: 'NewInstance' was not declared in this scope\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h: At global scope:\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h:197: error: 'return_t' in class 'Nan::imp::Factory<v8::RegExp>' does not name a type\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h:216: error: 'return_t' in class 'Nan::imp::Factory<v8::Script>' does not name a type\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h:222: error: 'return_t' in class 'Nan::imp::Factory<v8::Script>' does not name a type\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h:254: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h:262: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h:268: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h:275: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h:281: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h:286: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h:347: error: 'return_t' in class 'Nan::imp::Factory<v8::UnboundScript>' does not name a type\r\nremote: ../node_modules/nan/nan_implementation_12_inl.h:354: error: 'return_t' in class 'Nan::imp::Factory<v8::UnboundScript>' does not name a type\r\nremote: In file included from ../node_modules/nan/nan.h:188,\r\nremote:                  from ../lib/kerberos.h:9,\r\nremote:                  from ../lib/kerberos.cc:1:\r\nremote: ../node_modules/nan/nan_new.h:291: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:297: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:303: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:309: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:315: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:321: error: 'return_t' in class 'Nan::imp::Factory<v8::String>' does not name a type\r\nremote: ../node_modules/nan/nan_new.h:327: error: 'return_t' in class 'Nan::imp::Factory<v8::RegExp>' does not name a type\r\nremote: In file included from ../lib/kerberos.h:9,\r\nremote:                  from ../lib/kerberos.cc:1:\r\nremote: ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::Error(const char*)':\r\nremote: ../node_modules/nan/nan.h:639: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: In function 'void Nan::ThrowError(const char*)':\r\nremote: ../node_modules/nan/nan.h:639: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::RangeError(const char*)':\r\nremote: ../node_modules/nan/nan.h:640: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: In function 'void Nan::ThrowRangeError(const char*)':\r\nremote: ../node_modules/nan/nan.h:640: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::ReferenceError(const char*)':\r\nremote: ../node_modules/nan/nan.h:641: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: In function 'void Nan::ThrowReferenceError(const char*)':\r\nremote: ../node_modules/nan/nan.h:641: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::SyntaxError(const char*)':\r\nremote: ../node_modules/nan/nan.h:642: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: In function 'void Nan::ThrowSyntaxError(const char*)':\r\nremote: ../node_modules/nan/nan.h:642: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::TypeError(const char*)':\r\nremote: ../node_modules/nan/nan.h:643: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: In function 'void Nan::ThrowTypeError(const char*)':\r\nremote: ../node_modules/nan/nan.h:643: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: At global scope:\r\nremote: ../node_modules/nan/nan.h:651: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan.h:673: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan.h:689: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan.h:702: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan.h:719: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan.h:725: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan.h:733: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan.h:740: error: expected initializer before '<' token\r\nremote: ../node_modules/nan/nan.h:746: error: expected initializer before '<' token\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h: In member function 'void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)':\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:3021: error: argument dependent lookup finds 'class v8::Set'\r\nremote: ../node_modules/nan/nan.h:1366: error:   in call to 'Set'\r\nremote: ../node_modules/nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)':\r\nremote: ../node_modules/nan/nan.h:1488: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const':\r\nremote: ../node_modules/nan/nan.h:1506: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: In member function 'virtual void Nan::AsyncWorker::HandleErrorCallback()':\r\nremote: ../node_modules/nan/nan.h:1540: error: no matching function for call to 'New(const char*)'\r\nremote: ../node_modules/nan/nan.h: In function 'void Nan::SetMethod(const T&, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))':\r\nremote: ../node_modules/nan/nan.h:1829: error: there are no arguments to 'GetFunction' that depend on a template parameter, so a declaration of 'GetFunction' must be available\r\nremote: ../node_modules/nan/nan.h:1829: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)\r\nremote: ../node_modules/nan/nan.h:1830: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: In function 'void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))':\r\nremote: ../node_modules/nan/nan.h:1842: error: 'GetFunction' was not declared in this scope\r\nremote: ../node_modules/nan/nan.h:1843: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: In function 'void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)':\r\nremote: ../node_modules/nan/nan.h:1868: error: 'NewInstance' was not declared in this scope\r\nremote: ../node_modules/nan/nan.h: In function 'bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)':\r\nremote: ../node_modules/nan/nan.h:1911: error: 'NewInstance' was not declared in this scope\r\nremote: ../node_modules/nan/nan.h: In function 'void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Integer>&), void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Boolean>&), void (*)(const Nan::PropertyCallbackInfo<v8::Array>&), v8::Local<v8::Value>)':\r\nremote: ../node_modules/nan/nan.h:1959: error: 'NewInstance' was not declared in this scope\r\nremote: ../node_modules/nan/nan.h: In function 'void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(uint32_t, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Integer>&), void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Boolean>&), void (*)(const Nan::PropertyCallbackInfo<v8::Array>&), v8::Local<v8::Value>)':\r\nremote: ../node_modules/nan/nan.h:2029: error: 'NewInstance' was not declared in this scope\r\nremote: In file included from ../lib/kerberos.h:9,\r\nremote:                  from ../lib/kerberos.cc:1:\r\nremote: ../node_modules/nan/nan.h: In function 'void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))':\r\nremote: ../node_modules/nan/nan.h:2090: error: no matching function for call to 'New(const char*&)'\r\nremote: ../node_modules/nan/nan.h:2091: error: 'GetFunction' was not declared in this scope\r\nremote: /var/lib/openshift/56226d8e89f5cf9628000216/.node-gyp/4.2.1/include/node/v8.h:3021: error: argument dependent lookup finds 'class v8::Set'\r\nremote: ../node_modules/nan/nan.h:2091: error:   in call to 'Set'\r\nremote: ../node_modules/nan/nan.h: In constructor 'Nan::Tap::Tap(v8::Local<v8::Value>)':\r\nremote: ../node_modules/nan/nan.h:2098: error: no matching function for call to 'To(v8::Local<v8::Value>&)'\r\nremote: ../node_modules/nan/nan.h: In member function 'void Nan::Tap::ok(bool, const char*)':\r\nremote: ../node_modules/nan/nan.h:2111: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../node_modules/nan/nan.h: In member function 'void Nan::Tap::pass(const char*)':\r\nremote: ../node_modules/nan/nan.h:2117: error: 'class v8::Local<v8::Boolean>' has no member named 'ToLocalChecked'\r\nremote: ../lib/kerberos.cc: In static member function 'static void Kerberos::Initialize(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)':\r\nremote: ../lib/kerberos.cc:74: error: no matching function for call to 'New(const char [9])'\r\nremote: ../lib/kerberos.cc:89: error: no matching function for call to 'New(const char [9])'\r\nremote: ../lib/kerberos.cc: In static member function 'static void Kerberos::After(uv_work_t*)':\r\nremote: ../lib/kerberos.cc:842: error: no matching function for call to 'New(char*&)'\r\nremote: ../lib/kerberos.cc:844: error: no matching function for call to 'New(const char [5])'\r\nremote: make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1\r\nremote: make: Leaving directory `/var/lib/openshift/56226d8e89f5cf9628000216/app-root/runtime/repo/node_modules/kerberos/build'\r\nremote: gyp ERR! build error\r\nremote: gyp ERR! stack Error: `make` failed with exit code: 2\r\nremote: gyp ERR! stack     at ChildProcess.onExit (/var/lib/openshift/56226d8e89f5cf9628000216/app-root/data/node-v4.2.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)\r\nremote: gyp ERR! stack     at emitTwo (events.js:87:13)\r\nremote: gyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\nremote: gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\nremote: gyp ERR! System Linux 2.6.32-504.34.1.el6.x86_64\r\nremote: gyp ERR! command \"/var/lib/openshift/56226d8e89f5cf9628000216/app-root/data/node-v4.2.1-linux-x64/bin/node\" \"/var/lib/openshift/56226d8e89f5cf9628000216/app-root/data/node-v4.2.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\nremote: gyp ERR! cwd /var/lib/openshift/56226d8e89f5cf9628000216/app-root/runtime/repo/node_modules/kerberos\r\nremote: gyp ERR! node -v v4.2.1\r\nremote: gyp ERR! node-gyp -v v3.0.3\r\nremote: gyp ERR! not ok\r\nremote: npm info postinstall kerberos@0.0.15\r\nremote: npm info build /var/lib/openshift/56226d8e89f5cf9628000216/app-root/runtime/repo\r\nremote: npm info linkStuff nodejs-Custom-Version-Sample@1.0.1\r\nremote: npm info install nodejs-Custom-Version-Sample@1.0.1\r\nremote: npm info postinstall nodejs-Custom-Version-Sample@1.0.1\r\nremote: npm info prepublish nodejs-Custom-Version-Sample@1.0.1\r\nremote: kerberos@0.0.15 node_modules/kerberos\r\nremote: └── nan@2.0.9\r\n```"}}