Created
March 27, 2019 18:13
-
-
Save lmeunier/df0084eb28642bdca54632e303522d3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
laurent ~/_tmp $ git clone https://github.com/cozy/cozy-drive.git | |
Cloning into 'cozy-drive'... | |
remote: Enumerating objects: 102, done. | |
remote: Counting objects: 100% (102/102), done. | |
remote: Compressing objects: 100% (61/61), done. | |
remote: Total 48717 (delta 50), reused 59 (delta 33), pack-reused 48615 | |
Receiving objects: 100% (48717/48717), 350.80 MiB | 1.34 MiB/s, done. | |
Resolving deltas: 100% (34975/34975), done. | |
laurent ~/_tmp $ cd cozy-drive | |
laurent ~/_tmp/cozy-drive $ yarn install | |
yarn install v1.6.0 | |
(node:7446) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. | |
[1/4] Resolving packages... | |
[2/4] Fetching packages... | |
info fsevents@1.2.7: The platform "linux" is incompatible with this module. | |
info "fsevents@1.2.7" is an optional dependency and failed compatibility check. Excluding it from installation. | |
[3/4] Linking dependencies... | |
warning " > babel-core@7.0.0-bridge.0" has unmet peer dependency "@babel/core@^7.0.0-0". | |
warning "cozy-bar > enzyme-to-json@3.3.5" has incorrect peer dependency "enzyme@^3.0.0". | |
warning "cozy-bar > piwik-react-router@0.12.1" has unmet peer dependency "history@^3.0.0 || ^4.0.0". | |
warning " > cozy-client-js@0.13.0" has unmet peer dependency "babel-polyfill@^6.26.0". | |
warning "cozy-konnector-libs > cozy-client-js@0.9.0" has unmet peer dependency "babel-polyfill@^6.26.0". | |
warning "cozy-scripts > vue-jest@3.0.2" has unmet peer dependency "vue@^2.x". | |
warning "cozy-scripts > vue-jest@3.0.2" has unmet peer dependency "vue-template-compiler@^2.x". | |
warning " > cozy-ui@19.3.1" has unmet peer dependency "@material-ui/core@3.9.2". | |
warning " > cozy-ui@19.3.1" has incorrect peer dependency "preact@^8.3.1". | |
warning " > cozy-ui@19.3.1" has incorrect peer dependency "react@^16.6.3". | |
warning " > cozy-ui@19.3.1" has incorrect peer dependency "react-dom@^16.5.2". | |
warning " > piwik-react-router@0.8.2" has unmet peer dependency "history@^3.0.0 || ^4.0.0". | |
warning "react-pdf > pdfjs-dist@2.0.305" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0". | |
warning "react-pdf > pdfjs-dist > worker-loader@1.1.1" has unmet peer dependency "webpack@^2.0.0 || ^3.0.0 || ^4.0.0". | |
warning "eslint-config-cozy-app > eslint-plugin-vue@4.7.1" has incorrect peer dependency "eslint@^3.18.0 || ^4.0.0". | |
warning " > eslint-config-prettier@3.1.0" has unmet peer dependency "eslint@>=3.14.1". | |
[4/4] Building fresh packages... | |
[1/5] ⠈ leveldown: CXX(target) Release/obj.target/leveldown/src/batch.o | |
[2/5] ⠁ leveldown: prebuild ERR! build at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) | |
[-/5] ⠁ waiting... | |
[-/5] ⠁ waiting... | |
error /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown: Command failed. | |
Exit code: 2 | |
Command: prebuild --install | |
Arguments: | |
Directory: /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown | |
Output: | |
prebuild info begin Prebuild version 4.5.0 | |
gyp http GET https://nodejs.org/download/release/v10.15.0/node-v10.15.0-headers.tar.gz | |
gyp http 200 https://nodejs.org/download/release/v10.15.0/node-v10.15.0-headers.tar.gz | |
gyp http GET https://nodejs.org/download/release/v10.15.0/SHASUMS256.txt | |
gyp http 200 https://nodejs.org/download/release/v10.15.0/SHASUMS256.txt | |
gyp info spawn /usr/bin/python2 | |
gyp info spawn args [ '/home/laurent/_tmp/cozy-drive/node_modules/prebuild/node_modules/node-gyp/gyp/gyp_main.py', | |
gyp info spawn args 'binding.gyp', | |
gyp info spawn args '-f', | |
gyp info spawn args 'make', | |
gyp info spawn args '-I', | |
gyp info spawn args '/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/build/config.gypi', | |
gyp info spawn args '-I', | |
gyp info spawn args '/home/laurent/_tmp/cozy-drive/node_modules/prebuild/node_modules/node-gyp/addon.gypi', | |
gyp info spawn args '-I', | |
gyp info spawn args '/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/common.gypi', | |
gyp info spawn args '-Dlibrary=shared_library', | |
gyp info spawn args '-Dvisibility=default', | |
gyp info spawn args '-Dnode_root_dir=/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0', | |
gyp info spawn args '-Dnode_gyp_dir=/home/laurent/_tmp/cozy-drive/node_modules/prebuild/node_modules/node-gyp', | |
gyp info spawn args '-Dnode_lib_file=/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/<(target_arch)/node.lib', | |
gyp info spawn args '-Dmodule_root_dir=/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown', | |
gyp info spawn args '-Dnode_engine=v8', | |
gyp info spawn args '--depth=.', | |
gyp info spawn args '--no-parallel', | |
gyp info spawn args '--generator-output', | |
gyp info spawn args 'build', | |
gyp info spawn args '-Goutput_dir=.' ] | |
gyp info spawn make | |
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] | |
make: Entering directory '/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/build' | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/builder.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/db_impl.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/db_iter.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/filename.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/dbformat.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/log_reader.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/log_writer.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/memtable.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/repair.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/table_cache.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/version_edit.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/version_set.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/db/write_batch.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/helpers/memenv/memenv.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/table/block.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/table/block_builder.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/table/filter_block.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/table/format.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/table/iterator.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/table/merger.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/table/table.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/table/table_builder.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/table/two_level_iterator.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/util/arena.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/util/bloom.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/util/cache.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/util/coding.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/util/comparator.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/util/crc32c.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/util/env.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/util/filter_policy.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/util/hash.o | |
../deps/leveldb/leveldb-1.19/util/hash.cc: In function ‘uint32_t leveldb::Hash(const char*, size_t, uint32_t)’: | |
../deps/leveldb/leveldb-1.19/util/hash.cc:37:9: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
h += static_cast<unsigned char>(data[2]) << 16; | |
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../deps/leveldb/leveldb-1.19/util/hash.cc:39:5: note: here | |
case 2: | |
^~~~ | |
../deps/leveldb/leveldb-1.19/util/hash.cc:40:9: warning: this statement may fall through [-Wimplicit-fallthrough=] | |
h += static_cast<unsigned char>(data[1]) << 8; | |
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../deps/leveldb/leveldb-1.19/util/hash.cc:42:5: note: here | |
case 1: | |
^~~~ | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/util/logging.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/util/options.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/util/status.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/port/port_posix.o | |
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.19/util/env_posix.o | |
AR(target) Release/obj.target/deps/leveldb/leveldb.a | |
COPY Release/leveldb.a | |
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy-sinksource.o | |
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy-stubs-internal.o | |
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy.o | |
AR(target) Release/obj.target/deps/snappy/snappy.a | |
COPY Release/snappy.a | |
CXX(target) Release/obj.target/leveldown/src/batch.o | |
In file included from ../../nan/nan.h:190, | |
from ../src/batch.cc:3: | |
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’: | |
../../nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ | |
return obj->ForceSet(GetCurrentContext(), key, value, attribs); | |
^~~~~~~~ | |
In file included from ../src/batch.cc:3: | |
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’: | |
../../nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] | |
v8::Isolate::GetCurrent(), target, func, argc, argv); | |
^ | |
In file included from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:177:50: note: declared here | |
NODE_EXTERN v8::Local<v8::Value> MakeCallback( | |
^~~~~~~~~~~~ | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ | |
__attribute__((deprecated(message))) declarator | |
^~~~~~~~~~ | |
In file included from ../src/batch.cc:3: | |
../../nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] | |
v8::Isolate::GetCurrent(), target, func, argc, argv); | |
^ | |
In file included from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:177:50: note: declared here | |
NODE_EXTERN v8::Local<v8::Value> MakeCallback( | |
^~~~~~~~~~~~ | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ | |
__attribute__((deprecated(message))) declarator | |
^~~~~~~~~~ | |
In file included from ../src/batch.cc:3: | |
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’: | |
../../nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] | |
v8::Isolate::GetCurrent(), target, symbol, argc, argv); | |
^ | |
In file included from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:170:50: note: declared here | |
NODE_EXTERN v8::Local<v8::Value> MakeCallback( | |
^~~~~~~~~~~~ | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ | |
__attribute__((deprecated(message))) declarator | |
^~~~~~~~~~ | |
In file included from ../src/batch.cc:3: | |
../../nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] | |
v8::Isolate::GetCurrent(), target, symbol, argc, argv); | |
^ | |
In file included from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:170:50: note: declared here | |
NODE_EXTERN v8::Local<v8::Value> MakeCallback( | |
^~~~~~~~~~~~ | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ | |
__attribute__((deprecated(message))) declarator | |
^~~~~~~~~~ | |
In file included from ../src/batch.cc:3: | |
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’: | |
../../nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] | |
v8::Isolate::GetCurrent(), target, method, argc, argv); | |
^ | |
In file included from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:163:50: note: declared here | |
NODE_EXTERN v8::Local<v8::Value> MakeCallback( | |
^~~~~~~~~~~~ | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ | |
__attribute__((deprecated(message))) declarator | |
^~~~~~~~~~ | |
In file included from ../src/batch.cc:3: | |
../../nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] | |
v8::Isolate::GetCurrent(), target, method, argc, argv); | |
^ | |
In file included from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:163:50: note: declared here | |
NODE_EXTERN v8::Local<v8::Value> MakeCallback( | |
^~~~~~~~~~~~ | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ | |
__attribute__((deprecated(message))) declarator | |
^~~~~~~~~~ | |
In file included from ../src/batch.cc:3: | |
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’: | |
../../nan/nan.h:1453:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] | |
)); | |
^ | |
In file included from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:177:50: note: declared here | |
NODE_EXTERN v8::Local<v8::Value> MakeCallback( | |
^~~~~~~~~~~~ | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ | |
__attribute__((deprecated(message))) declarator | |
^~~~~~~~~~ | |
In file included from ../src/batch.cc:3: | |
../../nan/nan.h:1453:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] | |
)); | |
^ | |
In file included from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:177:50: note: declared here | |
NODE_EXTERN v8::Local<v8::Value> MakeCallback( | |
^~~~~~~~~~~~ | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ | |
__attribute__((deprecated(message))) declarator | |
^~~~~~~~~~ | |
In file included from ../src/batch.cc:3: | |
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’: | |
../../nan/nan.h:1704: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 ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/leveldown.h: In function ‘size_t StringOrBufferLength(v8::Local<v8::Value>)’: | |
../src/leveldown.h:16:26: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
return (!obj->ToObject().IsEmpty() | |
^ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/leveldown.h:17:48: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
&& node::Buffer::HasInstance(obj->ToObject())) | |
^ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/leveldown.h:18:42: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
? node::Buffer::Length(obj->ToObject()) | |
^ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/batch.cc:5: | |
../src/database.h: At global scope: | |
../src/database.h:85:7: warning: unnecessary parentheses in declaration of ‘pendingCloseWorker’ [-Wparentheses] | |
void(*pendingCloseWorker); | |
^ | |
In file included from ../src/batch.cc:8: | |
../src/common.h: In function ‘uint32_t leveldown::UInt32OptionValue(v8::Local<v8::Object>, const char*, uint32_t)’: | |
../src/common.h:32:38: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
? options->Get(key)->Uint32Value() | |
^ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:26, | |
from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:2477:47: note: declared here | |
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); | |
^~~~~~~~~~~ | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^~~~~~~~~~ | |
../src/batch.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE leveldown::Batch::New(Nan::NAN_METHOD_ARGS_TYPE)’: | |
../src/batch.cc:42:76: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
Database* database = Nan::ObjectWrap::Unwrap<Database>(info[0]->ToObject()); | |
^ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/batch.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE leveldown::Batch::Put(Nan::NAN_METHOD_ARGS_TYPE)’: | |
../src/leveldown.h:53:30: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
} else if (!from->ToObject().IsEmpty() \ | |
^ | |
../src/batch.cc:91:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’ | |
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/leveldown.h:54:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
&& node::Buffer::HasInstance(from->ToObject())) { \ | |
^ | |
../src/batch.cc:91:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’ | |
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/leveldown.h:55:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
to ## Sz_ = node::Buffer::Length(from->ToObject()); \ | |
^ | |
../src/batch.cc:91:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’ | |
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/leveldown.h:56:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
to ## Ch_ = node::Buffer::Data(from->ToObject()); \ | |
^ | |
../src/batch.cc:91:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’ | |
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/leveldown.h:53:30: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
} else if (!from->ToObject().IsEmpty() \ | |
^ | |
../src/batch.cc:92:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’ | |
LD_STRING_OR_BUFFER_TO_SLICE(value, valueBuffer, value) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/leveldown.h:54:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
&& node::Buffer::HasInstance(from->ToObject())) { \ | |
^ | |
../src/batch.cc:92:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’ | |
LD_STRING_OR_BUFFER_TO_SLICE(value, valueBuffer, value) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/leveldown.h:55:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
to ## Sz_ = node::Buffer::Length(from->ToObject()); \ | |
^ | |
../src/batch.cc:92:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’ | |
LD_STRING_OR_BUFFER_TO_SLICE(value, valueBuffer, value) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/leveldown.h:56:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
to ## Ch_ = node::Buffer::Data(from->ToObject()); \ | |
^ | |
../src/batch.cc:92:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’ | |
LD_STRING_OR_BUFFER_TO_SLICE(value, valueBuffer, value) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/batch.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE leveldown::Batch::Del(Nan::NAN_METHOD_ARGS_TYPE)’: | |
../src/leveldown.h:53:30: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
} else if (!from->ToObject().IsEmpty() \ | |
^ | |
../src/batch.cc:110:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’ | |
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/leveldown.h:54:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
&& node::Buffer::HasInstance(from->ToObject())) { \ | |
^ | |
../src/batch.cc:110:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’ | |
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/leveldown.h:55:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
to ## Sz_ = node::Buffer::Length(from->ToObject()); \ | |
^ | |
../src/batch.cc:110:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’ | |
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
In file included from ../src/database.h:18, | |
from ../src/batch.cc:5: | |
../src/leveldown.h:56:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
to ## Ch_ = node::Buffer::Data(from->ToObject()); \ | |
^ | |
../src/batch.cc:110:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’ | |
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node.h:63, | |
from ../src/batch.cc:1: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/v8.h:10046:15: note: declared here | |
Local<Object> Value::ToObject() const { | |
^~~~~ | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.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>&)]’: | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.0/include/node/node_object_wrap.h:85:78: required from here | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.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); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.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:66:61: required from here | |
/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/10.15.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] | |
make: *** [leveldown.target.mk:119: Release/obj.target/leveldown/src/batch.o] Error 1 | |
make: Leaving directory '/home/laurent/_tmp/cozy-drive/node_modules/cozy-konnector-libs/node_modules/leveldown/build' | |
prebuild ERR! build error | |
prebuild ERR! stack Error: `make` failed with exit code: 2 | |
prebuild ERR! stack at ChildProcess.onExit (/home/laurent/_tmp/cozy-drive/node_modules/prebuild/node_modules/node-gyp/lib/build.js:262:23) | |
prebuild ERR! stack at ChildProcess.emit (events.js:182:13) | |
prebuild ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) | |
prebuild ERR! not ok | |
prebuild ERR! build Error: `make` failed with exit code: 2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment