npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 536 | sizeof(psTableDef->szTableName), "%s.%s", szNewName, szOldExt); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/avc/ogravcbinlayer.cpp: In member function ‘int OGRAVCBinLayer::CheckSetupTable()’: npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/avc/ogravcbinlayer.cpp:343:52: warning: ‘%s’ directive output may be truncated writing up to 127 bytes into a region of size 65 [-Wformat-truncation=] npm ERR! 343 | snprintf( szPaddedName, sizeof(szPaddedName), "%s%32s", szTableName, " " ); npm ERR! | ^~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/avc/ogravcbinlayer.cpp:343:13: note: ‘snprintf’ output between 33 and 160 bytes into a destination of size 65 npm ERR! 343 | snprintf( szPaddedName, sizeof(szPaddedName), "%s%32s", szTableName, " " ); npm ERR! | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/geojson/libjson/json_object.c: In function ‘gdal_json_object_get_int64’: npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/geojson/libjson/json_object.c:550:12: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 550 | if (json_parse_int64(jso->o.c_string.str, &cint) == 0) return cint; npm ERR! | ^ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/geojson/libjson/json_object.c:551:3: note: here npm ERR! 551 | default: npm ERR! | ^~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/mitab/mitab_miffile.cpp: In member function ‘virtual OGRErr MIFFile::GetExtent(OGREnvelope*, int)’: npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/mitab/mitab_miffile.cpp:2266:21: warning: implicitly-declared ‘constexpr OGREnvelope& OGREnvelope::operator=(const OGREnvelope&)’ is deprecated [-Wdeprecated-copy] npm ERR! 2266 | *psExtent = m_sExtents; npm ERR! | ^~~~~~~~~~ npm ERR! In file included from ../deps/libgdal/gdal/ogr/ogr_geometry.h:35, npm ERR! from ../deps/libgdal/gdal/ogr/ogr_feature.h:34, npm ERR! from ../deps/libgdal/gdal/ogr/ogrsf_frmts/mitab/mitab_priv.h:185, npm ERR! from ../deps/libgdal/gdal/ogr/ogrsf_frmts/mitab/mitab.h:119, npm ERR! from ../deps/libgdal/gdal/ogr/ogrsf_frmts/mitab/mitab_miffile.cpp:197: npm ERR! ../deps/libgdal/gdal/ogr/ogr_core.h:55:9: note: because ‘OGREnvelope’ has user-provided ‘OGREnvelope::OGREnvelope(const OGREnvelope&)’ npm ERR! 55 | OGREnvelope(const OGREnvelope& oOther) : npm ERR! | ^~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/mitab/mitab_spatialref.cpp: In static member function ‘static OGRSpatialReference* TABFile::GetSpatialRefFromTABProj(const TABProjInfo&)’: npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/mitab/mitab_spatialref.cpp:1329:71: warning: ‘%.15g’ directive output may be truncated writing between 1 and 22 bytes into a region of size between 9 and 137 [-Wformat-truncation=] npm ERR! 1329 | "MIF 9999,%d,%.15g,%.15g,%.15g,%.15g,%.15g,%.15g,%.15g,%.15g", npm ERR! | ^~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/mitab/mitab_spatialref.cpp:1329:22: note: assuming directive output of 21 bytes npm ERR! 1329 | "MIF 9999,%d,%.15g,%.15g,%.15g,%.15g,%.15g,%.15g,%.15g,%.15g", npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/mitab/mitab_spatialref.cpp:1329:22: note: assuming directive output of 21 bytes npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/mitab/mitab_spatialref.cpp:1328:21: note: ‘snprintf’ output between 27 and 197 bytes into a destination of size 160 npm ERR! 1328 | snprintf( szDatumName, sizeof(szDatumName), npm ERR! | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 1329 | "MIF 9999,%d,%.15g,%.15g,%.15g,%.15g,%.15g,%.15g,%.15g,%.15g", npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 1330 | sTABProj.nEllipsoidId, npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 1331 | sTABProj.dDatumShiftX, npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 1332 | sTABProj.dDatumShiftY, npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 1333 | sTABProj.dDatumShiftZ, npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 1334 | sTABProj.adDatumParams[0], npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 1335 | sTABProj.adDatumParams[1], npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 1336 | sTABProj.adDatumParams[2], npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 1337 | sTABProj.adDatumParams[3], npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 1338 | sTABProj.adDatumParams[4] ); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/gmt/ogrgmtlayer.cpp: In member function ‘virtual OGRErr OGRGmtLayer::GetExtent(OGREnvelope*, int)’: npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/gmt/ogrgmtlayer.cpp:1004:21: warning: implicitly-declared ‘constexpr OGREnvelope& OGREnvelope::operator=(const OGREnvelope&)’ is deprecated [-Wdeprecated-copy] npm ERR! 1004 | *psExtent = sRegion; npm ERR! | ^~~~~~~ npm ERR! In file included from ../deps/libgdal/gdal/ogr/ogr_geometry.h:35, npm ERR! from ../deps/libgdal/gdal/ogr/ogr_feature.h:34, npm ERR! from ../deps/libgdal/gdal/ogr/ogrsf_frmts/ogrsf_frmts.h:35, npm ERR! from ../deps/libgdal/gdal/ogr/ogrsf_frmts/gmt/ogr_gmt.h:33, npm ERR! from ../deps/libgdal/gdal/ogr/ogrsf_frmts/gmt/ogrgmtlayer.cpp:30: npm ERR! ../deps/libgdal/gdal/ogr/ogr_core.h:55:9: note: because ‘OGREnvelope’ has user-provided ‘OGREnvelope::OGREnvelope(const OGREnvelope&)’ npm ERR! 55 | OGREnvelope(const OGREnvelope& oOther) : npm ERR! | ^~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/gtm/gtmtracklayer.cpp: In member function ‘void GTMTrackLayer::WriteFeatureAttributes(OGRFeature*)’: npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/gtm/gtmtracklayer.cpp:164:12: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] npm ERR! 164 | strncpy((char*)pBufferAux, psztrackname, trackNameLength); npm ERR! | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/gtm/gtmtracklayer.cpp:154:42: note: length computed here npm ERR! 154 | const size_t trackNameLength = strlen(psztrackname); npm ERR! | ~~~~~~^~~~~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/gtm/gtmwaypointlayer.cpp: In member function ‘void GTMWaypointLayer::WriteFeatureAttributes(OGRFeature*, float)’: npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/gtm/gtmwaypointlayer.cpp:186:12: warning: ‘char* strncpy(char*, const char*, size_t)’ output may be truncated copying 10 bytes from a string of length 10 [-Wstringop-truncation] npm ERR! 186 | strncpy((char*)pBufferAux, psNameField, 10); npm ERR! | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/gtm/gtmwaypointlayer.cpp:193:12: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] npm ERR! 193 | strncpy((char*)pBuffer+12, pszcomment, commentLength); npm ERR! | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/gtm/gtmwaypointlayer.cpp:180:40: note: length computed here npm ERR! 180 | const size_t commentLength = strlen(pszcomment); npm ERR! | ~~~~~~^~~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/openfilegdb/filegdbtable.cpp: In member function ‘virtual OGRGeometry* OpenFileGDB::FileGDBOGRGeometryConverterImpl::GetAsGeometry(const OGRField*)’: npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/openfilegdb/filegdbtable.cpp:2411:19: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 2411 | bHasZ = TRUE; /* go on */ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/openfilegdb/filegdbtable.cpp:2413:9: note: here npm ERR! 2413 | case SHPT_POINT: npm ERR! | ^~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/openfilegdb/filegdbtable.cpp:2457:19: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 2457 | bHasZ = TRUE; /* go on */ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/openfilegdb/filegdbtable.cpp:2459:9: note: here npm ERR! 2459 | case SHPT_MULTIPOINT: npm ERR! | ^~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/openfilegdb/filegdbtable.cpp:2524:19: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 2524 | bHasZ = TRUE; /* go on */ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/openfilegdb/filegdbtable.cpp:2526:9: note: here npm ERR! 2526 | case SHPT_ARC: npm ERR! | ^~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/openfilegdb/filegdbtable.cpp:2642:19: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 2642 | bHasZ = TRUE; /* go on */ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/openfilegdb/filegdbtable.cpp:2644:9: note: here npm ERR! 2644 | case SHPT_POLYGON: npm ERR! | ^~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/openfilegdb/filegdbtable.cpp:2823:19: warning: this statement may fall through [-Wimplicit-fallthrough=] npm ERR! 2823 | bHasZ = TRUE; /* go on */ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/openfilegdb/filegdbtable.cpp:2825:9: note: here npm ERR! 2825 | case SHPT_GENERALMULTIPATCH: npm ERR! | ^~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/rec/ll_recio.cpp: In function ‘int RECReadRecord(FILE*, char*, int)’: npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/rec/ll_recio.cpp:183:16: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound depends on the length of the source argument [-Wstringop-truncation] npm ERR! 183 | strncpy( pszRecord+nDataLen, pszLine, iSegLen ); npm ERR! | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/rec/ll_recio.cpp:156:30: note: length computed here npm ERR! 156 | iSegLen = (int)strlen(pszLine); npm ERR! | ~~~~~~^~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/rec/ogrreclayer.cpp: In member function ‘OGRFeature* OGRRECLayer::GetNextUnfilteredFeature()’: npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/rec/ogrreclayer.cpp:226:16: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound depends on the length of the source argument [-Wstringop-truncation] npm ERR! 226 | strncpy( pszRecord+nDataLen, pszLine, iSegLen ); npm ERR! | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/rec/ogrreclayer.cpp:197:46: note: length computed here npm ERR! 197 | int iSegLen = static_cast(strlen(pszLine)); npm ERR! | ~~~~~~^~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/s57/ogrs57datasource.cpp: In member function ‘OGRErr OGRS57DataSource::GetDSExtent(OGREnvelope*, int)’: npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/s57/ogrs57datasource.cpp:420:21: warning: implicitly-declared ‘constexpr OGREnvelope& OGREnvelope::operator=(const OGREnvelope&)’ is deprecated [-Wdeprecated-copy] npm ERR! 420 | *psExtent = oExtents; npm ERR! | ^~~~~~~~ npm ERR! In file included from ../deps/libgdal/gdal/ogr/ogr_geometry.h:35, npm ERR! from ../deps/libgdal/gdal/ogr/ogr_feature.h:34, npm ERR! from ../deps/libgdal/gdal/ogr/ogrsf_frmts/ogrsf_frmts.h:35, npm ERR! from ../deps/libgdal/gdal/ogr/ogrsf_frmts/s57/ogr_s57.h:34, npm ERR! from ../deps/libgdal/gdal/ogr/ogrsf_frmts/s57/ogrs57datasource.cpp:33: npm ERR! ../deps/libgdal/gdal/ogr/ogr_core.h:55:9: note: because ‘OGREnvelope’ has user-provided ‘OGREnvelope::OGREnvelope(const OGREnvelope&)’ npm ERR! 55 | OGREnvelope(const OGREnvelope& oOther) : npm ERR! | ^~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/s57/ogrs57datasource.cpp:440:24: warning: implicitly-declared ‘constexpr OGREnvelope& OGREnvelope::operator=(const OGREnvelope&)’ is deprecated [-Wdeprecated-copy] npm ERR! 440 | oExtents = oModuleEnvelope; npm ERR! | ^~~~~~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogr_core.h:55:9: note: because ‘OGREnvelope’ has user-provided ‘OGREnvelope::OGREnvelope(const OGREnvelope&)’ npm ERR! 55 | OGREnvelope(const OGREnvelope& oOther) : npm ERR! | ^~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/s57/ogrs57datasource.cpp:450:17: warning: implicitly-declared ‘constexpr OGREnvelope& OGREnvelope::operator=(const OGREnvelope&)’ is deprecated [-Wdeprecated-copy] npm ERR! 450 | *psExtent = oExtents; npm ERR! | ^~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogr_core.h:55:9: note: because ‘OGREnvelope’ has user-provided ‘OGREnvelope::OGREnvelope(const OGREnvelope&)’ npm ERR! 55 | OGREnvelope(const OGREnvelope& oOther) : npm ERR! | ^~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/s57/s57reader.cpp: In member function ‘int S57Reader::FindAndApplyUpdates(const char*)’: npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/s57/s57reader.cpp:3291:42: warning: ‘%i’ directive output may be truncated writing between 2 and 10 bytes into a region of size 4 [-Wformat-truncation=] npm ERR! 3291 | snprintf( buf, sizeof(buf), "%i", iUpdate ); npm ERR! | ^~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/s57/s57reader.cpp:3291:41: note: directive argument in the range [10, 2147483647] npm ERR! 3291 | snprintf( buf, sizeof(buf), "%i", iUpdate ); npm ERR! | ^~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/s57/s57reader.cpp:3291:21: note: ‘snprintf’ output between 3 and 11 bytes into a destination of size 4 npm ERR! 3291 | snprintf( buf, sizeof(buf), "%i", iUpdate ); npm ERR! | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/s57/s57reader.cpp:3283:42: warning: ‘%i’ directive output may be truncated writing between 2 and 10 bytes into a region of size 3 [-Wformat-truncation=] npm ERR! 3283 | snprintf( buf, sizeof(buf), "%i", iUpdate ); npm ERR! | ^~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/s57/s57reader.cpp:3283:41: note: directive argument in the range [10, 2147483647] npm ERR! 3283 | snprintf( buf, sizeof(buf), "%i", iUpdate ); npm ERR! | ^~~~ npm ERR! ../deps/libgdal/gdal/ogr/ogrsf_frmts/s57/s57reader.cpp:3283:21: note: ‘snprintf’ output between 3 and 11 bytes into a destination of size 3 npm ERR! 3283 | snprintf( buf, sizeof(buf), "%i", iUpdate ); npm ERR! | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from ../../nan/nan_converters.h:67, npm ERR! from ../../nan/nan.h:202, npm ERR! from ../src/utils/fast_buffer.hpp:11, npm ERR! from ../src/utils/fast_buffer.cpp:4: npm ERR! ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase::return_t Nan::imp::ToFactory::convert(v8::Local)’: npm ERR! ../../nan/nan_converters_43_inl.h:18:49: error: cannot convert ‘v8::Local’ to ‘v8::Isolate*’ npm ERR! 18 | val->To ## TYPE(isolate->GetCurrentContext()) \ npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ npm ERR! | | npm ERR! | v8::Local npm ERR! ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’ npm ERR! 22 | X(Boolean) npm ERR! | ^ npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-primitive.h:11, npm ERR! from /usr/include/nodejs/deps/v8/include/v8-object.h:11, npm ERR! from /usr/include/nodejs/deps/v8/include/v8-array-buffer.h:13, npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:24, npm ERR! from /usr/include/nodejs/src/node.h:73, npm ERR! from ../src/utils/fast_buffer.hpp:5: npm ERR! /usr/include/nodejs/deps/v8/include/v8-value.h:398:37: note: initializing argument 1 of ‘v8::Local v8::Value::ToBoolean(v8::Isolate*) const’ npm ERR! 398 | Local ToBoolean(Isolate* isolate) const; npm ERR! | ~~~~~~~~~^~~~~~~ npm ERR! ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase::return_t Nan::imp::ToFactory::convert(v8::Local)’: npm ERR! ../../nan/nan_converters_43_inl.h:37:55: error: cannot convert ‘v8::Local’ to ‘v8::Isolate*’ npm ERR! 37 | return val->NAME ## Value(isolate->GetCurrentContext()); \ npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ npm ERR! | | npm ERR! | v8::Local npm ERR! ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’ npm ERR! 40 | X(bool, Boolean) npm ERR! | ^ npm ERR! /usr/include/nodejs/deps/v8/include/v8-value.h:408:30: note: initializing argument 1 of ‘bool v8::Value::BooleanValue(v8::Isolate*) const’ npm ERR! 408 | bool BooleanValue(Isolate* isolate) const; npm ERR! | ~~~~~~~~~^~~~~~~ npm ERR! In file included from ../../nan/nan_new.h:189, npm ERR! from ../../nan/nan.h:203: npm ERR! ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(Nan::FunctionCallback, v8::Local)’: npm ERR! ../../nan/nan_implementation_12_inl.h:103:42: error: cannot convert ‘v8::Isolate*’ to ‘v8::Local’ npm ERR! 103 | return scope.Escape(v8::Function::New( isolate npm ERR! | ^~~~~~~ npm ERR! | | npm ERR! | v8::Isolate* npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8.h:33: npm ERR! /usr/include/nodejs/deps/v8/include/v8-function.h:33:22: note: initializing argument 1 of ‘static v8::MaybeLocal v8::Function::New(v8::Local, v8::FunctionCallback, v8::Local, int, v8::ConstructorBehavior, v8::SideEffectType)’ npm ERR! 33 | Local context, FunctionCallback callback, npm ERR! | ~~~~~~~~~~~~~~~^~~~~~~ npm ERR! ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(v8::Local)’: npm ERR! ../../nan/nan_implementation_12_inl.h:337:31: error: no matching function for call to ‘v8::StringObject::New(v8::Local&)’ npm ERR! 337 | return v8::StringObject::New(value).As(); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8.h:47: npm ERR! /usr/include/nodejs/deps/v8/include/v8-primitive-object.h:81:23: note: candidate: ‘static v8::Local v8::StringObject::New(v8::Isolate*, v8::Local)’ npm ERR! 81 | static Local New(Isolate* isolate, Local value); npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-primitive-object.h:81:23: note: candidate expects 2 arguments, 1 provided npm ERR! ../../nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token npm ERR! 337 | return v8::StringObject::New(value).As(); npm ERR! | ^ npm ERR! ../../nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ‘)’ token npm ERR! 337 | return v8::StringObject::New(value).As(); npm ERR! | ^ npm ERR! ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local)’: npm ERR! ../../nan/nan.h:1034:52: error: no matching function for call to ‘v8::Value::ToString()’ npm ERR! 1034 | v8::Local string = from->ToString(); npm ERR! | ~~~~~~~~~~~~~~^~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-value.h:360:44: note: candidate: ‘v8::MaybeLocal v8::Value::ToString(v8::Local) const’ npm ERR! 360 | V8_WARN_UNUSED_RESULT MaybeLocal ToString( npm ERR! | ^~~~~~~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-value.h:360:44: note: candidate expects 1 argument, 0 provided npm ERR! ../../nan/nan.h:1044:37: error: cannot convert ‘char*’ to ‘v8::Isolate*’ npm ERR! 1044 | length_ = string->WriteUtf8(str_, static_cast(len), 0, flags); npm ERR! | ^~~~ npm ERR! | | npm ERR! | char* npm ERR! /usr/include/nodejs/deps/v8/include/v8-primitive.h:202:26: note: initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ npm ERR! 202 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, npm ERR! | ~~~~~~~~~^~~~~~~ npm ERR! ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local&)’: npm ERR! ../../nan/nan.h:1818:31: error: no matching function for call to ‘v8::Object::Set(v8::Local, const v8::Local&)’ npm ERR! 1818 | New(persistentHandle)->Set(New(key).ToLocalChecked(), value); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ npm ERR! 244 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: candidate expects 3 arguments, 2 provided npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:247:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ npm ERR! 247 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:247:37: note: candidate expects 3 arguments, 2 provided npm ERR! ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local&, const v8::Local&)’: npm ERR! ../../nan/nan.h:1824:31: error: no matching function for call to ‘v8::Object::Set(const v8::Local&, const v8::Local&)’ npm ERR! 1824 | New(persistentHandle)->Set(key, value); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ npm ERR! 244 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: candidate expects 3 arguments, 2 provided npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:247:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ npm ERR! 247 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:247:37: note: candidate expects 3 arguments, 2 provided npm ERR! ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local&)’: npm ERR! ../../nan/nan.h:1830:31: error: no matching function for call to ‘v8::Object::Set(uint32_t&, const v8::Local&)’ npm ERR! 1830 | New(persistentHandle)->Set(index, value); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)’ npm ERR! 244 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: candidate expects 3 arguments, 2 provided npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:247:37: note: candidate: ‘v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)’ npm ERR! 247 | V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:247:37: note: candidate expects 3 arguments, 2 provided npm ERR! ../../nan/nan.h: In member function ‘v8::Local Nan::AsyncWorker::GetFromPersistent(const char*) const’: npm ERR! ../../nan/nan.h:1836:35: error: no matching function for call to ‘v8::Object::Get(v8::Local)’ npm ERR! 1836 | New(persistentHandle)->Get(New(key).ToLocalChecked())); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:290:43: note: candidate: ‘v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local)’ npm ERR! 290 | V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:290:43: note: candidate expects 2 arguments, 1 provided npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:293:43: note: candidate: ‘v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t)’ npm ERR! 293 | V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:293:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../../nan/nan.h: In member function ‘v8::Local Nan::AsyncWorker::GetFromPersistent(const v8::Local&) const’: npm ERR! ../../nan/nan.h:1842:51: error: no matching function for call to ‘v8::Object::Get(const v8::Local&)’ npm ERR! 1842 | return scope.Escape(New(persistentHandle)->Get(key)); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:290:43: note: candidate: ‘v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local)’ npm ERR! 290 | V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:290:43: note: candidate expects 2 arguments, 1 provided npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:293:43: note: candidate: ‘v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t)’ npm ERR! 293 | V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:293:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../../nan/nan.h: In member function ‘v8::Local Nan::AsyncWorker::GetFromPersistent(uint32_t) const’: npm ERR! ../../nan/nan.h:1847:51: error: no matching function for call to ‘v8::Object::Get(uint32_t&)’ npm ERR! 1847 | return scope.Escape(New(persistentHandle)->Get(index)); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:290:43: note: candidate: ‘v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local)’ npm ERR! 290 | V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:290:43: note: candidate expects 2 arguments, 1 provided npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:293:43: note: candidate: ‘v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t)’ npm ERR! 293 | V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:293:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(AsyncWorker*)’: npm ERR! ../../nan/nan.h:2167:7: 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] npm ERR! 2167 | , reinterpret_cast(AsyncExecuteComplete) npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! ../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local, v8::Local, GetterCallback, SetterCallback, v8::Local, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’: npm ERR! ../../nan/nan.h:2405:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local, v8::AccessControl, v8::PropertyAttribute, v8::Local, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations] npm ERR! 2405 | tpl->SetAccessor( npm ERR! | ~~~~~~~~~~~~~~~~^ npm ERR! 2406 | name npm ERR! | ~~~~ npm ERR! 2407 | , getter_ npm ERR! | ~~~~~~~~~ npm ERR! 2408 | , setter_ npm ERR! | ~~~~~~~~~ npm ERR! 2409 | , obj npm ERR! | ~~~~~ npm ERR! 2410 | , settings npm ERR! | ~~~~~~~~~~ npm ERR! 2411 | , attribute npm ERR! | ~~~~~~~~~~~ npm ERR! 2412 | , signature); npm ERR! | ~~~~~~~~~~~~ npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15: npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here npm ERR! 838 | void SetAccessor( npm ERR! | ^~~~~~~~~~~ npm ERR! In file included from ../../nan/nan.h:2657: npm ERR! ../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’: npm ERR! ../../nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent’ has no member named ‘MarkIndependent’ npm ERR! 67 | persistent().MarkIndependent(); npm ERR! | ^~~~~~~~~~~~~~~ npm ERR! In file included from ../../nan/nan.h:2753: npm ERR! ../../nan/nan_typedarray_contents.h: In constructor ‘Nan::TypedArrayContents::TypedArrayContents(v8::Local)’: npm ERR! ../../nan/nan_typedarray_contents.h:34:43: error: ‘class v8::ArrayBuffer’ has no member named ‘GetContents’ npm ERR! 34 | data = static_cast(buffer->GetContents().Data()) + byte_offset; npm ERR! | ^~~~~~~~~~~ npm ERR! ../src/utils/fast_buffer.cpp: In static member function ‘static v8::Local FastBuffer::New(unsigned char*, int)’: npm ERR! ../src/utils/fast_buffer.cpp:15:59: error: no matching function for call to ‘v8::Object::Get(v8::Local)’ npm ERR! 15 | Local bufferConstructor = globalObj->Get(Nan::New("Buffer").ToLocalChecked()).As(); npm ERR! | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:290:43: note: candidate: ‘v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local)’ npm ERR! 290 | V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:290:43: note: candidate expects 2 arguments, 1 provided npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:293:43: note: candidate: ‘v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t)’ npm ERR! 293 | V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, npm ERR! | ^~~ npm ERR! /usr/include/nodejs/deps/v8/include/v8-object.h:293:43: note: candidate expects 2 arguments, 1 provided npm ERR! ../src/utils/fast_buffer.cpp:15:108: error: expected primary-expression before ‘>’ token npm ERR! 15 | Local bufferConstructor = globalObj->Get(Nan::New("Buffer").ToLocalChecked()).As(); npm ERR! | ^ npm ERR! ../src/utils/fast_buffer.cpp:15:110: error: expected primary-expression before ‘)’ token npm ERR! 15 | Local bufferConstructor = globalObj->Get(Nan::New("Buffer").ToLocalChecked()).As(); npm ERR! | ^ npm ERR! make: *** [gdal.target.mk:171: Release/obj.target/gdal/src/utils/fast_buffer.o] Błąd 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/share/nodejs/node-gyp/lib/build.js:203:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! gyp ERR! System Linux 6.1.0-10-amd64 npm ERR! gyp ERR! command "/usr/bin/node" "/usr/share/nodejs/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/k4be/.local/lib/node_modules/dem-iron/node_modules/gdal/lib/binding/node-v108-linux-x64/gdal.node" "--module_name=gdal" "--module_path=/home/k4be/.local/lib/node_modules/dem-iron/node_modules/gdal/lib/binding/node-v108-linux-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v108" npm ERR! gyp ERR! cwd /home/k4be/.local/lib/node_modules/dem-iron/node_modules/gdal npm ERR! gyp ERR! node -v v18.13.0 npm ERR! gyp ERR! node-gyp -v v9.3.0 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /home/k4be/.npm/_logs/2023-07-25T12_31_46_092Z-debug-0.log