Advertisement
adamwbb

Mineos Error

Jul 11th, 2020
1,326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 13.03 KB | None | 0 0
  1.     [root@webbservermc minecraft]# npm install --unsafe-perm
  2.  
  3. > posix@4.2.0 install /usr/games/minecraft/node_modules/posix
  4. > node-gyp rebuild
  5.  
  6. make: Entering directory '/usr/games/minecraft/node_modules/posix/build'
  7.   CXX(target) Release/obj.target/posix/src/posix.o
  8. In file included from ../src/posix.cc:1:
  9. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  10. ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*){aka ‘void (*)(uv_work_s*)} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)} [-Wcast-function-type]
  11.      , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  12.                                                               ^
  13. In file included from ../../nan/nan.h:54,
  14.                  from ../src/posix.cc:1:
  15. ../src/posix.cc: At global scope:
  16. /root/.cache/node-gyp/10.21.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)} [-Wcast-function-type]
  17.        (node::addon_register_func) (regfunc),                          \
  18.                                            ^
  19. /root/.cache/node-gyp/10.21.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
  20.    NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
  21.    ^~~~~~~~~~~~~
  22. ../src/posix.cc:709:1: note: in expansion of macro ‘NODE_MODULE’
  23.  NODE_MODULE(posix, init);
  24.  ^~~~~~~~~~~
  25. In file included from /root/.cache/node-gyp/10.21.0/include/node/node.h:63,
  26.                  from ../../nan/nan.h:54,
  27.                  from ../src/posix.cc:1:
  28. /root/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
  29. /root/.cache/node-gyp/10.21.0/include/node/node_object_wrap.h:84:78:   required from here
  30. /root/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  31.                 reinterpret_cast<Callback>(callback), type);
  32.                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  33. /root/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
  34. ../../nan/nan_object_wrap.h:65:61:   required from here
  35. /root/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  36.   SOLINK_MODULE(target) Release/obj.target/posix.node
  37.   COPY Release/posix.node
  38. make: Leaving directory '/usr/games/minecraft/node_modules/posix/build'
  39.  
  40. > userid@0.3.1 install /usr/games/minecraft/node_modules/userid
  41. > node-gyp rebuild
  42.  
  43. make: Entering directory '/usr/games/minecraft/node_modules/userid/build'
  44.   CXX(target) Release/obj.target/userid/src/userid.o
  45. In file included from ../src/userid.cc:11:
  46. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  47. ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*){aka ‘void (*)(uv_work_s*)} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)} [-Wcast-function-type]
  48.      , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  49.                                                               ^
  50. ../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE GroupName(Nan::NAN_METHOD_ARGS_TYPE)’:
  51. ../src/userid.cc:47:42: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  52.      group = getgrgid(info[0]->Int32Value());
  53.                                           ^
  54. In file included from /root/.cache/node-gyp/10.21.0/include/node/v8.h:26,
  55.                  from /root/.cache/node-gyp/10.21.0/include/node/node.h:63,
  56.                  from ../../nan/nan.h:54,
  57.                  from ../src/userid.cc:11:
  58. /root/.cache/node-gyp/10.21.0/include/node/v8.h:2478:46: note: declared here
  59.    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
  60.                                               ^~~~~~~~~~
  61. /root/.cache/node-gyp/10.21.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  62.    declarator __attribute__((deprecated(message)))
  63.    ^~~~~~~~~~
  64. ../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Gids(Nan::NAN_METHOD_ARGS_TYPE)’:
  65. ../src/userid.cc:75:48: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
  66.    String::Utf8Value utfname(info[0]->ToString());
  67.                                                 ^
  68. In file included from /root/.cache/node-gyp/10.21.0/include/node/v8.h:26,
  69.                  from /root/.cache/node-gyp/10.21.0/include/node/node.h:63,
  70.                  from ../../nan/nan.h:54,
  71.                  from ../src/userid.cc:11:
  72. /root/.cache/node-gyp/10.21.0/include/node/v8.h:2892:28: note: declared here
  73.                    explicit Utf8Value(Local<v8::Value> obj));
  74.                             ^~~~~~~~~
  75. /root/.cache/node-gyp/10.21.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  76.    declarator __attribute__((deprecated(message)))
  77.    ^~~~~~~~~~
  78. ../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Gid(Nan::NAN_METHOD_ARGS_TYPE)’:
  79. ../src/userid.cc:118:50: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
  80.      String::Utf8Value utfname(info[0]->ToString());
  81.                                                   ^
  82. In file included from /root/.cache/node-gyp/10.21.0/include/node/v8.h:26,
  83.                  from /root/.cache/node-gyp/10.21.0/include/node/node.h:63,
  84.                  from ../../nan/nan.h:54,
  85.                  from ../src/userid.cc:11:
  86. /root/.cache/node-gyp/10.21.0/include/node/v8.h:2892:28: note: declared here
  87.                    explicit Utf8Value(Local<v8::Value> obj));
  88.                             ^~~~~~~~~
  89. /root/.cache/node-gyp/10.21.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  90.    declarator __attribute__((deprecated(message)))
  91.    ^~~~~~~~~~
  92. ../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE UserName(Nan::NAN_METHOD_ARGS_TYPE)’:
  93. ../src/userid.cc:137:41: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  94.      user = getpwuid(info[0]->Int32Value());
  95.                                          ^
  96. In file included from /root/.cache/node-gyp/10.21.0/include/node/v8.h:26,
  97.                  from /root/.cache/node-gyp/10.21.0/include/node/node.h:63,
  98.                  from ../../nan/nan.h:54,
  99.                  from ../src/userid.cc:11:
  100. /root/.cache/node-gyp/10.21.0/include/node/v8.h:2478:46: note: declared here
  101.    V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
  102.                                               ^~~~~~~~~~
  103. /root/.cache/node-gyp/10.21.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  104.    declarator __attribute__((deprecated(message)))
  105.    ^~~~~~~~~~
  106. ../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Uid(Nan::NAN_METHOD_ARGS_TYPE)’:
  107. ../src/userid.cc:155:50: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
  108.      String::Utf8Value utfname(info[0]->ToString());
  109.                                                   ^
  110. In file included from /root/.cache/node-gyp/10.21.0/include/node/v8.h:26,
  111.                  from /root/.cache/node-gyp/10.21.0/include/node/node.h:63,
  112.                  from ../../nan/nan.h:54,
  113.                  from ../src/userid.cc:11:
  114. /root/.cache/node-gyp/10.21.0/include/node/v8.h:2892:28: note: declared here
  115.                    explicit Utf8Value(Local<v8::Value> obj));
  116.                             ^~~~~~~~~
  117. /root/.cache/node-gyp/10.21.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  118.    declarator __attribute__((deprecated(message)))
  119.    ^~~~~~~~~~
  120. In file included from ../../nan/nan.h:54,
  121.                  from ../src/userid.cc:11:
  122. ../src/userid.cc: At global scope:
  123. /root/.cache/node-gyp/10.21.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE){aka ‘void (*)(v8::Local<v8::Object>)} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)} [-Wcast-function-type]
  124.        (node::addon_register_func) (regfunc),                          \
  125.                                            ^
  126. /root/.cache/node-gyp/10.21.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
  127.    NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
  128.    ^~~~~~~~~~~~~
  129. ../src/userid.cc:174:1: note: in expansion of macro ‘NODE_MODULE’
  130.  NODE_MODULE(userid, Init);
  131.  ^~~~~~~~~~~
  132. In file included from /root/.cache/node-gyp/10.21.0/include/node/node.h:63,
  133.                  from ../../nan/nan.h:54,
  134.                  from ../src/userid.cc:11:
  135. /root/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
  136. /root/.cache/node-gyp/10.21.0/include/node/node_object_wrap.h:84:78:   required from here
  137. /root/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  138.                 reinterpret_cast<Callback>(callback), type);
  139.                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  140. /root/.cache/node-gyp/10.21.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
  141. ../../nan/nan_object_wrap.h:65:61:   required from here
  142. /root/.cache/node-gyp/10.21.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)} [-Wcast-function-type]
  143.   SOLINK_MODULE(target) Release/obj.target/userid.node
  144.   COPY Release/userid.node
  145. make: Leaving directory '/usr/games/minecraft/node_modules/userid/build'
  146. added 568 packages from 431 contributors in 9.862s
  147. [root@webbservermc minecraft]# ln -s /usr/games/minecraft/mineos_console.js /usr/local/bin/mineos
  148. ln: failed to create symbolic link '/usr/local/bin/mineos': File exists
  149. _______________________________________________________________________________________________________________________________________
  150. [root@webbservermc minecraft]# systemctl start mineos
  151. Job for mineos.service failed because the service did not take the steps required by its unit configuration.
  152. See "systemctl status mineos.service" and "journalctl -xe" for details.
  153. [root@webbservermc minecraft]# systemctl status mineos
  154.  mineos.service - Start MineOS minecraft front-end
  155.    Loaded: loaded (/etc/systemd/system/mineos.service; enabled; vendor preset: disabled)
  156.    Active: failed (Result: protocol) since Sat 2020-07-11 13:33:40 EDT; 6s ago
  157.   Process: 34188 ExecStart=/usr/bin/node service.js start (code=exited, status=0/SUCCESS)
  158.  
  159. Jul 11 13:33:40 webbservermc systemd[1]: mineos.service: Service RestartSec=100ms expired, scheduling restart.
  160. Jul 11 13:33:40 webbservermc systemd[1]: mineos.service: Scheduled restart job, restart counter is at 5.
  161. Jul 11 13:33:40 webbservermc systemd[1]: Stopped Start MineOS minecraft front-end.
  162. Jul 11 13:33:40 webbservermc systemd[1]: mineos.service: Start request repeated too quickly.
  163. Jul 11 13:33:40 webbservermc systemd[1]: mineos.service: Failed with result 'protocol'.
  164. Jul 11 13:33:40 webbservermc systemd[1]: Failed to start Start MineOS minecraft front-end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement