- # npm install -g gdal --build-from-source --shared_gdal
- npm ERR! code 1
- npm ERR! path /usr/local/lib/node_modules/gdal
- npm ERR! command failed
- npm ERR! command sh -c node-pre-gyp install --fallback-to-build
- npm ERR! make: Wejście do katalogu '/usr/local/lib/node_modules/gdal/build'
- npm ERR! CXX(target) Release/obj.target/gdal/src/utils/typed_array.o
- npm ERR! CXX(target) Release/obj.target/gdal/src/utils/string_list.o
- npm ERR! CXX(target) Release/obj.target/gdal/src/utils/number_list.o
- npm ERR! CXX(target) Release/obj.target/gdal/src/utils/warp_options.o
- npm ERR! CXX(target) Release/obj.target/gdal/src/utils/ptr_manager.o
- npm ERR! CXX(target) Release/obj.target/gdal/src/node_gdal.o
- npm ERR! CXX(target) Release/obj.target/gdal/src/gdal_common.o
- npm ERR! CXX(target) Release/obj.target/gdal/src/gdal_dataset.o
- npm ERR! CXX(target) Release/obj.target/gdal/src/gdal_driver.o
- npm ERR! CXX(target) Release/obj.target/gdal/src/gdal_rasterband.o
- npm ERR! CXX(target) Release/obj.target/gdal/src/gdal_majorobject.o
- npm ERR! CXX(target) Release/obj.target/gdal/src/gdal_feature.o
- npm ERR! CXX(target) Release/obj.target/gdal/src/gdal_feature_defn.o
- npm ERR! CXX(target) Release/obj.target/gdal/src/gdal_field_defn.o
- npm ERR! CXX(target) Release/obj.target/gdal/src/gdal_geometry.o
- npm ERR! make: Opuszczenie katalogu '/usr/local/lib/node_modules/gdal/build'
- npm ERR! Failed to execute '/usr/bin/node /usr/share/nodejs/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/gdal/lib/binding/gdal.node --module_name=gdal --module_path=/usr/local/lib/node_modules/gdal/lib/binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1)
- npm ERR! node-pre-gyp info it worked if it ends with ok
- npm ERR! node-pre-gyp info using node-pre-gyp@1.0.11
- npm ERR! node-pre-gyp info using node@18.13.0 | linux | x64
- npm ERR! node-pre-gyp info build requesting source compile
- npm ERR! gyp info it worked if it ends with ok
- npm ERR! gyp info using node-gyp@9.3.0
- npm ERR! gyp info using node@18.13.0 | linux | x64
- npm ERR! gyp info ok
- npm ERR! gyp info it worked if it ends with ok
- npm ERR! gyp info using node-gyp@9.3.0
- npm ERR! gyp info using node@18.13.0 | linux | x64
- npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
- npm ERR! gyp info spawn /usr/bin/python3
- npm ERR! gyp info spawn args [
- npm ERR! gyp info spawn args '/usr/share/nodejs/node-gyp/gyp/gyp_main.py',
- npm ERR! gyp info spawn args 'binding.gyp',
- npm ERR! gyp info spawn args '-f',
- npm ERR! gyp info spawn args 'make',
- npm ERR! gyp info spawn args '-I',
- npm ERR! gyp info spawn args '/usr/local/lib/node_modules/gdal/build/config.gypi',
- npm ERR! gyp info spawn args '-I',
- npm ERR! gyp info spawn args '/usr/local/lib/node_modules/gdal/common.gypi',
- npm ERR! gyp info spawn args '-I',
- npm ERR! gyp info spawn args '/usr/share/nodejs/node-gyp/addon.gypi',
- npm ERR! gyp info spawn args '-I',
- npm ERR! gyp info spawn args '/usr/include/nodejs/common.gypi',
- npm ERR! gyp info spawn args '-Dlibrary=shared_library',
- npm ERR! gyp info spawn args '-Dvisibility=default',
- npm ERR! gyp info spawn args '-Dnode_root_dir=/usr/include/nodejs',
- npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/share/nodejs/node-gyp',
- npm ERR! gyp info spawn args '-Dnode_lib_file=/usr/include/nodejs/<(target_arch)/node.lib',
- npm ERR! gyp info spawn args '-Dmodule_root_dir=/usr/local/lib/node_modules/gdal',
- npm ERR! gyp info spawn args '-Dnode_engine=v8',
- npm ERR! gyp info spawn args '--depth=.',
- npm ERR! gyp info spawn args '--no-parallel',
- npm ERR! gyp info spawn args '--generator-output',
- npm ERR! gyp info spawn args 'build',
- npm ERR! gyp info spawn args '-Goutput_dir=.'
- npm ERR! gyp info spawn args ]
- npm ERR! gyp info ok
- npm ERR! gyp info it worked if it ends with ok
- npm ERR! gyp info using node-gyp@9.3.0
- npm ERR! gyp info using node@18.13.0 | linux | x64
- npm ERR! gyp info spawn make
- npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
- npm ERR! In file included from ../src/utils/typed_array.hpp:11,
- npm ERR! from ../src/utils/typed_array.cpp:1:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../src/utils/typed_array.hpp:5:
- 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 ../src/utils/string_list.hpp:11,
- npm ERR! from ../src/utils/string_list.cpp:1:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../src/utils/string_list.hpp:6:
- 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 ../src/utils/number_list.hpp:10,
- npm ERR! from ../src/utils/number_list.cpp:3:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../src/utils/number_list.hpp:5:
- 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 ../src/utils/warp_options.hpp:11,
- npm ERR! from ../src/utils/warp_options.cpp:1:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../src/utils/warp_options.hpp:6:
- 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 ../src/utils/ptr_manager.hpp:11,
- npm ERR! from ../src/utils/ptr_manager.cpp:1:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../src/utils/ptr_manager.hpp:6:
- 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 ../src/node_gdal.cpp:28:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../src/node_gdal.cpp:21:
- 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! ../src/node_gdal.cpp: At global scope:
- npm ERR! /usr/include/nodejs/src/node.h:978:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
- npm ERR! 978 | (node::addon_register_func) (regfunc), \
- npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- npm ERR! /usr/include/nodejs/src/node.h:1012:3: note: in expansion of macro ‘NODE_MODULE_X’
- npm ERR! 1012 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
- npm ERR! | ^~~~~~~~~~~~~
- npm ERR! ../src/node_gdal.cpp:1196:1: note: in expansion of macro ‘NODE_MODULE’
- npm ERR! 1196 | NODE_MODULE(gdal, node_gdal::Init)
- npm ERR! | ^~~~~~~~~~~
- npm ERR! In file included from ../src/gdal_common.cpp:7:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../src/gdal_common.cpp:2:
- 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 ../src/gdal_common.hpp:12,
- npm ERR! from ../src/gdal_dataset.cpp:1:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../node_modules/nan/nan.h:58:
- 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! ../src/gdal_dataset.cpp: In static member function ‘static Nan::NAN_GETTER_RETURN_TYPE node_gdal::Dataset::srsGetter(v8::Local<v8::String>, Nan::NAN_GETTER_ARGS_TYPE)’:
- npm ERR! ../src/gdal_dataset.cpp:793:37: warning: ‘OGRErr OGRSpatialReference::importFromWkt(char**)’ is deprecated [-Wdeprecated-declarations]
- npm ERR! 793 | int err = srs->importFromWkt(&wkt);
- npm ERR! | ~~~~~~~~~~~~~~~~~~^~~~~~
- npm ERR! In file included from /usr/include/gdal/ogr_geometry.h:38,
- npm ERR! from /usr/include/gdal/ogr_feature.h:36,
- npm ERR! from /usr/include/gdal/gdal_priv.h:81,
- npm ERR! from ../src/utils/ptr_manager.hpp:15,
- npm ERR! from ../src/gdal_common.hpp:15:
- npm ERR! /usr/include/gdal/ogr_spatialref.h:215:12: note: declared here
- npm ERR! 215 | OGRErr importFromWkt(char **)
- npm ERR! | ^~~~~~~~~~~~~
- npm ERR! In file included from ../node_modules/nan/nan.h:2792:
- npm ERR! ../node_modules/nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Callback, void*, void*, void*) [with T = ObjectCacheItem<GDALDataset>; Callback = void (*)(const Nan::WeakCallbackInfo<ObjectCacheItem<GDALDataset> >&)]’:
- npm ERR! ../node_modules/nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = ObjectCacheItem<GDALDataset>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<ObjectCacheItem<GDALDataset> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- npm ERR! ../src/utils/obj_cache.hpp:102:19: required from ‘void ObjectCache<K, W>::add(K*, K*, v8::Local<v8::Object>) [with K = GDALDataset; W = node_gdal::Dataset]’
- npm ERR! ../src/utils/obj_cache.hpp:114:5: required from ‘void ObjectCache<K, W>::add(K*, v8::Local<v8::Object>) [with K = GDALDataset; W = node_gdal::Dataset]’
- npm ERR! ../src/gdal_dataset.cpp:176:19: required from here
- npm ERR! ../node_modules/nan/nan_weak.h:58:16: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class v8::Persistent<v8::Value>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
- npm ERR! 58 | std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
- npm ERR! | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-object.h:10,
- 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! /usr/include/nodejs/deps/v8/include/v8-persistent-handle.h:276:7: note: ‘class v8::Persistent<v8::Value>’ declared here
- npm ERR! 276 | class Persistent : public PersistentBase<T> {
- npm ERR! | ^~~~~~~~~~
- npm ERR! In file included from ../src/gdal_common.hpp:12,
- npm ERR! from ../src/gdal_driver.cpp:1:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../node_modules/nan/nan.h:58:
- 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 ../node_modules/nan/nan.h:2792:
- npm ERR! ../node_modules/nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Callback, void*, void*, void*) [with T = ObjectCacheItem<GDALDriver>; Callback = void (*)(const Nan::WeakCallbackInfo<ObjectCacheItem<GDALDriver> >&)]’:
- npm ERR! ../node_modules/nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = ObjectCacheItem<GDALDriver>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<ObjectCacheItem<GDALDriver> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- npm ERR! ../src/utils/obj_cache.hpp:102:19: required from ‘void ObjectCache<K, W>::add(K*, K*, v8::Local<v8::Object>) [with K = GDALDriver; W = node_gdal::Driver]’
- npm ERR! ../src/utils/obj_cache.hpp:114:5: required from ‘void ObjectCache<K, W>::add(K*, v8::Local<v8::Object>) [with K = GDALDriver; W = node_gdal::Driver]’
- npm ERR! ../src/gdal_driver.cpp:146:11: required from here
- npm ERR! ../node_modules/nan/nan_weak.h:58:16: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class v8::Persistent<v8::Value>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
- npm ERR! 58 | std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
- npm ERR! | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-object.h:10,
- 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! /usr/include/nodejs/deps/v8/include/v8-persistent-handle.h:276:7: note: ‘class v8::Persistent<v8::Value>’ declared here
- npm ERR! 276 | class Persistent : public PersistentBase<T> {
- npm ERR! | ^~~~~~~~~~
- npm ERR! In file included from ../src/gdal_common.hpp:12,
- npm ERR! from ../src/gdal_rasterband.cpp:2:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../node_modules/nan/nan.h:58:
- 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 ../node_modules/nan/nan.h:2792:
- npm ERR! ../node_modules/nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Callback, void*, void*, void*) [with T = ObjectCacheItem<GDALRasterBand>; Callback = void (*)(const Nan::WeakCallbackInfo<ObjectCacheItem<GDALRasterBand> >&)]’:
- npm ERR! ../node_modules/nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = ObjectCacheItem<GDALRasterBand>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<ObjectCacheItem<GDALRasterBand> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- npm ERR! ../src/utils/obj_cache.hpp:102:19: required from ‘void ObjectCache<K, W>::add(K*, K*, v8::Local<v8::Object>) [with K = GDALRasterBand; W = node_gdal::RasterBand]’
- npm ERR! ../src/utils/obj_cache.hpp:114:5: required from ‘void ObjectCache<K, W>::add(K*, v8::Local<v8::Object>) [with K = GDALRasterBand; W = node_gdal::RasterBand]’
- npm ERR! ../src/gdal_rasterband.cpp:149:11: required from here
- npm ERR! ../node_modules/nan/nan_weak.h:58:16: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class v8::Persistent<v8::Value>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
- npm ERR! 58 | std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
- npm ERR! | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-object.h:10,
- 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! /usr/include/nodejs/deps/v8/include/v8-persistent-handle.h:276:7: note: ‘class v8::Persistent<v8::Value>’ declared here
- npm ERR! 276 | class Persistent : public PersistentBase<T> {
- npm ERR! | ^~~~~~~~~~
- npm ERR! In file included from ../src/gdal_common.hpp:12,
- npm ERR! from ../src/gdal_majorobject.cpp:1:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../node_modules/nan/nan.h:58:
- 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 ../src/gdal_common.hpp:12,
- npm ERR! from ../src/gdal_feature.cpp:2:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../node_modules/nan/nan.h:58:
- 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 ../src/gdal_common.hpp:12,
- npm ERR! from ../src/gdal_feature_defn.cpp:2:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../node_modules/nan/nan.h:58:
- 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 ../src/gdal_common.hpp:12,
- npm ERR! from ../src/gdal_field_defn.cpp:2:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../node_modules/nan/nan.h:58:
- 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 ../src/gdal_common.hpp:12,
- npm ERR! from ../src/gdal_geometry.cpp:1:
- npm ERR! ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
- npm ERR! ../node_modules/nan/nan.h:2544:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
- npm ERR! 2544 | tpl->SetAccessor(
- npm ERR! | ~~~~~~~~~~~~~~~~^
- npm ERR! 2545 | name
- npm ERR! | ~~~~
- npm ERR! 2546 | , getter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2547 | , setter_
- npm ERR! | ~~~~~~~~~
- npm ERR! 2548 | , obj
- npm ERR! | ~~~~~
- npm ERR! 2549 | , settings
- npm ERR! | ~~~~~~~~~~
- npm ERR! 2550 | , attribute
- npm ERR! | ~~~~~~~~~~~
- npm ERR! 2551 | , signature);
- npm ERR! | ~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
- npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
- npm ERR! from /usr/include/nodejs/src/node.h:73,
- npm ERR! from ../node_modules/nan/nan.h:58:
- 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! ../src/gdal_geometry.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_gdal::Geometry::createFromWkt(Nan::NAN_METHOD_ARGS_TYPE)’:
- npm ERR! ../src/gdal_geometry.cpp:835:55: warning: ‘static OGRErr OGRGeometryFactory::createFromWkt(char**, OGRSpatialReference*, OGRGeometry**)’ is deprecated [-Wdeprecated-declarations]
- npm ERR! 835 | OGRErr err = OGRGeometryFactory::createFromWkt(&wkt, ogr_srs, &geom);
- npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
- npm ERR! In file included from /usr/include/gdal/ogr_feature.h:36,
- npm ERR! from /usr/include/gdal/gdal_priv.h:81,
- npm ERR! from ../src/utils/ptr_manager.hpp:15,
- npm ERR! from ../src/gdal_common.hpp:15:
- npm ERR! /usr/include/gdal/ogr_geometry.h:3949:19: note: declared here
- npm ERR! 3949 | static OGRErr createFromWkt(char **ppszInput, OGRSpatialReference *poSRS,
- npm ERR! | ^~~~~~~~~~~~~
- npm ERR! In file included from ../node_modules/nan/nan.h:292:
- npm ERR! ../node_modules/nan/nan_new.h: In instantiation of ‘typename Nan::imp::Factory<T>::return_t Nan::New(A0) [with T = v8::Integer; A0 = long unsigned int; typename imp::Factory<T>::return_t = v8::Local<v8::Integer>]’:
- npm ERR! ../src/gdal_geometry.cpp:1015:45: required from here
- npm ERR! ../node_modules/nan/nan_new.h:208:30: error: call of overloaded ‘New(long unsigned int&)’ is ambiguous
- npm ERR! 208 | return imp::Factory<T>::New(arg0);
- npm ERR! | ~~~~~~~~~~~~~~~~~~~~^~~~~~
- npm ERR! ../node_modules/nan/nan_new.h:113:26: note: candidate: ‘static Nan::imp::IntegerFactory<T>::return_t Nan::imp::IntegerFactory<T>::New(int32_t) [with T = v8::Integer; return_t = v8::Local<v8::Integer>; int32_t = int]’
- npm ERR! 113 | static inline return_t New(int32_t value);
- npm ERR! | ^~~
- npm ERR! In file included from ../node_modules/nan/nan_new.h:189:
- npm ERR! ../node_modules/nan/nan_implementation_12_inl.h:172:1: note: candidate: ‘static Nan::imp::IntegerFactory<T>::return_t Nan::imp::IntegerFactory<T>::New(uint32_t) [with T = v8::Integer; return_t = v8::Local<v8::Integer>; uint32_t = unsigned int]’
- npm ERR! 172 | IntegerFactory<T>::New(uint32_t value) {
- npm ERR! | ^~~~~~~~~~~~~~~~~
- npm ERR! make: *** [gdal.target.mk:155: Release/obj.target/gdal/src/gdal_geometry.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=/usr/local/lib/node_modules/gdal/lib/binding/gdal.node" "--module_name=gdal" "--module_path=/usr/local/lib/node_modules/gdal/lib/binding" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v108"
- npm ERR! gyp ERR! cwd /usr/local/lib/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! node-pre-gyp ERR! build error
- npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/share/nodejs/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/gdal/lib/binding/gdal.node --module_name=gdal --module_path=/usr/local/lib/node_modules/gdal/lib/binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1)
- npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/gdal/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
- npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:513:28)
- npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1091:16)
- npm ERR! node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:302:5)
- npm ERR! node-pre-gyp ERR! System Linux 6.1.0-10-amd64
- npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/gdal/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
- npm ERR! node-pre-gyp ERR! cwd /usr/local/lib/node_modules/gdal
- npm ERR! node-pre-gyp ERR! node -v v18.13.0
- npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.11
- npm ERR! node-pre-gyp ERR! not ok
- npm ERR! A complete log of this run can be found in:
- npm ERR! /root/.npm/_logs/2023-07-25T11_56_56_942Z-debug-0.log
Bez tytułu
z Mustard Lechwe, 2 miesiące temu, napisane w Plain Text, wyświetlone 32 razy.
[paste_expire] 8 miesiące.
URL https://pastebin.k4be.pl/view/f4915455
Udostępnij
Pobierz wklejkę lub Pokaż surowy tekst
— Rozwiń pełna szerokość przeglądarki