Bez tytułu

z Mustard Lechwe, 9 miesiące temu, napisane w Plain Text, wyświetlone 106 razy. [paste_expire] 1 miesiąc.
URL https://pastebin.k4be.pl/view/f4915455 Udostępnij
Pobierz wklejkę lub Pokaż surowy tekst
  1. # npm install -g gdal --build-from-source --shared_gdal
  2. npm ERR! code 1
  3. npm ERR! path /usr/local/lib/node_modules/gdal
  4. npm ERR! command failed
  5. npm ERR! command sh -c node-pre-gyp install --fallback-to-build
  6. npm ERR! make: Wejście do katalogu '/usr/local/lib/node_modules/gdal/build'
  7. npm ERR!   CXX(target) Release/obj.target/gdal/src/utils/typed_array.o
  8. npm ERR!   CXX(target) Release/obj.target/gdal/src/utils/string_list.o
  9. npm ERR!   CXX(target) Release/obj.target/gdal/src/utils/number_list.o
  10. npm ERR!   CXX(target) Release/obj.target/gdal/src/utils/warp_options.o
  11. npm ERR!   CXX(target) Release/obj.target/gdal/src/utils/ptr_manager.o
  12. npm ERR!   CXX(target) Release/obj.target/gdal/src/node_gdal.o
  13. npm ERR!   CXX(target) Release/obj.target/gdal/src/gdal_common.o
  14. npm ERR!   CXX(target) Release/obj.target/gdal/src/gdal_dataset.o
  15. npm ERR!   CXX(target) Release/obj.target/gdal/src/gdal_driver.o
  16. npm ERR!   CXX(target) Release/obj.target/gdal/src/gdal_rasterband.o
  17. npm ERR!   CXX(target) Release/obj.target/gdal/src/gdal_majorobject.o
  18. npm ERR!   CXX(target) Release/obj.target/gdal/src/gdal_feature.o
  19. npm ERR!   CXX(target) Release/obj.target/gdal/src/gdal_feature_defn.o
  20. npm ERR!   CXX(target) Release/obj.target/gdal/src/gdal_field_defn.o
  21. npm ERR!   CXX(target) Release/obj.target/gdal/src/gdal_geometry.o
  22. npm ERR! make: Opuszczenie katalogu '/usr/local/lib/node_modules/gdal/build'
  23. 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)
  24. npm ERR! node-pre-gyp info it worked if it ends with ok
  25. npm ERR! node-pre-gyp info using node-pre-gyp@1.0.11
  26. npm ERR! node-pre-gyp info using node@18.13.0 | linux | x64
  27. npm ERR! node-pre-gyp info build requesting source compile
  28. npm ERR! gyp info it worked if it ends with ok
  29. npm ERR! gyp info using node-gyp@9.3.0
  30. npm ERR! gyp info using node@18.13.0 | linux | x64
  31. npm ERR! gyp info ok
  32. npm ERR! gyp info it worked if it ends with ok
  33. npm ERR! gyp info using node-gyp@9.3.0
  34. npm ERR! gyp info using node@18.13.0 | linux | x64
  35. npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
  36. npm ERR! gyp info spawn /usr/bin/python3
  37. npm ERR! gyp info spawn args [
  38. npm ERR! gyp info spawn args   '/usr/share/nodejs/node-gyp/gyp/gyp_main.py',
  39. npm ERR! gyp info spawn args   'binding.gyp',
  40. npm ERR! gyp info spawn args   '-f',
  41. npm ERR! gyp info spawn args   'make',
  42. npm ERR! gyp info spawn args   '-I',
  43. npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/gdal/build/config.gypi',
  44. npm ERR! gyp info spawn args   '-I',
  45. npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/gdal/common.gypi',
  46. npm ERR! gyp info spawn args   '-I',
  47. npm ERR! gyp info spawn args   '/usr/share/nodejs/node-gyp/addon.gypi',
  48. npm ERR! gyp info spawn args   '-I',
  49. npm ERR! gyp info spawn args   '/usr/include/nodejs/common.gypi',
  50. npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
  51. npm ERR! gyp info spawn args   '-Dvisibility=default',
  52. npm ERR! gyp info spawn args   '-Dnode_root_dir=/usr/include/nodejs',
  53. npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/share/nodejs/node-gyp',
  54. npm ERR! gyp info spawn args   '-Dnode_lib_file=/usr/include/nodejs/<(target_arch)/node.lib',
  55. npm ERR! gyp info spawn args   '-Dmodule_root_dir=/usr/local/lib/node_modules/gdal',
  56. npm ERR! gyp info spawn args   '-Dnode_engine=v8',
  57. npm ERR! gyp info spawn args   '--depth=.',
  58. npm ERR! gyp info spawn args   '--no-parallel',
  59. npm ERR! gyp info spawn args   '--generator-output',
  60. npm ERR! gyp info spawn args   'build',
  61. npm ERR! gyp info spawn args   '-Goutput_dir=.'
  62. npm ERR! gyp info spawn args ]
  63. npm ERR! gyp info ok
  64. npm ERR! gyp info it worked if it ends with ok
  65. npm ERR! gyp info using node-gyp@9.3.0
  66. npm ERR! gyp info using node@18.13.0 | linux | x64
  67. npm ERR! gyp info spawn make
  68. npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  69. npm ERR! In file included from ../src/utils/typed_array.hpp:11,
  70. npm ERR!                  from ../src/utils/typed_array.cpp:1:
  71. 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)’:
  72. 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]
  73. npm ERR!  2544 |   tpl->SetAccessor(
  74. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  75. npm ERR!  2545 |       name
  76. npm ERR!       |       ~~~~        
  77. npm ERR!  2546 |     , getter_
  78. npm ERR!       |     ~~~~~~~~~      
  79. npm ERR!  2547 |     , setter_
  80. npm ERR!       |     ~~~~~~~~~      
  81. npm ERR!  2548 |     , obj
  82. npm ERR!       |     ~~~~~          
  83. npm ERR!  2549 |     , settings
  84. npm ERR!       |     ~~~~~~~~~~    
  85. npm ERR!  2550 |     , attribute
  86. npm ERR!       |     ~~~~~~~~~~~    
  87. npm ERR!  2551 |     , signature);
  88. npm ERR!       |     ~~~~~~~~~~~~  
  89. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  90. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  91. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  92. npm ERR!                  from ../src/utils/typed_array.hpp:5:
  93. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  94. npm ERR!   838 |   void SetAccessor(
  95. npm ERR!       |        ^~~~~~~~~~~
  96. npm ERR! In file included from ../src/utils/string_list.hpp:11,
  97. npm ERR!                  from ../src/utils/string_list.cpp:1:
  98. 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)’:
  99. 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]
  100. npm ERR!  2544 |   tpl->SetAccessor(
  101. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  102. npm ERR!  2545 |       name
  103. npm ERR!       |       ~~~~        
  104. npm ERR!  2546 |     , getter_
  105. npm ERR!       |     ~~~~~~~~~      
  106. npm ERR!  2547 |     , setter_
  107. npm ERR!       |     ~~~~~~~~~      
  108. npm ERR!  2548 |     , obj
  109. npm ERR!       |     ~~~~~          
  110. npm ERR!  2549 |     , settings
  111. npm ERR!       |     ~~~~~~~~~~    
  112. npm ERR!  2550 |     , attribute
  113. npm ERR!       |     ~~~~~~~~~~~    
  114. npm ERR!  2551 |     , signature);
  115. npm ERR!       |     ~~~~~~~~~~~~  
  116. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  117. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  118. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  119. npm ERR!                  from ../src/utils/string_list.hpp:6:
  120. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  121. npm ERR!   838 |   void SetAccessor(
  122. npm ERR!       |        ^~~~~~~~~~~
  123. npm ERR! In file included from ../src/utils/number_list.hpp:10,
  124. npm ERR!                  from ../src/utils/number_list.cpp:3:
  125. 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)’:
  126. 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]
  127. npm ERR!  2544 |   tpl->SetAccessor(
  128. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  129. npm ERR!  2545 |       name
  130. npm ERR!       |       ~~~~        
  131. npm ERR!  2546 |     , getter_
  132. npm ERR!       |     ~~~~~~~~~      
  133. npm ERR!  2547 |     , setter_
  134. npm ERR!       |     ~~~~~~~~~      
  135. npm ERR!  2548 |     , obj
  136. npm ERR!       |     ~~~~~          
  137. npm ERR!  2549 |     , settings
  138. npm ERR!       |     ~~~~~~~~~~    
  139. npm ERR!  2550 |     , attribute
  140. npm ERR!       |     ~~~~~~~~~~~    
  141. npm ERR!  2551 |     , signature);
  142. npm ERR!       |     ~~~~~~~~~~~~  
  143. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  144. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  145. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  146. npm ERR!                  from ../src/utils/number_list.hpp:5:
  147. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  148. npm ERR!   838 |   void SetAccessor(
  149. npm ERR!       |        ^~~~~~~~~~~
  150. npm ERR! In file included from ../src/utils/warp_options.hpp:11,
  151. npm ERR!                  from ../src/utils/warp_options.cpp:1:
  152. 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)’:
  153. 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]
  154. npm ERR!  2544 |   tpl->SetAccessor(
  155. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  156. npm ERR!  2545 |       name
  157. npm ERR!       |       ~~~~        
  158. npm ERR!  2546 |     , getter_
  159. npm ERR!       |     ~~~~~~~~~      
  160. npm ERR!  2547 |     , setter_
  161. npm ERR!       |     ~~~~~~~~~      
  162. npm ERR!  2548 |     , obj
  163. npm ERR!       |     ~~~~~          
  164. npm ERR!  2549 |     , settings
  165. npm ERR!       |     ~~~~~~~~~~    
  166. npm ERR!  2550 |     , attribute
  167. npm ERR!       |     ~~~~~~~~~~~    
  168. npm ERR!  2551 |     , signature);
  169. npm ERR!       |     ~~~~~~~~~~~~  
  170. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  171. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  172. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  173. npm ERR!                  from ../src/utils/warp_options.hpp:6:
  174. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  175. npm ERR!   838 |   void SetAccessor(
  176. npm ERR!       |        ^~~~~~~~~~~
  177. npm ERR! In file included from ../src/utils/ptr_manager.hpp:11,
  178. npm ERR!                  from ../src/utils/ptr_manager.cpp:1:
  179. 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)’:
  180. 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]
  181. npm ERR!  2544 |   tpl->SetAccessor(
  182. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  183. npm ERR!  2545 |       name
  184. npm ERR!       |       ~~~~        
  185. npm ERR!  2546 |     , getter_
  186. npm ERR!       |     ~~~~~~~~~      
  187. npm ERR!  2547 |     , setter_
  188. npm ERR!       |     ~~~~~~~~~      
  189. npm ERR!  2548 |     , obj
  190. npm ERR!       |     ~~~~~          
  191. npm ERR!  2549 |     , settings
  192. npm ERR!       |     ~~~~~~~~~~    
  193. npm ERR!  2550 |     , attribute
  194. npm ERR!       |     ~~~~~~~~~~~    
  195. npm ERR!  2551 |     , signature);
  196. npm ERR!       |     ~~~~~~~~~~~~  
  197. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  198. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  199. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  200. npm ERR!                  from ../src/utils/ptr_manager.hpp:6:
  201. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  202. npm ERR!   838 |   void SetAccessor(
  203. npm ERR!       |        ^~~~~~~~~~~
  204. npm ERR! In file included from ../src/node_gdal.cpp:28:
  205. 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)’:
  206. 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]
  207. npm ERR!  2544 |   tpl->SetAccessor(
  208. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  209. npm ERR!  2545 |       name
  210. npm ERR!       |       ~~~~        
  211. npm ERR!  2546 |     , getter_
  212. npm ERR!       |     ~~~~~~~~~      
  213. npm ERR!  2547 |     , setter_
  214. npm ERR!       |     ~~~~~~~~~      
  215. npm ERR!  2548 |     , obj
  216. npm ERR!       |     ~~~~~          
  217. npm ERR!  2549 |     , settings
  218. npm ERR!       |     ~~~~~~~~~~    
  219. npm ERR!  2550 |     , attribute
  220. npm ERR!       |     ~~~~~~~~~~~    
  221. npm ERR!  2551 |     , signature);
  222. npm ERR!       |     ~~~~~~~~~~~~  
  223. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  224. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  225. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  226. npm ERR!                  from ../src/node_gdal.cpp:21:
  227. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  228. npm ERR!   838 |   void SetAccessor(
  229. npm ERR!       |        ^~~~~~~~~~~
  230. npm ERR! ../src/node_gdal.cpp: At global scope:
  231. 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]
  232. npm ERR!   978 |       (node::addon_register_func) (regfunc),                          \
  233. npm ERR!       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  234. npm ERR! /usr/include/nodejs/src/node.h:1012:3: note: in expansion of macro ‘NODE_MODULE_X’
  235. npm ERR!  1012 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
  236. npm ERR!       |   ^~~~~~~~~~~~~
  237. npm ERR! ../src/node_gdal.cpp:1196:1: note: in expansion of macro ‘NODE_MODULE’
  238. npm ERR!  1196 | NODE_MODULE(gdal, node_gdal::Init)
  239. npm ERR!       | ^~~~~~~~~~~
  240. npm ERR! In file included from ../src/gdal_common.cpp:7:
  241. 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)’:
  242. 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]
  243. npm ERR!  2544 |   tpl->SetAccessor(
  244. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  245. npm ERR!  2545 |       name
  246. npm ERR!       |       ~~~~        
  247. npm ERR!  2546 |     , getter_
  248. npm ERR!       |     ~~~~~~~~~      
  249. npm ERR!  2547 |     , setter_
  250. npm ERR!       |     ~~~~~~~~~      
  251. npm ERR!  2548 |     , obj
  252. npm ERR!       |     ~~~~~          
  253. npm ERR!  2549 |     , settings
  254. npm ERR!       |     ~~~~~~~~~~    
  255. npm ERR!  2550 |     , attribute
  256. npm ERR!       |     ~~~~~~~~~~~    
  257. npm ERR!  2551 |     , signature);
  258. npm ERR!       |     ~~~~~~~~~~~~  
  259. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  260. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  261. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  262. npm ERR!                  from ../src/gdal_common.cpp:2:
  263. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  264. npm ERR!   838 |   void SetAccessor(
  265. npm ERR!       |        ^~~~~~~~~~~
  266. npm ERR! In file included from ../src/gdal_common.hpp:12,
  267. npm ERR!                  from ../src/gdal_dataset.cpp:1:
  268. 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)’:
  269. 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]
  270. npm ERR!  2544 |   tpl->SetAccessor(
  271. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  272. npm ERR!  2545 |       name
  273. npm ERR!       |       ~~~~        
  274. npm ERR!  2546 |     , getter_
  275. npm ERR!       |     ~~~~~~~~~      
  276. npm ERR!  2547 |     , setter_
  277. npm ERR!       |     ~~~~~~~~~      
  278. npm ERR!  2548 |     , obj
  279. npm ERR!       |     ~~~~~          
  280. npm ERR!  2549 |     , settings
  281. npm ERR!       |     ~~~~~~~~~~    
  282. npm ERR!  2550 |     , attribute
  283. npm ERR!       |     ~~~~~~~~~~~    
  284. npm ERR!  2551 |     , signature);
  285. npm ERR!       |     ~~~~~~~~~~~~  
  286. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  287. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  288. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  289. npm ERR!                  from ../node_modules/nan/nan.h:58:
  290. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  291. npm ERR!   838 |   void SetAccessor(
  292. npm ERR!       |        ^~~~~~~~~~~
  293. 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)’:
  294. npm ERR! ../src/gdal_dataset.cpp:793:37: warning: ‘OGRErr OGRSpatialReference::importFromWkt(char**)’ is deprecated [-Wdeprecated-declarations]
  295. npm ERR!   793 |         int err = srs->importFromWkt(&wkt);
  296. npm ERR!       |                   ~~~~~~~~~~~~~~~~~~^~~~~~
  297. npm ERR! In file included from /usr/include/gdal/ogr_geometry.h:38,
  298. npm ERR!                  from /usr/include/gdal/ogr_feature.h:36,
  299. npm ERR!                  from /usr/include/gdal/gdal_priv.h:81,
  300. npm ERR!                  from ../src/utils/ptr_manager.hpp:15,
  301. npm ERR!                  from ../src/gdal_common.hpp:15:
  302. npm ERR! /usr/include/gdal/ogr_spatialref.h:215:12: note: declared here
  303. npm ERR!   215 |     OGRErr importFromWkt(char **)
  304. npm ERR!       |            ^~~~~~~~~~~~~
  305. npm ERR! In file included from ../node_modules/nan/nan.h:2792:
  306. 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> >&)]’:
  307. 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]’
  308. 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]’
  309. 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]’
  310. npm ERR! ../src/gdal_dataset.cpp:176:19:   required from here
  311. 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]
  312. npm ERR!    58 |     std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  313. npm ERR!       |     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  314. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-object.h:10,
  315. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8-array-buffer.h:13,
  316. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:24:
  317. npm ERR! /usr/include/nodejs/deps/v8/include/v8-persistent-handle.h:276:7: note: ‘class v8::Persistent<v8::Value>’ declared here
  318. npm ERR!   276 | class Persistent : public PersistentBase<T> {
  319. npm ERR!       |       ^~~~~~~~~~
  320. npm ERR! In file included from ../src/gdal_common.hpp:12,
  321. npm ERR!                  from ../src/gdal_driver.cpp:1:
  322. 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)’:
  323. 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]
  324. npm ERR!  2544 |   tpl->SetAccessor(
  325. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  326. npm ERR!  2545 |       name
  327. npm ERR!       |       ~~~~        
  328. npm ERR!  2546 |     , getter_
  329. npm ERR!       |     ~~~~~~~~~      
  330. npm ERR!  2547 |     , setter_
  331. npm ERR!       |     ~~~~~~~~~      
  332. npm ERR!  2548 |     , obj
  333. npm ERR!       |     ~~~~~          
  334. npm ERR!  2549 |     , settings
  335. npm ERR!       |     ~~~~~~~~~~    
  336. npm ERR!  2550 |     , attribute
  337. npm ERR!       |     ~~~~~~~~~~~    
  338. npm ERR!  2551 |     , signature);
  339. npm ERR!       |     ~~~~~~~~~~~~  
  340. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  341. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  342. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  343. npm ERR!                  from ../node_modules/nan/nan.h:58:
  344. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  345. npm ERR!   838 |   void SetAccessor(
  346. npm ERR!       |        ^~~~~~~~~~~
  347. npm ERR! In file included from ../node_modules/nan/nan.h:2792:
  348. 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> >&)]’:
  349. 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]’
  350. 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]’
  351. 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]’
  352. npm ERR! ../src/gdal_driver.cpp:146:11:   required from here
  353. 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]
  354. npm ERR!    58 |     std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  355. npm ERR!       |     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  356. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-object.h:10,
  357. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8-array-buffer.h:13,
  358. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:24:
  359. npm ERR! /usr/include/nodejs/deps/v8/include/v8-persistent-handle.h:276:7: note: ‘class v8::Persistent<v8::Value>’ declared here
  360. npm ERR!   276 | class Persistent : public PersistentBase<T> {
  361. npm ERR!       |       ^~~~~~~~~~
  362. npm ERR! In file included from ../src/gdal_common.hpp:12,
  363. npm ERR!                  from ../src/gdal_rasterband.cpp:2:
  364. 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)’:
  365. 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]
  366. npm ERR!  2544 |   tpl->SetAccessor(
  367. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  368. npm ERR!  2545 |       name
  369. npm ERR!       |       ~~~~        
  370. npm ERR!  2546 |     , getter_
  371. npm ERR!       |     ~~~~~~~~~      
  372. npm ERR!  2547 |     , setter_
  373. npm ERR!       |     ~~~~~~~~~      
  374. npm ERR!  2548 |     , obj
  375. npm ERR!       |     ~~~~~          
  376. npm ERR!  2549 |     , settings
  377. npm ERR!       |     ~~~~~~~~~~    
  378. npm ERR!  2550 |     , attribute
  379. npm ERR!       |     ~~~~~~~~~~~    
  380. npm ERR!  2551 |     , signature);
  381. npm ERR!       |     ~~~~~~~~~~~~  
  382. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  383. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  384. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  385. npm ERR!                  from ../node_modules/nan/nan.h:58:
  386. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  387. npm ERR!   838 |   void SetAccessor(
  388. npm ERR!       |        ^~~~~~~~~~~
  389. npm ERR! In file included from ../node_modules/nan/nan.h:2792:
  390. 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> >&)]’:
  391. 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]’
  392. 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]’
  393. 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]’
  394. npm ERR! ../src/gdal_rasterband.cpp:149:11:   required from here
  395. 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]
  396. npm ERR!    58 |     std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  397. npm ERR!       |     ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  398. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-object.h:10,
  399. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8-array-buffer.h:13,
  400. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:24:
  401. npm ERR! /usr/include/nodejs/deps/v8/include/v8-persistent-handle.h:276:7: note: ‘class v8::Persistent<v8::Value>’ declared here
  402. npm ERR!   276 | class Persistent : public PersistentBase<T> {
  403. npm ERR!       |       ^~~~~~~~~~
  404. npm ERR! In file included from ../src/gdal_common.hpp:12,
  405. npm ERR!                  from ../src/gdal_majorobject.cpp:1:
  406. 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)’:
  407. 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]
  408. npm ERR!  2544 |   tpl->SetAccessor(
  409. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  410. npm ERR!  2545 |       name
  411. npm ERR!       |       ~~~~        
  412. npm ERR!  2546 |     , getter_
  413. npm ERR!       |     ~~~~~~~~~      
  414. npm ERR!  2547 |     , setter_
  415. npm ERR!       |     ~~~~~~~~~      
  416. npm ERR!  2548 |     , obj
  417. npm ERR!       |     ~~~~~          
  418. npm ERR!  2549 |     , settings
  419. npm ERR!       |     ~~~~~~~~~~    
  420. npm ERR!  2550 |     , attribute
  421. npm ERR!       |     ~~~~~~~~~~~    
  422. npm ERR!  2551 |     , signature);
  423. npm ERR!       |     ~~~~~~~~~~~~  
  424. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  425. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  426. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  427. npm ERR!                  from ../node_modules/nan/nan.h:58:
  428. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  429. npm ERR!   838 |   void SetAccessor(
  430. npm ERR!       |        ^~~~~~~~~~~
  431. npm ERR! In file included from ../src/gdal_common.hpp:12,
  432. npm ERR!                  from ../src/gdal_feature.cpp:2:
  433. 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)’:
  434. 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]
  435. npm ERR!  2544 |   tpl->SetAccessor(
  436. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  437. npm ERR!  2545 |       name
  438. npm ERR!       |       ~~~~        
  439. npm ERR!  2546 |     , getter_
  440. npm ERR!       |     ~~~~~~~~~      
  441. npm ERR!  2547 |     , setter_
  442. npm ERR!       |     ~~~~~~~~~      
  443. npm ERR!  2548 |     , obj
  444. npm ERR!       |     ~~~~~          
  445. npm ERR!  2549 |     , settings
  446. npm ERR!       |     ~~~~~~~~~~    
  447. npm ERR!  2550 |     , attribute
  448. npm ERR!       |     ~~~~~~~~~~~    
  449. npm ERR!  2551 |     , signature);
  450. npm ERR!       |     ~~~~~~~~~~~~  
  451. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  452. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  453. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  454. npm ERR!                  from ../node_modules/nan/nan.h:58:
  455. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  456. npm ERR!   838 |   void SetAccessor(
  457. npm ERR!       |        ^~~~~~~~~~~
  458. npm ERR! In file included from ../src/gdal_common.hpp:12,
  459. npm ERR!                  from ../src/gdal_feature_defn.cpp:2:
  460. 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)’:
  461. 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]
  462. npm ERR!  2544 |   tpl->SetAccessor(
  463. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  464. npm ERR!  2545 |       name
  465. npm ERR!       |       ~~~~        
  466. npm ERR!  2546 |     , getter_
  467. npm ERR!       |     ~~~~~~~~~      
  468. npm ERR!  2547 |     , setter_
  469. npm ERR!       |     ~~~~~~~~~      
  470. npm ERR!  2548 |     , obj
  471. npm ERR!       |     ~~~~~          
  472. npm ERR!  2549 |     , settings
  473. npm ERR!       |     ~~~~~~~~~~    
  474. npm ERR!  2550 |     , attribute
  475. npm ERR!       |     ~~~~~~~~~~~    
  476. npm ERR!  2551 |     , signature);
  477. npm ERR!       |     ~~~~~~~~~~~~  
  478. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  479. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  480. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  481. npm ERR!                  from ../node_modules/nan/nan.h:58:
  482. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  483. npm ERR!   838 |   void SetAccessor(
  484. npm ERR!       |        ^~~~~~~~~~~
  485. npm ERR! In file included from ../src/gdal_common.hpp:12,
  486. npm ERR!                  from ../src/gdal_field_defn.cpp:2:
  487. 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)’:
  488. 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]
  489. npm ERR!  2544 |   tpl->SetAccessor(
  490. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  491. npm ERR!  2545 |       name
  492. npm ERR!       |       ~~~~        
  493. npm ERR!  2546 |     , getter_
  494. npm ERR!       |     ~~~~~~~~~      
  495. npm ERR!  2547 |     , setter_
  496. npm ERR!       |     ~~~~~~~~~      
  497. npm ERR!  2548 |     , obj
  498. npm ERR!       |     ~~~~~          
  499. npm ERR!  2549 |     , settings
  500. npm ERR!       |     ~~~~~~~~~~    
  501. npm ERR!  2550 |     , attribute
  502. npm ERR!       |     ~~~~~~~~~~~    
  503. npm ERR!  2551 |     , signature);
  504. npm ERR!       |     ~~~~~~~~~~~~  
  505. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  506. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  507. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  508. npm ERR!                  from ../node_modules/nan/nan.h:58:
  509. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  510. npm ERR!   838 |   void SetAccessor(
  511. npm ERR!       |        ^~~~~~~~~~~
  512. npm ERR! In file included from ../src/gdal_common.hpp:12,
  513. npm ERR!                  from ../src/gdal_geometry.cpp:1:
  514. 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)’:
  515. 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]
  516. npm ERR!  2544 |   tpl->SetAccessor(
  517. npm ERR!       |   ~~~~~~~~~~~~~~~~^
  518. npm ERR!  2545 |       name
  519. npm ERR!       |       ~~~~        
  520. npm ERR!  2546 |     , getter_
  521. npm ERR!       |     ~~~~~~~~~      
  522. npm ERR!  2547 |     , setter_
  523. npm ERR!       |     ~~~~~~~~~      
  524. npm ERR!  2548 |     , obj
  525. npm ERR!       |     ~~~~~          
  526. npm ERR!  2549 |     , settings
  527. npm ERR!       |     ~~~~~~~~~~    
  528. npm ERR!  2550 |     , attribute
  529. npm ERR!       |     ~~~~~~~~~~~    
  530. npm ERR!  2551 |     , signature);
  531. npm ERR!       |     ~~~~~~~~~~~~  
  532. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  533. npm ERR!                  from /usr/include/nodejs/deps/v8/include/v8.h:33,
  534. npm ERR!                  from /usr/include/nodejs/src/node.h:73,
  535. npm ERR!                  from ../node_modules/nan/nan.h:58:
  536. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  537. npm ERR!   838 |   void SetAccessor(
  538. npm ERR!       |        ^~~~~~~~~~~
  539. 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)’:
  540. npm ERR! ../src/gdal_geometry.cpp:835:55: warning: ‘static OGRErr OGRGeometryFactory::createFromWkt(char**, OGRSpatialReference*, OGRGeometry**)’ is deprecated [-Wdeprecated-declarations]
  541. npm ERR!   835 |         OGRErr err = OGRGeometryFactory::createFromWkt(&wkt, ogr_srs, &geom);
  542. npm ERR!       |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
  543. npm ERR! In file included from /usr/include/gdal/ogr_feature.h:36,
  544. npm ERR!                  from /usr/include/gdal/gdal_priv.h:81,
  545. npm ERR!                  from ../src/utils/ptr_manager.hpp:15,
  546. npm ERR!                  from ../src/gdal_common.hpp:15:
  547. npm ERR! /usr/include/gdal/ogr_geometry.h:3949:19: note: declared here
  548. npm ERR!  3949 |     static OGRErr createFromWkt(char **ppszInput, OGRSpatialReference *poSRS,
  549. npm ERR!       |                   ^~~~~~~~~~~~~
  550. npm ERR! In file included from ../node_modules/nan/nan.h:292:
  551. 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>]’:
  552. npm ERR! ../src/gdal_geometry.cpp:1015:45:   required from here
  553. npm ERR! ../node_modules/nan/nan_new.h:208:30: error: call of overloaded ‘New(long unsigned int&)’ is ambiguous
  554. npm ERR!   208 |   return imp::Factory<T>::New(arg0);
  555. npm ERR!       |          ~~~~~~~~~~~~~~~~~~~~^~~~~~
  556. 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]’
  557. npm ERR!   113 |   static inline return_t New(int32_t value);
  558. npm ERR!       |                          ^~~
  559. npm ERR! In file included from ../node_modules/nan/nan_new.h:189:
  560. 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]’
  561. npm ERR!   172 | IntegerFactory<T>::New(uint32_t value) {
  562. npm ERR!       | ^~~~~~~~~~~~~~~~~
  563. npm ERR! make: *** [gdal.target.mk:155: Release/obj.target/gdal/src/gdal_geometry.o] Błąd 1
  564. npm ERR! gyp ERR! build error
  565. npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
  566. npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/share/nodejs/node-gyp/lib/build.js:203:23)
  567. npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
  568. npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
  569. npm ERR! gyp ERR! System Linux 6.1.0-10-amd64
  570. 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"
  571. npm ERR! gyp ERR! cwd /usr/local/lib/node_modules/gdal
  572. npm ERR! gyp ERR! node -v v18.13.0
  573. npm ERR! gyp ERR! node-gyp -v v9.3.0
  574. npm ERR! gyp ERR! not ok
  575. npm ERR! node-pre-gyp ERR! build error
  576. 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)
  577. 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)
  578. npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
  579. npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1091:16)
  580. npm ERR! node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
  581. npm ERR! node-pre-gyp ERR! System Linux 6.1.0-10-amd64
  582. 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"
  583. npm ERR! node-pre-gyp ERR! cwd /usr/local/lib/node_modules/gdal
  584. npm ERR! node-pre-gyp ERR! node -v v18.13.0
  585. npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.11
  586. npm ERR! node-pre-gyp ERR! not ok
  587.  
  588. npm ERR! A complete log of this run can be found in:
  589. npm ERR!     /root/.npm/_logs/2023-07-25T11_56_56_942Z-debug-0.log
  590.  

odpowiedź "Bez tytułu"

Tutaj możesz odpowiedzieć na wklejkę z góry

captcha