{"action":"created","issue":{"url":"https://api.github.com/repos/yortus/asyncawait/issues/69","repository_url":"https://api.github.com/repos/yortus/asyncawait","labels_url":"https://api.github.com/repos/yortus/asyncawait/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/yortus/asyncawait/issues/69/comments","events_url":"https://api.github.com/repos/yortus/asyncawait/issues/69/events","html_url":"https://github.com/yortus/asyncawait/issues/69","id":322355072,"node_id":"MDU6SXNzdWUzMjIzNTUwNzI=","number":69,"title":"asyncawait fails to build on Ubuntu 16.04.4 LTS","user":{"login":"lancemitchell","id":18689906,"node_id":"MDQ6VXNlcjE4Njg5OTA2","avatar_url":"https://avatars1.githubusercontent.com/u/18689906?v=4","gravatar_id":"","url":"https://api.github.com/users/lancemitchell","html_url":"https://github.com/lancemitchell","followers_url":"https://api.github.com/users/lancemitchell/followers","following_url":"https://api.github.com/users/lancemitchell/following{/other_user}","gists_url":"https://api.github.com/users/lancemitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/lancemitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lancemitchell/subscriptions","organizations_url":"https://api.github.com/users/lancemitchell/orgs","repos_url":"https://api.github.com/users/lancemitchell/repos","events_url":"https://api.github.com/users/lancemitchell/events{/privacy}","received_events_url":"https://api.github.com/users/lancemitchell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-11T16:17:51Z","updated_at":"2018-06-16T06:06:15Z","closed_at":"2018-06-16T05:16:37Z","author_association":"NONE","body":"Hello. I am completely blocked as asyncawait fails to build on Ubuntu 16.04.4 \r\n\r\nCan anyone help resolve the core issue?\r\n\r\nBuild Errors below\r\n<pre>\r\nspartanlync-mobile!valor [/var/valor/temp/asyncawait]>npm install -g\r\n\r\n> fibers@1.0.15 install /var/valor/temp/asyncawait/node_modules/fibers\r\n> node build.js || nodejs build.js\r\n\r\nmake: Entering directory '/var/valor/temp/asyncawait/node_modules/fibers/build'\r\n  CXX(target) Release/obj.target/fibers/src/fibers.o\r\n../src/fibers.cc: In function ‘v8::Handle<v8::String> uni::NewLatin1String(v8::Isolate*, const char*)’:\r\n../src/fibers.cc:122:64: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*&, const uint8_t*)’\r\n   return String::NewFromOneByte(isolate, (const uint8_t*)string);\r\n                                                                ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)\r\n   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(\r\n                                                   ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2736:51: note:   candidate expects 4 arguments, 2 provided\r\n../src/fibers.cc: In function ‘v8::Handle<v8::String> uni::NewLatin1Symbol(v8::Isolate*, const char*)’:\r\n../src/fibers.cc:126:64: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*&, const uint8_t*)’\r\n   return String::NewFromOneByte(isolate, (const uint8_t*)string);\r\n                                                                ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)\r\n   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(\r\n                                                   ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2736:51: note:   candidate expects 4 arguments, 2 provided\r\n../src/fibers.cc: In static member function ‘static void Fiber::DestroyOrphans()’:\r\n../src/fibers.cc:406:67: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]\r\n      String::Utf8Value stack(uni::Deref(that.isolate, fatal_stack));\r\n                                                                   ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/v8.h:26:0,\r\n                 from /home/valor/.node-gyp/10.0.0/include/node/node.h:63,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2822:28: note: declared here\r\n                   explicit Utf8Value(Local<v8::Value> obj));\r\n                            ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’\r\n   declarator __attribute__((deprecated(message)))\r\n   ^\r\n../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::New(const Arguments&)’:\r\n../src/fibers.cc:433:99: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Handle<v8::Value> [1])’\r\n     return uni::Return(uni::Deref(Isolate::GetCurrent(), tmpl)->GetFunction()->NewInstance(1, argv), args);\r\n                                                                                                   ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const\r\n   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(\r\n                                            ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3848:44: note:   candidate expects 3 arguments, 2 provided\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const\r\n   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(\r\n                                            ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3851:44: note:   candidate expects 1 argument, 2 provided\r\n../src/fibers.cc:433:106: error: return-statement with a value, in function returning 'void' [-fpermissive]\r\n     return uni::Return(uni::Deref(Isolate::GetCurrent(), tmpl)->GetFunction()->NewInstance(1, argv), args);\r\n                                                                                                          ^\r\n../src/fibers.cc: In static member function ‘static void Fiber::RunFiber(void**)’:\r\n../src/fibers.cc:621:14: error: no matching function for call to ‘v8::TryCatch::TryCatch()’\r\n     TryCatch try_catch;\r\n              ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:8271:12: note: candidate: v8::TryCatch::TryCatch(v8::Isolate*)\r\n   explicit TryCatch(Isolate* isolate);\r\n            ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:8271:12: note:   candidate expects 1 argument, 0 provided\r\n../src/fibers.cc:628:66: warning: ‘static v8::Local<v8::Script> v8::Script::Compile(v8::Local<v8::String>, v8::ScriptOrigin*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\r\n     Script::Compile(uni::NewLatin1String(that.isolate, \"void 0;\"));\r\n                                                                  ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/v8.h:26:0,\r\n                 from /home/valor/.node-gyp/10.0.0/include/node/node.h:63,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:1235:38: note: declared here\r\n                        Local<Script> Compile(Local<String> source,\r\n                                      ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’\r\n   declarator __attribute__((deprecated(message)))\r\n   ^\r\n../src/fibers.cc:643:66: warning: ‘v8::Local<v8::Value> v8::TryCatch::StackTrace() const’ is deprecated: Use maybe version. [-Wdeprecated-declarations]\r\n       uni::Reset(that.isolate, fatal_stack, try_catch.StackTrace());\r\n                                                                  ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/v8.h:26:0,\r\n                 from /home/valor/.node-gyp/10.0.0/include/node/node.h:63,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:8328:52: note: declared here\r\n   V8_DEPRECATED(\"Use maybe version.\", Local<Value> StackTrace() const);\r\n                                                    ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’\r\n   declarator __attribute__((deprecated(message)))\r\n   ^\r\n../src/fibers.cc: In static member function ‘static void Fiber::SetPoolSize(v8::Local<v8::String>, v8::Local<v8::Value>, const SetterCallbackInfo&)’:\r\n../src/fibers.cc:741:43: error: no matching function for call to ‘v8::Value::ToNumber()’\r\n    Coroutine::pool_size = value->ToNumber()->Value();\r\n                                           ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2366:44: note: candidate: v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const\r\n   V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(\r\n                                            ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2366:44: note:   candidate expects 1 argument, 0 provided\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/v8.h:26:0,\r\n                 from /home/valor/.node-gyp/10.0.0/include/node/node.h:63,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2383:35: note: candidate: v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const\r\n                     Local<Number> ToNumber(Isolate* isolate) const);\r\n                                   ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’\r\n #define V8_DEPRECATE_SOON(message, declarator) declarator\r\n                                                ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2383:35: note:   candidate expects 1 argument, 0 provided\r\n                     Local<Number> ToNumber(Isolate* isolate) const);\r\n                                   ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’\r\n #define V8_DEPRECATE_SOON(message, declarator) declarator\r\n                                                ^\r\n../src/fibers.cc: In static member function ‘static void Fiber::Init(v8::Handle<v8::Object>)’:\r\n../src/fibers.cc:793:72: error: no matching function for call to ‘v8::Function::SetAccessor(v8::Handle<v8::String>, uni::FunctionType (&)(v8::Local<v8::String>, const GetterCallbackInfo&))’\r\n    fn->SetAccessor(uni::NewLatin1Symbol(isolate, \"current\"), GetCurrent);\r\n                                                                        ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3214:37: note: candidate: v8::Maybe<bool> v8::Object::SetAccessor(v8::Local<v8::Context>, v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::MaybeLocal<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType)\r\n   V8_WARN_UNUSED_RESULT Maybe<bool> SetAccessor(\r\n                                     ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3214:37: note:   candidate expects 8 arguments, 2 provided\r\n../src/fibers.cc:794:87: error: no matching function for call to ‘v8::Function::SetAccessor(v8::Handle<v8::String>, uni::FunctionType (&)(v8::Local<v8::String>, const GetterCallbackInfo&), void (&)(v8::Local<v8::String>, v8::Local<v8::Value>, const SetterCallbackInfo&))’\r\n    fn->SetAccessor(uni::NewLatin1Symbol(isolate, \"poolSize\"), GetPoolSize, SetPoolSize);\r\n                                                                                       ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3214:37: note: candidate: v8::Maybe<bool> v8::Object::SetAccessor(v8::Local<v8::Context>, v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::MaybeLocal<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType)\r\n   V8_WARN_UNUSED_RESULT Maybe<bool> SetAccessor(\r\n                                     ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3214:37: note:   no known conversion for argument 2 from ‘uni::FunctionType(v8::Local<v8::String>, const GetterCallbackInfo&) {aka void(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>&)}’ to ‘v8::Local<v8::Name>’\r\n../src/fibers.cc:795:84: error: no matching function for call to ‘v8::Function::SetAccessor(v8::Handle<v8::String>, uni::FunctionType (&)(v8::Local<v8::String>, const GetterCallbackInfo&))’\r\n    fn->SetAccessor(uni::NewLatin1Symbol(isolate, \"fibersCreated\"), GetFibersCreated);\r\n                                                                                    ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3214:37: note: candidate: v8::Maybe<bool> v8::Object::SetAccessor(v8::Local<v8::Context>, v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::MaybeLocal<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType)\r\n   V8_WARN_UNUSED_RESULT Maybe<bool> SetAccessor(\r\n                                     ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3214:37: note:   candidate expects 8 arguments, 2 provided\r\nfibers.target.mk:102: recipe for target 'Release/obj.target/fibers/src/fibers.o' failed\r\nmake: *** [Release/obj.target/fibers/src/fibers.o] Error 1\r\nmake: Leaving directory '/var/valor/temp/asyncawait/node_modules/fibers/build'\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:182:13)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:225:12)\r\ngyp ERR! System Linux 4.4.0-124-generic\r\ngyp ERR! command \"/usr/bin/node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\" \"--release\"\r\ngyp ERR! cwd /var/valor/temp/asyncawait/node_modules/fibers\r\ngyp ERR! node -v v10.0.0\r\ngyp ERR! node-gyp -v v3.6.2\r\ngyp ERR! not ok \r\nnode-gyp exited with code: 1\r\nPlease make sure you are using a supported platform and node version. If you\r\nwould like to compile fibers on this machine please make sure you have setup your\r\nbuild environment--\r\nWindows + OS X instructions here: https://github.com/nodejs/node-gyp\r\nUbuntu users please run: `sudo apt-get install g++ build-essential`\r\nAlpine users please run: `sudo apk add python make g++`\r\nmake: Entering directory '/var/valor/temp/asyncawait/node_modules/fibers/build'\r\n  CXX(target) Release/obj.target/fibers/src/fibers.o\r\n../src/fibers.cc: In function ‘v8::Handle<v8::String> uni::NewLatin1String(v8::Isolate*, const char*)’:\r\n../src/fibers.cc:122:64: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*&, const uint8_t*)’\r\n   return String::NewFromOneByte(isolate, (const uint8_t*)string);\r\n                                                                ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)\r\n   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(\r\n                                                   ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2736:51: note:   candidate expects 4 arguments, 2 provided\r\n../src/fibers.cc: In function ‘v8::Handle<v8::String> uni::NewLatin1Symbol(v8::Isolate*, const char*)’:\r\n../src/fibers.cc:126:64: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*&, const uint8_t*)’\r\n   return String::NewFromOneByte(isolate, (const uint8_t*)string);\r\n                                                                ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2736:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)\r\n   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(\r\n                                                   ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2736:51: note:   candidate expects 4 arguments, 2 provided\r\n../src/fibers.cc: In static member function ‘static void Fiber::DestroyOrphans()’:\r\n../src/fibers.cc:406:67: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]\r\n      String::Utf8Value stack(uni::Deref(that.isolate, fatal_stack));\r\n                                                                   ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/v8.h:26:0,\r\n                 from /home/valor/.node-gyp/10.0.0/include/node/node.h:63,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2822:28: note: declared here\r\n                   explicit Utf8Value(Local<v8::Value> obj));\r\n                            ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’\r\n   declarator __attribute__((deprecated(message)))\r\n   ^\r\n../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::New(const Arguments&)’:\r\n../src/fibers.cc:433:99: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Handle<v8::Value> [1])’\r\n     return uni::Return(uni::Deref(Isolate::GetCurrent(), tmpl)->GetFunction()->NewInstance(1, argv), args);\r\n                                                                                                   ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3848:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const\r\n   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(\r\n                                            ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3848:44: note:   candidate expects 3 arguments, 2 provided\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3851:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const\r\n   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(\r\n                                            ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3851:44: note:   candidate expects 1 argument, 2 provided\r\n../src/fibers.cc:433:106: error: return-statement with a value, in function returning 'void' [-fpermissive]\r\n     return uni::Return(uni::Deref(Isolate::GetCurrent(), tmpl)->GetFunction()->NewInstance(1, argv), args);\r\n                                                                                                          ^\r\n../src/fibers.cc: In static member function ‘static void Fiber::RunFiber(void**)’:\r\n../src/fibers.cc:621:14: error: no matching function for call to ‘v8::TryCatch::TryCatch()’\r\n     TryCatch try_catch;\r\n              ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:8271:12: note: candidate: v8::TryCatch::TryCatch(v8::Isolate*)\r\n   explicit TryCatch(Isolate* isolate);\r\n            ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:8271:12: note:   candidate expects 1 argument, 0 provided\r\n../src/fibers.cc:628:66: warning: ‘static v8::Local<v8::Script> v8::Script::Compile(v8::Local<v8::String>, v8::ScriptOrigin*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\r\n     Script::Compile(uni::NewLatin1String(that.isolate, \"void 0;\"));\r\n                                                                  ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/v8.h:26:0,\r\n                 from /home/valor/.node-gyp/10.0.0/include/node/node.h:63,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:1235:38: note: declared here\r\n                        Local<Script> Compile(Local<String> source,\r\n                                      ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’\r\n   declarator __attribute__((deprecated(message)))\r\n   ^\r\n../src/fibers.cc:643:66: warning: ‘v8::Local<v8::Value> v8::TryCatch::StackTrace() const’ is deprecated: Use maybe version. [-Wdeprecated-declarations]\r\n       uni::Reset(that.isolate, fatal_stack, try_catch.StackTrace());\r\n                                                                  ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/v8.h:26:0,\r\n                 from /home/valor/.node-gyp/10.0.0/include/node/node.h:63,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:8328:52: note: declared here\r\n   V8_DEPRECATED(\"Use maybe version.\", Local<Value> StackTrace() const);\r\n                                                    ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’\r\n   declarator __attribute__((deprecated(message)))\r\n   ^\r\n../src/fibers.cc: In static member function ‘static void Fiber::SetPoolSize(v8::Local<v8::String>, v8::Local<v8::Value>, const SetterCallbackInfo&)’:\r\n../src/fibers.cc:741:43: error: no matching function for call to ‘v8::Value::ToNumber()’\r\n    Coroutine::pool_size = value->ToNumber()->Value();\r\n                                           ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2366:44: note: candidate: v8::MaybeLocal<v8::Number> v8::Value::ToNumber(v8::Local<v8::Context>) const\r\n   V8_WARN_UNUSED_RESULT MaybeLocal<Number> ToNumber(\r\n                                            ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2366:44: note:   candidate expects 1 argument, 0 provided\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/v8.h:26:0,\r\n                 from /home/valor/.node-gyp/10.0.0/include/node/node.h:63,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2383:35: note: candidate: v8::Local<v8::Number> v8::Value::ToNumber(v8::Isolate*) const\r\n                     Local<Number> ToNumber(Isolate* isolate) const);\r\n                                   ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’\r\n #define V8_DEPRECATE_SOON(message, declarator) declarator\r\n                                                ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:2383:35: note:   candidate expects 1 argument, 0 provided\r\n                     Local<Number> ToNumber(Isolate* isolate) const);\r\n                                   ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8config.h:340:48: note: in definition of macro ‘V8_DEPRECATE_SOON’\r\n #define V8_DEPRECATE_SOON(message, declarator) declarator\r\n                                                ^\r\n../src/fibers.cc: In static member function ‘static void Fiber::Init(v8::Handle<v8::Object>)’:\r\n../src/fibers.cc:793:72: error: no matching function for call to ‘v8::Function::SetAccessor(v8::Handle<v8::String>, uni::FunctionType (&)(v8::Local<v8::String>, const GetterCallbackInfo&))’\r\n    fn->SetAccessor(uni::NewLatin1Symbol(isolate, \"current\"), GetCurrent);\r\n                                                                        ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3214:37: note: candidate: v8::Maybe<bool> v8::Object::SetAccessor(v8::Local<v8::Context>, v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::MaybeLocal<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType)\r\n   V8_WARN_UNUSED_RESULT Maybe<bool> SetAccessor(\r\n                                     ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3214:37: note:   candidate expects 8 arguments, 2 provided\r\n../src/fibers.cc:794:87: error: no matching function for call to ‘v8::Function::SetAccessor(v8::Handle<v8::String>, uni::FunctionType (&)(v8::Local<v8::String>, const GetterCallbackInfo&), void (&)(v8::Local<v8::String>, v8::Local<v8::Value>, const SetterCallbackInfo&))’\r\n    fn->SetAccessor(uni::NewLatin1Symbol(isolate, \"poolSize\"), GetPoolSize, SetPoolSize);\r\n                                                                                       ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3214:37: note: candidate: v8::Maybe<bool> v8::Object::SetAccessor(v8::Local<v8::Context>, v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::MaybeLocal<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType)\r\n   V8_WARN_UNUSED_RESULT Maybe<bool> SetAccessor(\r\n                                     ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3214:37: note:   no known conversion for argument 2 from ‘uni::FunctionType(v8::Local<v8::String>, const GetterCallbackInfo&) {aka void(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>&)}’ to ‘v8::Local<v8::Name>’\r\n../src/fibers.cc:795:84: error: no matching function for call to ‘v8::Function::SetAccessor(v8::Handle<v8::String>, uni::FunctionType (&)(v8::Local<v8::String>, const GetterCallbackInfo&))’\r\n    fn->SetAccessor(uni::NewLatin1Symbol(isolate, \"fibersCreated\"), GetFibersCreated);\r\n                                                                                    ^\r\nIn file included from /home/valor/.node-gyp/10.0.0/include/node/node.h:63:0,\r\n                 from ../src/coroutine.h:1,\r\n                 from ../src/fibers.cc:1:\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3214:37: note: candidate: v8::Maybe<bool> v8::Object::SetAccessor(v8::Local<v8::Context>, v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::MaybeLocal<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType)\r\n   V8_WARN_UNUSED_RESULT Maybe<bool> SetAccessor(\r\n                                     ^\r\n/home/valor/.node-gyp/10.0.0/include/node/v8.h:3214:37: note:   candidate expects 8 arguments, 2 provided\r\nfibers.target.mk:102: recipe for target 'Release/obj.target/fibers/src/fibers.o' failed\r\nmake: *** [Release/obj.target/fibers/src/fibers.o] Error 1\r\nmake: Leaving directory '/var/valor/temp/asyncawait/node_modules/fibers/build'\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:182:13)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:225:12)\r\ngyp ERR! System Linux 4.4.0-124-generic\r\ngyp ERR! command \"/usr/bin/node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\" \"--release\"\r\ngyp ERR! cwd /var/valor/temp/asyncawait/node_modules/fibers\r\ngyp ERR! node -v v10.0.0\r\ngyp ERR! node-gyp -v v3.6.2\r\ngyp ERR! not ok \r\nnode-gyp exited with code: 1\r\nPlease make sure you are using a supported platform and node version. If you\r\nwould like to compile fibers on this machine please make sure you have setup your\r\nbuild environment--\r\nWindows + OS X instructions here: https://github.com/nodejs/node-gyp\r\nUbuntu users please run: `sudo apt-get install g++ build-essential`\r\nAlpine users please run: `sudo apk add python make g++`\r\nnpm WARN rollback Rolling back fibers@1.0.15 failed (this is probably harmless): /var/valor/temp/asyncawait/node_modules/fibers is not a child of /usr/lib\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! fibers@1.0.15 install: `node build.js || nodejs build.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the fibers@1.0.15 install script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n</pre>"},"comment":{"url":"https://api.github.com/repos/yortus/asyncawait/issues/comments/397790003","html_url":"https://github.com/yortus/asyncawait/issues/69#issuecomment-397790003","issue_url":"https://api.github.com/repos/yortus/asyncawait/issues/69","id":397790003,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Nzc5MDAwMw==","user":{"login":"yortus","id":1252361,"node_id":"MDQ6VXNlcjEyNTIzNjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1252361?v=4","gravatar_id":"","url":"https://api.github.com/users/yortus","html_url":"https://github.com/yortus","followers_url":"https://api.github.com/users/yortus/followers","following_url":"https://api.github.com/users/yortus/following{/other_user}","gists_url":"https://api.github.com/users/yortus/gists{/gist_id}","starred_url":"https://api.github.com/users/yortus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yortus/subscriptions","organizations_url":"https://api.github.com/users/yortus/orgs","repos_url":"https://api.github.com/users/yortus/repos","events_url":"https://api.github.com/users/yortus/events{/privacy}","received_events_url":"https://api.github.com/users/yortus/received_events","type":"User","site_admin":false},"created_at":"2018-06-16T06:06:15Z","updated_at":"2018-06-16T06:06:15Z","author_association":"OWNER","body":"Should be fixed now. Please comment if there's still a problem.\r\n"}}
{"actor":{"display_login":"yortus"}}