Skip to content

Instantly share code, notes, and snippets.

@decentral1se
Created March 24, 2020 21:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save decentral1se/90322a42bb8112239a64dedf7edc1e7d to your computer and use it in GitHub Desktop.
Save decentral1se/90322a42bb8112239a64dedf7edc1e7d to your computer and use it in GitHub Desktop.
datnodev4.2.log
## dat-nodev4...origin/dat-nodev4
D package-lock.json
?? datnodev4.2.log
* dat-nodev4
master
ce8e607 update package-lock.json
1adbff3 Update README.md
bebb175 update readme
6ce200c use node 12
f716675 fix tests
b2cf4f1 use hyperswarm
a9e37ac remove datbase link
4e2b94c Update README.md (#1156)
a124eff Link to new dat-logo.png (#1138)
3e7d612 Update README.md, Add white paper link (#1133)
> fd-lock@1.0.2 install /home/foo/work/dat/node_modules/fd-lock
> node-gyp-build
> sodium-native@2.4.9 install /home/foo/work/dat/node_modules/sodium-native
> node-gyp-build "node preinstall.js" "node postinstall.js"
> utp-native@1.7.3 install /home/foo/work/dat/node_modules/discovery-swarm/node_modules/utp-native
> node-gyp-build
make: Entering directory '/home/foo/work/dat/node_modules/discovery-swarm/node_modules/utp-native/build'
CXX(target) Release/obj.target/libutp/deps/libutp/utp_internal.o
CXX(target) Release/obj.target/libutp/deps/libutp/utp_utils.o
CXX(target) Release/obj.target/libutp/deps/libutp/utp_hash.o
CXX(target) Release/obj.target/libutp/deps/libutp/utp_callbacks.o
CXX(target) Release/obj.target/libutp/deps/libutp/utp_api.o
CXX(target) Release/obj.target/libutp/deps/libutp/utp_packedsockaddr.o
AR(target) Release/obj.target/deps/utp.a
COPY Release/utp.a
CXX(target) Release/obj.target/utp/src/utp_uv.o
CXX(target) Release/obj.target/utp/src/socket_wrap.o
utp.target.mk:121: recipe for target 'Release/obj.target/utp/src/socket_wrap.o' failed
make: Leaving directory '/home/foo/work/dat/node_modules/discovery-swarm/node_modules/utp-native/build'
> utp-native@2.1.7 install /home/foo/work/dat/node_modules/utp-native
> node-gyp-build
added 760 packages from 404 contributors and audited 6813 packages in 20.015s
23 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
@decentral1se
Copy link
Author

Oh, here is some more logs:

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated cross-zip@2.1.6: Possible security issue issue found in 2.x. Please update to 3.x
npm WARN deprecated core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.

> fd-lock@1.0.2 install /home/foo/work/dat/node_modules/fd-lock
> node-gyp-build


> sodium-native@2.4.9 install /home/foo/work/dat/node_modules/sodium-native
> node-gyp-build "node preinstall.js" "node postinstall.js"


> utp-native@1.7.3 install /home/foo/work/dat/node_modules/discovery-swarm/node_modules/utp-native
> node-gyp-build

make: Entering directory '/home/foo/work/dat/node_modules/discovery-swarm/node_modules/utp-native/build'
  CXX(target) Release/obj.target/libutp/deps/libutp/utp_internal.o
../deps/libutp/utp_internal.cpp: In function ‘size_t utp_process_incoming(UTPSocket*, const byte*, size_t, bool)’:
../deps/libutp/utp_internal.cpp:1970:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (conn->mtu_probe_seq && seq == conn->mtu_probe_seq) {
                              ~~~~^~~~~~~~~~~~~~~~~~~~~~
  CXX(target) Release/obj.target/libutp/deps/libutp/utp_utils.o
  CXX(target) Release/obj.target/libutp/deps/libutp/utp_hash.o
  CXX(target) Release/obj.target/libutp/deps/libutp/utp_callbacks.o
  CXX(target) Release/obj.target/libutp/deps/libutp/utp_api.o
  CXX(target) Release/obj.target/libutp/deps/libutp/utp_packedsockaddr.o
  AR(target) Release/obj.target/deps/utp.a
  COPY Release/utp.a
  CXX(target) Release/obj.target/utp/src/utp_uv.o
../src/utp_uv.cc:219:1: warning: ‘uint64 on_utp_schedule_ack(utp_callback_arguments*)’ defined but not used [-Wunused-function]
 on_utp_schedule_ack (utp_callback_arguments *a) {
 ^~~~~~~~~~~~~~~~~~~
  CXX(target) Release/obj.target/utp/src/socket_wrap.o
../src/socket_wrap.cc: In member function ‘int SocketWrap::Drain()’:
../src/socket_wrap.cc:69:40: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       this->on_drain->Call(ctx, 0, NULL);
                                        ^
In file included from ../src/socket_wrap.h:4:0,
                 from ../src/socket_wrap.cc:1:
../../../../nan/nan.h:1718:3: note: declared here
   Call(v8::Local<v8::Object> target
   ^~~~
../src/socket_wrap.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE SocketWrap::Context(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/socket_wrap.cc:99:45: error: no matching function for call to ‘v8::Value::ToObject()’
   Local<Object> context = info[0]->ToObject();
                                             ^
In file included from /home/foo/.cache/node-gyp/12.16.1/include/node/node.h:63:0,
                 from ../../../../nan/nan.h:54,
                 from ../src/socket_wrap.h:4,
                 from ../src/socket_wrap.cc:1:
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                            ^~~~~~~~
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/foo/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from /home/foo/.cache/node-gyp/12.16.1/include/node/node.h:63,
                 from ../../../../nan/nan.h:54,
                 from ../src/socket_wrap.h:4,
                 from ../src/socket_wrap.cc:1:
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                 Local<Object> ToObject(Isolate* isolate) const);
                               ^
/home/foo/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                 Local<Object> ToObject(Isolate* isolate) const);
                               ^
/home/foo/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/socket_wrap.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE SocketWrap::Write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/socket_wrap.cc:113:43: error: no matching function for call to ‘v8::Value::ToObject()’
   Local<Value> buffer = info[0]->ToObject();
                                           ^
In file included from /home/foo/.cache/node-gyp/12.16.1/include/node/node.h:63:0,
                 from ../../../../nan/nan.h:54,
                 from ../src/socket_wrap.h:4,
                 from ../src/socket_wrap.cc:1:
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                            ^~~~~~~~
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/foo/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from /home/foo/.cache/node-gyp/12.16.1/include/node/node.h:63,
                 from ../../../../nan/nan.h:54,
                 from ../src/socket_wrap.h:4,
                 from ../src/socket_wrap.cc:1:
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                 Local<Object> ToObject(Isolate* isolate) const);
                               ^
/home/foo/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                 Local<Object> ToObject(Isolate* isolate) const);
                               ^
/home/foo/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/socket_wrap.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE SocketWrap::Writev(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/socket_wrap.cc:141:49: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     Local<Value> buffer = Nan::Get(writes->Get(i)->ToObject(), chunk).ToLocalChecked();
                                                 ^
In file included from /home/foo/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from /home/foo/.cache/node-gyp/12.16.1/include/node/node.h:63,
                 from ../../../../nan/nan.h:54,
                 from ../src/socket_wrap.h:4,
                 from ../src/socket_wrap.cc:1:
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:3557:51: note: declared here
   V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                   ^
/home/foo/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/socket_wrap.cc:141:61: error: no matching function for call to ‘v8::Value::ToObject()’
     Local<Value> buffer = Nan::Get(writes->Get(i)->ToObject(), chunk).ToLocalChecked();
                                                             ^
In file included from /home/foo/.cache/node-gyp/12.16.1/include/node/node.h:63:0,
                 from ../../../../nan/nan.h:54,
                 from ../src/socket_wrap.h:4,
                 from ../src/socket_wrap.cc:1:
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                            ^~~~~~~~
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/foo/.cache/node-gyp/12.16.1/include/node/v8-internal.h:14:0,
                 from /home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:27,
                 from /home/foo/.cache/node-gyp/12.16.1/include/node/node.h:63,
                 from ../../../../nan/nan.h:54,
                 from ../src/socket_wrap.h:4,
                 from ../src/socket_wrap.cc:1:
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
                 Local<Object> ToObject(Isolate* isolate) const);
                               ^
/home/foo/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided
                 Local<Object> ToObject(Isolate* isolate) const);
                               ^
/home/foo/.cache/node-gyp/12.16.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/socket_wrap.cc: In static member function ‘static v8::Local<v8::Value> SocketWrap::NewInstance()’:
../src/socket_wrap.cc:243:62: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
   instance = Nan::NewInstance(constructorHandle->GetFunction()).ToLocalChecked();
                                                              ^
In file included from /home/foo/.cache/node-gyp/12.16.1/include/node/node.h:63:0,
                 from ../../../../nan/nan.h:54,
                 from ../src/socket_wrap.h:4,
                 from ../src/socket_wrap.cc:1:
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:6126:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                              ^~~~~~~~~~~
/home/foo/.cache/node-gyp/12.16.1/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
make: *** [Release/obj.target/utp/src/socket_wrap.o] Error 1
utp.target.mk:121: recipe for target 'Release/obj.target/utp/src/socket_wrap.o' failed
make: Leaving directory '/home/foo/work/dat/node_modules/discovery-swarm/node_modules/utp-native/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/foo/.nvm/versions/node/v12.16.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:311:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.9.0-12-amd64
gyp ERR! command "/home/foo/.nvm/versions/node/v12.16.1/bin/node" "/home/foo/.nvm/versions/node/v12.16.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/foo/work/dat/node_modules/discovery-swarm/node_modules/utp-native
gyp ERR! node -v v12.16.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment