node-ibm_db: ibm_db does not compile under node 11.0
[panda@pandaville node-ibm_db]$ npm install
ibm_db@2.4.1 install /home/panda/src/git/node-ibm_db node installer/driverInstall.js
Downloading DB2 ODBC CLI Driver from https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz…
100.00% | 21040638 bytes downloaded out of 21040638 bytes.
You are downloading a package which includes the Node.js module for IBM DB2/Informix. The module is licensed under the Apache License 2.0. The package also includes IBM ODBC and CLI Driver from IBM, which is automatically downloaded as the node module is installed on your system/device. The license agreement to the IBM ODBC and CLI Driver is available in undefined Check for additional dependencies, which may come with their own license agreement(s). Your use of the components of the package and dependencies constitutes your acceptance of their respective license agreements. If you do not accept the terms of any license agreement(s), then delete the relevant component(s) from your device.
Downloading and extraction of DB2 ODBC CLI Driver completed successfully …
make: Entering directory ‘/home/panda/src/git/node-ibm_db/build’ CXX(target) Release/obj.target/odbc_bindings/src/odbc.o make: Leaving directory ‘/home/panda/src/git/node-ibm_db/build’
{ Error: Command failed: node-gyp configure build --IS_DOWNLOADED=true --IBM_DB_HOME=“$IBM_DB_HOME”
In file included from …/node_modules/nan/nan_new.h:189,
from …/node_modules/nan/nan.h:222,
from …/src/odbc.h:23,
from …/src/odbc.cpp:28:
…/node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan:👿:FactoryBasev8::StringObject::return_t Nan:👿: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/panda/.node-gyp/11.0.0/include/node/v8.h:26,
from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:5236:37: note: declared here
static Local<Value> New(Local<String> value));
^~~
/home/panda/.node-gyp/11.0.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from …/node_modules/nan/nan_new.h:189,
from …/node_modules/nan/nan.h:222,
from …/src/odbc.h:23,
from …/src/odbc.cpp:28:
…/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/panda/.node-gyp/11.0.0/include/node/v8.h:26,
from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:5236:37: note: declared here
static Local<Value> New(Local<String> value));
^~~
/home/panda/.node-gyp/11.0.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from …/src/odbc.h:23,
from …/src/odbc.cpp:28:
…/node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Localv8::Value)’:
…/node_modules/nan/nan.h:1063: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 …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:10242:15: note: declared here
Local<String> Value::ToString() const {
^~~~~
In file included from …/src/odbc.h:23,
from …/src/odbc.cpp:28:
…/node_modules/nan/nan.h:1073:74: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
^
In file included from /home/panda/.node-gyp/11.0.0/include/node/v8.h:26,
from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:2754:21: note: declared here
int WriteUtf8(char* buffer, int length = -1,
^~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from …/src/odbc.h:23,
from …/src/odbc.cpp:28:
…/node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
…/node_modules/nan/nan.h:2200: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/odbc.cpp: In static member function ‘static void ODBC::UV_AfterCreateConnection(uv_work_t*, int)’:
…/src/odbc.cpp:210:27: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->cb->Call(1, info);
^
In file included from …/src/odbc.h:23,
from …/src/odbc.cpp:28:
…/node_modules/nan/nan.h:1647:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/odbc.cpp:217:99: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Localv8::Value [2])’
Local<Object> js_result = Nan::New<Function>(ODBCConnection::constructor)->NewInstance(2, info);
^
In file included from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:4099:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Function::NewInstance(v8::Localv8::Context, int, v8::Localv8::Value) const’
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8.h:4099:44: note: candidate expects 3 arguments, 2 provided
/home/panda/.node-gyp/11.0.0/include/node/v8.h:4102:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Function::NewInstance(v8::Localv8::Context) const’
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8.h:4102:44: note: candidate expects 1 argument, 2 provided
…/src/odbc.cpp:222:27: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->cb->Call(2, info);
^
In file included from …/src/odbc.h:23,
from …/src/odbc.cpp:28:
…/node_modules/nan/nan.h:1647:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/odbc.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE ODBC::CreateConnectionSync(Nan::NAN_METHOD_ARGS_TYPE)’:
…/src/odbc.cpp:262:99: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Localv8::Value [2])’
Local<Object> js_result = Nan::New<Function>(ODBCConnection::constructor)->NewInstance(2, params);
^
In file included from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:4099:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Function::NewInstance(v8::Localv8::Context, int, v8::Localv8::Value) const’
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8.h:4099:44: note: candidate expects 3 arguments, 2 provided
/home/panda/.node-gyp/11.0.0/include/node/v8.h:4102:44: note: candidate: ‘v8::MaybeLocalv8::Object v8::Function::NewInstance(v8::Localv8::Context) const’
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8.h:4102:44: note: candidate expects 1 argument, 2 provided
…/src/odbc.cpp: In static member function ‘static v8::Handlev8::Value ODBC::GetColumnValue(SQLHSTMT, Column, uint16_t*, int)’:
…/src/odbc.cpp:669:27: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
fprintf(stdout, “Invalid Handle: SQLGetData retrun code = %i, stmt handle = %i:%i”
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
“, columnType = %i, index = %i\n”, ret, (long)(hStmt) >> 16 & 0x0000ffff,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/src/odbc.cpp:669:27: warning: format ‘%i’ expects argument of type ‘int’, but argument 5 has type ‘long int’ [-Wformat=]
…/src/odbc.cpp: In static member function ‘static Parameter* ODBC::GetParametersFromArray(v8::Localv8::Array, int*)’:
…/src/odbc.cpp:912:51: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
params[i].paramtype = val->IntegerValue();
^
In file included from /home/panda/.node-gyp/11.0.0/include/node/v8.h:26,
from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:2570:46: note: declared here
V8_DEPRECATED(“Use maybe version”, int64_t IntegerValue() const);
^~~~~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
…/src/odbc.cpp:916:48: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
params[i].c_type = val->IntegerValue();
^
In file included from /home/panda/.node-gyp/11.0.0/include/node/v8.h:26,
from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:2570:46: note: declared here
V8_DEPRECATED(“Use maybe version”, int64_t IntegerValue() const);
^~~~~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
…/src/odbc.cpp:922:46: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
params[i].type = val->IntegerValue();
^
In file included from /home/panda/.node-gyp/11.0.0/include/node/v8.h:26,
from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:2570:46: note: declared here
V8_DEPRECATED(“Use maybe version”, int64_t IntegerValue() const);
^~~~~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
…/src/odbc.cpp:930:59: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
params[i].buffer_length = val->IntegerValue();
^
In file included from /home/panda/.node-gyp/11.0.0/include/node/v8.h:26,
from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:2570:46: note: declared here
V8_DEPRECATED(“Use maybe version”, int64_t IntegerValue() const);
^~~~~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
…/src/odbc.cpp: In static member function ‘static void ODBC::GetStringParam(v8::Localv8::Value, Parameter*, int)’:
…/src/odbc.cpp:972:44: warning: ‘v8::Localv8::String v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Local<String> string = value->ToString();
^
In file included from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:10242:15: note: declared here
Local<String> Value::ToString() const {
^~~~~
…/src/odbc.cpp:988:38: warning: ‘int v8::String::Utf8Length() const’ is deprecated: Use Isolate version instead [-Wdeprecated-declarations]
bufflen = string->Utf8Length() + 1;
^
In file included from /home/panda/.node-gyp/11.0.0/include/node/v8.h:26,
from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:2682:52: note: declared here
V8_DEPRECATED(“Use Isolate version instead”, int Utf8Length() const);
^~~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
…/src/odbc.cpp:1008:49: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
string->WriteUtf8((char ) param->buffer);
^
In file included from /home/panda/.node-gyp/11.0.0/include/node/v8.h:26,
from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:2754:21: note: declared here
int WriteUtf8(char buffer, int length = -1,
^~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
…/src/odbc.cpp:1015:54: warning: ‘int v8::String::WriteOneByte(uint8_t*, int, int, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
string->WriteOneByte((uint8_t )param->buffer);
^
In file included from /home/panda/.node-gyp/11.0.0/include/node/v8.h:26,
from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:2747:21: note: declared here
int WriteOneByte(uint8_t buffer, int start = 0,
^~~~~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
…/src/odbc.cpp:1023:49: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
string->WriteUtf8((char ) param->buffer);
^
In file included from /home/panda/.node-gyp/11.0.0/include/node/v8.h:26,
from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:2754:21: note: declared here
int WriteUtf8(char buffer, int length = -1,
^~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
…/src/odbc.cpp: In static member function ‘static void ODBC::GetInt32Param(v8::Localv8::Value, Parameter*, int)’:
…/src/odbc.cpp:1066:56: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int64_t number = new int64_t(value->IntegerValue());
^
In file included from /home/panda/.node-gyp/11.0.0/include/node/v8.h:26,
from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:2570:46: note: declared here
V8_DEPRECATED(“Use maybe version”, int64_t IntegerValue() const);
^~~~~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
…/src/odbc.cpp: In static member function ‘static void ODBC::GetNumberParam(v8::Localv8::Value, Parameter, int)’:
…/src/odbc.cpp:1082:54: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
double number = new double(value->NumberValue());
^
In file included from /home/panda/.node-gyp/11.0.0/include/node/v8.h:26,
from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:2569:45: note: declared here
V8_DEPRECATED(“Use maybe version”, double NumberValue() const);
^~~~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
…/src/odbc.cpp: In static member function ‘static void ODBC::GetBoolParam(v8::Localv8::Value, Parameter, int)’:
…/src/odbc.cpp:1103:53: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
bool boolean = new bool(value->BooleanValue());
^
In file included from /home/panda/.node-gyp/11.0.0/include/node/v8.h:26,
from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:2568:43: note: declared here
V8_DEPRECATED(“Use maybe version”, bool BooleanValue() const);
^~~~~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
…/src/odbc.cpp: In static member function ‘static v8::Localv8::Value ODBC::CallbackSQLError(SQLSMALLINT, SQLHANDLE, char, Nan::Callback*)’:
…/src/odbc.cpp:1194:19: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
cb->Call(1, info);
^
In file included from …/src/odbc.h:23,
from …/src/odbc.cpp:28:
…/node_modules/nan/nan.h:1647:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/odbc.cpp: In static member function ‘static v8::Localv8::Value ODBC::GetSQLError(SQLSMALLINT, SQLHANDLE, char)’:
…/src/odbc.cpp:1258:87: error: no matching function for call to ‘v8::Object::SetPrototype(v8::Localv8::Value)’
objError->SetPrototype(Exception::Error(Nan::New(errorMessage).ToLocalChecked()));
^
In file included from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h:3548:37: note: candidate: ‘v8::Maybe<bool> v8::Object::SetPrototype(v8::Localv8::Context, v8::Localv8::Value)’
V8_WARN_UNUSED_RESULT Maybe<bool> SetPrototype(Local<Context> context,
^~~~~~~~~~~~
/home/panda/.node-gyp/11.0.0/include/node/v8.h:3548:37: note: candidate expects 2 arguments, 1 provided
In file included from …/src/odbc.cpp:23:
…/src/odbc.cpp: At global scope:
/home/panda/.node-gyp/11.0.0/include/node/node.h:494:43: warning: cast between incompatible function types from ‘void ()(v8::Handlev8::Object)’ {aka ‘void ()(v8::Localv8::Object)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc),
^
/home/panda/.node-gyp/11.0.0/include/node/node.h:528:3: note: in expansion of macro ‘NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
…/src/odbc.cpp:1348:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(odbc_bindings, init)
^~~~~~~~~~~
In file included from …/src/odbc.cpp:22:
/home/panda/.node-gyp/11.0.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo
::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo
::Callback = void ()(const v8::WeakCallbackInfonode::ObjectWrap&)]’: /home/panda/.node-gyp/11.0.0/include/node/node_object_wrap.h:85:78: required from here /home/panda/.node-gyp/11.0.0/include/node/v8.h:9701:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfonode::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/panda/.node-gyp/11.0.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P, typename v8::WeakCallbackInfo
::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo
::Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]’:
…/node_modules/nan/nan_object_wrap.h:66:61: required from here
/home/panda/.node-gyp/11.0.0/include/node/v8.h:9701:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfoNan::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
…/src/odbc.cpp: In static member function ‘static v8::Handlev8::Value ODBC::GetColumnValue(SQLHSTMT, Column, uint16_t, int)’:
…/src/odbc.cpp:562:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if((int) column.type == SQL_NUMERIC)
^~
…/src/odbc.cpp:564:5: note: here
case SQL_DECIMAL :
^~~~
…/src/odbc.cpp:565:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if((int) column.type == SQL_DECIMAL)
^~
…/src/odbc.cpp:567:5: note: here
case SQL_BIGINT :
^~~~
…/src/odbc.cpp:568:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if((int) column.type == SQL_BIGINT)
^~
…/src/odbc.cpp:570:5: note: here
case SQL_DBCLOB:
^~~~
…/src/odbc.cpp:571:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if((int) column.type == SQL_DBCLOB)
^~
…/src/odbc.cpp:577:5: note: here
case SQL_BLOB :
^~~~
…/src/odbc.cpp:578:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if((int) column.type == SQL_BLOB)
^~
…/src/odbc.cpp:584:5: note: here
default :
^~~~~~~
…/src/odbc.cpp: In static member function ‘static v8::Handlev8::Value ODBC::GetOutputParameter(Parameter)’:
…/src/odbc.cpp:699:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if((int) prm.type == SQL_NUMERIC)
^~
…/src/odbc.cpp:701:5: note: here
case SQL_BIGINT :
^~~~
…/src/odbc.cpp:745:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if((int) prm.type == SQL_DECIMAL)
^~
…/src/odbc.cpp:747:5: note: here
case SQL_FLOAT :
^~~~
…/src/odbc.cpp:790:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if((int) prm.type == SQL_DBCLOB)
^~
…/src/odbc.cpp:794:5: note: here
case SQL_BLOB :
^~~~
…/src/odbc.cpp:795:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if((int) prm.type == SQL_BLOB)
^~
…/src/odbc.cpp:799:5: note: here
default :
^~~~~~~
make: *** [odbc_bindings.target.mk:108: Release/obj.target/odbc_bindings/src/odbc.o] Error 1
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.18.16-300.fc29.x86_64
gyp ERR! command “/usr/bin/node” “/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “configure” “build” “–IS_DOWNLOADED=true” “–IBM_DB_HOME=/home/panda/src/git/node-ibm_db/installer/clidriver”
gyp ERR! cwd /home/panda/src/git/node-ibm_db
gyp ERR! node -v v11.0.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
at ChildProcess.exithandler (child_process.js:289:12)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
killed: false,
code: 1,
signal: null,
cmd:
‘node-gyp configure build --IS_DOWNLOADED=true --IBM_DB_HOME=“$IBM_DB_HOME”’ }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ibm_db@2.4.1 install: node installer/driverInstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ibm_db@2.4.1 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/panda/.npm/_logs/2018-11-01T22_50_30_139Z-debug.log
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (8 by maintainers)
ibm_db@2.5.0 compiles with node.js v10.x and v11.x. Thanks.