Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@webbservermc minecraft]# npm install --unsafe-perm
- > posix@4.2.0 install /usr/games/minecraft/node_modules/posix
- > node-gyp rebuild
- make: Entering directory '/usr/games/minecraft/node_modules/posix/build'
- CXX(target) Release/obj.target/posix/src/posix.o
- In file included from ../src/posix.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../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]
- , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
- ^
- In file included from ../../nan/nan.h:54,
- from ../src/posix.cc:1:
- ../src/posix.cc: At global scope:
- /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]
- (node::addon_register_func) (regfunc), \
- ^
- /root/.cache/node-gyp/10.21.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
- NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
- ^~~~~~~~~~~~~
- ../src/posix.cc:709:1: note: in expansion of macro ‘NODE_MODULE’
- NODE_MODULE(posix, init);
- ^~~~~~~~~~~
- In file included from /root/.cache/node-gyp/10.21.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/posix.cc:1:
- /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>&)]’:
- /root/.cache/node-gyp/10.21.0/include/node/node_object_wrap.h:84:78: required from here
- /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]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /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]
- SOLINK_MODULE(target) Release/obj.target/posix.node
- COPY Release/posix.node
- make: Leaving directory '/usr/games/minecraft/node_modules/posix/build'
- > userid@0.3.1 install /usr/games/minecraft/node_modules/userid
- > node-gyp rebuild
- make: Entering directory '/usr/games/minecraft/node_modules/userid/build'
- CXX(target) Release/obj.target/userid/src/userid.o
- In file included from ../src/userid.cc:11:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../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]
- , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
- ^
- ../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE GroupName(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/userid.cc:47:42: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
- group = getgrgid(info[0]->Int32Value());
- ^
- In file included from /root/.cache/node-gyp/10.21.0/include/node/v8.h:26,
- from /root/.cache/node-gyp/10.21.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/userid.cc:11:
- /root/.cache/node-gyp/10.21.0/include/node/v8.h:2478:46: note: declared here
- V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
- ^~~~~~~~~~
- /root/.cache/node-gyp/10.21.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Gids(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/userid.cc:75:48: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
- String::Utf8Value utfname(info[0]->ToString());
- ^
- In file included from /root/.cache/node-gyp/10.21.0/include/node/v8.h:26,
- from /root/.cache/node-gyp/10.21.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/userid.cc:11:
- /root/.cache/node-gyp/10.21.0/include/node/v8.h:2892:28: note: declared here
- explicit Utf8Value(Local<v8::Value> obj));
- ^~~~~~~~~
- /root/.cache/node-gyp/10.21.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Gid(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/userid.cc:118:50: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
- String::Utf8Value utfname(info[0]->ToString());
- ^
- In file included from /root/.cache/node-gyp/10.21.0/include/node/v8.h:26,
- from /root/.cache/node-gyp/10.21.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/userid.cc:11:
- /root/.cache/node-gyp/10.21.0/include/node/v8.h:2892:28: note: declared here
- explicit Utf8Value(Local<v8::Value> obj));
- ^~~~~~~~~
- /root/.cache/node-gyp/10.21.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE UserName(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/userid.cc:137:41: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
- user = getpwuid(info[0]->Int32Value());
- ^
- In file included from /root/.cache/node-gyp/10.21.0/include/node/v8.h:26,
- from /root/.cache/node-gyp/10.21.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/userid.cc:11:
- /root/.cache/node-gyp/10.21.0/include/node/v8.h:2478:46: note: declared here
- V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
- ^~~~~~~~~~
- /root/.cache/node-gyp/10.21.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Uid(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/userid.cc:155:50: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
- String::Utf8Value utfname(info[0]->ToString());
- ^
- In file included from /root/.cache/node-gyp/10.21.0/include/node/v8.h:26,
- from /root/.cache/node-gyp/10.21.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/userid.cc:11:
- /root/.cache/node-gyp/10.21.0/include/node/v8.h:2892:28: note: declared here
- explicit Utf8Value(Local<v8::Value> obj));
- ^~~~~~~~~
- /root/.cache/node-gyp/10.21.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- In file included from ../../nan/nan.h:54,
- from ../src/userid.cc:11:
- ../src/userid.cc: At global scope:
- /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]
- (node::addon_register_func) (regfunc), \
- ^
- /root/.cache/node-gyp/10.21.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
- NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
- ^~~~~~~~~~~~~
- ../src/userid.cc:174:1: note: in expansion of macro ‘NODE_MODULE’
- NODE_MODULE(userid, Init);
- ^~~~~~~~~~~
- In file included from /root/.cache/node-gyp/10.21.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/userid.cc:11:
- /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>&)]’:
- /root/.cache/node-gyp/10.21.0/include/node/node_object_wrap.h:84:78: required from here
- /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]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /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]
- SOLINK_MODULE(target) Release/obj.target/userid.node
- COPY Release/userid.node
- make: Leaving directory '/usr/games/minecraft/node_modules/userid/build'
- added 568 packages from 431 contributors in 9.862s
- [root@webbservermc minecraft]# ln -s /usr/games/minecraft/mineos_console.js /usr/local/bin/mineos
- ln: failed to create symbolic link '/usr/local/bin/mineos': File exists
- _______________________________________________________________________________________________________________________________________
- [root@webbservermc minecraft]# systemctl start mineos
- Job for mineos.service failed because the service did not take the steps required by its unit configuration.
- See "systemctl status mineos.service" and "journalctl -xe" for details.
- [root@webbservermc minecraft]# systemctl status mineos
- mineos.service - Start MineOS minecraft front-end
- Loaded: loaded (/etc/systemd/system/mineos.service; enabled; vendor preset: disabled)
- Active: failed (Result: protocol) since Sat 2020-07-11 13:33:40 EDT; 6s ago
- Process: 34188 ExecStart=/usr/bin/node service.js start (code=exited, status=0/SUCCESS)
- Jul 11 13:33:40 webbservermc systemd[1]: mineos.service: Service RestartSec=100ms expired, scheduling restart.
- Jul 11 13:33:40 webbservermc systemd[1]: mineos.service: Scheduled restart job, restart counter is at 5.
- Jul 11 13:33:40 webbservermc systemd[1]: Stopped Start MineOS minecraft front-end.
- Jul 11 13:33:40 webbservermc systemd[1]: mineos.service: Start request repeated too quickly.
- Jul 11 13:33:40 webbservermc systemd[1]: mineos.service: Failed with result 'protocol'.
- 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