Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't install under latest Node-red 0.19.5 #12

Closed
davemclaughlin opened this issue Nov 29, 2018 · 3 comments
Closed

Won't install under latest Node-red 0.19.5 #12

davemclaughlin opened this issue Nov 29, 2018 · 3 comments

Comments

@davemclaughlin
Copy link

There are a heap of errors when trying to install under Node-red 0.19.5 on a brand new Installation of Debian Stretch. Nodejs is V10.14.0

pi@192.168.1.159:~/.node-red$ npm install node-red-contrib-enocean

leveldown@1.7.2 install /home/pi/.node-red/node_modules/leveldown
prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=10.14.0 runtime=node arch=arm platform=linux)
make: Entering directory '/home/pi/.node-red/node_modules/leveldown/build'
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/db_impl.o
In file included from /usr/include/c++/6/algorithm:62:0,
from ../deps/leveldb/leveldb-1.20/db/db_impl.cc:7:
/usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long un’:
/usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1
__insertion_sort(_RandomAccessIterator __first,
^~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1
In file included from /usr/include/c++/6/bits/stl_algo.h:61:0,
from /usr/include/c++/6/algorithm:62,
from ../deps/leveldb/leveldb-1.20/db/db_impl.cc:7:
/usr/include/c++/6/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long u’:
/usr/include/c++/6/bits/stl_heap.h:209:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1
__adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
^~~~~~~~~~~~~
In file included from /usr/include/c++/6/algorithm:62:0,
from ../deps/leveldb/leveldb-1.20/db/db_impl.cc:7:
/usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long ’:
/usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1
__introsort_loop(_RandomAccessIterator __first,
^~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1951:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1
std::__introsort_loop(__cut, __last, __depth_limit, __comp);
^~~
/usr/include/c++/6/bits/stl_algo.h: In member function ‘leveldb::Status leveldb::DBImpl::Recover(leveldb::VersionEdit*, bool*)’:
/usr/include/c++/6/bits/stl_algo.h:1965:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1
std::__introsort_loop(__first, __last,
^~~
/usr/include/c++/6/bits/stl_algo.h:1882:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1
std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
^~~
/usr/include/c++/6/bits/stl_algo.h:1887:2: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1
std::insertion_sort(first, last, comp);
^~~
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/db_iter.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/filename.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/dbformat.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/log_reader.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/log_writer.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/memtable.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/repair.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/table_cache.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/version_edit.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/version_set.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/write_batch.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/helpers/memenv/memenv.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/port/port_posix_sse.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/block.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/block_builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/filter_block.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/format.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/iterator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/merger.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/table.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/table_builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/two_level_iterator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/arena.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/bloom.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/cache.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/coding.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/comparator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/crc32c.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/env.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/filter_policy.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/hash.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/logging.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/options.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/status.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/port/port_posix.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/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.4/snappy-sinksource.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.4/snappy-stubs-internal.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.4/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 ../node_modules/nan/nan.h:192:0,
from ../src/batch.cc:3:
../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’:
../node_modules/nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
^~~~~~~~
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:198,
from ../src/batch.cc:3:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBasev8::StringObject::return_t Nan::imp::Factoryv8::StringObject::New(v8::Localv8::String)’:
../node_modules/nan/nan_implementation_12_inl.h:337:37: warning: ‘static v8::Localv8::Value v8::StringObject::New(v8::Localv8::String)’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
return v8::StringObject::New(value).Asv8::StringObject();
^
In file included from /home/pi/.node-gyp/10.14.0/include/node/v8.h:26:0,
from /home/pi/.node-gyp/10.14.0/include/node/node.h:63,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:5053:37: note: declared here
static Local New(Local value));
^
/home/pi/.node-gyp/10.14.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/batch.cc:3:0:
../node_modules/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’:
../node_modules/nan/nan.h:835:60: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’ is deprecated: Use MakeCallb]
v8::Isolate::GetCurrent(), target, func, argc, argv);
^
In file included from ../src/batch.cc:1:0:
/home/pi/.node-gyp/10.14.0/include/node/node.h:176:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home/pi/.node-gyp/10.14.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:0:
../node_modules/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value
)’:
../node_modules/nan/nan.h:850:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate*, v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value)’ is deprecated: Use MakeCallbac]
v8::Isolate::GetCurrent(), target, symbol, argc, argv);
^
In file included from ../src/batch.cc:1:0:
/home/pi/.node-gyp/10.14.0/include/node/node.h:169:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home/pi/.node-gyp/10.14.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:0:
../node_modules/nan/nan.h: In function ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, const char
, int, v8::Localv8::Value)’:
../node_modules/nan/nan.h:865:62: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
, v8::Localv8::Object, const char*, int, v8::Localv8::Value)’ is deprecated: Use MakeCallback(..., asy]
v8::Isolate::GetCurrent(), target, method, argc, argv);
^
In file included from ../src/batch.cc:1:0:
/home/pi/.node-gyp/10.14.0/include/node/node.h:162:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home/pi/.node-gyp/10.14.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:0:
../node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Localv8::Value)’:
../node_modules/nan/nan.h:911:53: warning: ‘v8::Localv8::String v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Localv8::String string = from->ToString();
^
In file included from /home/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10040:15: note: declared here
Local Value::ToString() const {
^~~~~
In file included from ../src/batch.cc:3:0:
../node_modules/nan/nan.h:921:74: warning: ‘int v8::String::WriteUtf8(char
, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
length
= string->WriteUtf8(str
, static_cast(len), 0, flags);
^
In file included from /home/pi/.node-gyp/10.14.0/include/node/v8.h:26:0,
from /home/pi/.node-gyp/10.14.0/include/node/node.h:63,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:2659:21: note: declared here
int WriteUtf8(char* buffer, int length = -1,
^
/home/pi/.node-gyp/10.14.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/batch.cc:3:0:
../node_modules/nan/nan.h: In member function ‘v8::Localv8::Value Nan::Callback::Call(v8::Isolate*, v8::Localv8::Object, int, v8::Localv8::Value) const’:
../node_modules/nan/nan.h:1479:5: warning: ‘v8::Localv8::Value node::MakeCallback(v8::Isolate
, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value)’ is deprecated: Use MakeCallb]
));
^
In file included from ../src/batch.cc:1:0:
/home/pi/.node-gyp/10.14.0/include/node/node.h:176:50: note: declared here
NODE_EXTERN v8::Localv8::Value MakeCallback(
^
/home/pi/.node-gyp/10.14.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
attribute((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h: In function ‘size_t StringOrBufferLength(v8::Localv8::Value)’:
../src/leveldown.h:16:26: warning: ‘v8::Localv8::Object v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return (!obj->ToObject().IsEmpty()
^
In file included from /home/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:17:48: warning: ‘v8::Localv8::Object v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
&& node::Buffer::HasInstance(obj->ToObject()))
^
In file included from /home/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:18:42: warning: ‘v8::Localv8::Object v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
? node::Buffer::Length(obj->ToObject())
^
In file included from /home/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:19:21: warning: ‘v8::Localv8::String v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
: obj->ToString()->Utf8Length();
^
In file included from /home/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10040:15: note: declared here
Local Value::ToString() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:19:35: warning: ‘int v8::String::Utf8Length() const’ is deprecated: Use Isolate version instead [-Wdeprecated-declarations]
: obj->ToString()->Utf8Length();
^
In file included from /home/pi/.node-gyp/10.14.0/include/node/v8.h:26:0,
from /home/pi/.node-gyp/10.14.0/include/node/node.h:63,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:2587:52: note: declared here
V8_DEPRECATED("Use Isolate version instead", int Utf8Length() const);
^
/home/pi/.node-gyp/10.14.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/batch.cc:8:0:
../src/common.h: In function ‘bool leveldown::BooleanOptionValue(v8::Localv8::Object, const char, bool)’:
../src/common.h:20:39: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
? options->Get(key)->BooleanValue()
^
In file included from /home/pi/.node-gyp/10.14.0/include/node/v8.h:26:0,
from /home/pi/.node-gyp/10.14.0/include/node/node.h:63,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:2474:43: note: declared here
V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
^
/home/pi/.node-gyp/10.14.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/batch.cc:8:0:
../src/common.h: In function ‘uint32_t leveldown::UInt32OptionValue(v8::Localv8::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/pi/.node-gyp/10.14.0/include/node/v8.h:26:0,
from /home/pi/.node-gyp/10.14.0/include/node/node.h:63,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:2477:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pi/.node-gyp/10.14.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::Localv8::Object v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Database* database = Nan::ObjectWrap::Unwrap(info[0]->ToObject());
^
In file included from /home/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
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::Localv8::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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:54:51: warning: ‘v8::Localv8::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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:55:53: warning: ‘v8::Localv8::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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:56:51: warning: ‘v8::Localv8::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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:58:54: warning: ‘v8::Localv8::String v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Localv8::String to ## Str = from->ToString();
^
../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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10040:15: note: declared here
Local Value::ToString() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:59:39: warning: ‘int v8::String::Utf8Length() const’ is deprecated: Use Isolate version instead [-Wdeprecated-declarations]
to ## Sz = to ## Str->Utf8Length();
^
../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/pi/.node-gyp/10.14.0/include/node/v8.h:26:0,
from /home/pi/.node-gyp/10.14.0/include/node/node.h:63,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:2587:52: note: declared here
V8_DEPRECATED("Use Isolate version instead", int Utf8Length() const);
^
/home/pi/.node-gyp/10.14.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:65:5: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
);
^
../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/pi/.node-gyp/10.14.0/include/node/v8.h:26:0,
from /home/pi/.node-gyp/10.14.0/include/node/node.h:63,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:2659:21: note: declared here
int WriteUtf8(char* buffer, int length = -1,
^
/home/pi/.node-gyp/10.14.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:53:30: warning: ‘v8::Localv8::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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:54:51: warning: ‘v8::Localv8::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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:55:53: warning: ‘v8::Localv8::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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:56:51: warning: ‘v8::Localv8::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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:58:54: warning: ‘v8::Localv8::String v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Localv8::String to ## Str = from->ToString();
^
../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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10040:15: note: declared here
Local Value::ToString() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:59:39: warning: ‘int v8::String::Utf8Length() const’ is deprecated: Use Isolate version instead [-Wdeprecated-declarations]
to ## Sz = to ## Str->Utf8Length();
^
../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/pi/.node-gyp/10.14.0/include/node/v8.h:26:0,
from /home/pi/.node-gyp/10.14.0/include/node/node.h:63,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:2587:52: note: declared here
V8_DEPRECATED("Use Isolate version instead", int Utf8Length() const);
^
/home/pi/.node-gyp/10.14.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:65:5: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
);
^
../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/pi/.node-gyp/10.14.0/include/node/v8.h:26:0,
from /home/pi/.node-gyp/10.14.0/include/node/node.h:63,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:2659:21: note: declared here
int WriteUtf8(char* buffer, int length = -1,
^
/home/pi/.node-gyp/10.14.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/database.h:18:0,
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::Localv8::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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:54:51: warning: ‘v8::Localv8::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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:55:53: warning: ‘v8::Localv8::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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:56:51: warning: ‘v8::Localv8::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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:58:54: warning: ‘v8::Localv8::String v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Localv8::String to ## Str = from->ToString();
^
../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/pi/.node-gyp/10.14.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:10040:15: note: declared here
Local Value::ToString() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:59:39: warning: ‘int v8::String::Utf8Length() const’ is deprecated: Use Isolate version instead [-Wdeprecated-declarations]
to ## Sz = to ## Str->Utf8Length();
^
../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/pi/.node-gyp/10.14.0/include/node/v8.h:26:0,
from /home/pi/.node-gyp/10.14.0/include/node/node.h:63,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:2587:52: note: declared here
V8_DEPRECATED("Use Isolate version instead", int Utf8Length() const);
^
/home/pi/.node-gyp/10.14.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:65:5: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
);
^
../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/pi/.node-gyp/10.14.0/include/node/v8.h:26:0,
from /home/pi/.node-gyp/10.14.0/include/node/node.h:63,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.14.0/include/node/v8.h:2659:21: note: declared here
int WriteUtf8(char* buffer, int length = -1,
^
/home/pi/.node-gyp/10.14.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
leveldown.target.mk:117: recipe for target 'Release/obj.target/leveldown/src/batch.o' failed
make: *** [Release/obj.target/leveldown/src/batch.o] Error 1
make: Leaving directory '/home/pi/.node-red/node_modules/leveldown/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Linux 4.14.79-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/.node-red/node_modules/leveldown
gyp ERR! node -v v10.14.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! leveldown@1.7.2 install: prebuild-install || node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the leveldown@1.7.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-11-29T05_27_44_757Z-debug.log

@Holger-Will
Copy link
Contributor

I'm working on a fix. should be done this WE.

@BitTourette
Copy link

any news ? can we help ?

@Holger-Will
Copy link
Contributor

well, yes! we are working on a complete rewrite of node-enocean (now enocean-js) and there is a lot(!) to do. we are just starting the rewrite after some work was done here . Any help is greatly appreciated! have a look over at https://github.com/enocean-js/enocean-js/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants