{"action":"created","issue":{"url":"https://api.github.com/repos/uNetworking/bindings/issues/74","repository_url":"https://api.github.com/repos/uNetworking/bindings","labels_url":"https://api.github.com/repos/uNetworking/bindings/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/uNetworking/bindings/issues/74/comments","events_url":"https://api.github.com/repos/uNetworking/bindings/issues/74/events","html_url":"https://github.com/uNetworking/bindings/issues/74","id":297467031,"number":74,"title":"Add binaries for Solaris - nodejs","user":{"login":"usebaz","id":23740995,"avatar_url":"https://avatars0.githubusercontent.com/u/23740995?v=4","gravatar_id":"","url":"https://api.github.com/users/usebaz","html_url":"https://github.com/usebaz","followers_url":"https://api.github.com/users/usebaz/followers","following_url":"https://api.github.com/users/usebaz/following{/other_user}","gists_url":"https://api.github.com/users/usebaz/gists{/gist_id}","starred_url":"https://api.github.com/users/usebaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usebaz/subscriptions","organizations_url":"https://api.github.com/users/usebaz/orgs","repos_url":"https://api.github.com/users/usebaz/repos","events_url":"https://api.github.com/users/usebaz/events{/privacy}","received_events_url":"https://api.github.com/users/usebaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-15T14:34:43Z","updated_at":"2018-02-20T09:09:18Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nCan you add binaries for Solaris?\r\nBecause build from sources failed on sunos.\r\n\r\n**build_log.txt:**\r\n```\r\nmake: Entering directory `/opt/services/wss-webapp/node_modules/uws/build'\r\n  CXX(target) Release/obj.target/uws/src/Extensions.o\r\n  CXX(target) Release/obj.target/uws/src/Group.o\r\nIn file included from ../src/WebSocket.h:4:0,\r\n                 from ../src/Group.h:4,\r\n                 from ../src/Group.cpp:1:\r\n../src/WebSocketProtocol.h: In static member function 'static std::size_t uWS::WebSocketProtocol<isServer, Impl>::formatMessage(char*, const char*, std::size_t, uWS::OpCode, std::size_t, bool)':\r\n../src/WebSocketProtocol.h:292:61: error: there are no arguments to 'htobe64' that depend on a template parameter, so a declaration of 'htobe64' must be available [-fpermissive]\r\n             *((uint64_t *) &dst[2]) = htobe64(reportedLength);\r\n                                                             ^\r\n../src/WebSocketProtocol.h:292:61: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)\r\n../src/WebSocketProtocol.h: In static member function 'static void uWS::WebSocketProtocol<isServer, Impl>::consume(char*, unsigned int, uWS::WebSocketState<isServer>*)':\r\n../src/WebSocketProtocol.h:358:103: error: there are no arguments to 'be64toh' that depend on a template parameter, so a declaration of 'be64toh' must be available [-fpermissive]\r\n                 } else if (consumeMessage<LONG_MESSAGE_HEADER, uint64_t>(be64toh(*(uint64_t *) &src[2]), src, length, wState)) {\r\n                                                                                                       ^\r\nIn file included from ../src/Hub.h:5:0,\r\n                 from ../src/Group.cpp:2:\r\n../src/Node.h: In member function 'uS::Socket* uS::Node::connect(const char*, int, bool, uS::NodeData*)':\r\n../src/Node.h:96:35: error: 'to_string' is not a member of 'std'\r\n         if (getaddrinfo(hostname, std::to_string(port).c_str(), &hints, &result) != 0) {\r\n                                   ^\r\n../src/Node.h: In member function 'bool uS::Node::listen(const char*, int, uS::TLS::Context, int, uS::NodeData*, void*)':\r\n../src/Node.h:136:31: error: 'to_string' is not a member of 'std'\r\n         if (getaddrinfo(host, std::to_string(port).c_str(), &hints, &result)) {\r\n                               ^\r\nIn file included from ../src/Group.cpp:2:0:\r\n../src/Hub.h: At global scope:\r\n../src/Hub.h:21:33: warning: missing initializer for member 'z_stream_s::next_in' [-Wmissing-field-initializers]\r\n     z_stream inflationStream = {};\r\n\r\n../src/Hub.h:21:33: warning: missing initializer for member 'z_stream_s::avail_in' [-Wmissing-field-initializers]\r\n../src/Hub.h:21:33: warning: missing initializer for member 'z_stream_s::total_in' [-Wmissing-field-initializers]\r\n../src/Hub.h:21:33: warning: missing initializer for member 'z_stream_s::next_out' [-Wmissing-field-initializers]\r\n../src/Hub.h:21:33: warning: missing initializer for member 'z_stream_s::avail_out' [-Wmissing-field-initializers]\r\n../src/Hub.h:21:33: warning: missing initializer for member 'z_stream_s::total_out' [-Wmissing-field-initializers]\r\n../src/Hub.h:21:33: warning: missing initializer for member 'z_stream_s::msg' [-Wmissing-field-initializers]\r\n../src/Hub.h:21:33: warning: missing initializer for member 'z_stream_s::state' [-Wmissing-field-initializers]\r\n../src/Hub.h:21:33: warning: missing initializer for member 'z_stream_s::zalloc' [-Wmissing-field-initializers]\r\n../src/Hub.h:21:33: warning: missing initializer for member 'z_stream_s::zfree' [-Wmissing-field-initializers]\r\n../src/Hub.h:21:33: warning: missing initializer for member 'z_stream_s::opaque' [-Wmissing-field-initializers]\r\n../src/Hub.h:21:33: warning: missing initializer for member 'z_stream_s::data_type' [-Wmissing-field-initializers]\r\n../src/Hub.h:21:33: warning: missing initializer for member 'z_stream_s::adler' [-Wmissing-field-initializers]\r\n../src/Hub.h:21:33: warning: missing initializer for member 'z_stream_s::reserved' [-Wmissing-field-initializers]\r\nmake: *** [Release/obj.target/uws/src/Group.o] Error 1\r\nmake: Leaving directory `/opt/services/wss-webapp/node_modules/uws/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/node8/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)\r\ngyp ERR! stack     at emitTwo (events.js:126:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:214:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)\r\ngyp ERR! System SunOS 5.11\r\ngyp ERR! command \"/usr/node8/bin/node\" \"/usr/node8/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /opt/services/wss-webapp/node_modules/uws\r\ngyp ERR! node -v v8.9.1\r\ngyp ERR! node-gyp -v v3.6.2\r\ngyp ERR! not ok \r\n```"},"comment":{"url":"https://api.github.com/repos/uNetworking/bindings/issues/comments/366913554","html_url":"https://github.com/uNetworking/bindings/issues/74#issuecomment-366913554","issue_url":"https://api.github.com/repos/uNetworking/bindings/issues/74","id":366913554,"user":{"login":"usebaz","id":23740995,"avatar_url":"https://avatars0.githubusercontent.com/u/23740995?v=4","gravatar_id":"","url":"https://api.github.com/users/usebaz","html_url":"https://github.com/usebaz","followers_url":"https://api.github.com/users/usebaz/followers","following_url":"https://api.github.com/users/usebaz/following{/other_user}","gists_url":"https://api.github.com/users/usebaz/gists{/gist_id}","starred_url":"https://api.github.com/users/usebaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usebaz/subscriptions","organizations_url":"https://api.github.com/users/usebaz/orgs","repos_url":"https://api.github.com/users/usebaz/repos","events_url":"https://api.github.com/users/usebaz/events{/privacy}","received_events_url":"https://api.github.com/users/usebaz/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T09:09:18Z","updated_at":"2018-02-20T09:09:18Z","author_association":"NONE","body":"@alexhultman \r\nFor our projects, we have compiled a binary package. We can support if needed."}}
{"actor":{"display_login":"usebaz"}}