1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
| <<zie deel 1>>
binding.target.mk:104: recipe for target 'Release/obj.target/binding/src/binding.o' failed
make: *** [Release/obj.target/binding/src/binding.o] Error 1
make: Leaving directory '/home/pi/.node-red/node_modules/snappy/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Linux 4.14.79-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/.node-red/node_modules/snappy
gyp ERR! node -v v10.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
> leveldown@1.4.6 install /home/pi/.node-red/node_modules/leveldown
> prebuild --install
prebuild info begin Prebuild version 4.5.0
prebuild info looking for local prebuild @ prebuilds/leveldown-v1.4.6-node-v64-linux-arm.tar.gz
prebuild info looking for cached prebuild @ /home/pi/.npm/_prebuilds/https-github.com-level-leveldown-releases-download-v1.4.6-leveldown-v1.4.6-node-v64-linux-arm.tar.gz
prebuild http request GET https://github.com/level/leveldown/releases/download/v1.4.6/leveldown-v1.4.6-node-v64-linux-arm.tar.gz
prebuild http 404 https://github.com/level/leveldown/releases/download/v1.4.6/leveldown-v1.4.6-node-v64-linux-arm.tar.gz
prebuild WARN install No prebuilt binaries found (target=v10.15.0 arch=arm platform=linux)
prebuild info install We will now try to compile from source.
prebuild verb starting node-gyp process
prebuild verb execute node-gyp with `node index.js rebuild --target=v10.15.0 --target_arch=arm`
gyp verb command rebuild []
prebuild verb ok
gyp verb command clean []
gyp verb clean removing "build" directory
prebuild verb ok
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/bin/python2
gyp verb check python version `/usr/bin/python2 -c "import platform; print(platform.python_version());"` returned: "2.7.13\n"
gyp verb get node dir no --target version specified, falling back to host node version: 10.15.0
gyp verb command install [ '10.15.0' ]
gyp verb install input version string "10.15.0"
gyp verb install installing version: 10.15.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 10.15.0
gyp verb build dir attempting to create "build" dir: /home/pi/.node-red/node_modules/leveldown/build
gyp verb build dir "build" dir needed to be created? /home/pi/.node-red/node_modules/leveldown/build
gyp verb build/config.gypi creating config file
gyp sill build/config.gypi { target_defaults:
gyp sill build/config.gypi { cflags: [],
gyp sill build/config.gypi default_configuration: 'Release',
gyp sill build/config.gypi defines: [],
gyp sill build/config.gypi include_dirs: [],
gyp sill build/config.gypi libraries: [] },
gyp sill build/config.gypi variables:
gyp sill build/config.gypi { arm_float_abi: 'hard',
gyp sill build/config.gypi arm_fpu: 'vfpv3',
gyp sill build/config.gypi arm_thumb: 0,
gyp sill build/config.gypi arm_version: '7',
gyp sill build/config.gypi asan: 0,
gyp sill build/config.gypi build_v8_with_gn: false,
gyp sill build/config.gypi coverage: false,
gyp sill build/config.gypi debug_nghttp2: false,
gyp sill build/config.gypi enable_lto: false,
gyp sill build/config.gypi enable_pgo_generate: false,
gyp sill build/config.gypi enable_pgo_use: false,
gyp sill build/config.gypi force_dynamic_crt: 0,
gyp sill build/config.gypi gas_version: '2.28',
gyp sill build/config.gypi host_arch: 'ia32',
gyp sill build/config.gypi icu_data_in: '../../deps/icu-small/source/data/in/icudt62l.dat',
gyp sill build/config.gypi icu_endianness: 'l',
gyp sill build/config.gypi icu_gyp_path: 'tools/icu/icu-generic.gyp',
gyp sill build/config.gypi icu_locales: 'en,root',
gyp sill build/config.gypi icu_path: 'deps/icu-small',
gyp sill build/config.gypi icu_small: true,
gyp sill build/config.gypi icu_ver_major: '62',
gyp sill build/config.gypi llvm_version: 0,
gyp sill build/config.gypi node_byteorder: 'little',
gyp sill build/config.gypi node_debug_lib: false,
gyp sill build/config.gypi node_enable_d8: false,
gyp sill build/config.gypi node_enable_v8_vtunejit: false,
gyp sill build/config.gypi node_install_npm: true,
gyp sill build/config.gypi node_module_version: 64,
gyp sill build/config.gypi node_no_browser_globals: false,
gyp sill build/config.gypi node_prefix: '/',
gyp sill build/config.gypi node_release_urlbase: 'https://nodejs.org/download/release/',
gyp sill build/config.gypi node_shared: false,
gyp sill build/config.gypi node_shared_cares: false,
gyp sill build/config.gypi node_shared_http_parser: false,
gyp sill build/config.gypi node_shared_libuv: false,
gyp sill build/config.gypi node_shared_nghttp2: false,
gyp sill build/config.gypi node_shared_openssl: false,
gyp sill build/config.gypi node_shared_zlib: false,
gyp sill build/config.gypi node_tag: '',
gyp sill build/config.gypi node_target_type: 'executable',
gyp sill build/config.gypi node_use_bundled_v8: true,
gyp sill build/config.gypi node_use_dtrace: false,
gyp sill build/config.gypi node_use_etw: false,
gyp sill build/config.gypi node_use_large_pages: false,
gyp sill build/config.gypi node_use_openssl: true,
gyp sill build/config.gypi node_use_pch: false,
gyp sill build/config.gypi node_use_perfctr: false,
gyp sill build/config.gypi node_use_v8_platform: true,
gyp sill build/config.gypi node_with_ltcg: false,
gyp sill build/config.gypi node_without_node_options: false,
gyp sill build/config.gypi openssl_fips: '',
gyp sill build/config.gypi openssl_no_asm: 0,
gyp sill build/config.gypi shlib_suffix: 'so.64',
gyp sill build/config.gypi target_arch: 'arm',
gyp sill build/config.gypi v8_enable_gdbjit: 0,
gyp sill build/config.gypi v8_enable_i18n_support: 1,
gyp sill build/config.gypi v8_enable_inspector: 1,
gyp sill build/config.gypi v8_no_strict_aliasing: 1,
gyp sill build/config.gypi v8_optimized_debug: 0,
gyp sill build/config.gypi v8_promise_internal_field_count: 1,
gyp sill build/config.gypi v8_random_seed: 0,
gyp sill build/config.gypi v8_trace_maps: 0,
gyp sill build/config.gypi v8_typed_array_max_size_in_heap: 0,
gyp sill build/config.gypi v8_use_snapshot: true,
gyp sill build/config.gypi want_separate_host_toolset: 1,
gyp sill build/config.gypi nodedir: '/home/pi/.node-gyp/10.15.0',
gyp sill build/config.gypi copy_dev_lib: true,
gyp sill build/config.gypi standalone_static_library: 1,
gyp sill build/config.gypi target: 'v10.15.0',
gyp sill build/config.gypi cache_lock_stale: '60000',
gyp sill build/config.gypi ham_it_up: '',
gyp sill build/config.gypi legacy_bundling: '',
gyp sill build/config.gypi sign_git_tag: '',
gyp sill build/config.gypi user_agent: 'npm/6.5.0 node/v10.15.0 linux arm',
gyp sill build/config.gypi always_auth: '',
gyp sill build/config.gypi bin_links: 'true',
gyp sill build/config.gypi key: '',
gyp sill build/config.gypi allow_same_version: '',
gyp sill build/config.gypi description: 'true',
gyp sill build/config.gypi fetch_retries: '2',
gyp sill build/config.gypi heading: 'npm',
gyp sill build/config.gypi if_present: '',
gyp sill build/config.gypi init_version: '1.0.0',
gyp sill build/config.gypi user: '',
gyp sill build/config.gypi prefer_online: '',
gyp sill build/config.gypi noproxy: '',
gyp sill build/config.gypi force: '',
gyp sill build/config.gypi only: '',
gyp sill build/config.gypi read_only: '',
gyp sill build/config.gypi cache_min: '10',
gyp sill build/config.gypi init_license: 'ISC',
gyp sill build/config.gypi editor: 'vi',
gyp sill build/config.gypi rollback: 'true',
gyp sill build/config.gypi tag_version_prefix: 'v',
gyp sill build/config.gypi cache_max: 'Infinity',
gyp sill build/config.gypi timing: '',
gyp sill build/config.gypi userconfig: '/home/pi/.npmrc',
gyp sill build/config.gypi engine_strict: '',
gyp sill build/config.gypi init_author_name: '',
gyp sill build/config.gypi init_author_url: '',
gyp sill build/config.gypi preid: '',
gyp sill build/config.gypi tmp: '/tmp',
gyp sill build/config.gypi depth: 'Infinity',
gyp sill build/config.gypi package_lock_only: '',
gyp sill build/config.gypi save_dev: '',
gyp sill build/config.gypi usage: '',
gyp sill build/config.gypi metrics_registry: 'https://registry.npmjs.org/',
gyp sill build/config.gypi otp: '',
gyp sill build/config.gypi package_lock: 'true',
gyp sill build/config.gypi progress: 'true',
gyp sill build/config.gypi https_proxy: '',
gyp sill build/config.gypi save_prod: '',
gyp sill build/config.gypi audit: 'true',
gyp sill build/config.gypi cidr: '',
gyp sill build/config.gypi onload_script: '',
gyp sill build/config.gypi sso_type: 'oauth',
gyp sill build/config.gypi rebuild_bundle: 'true',
gyp sill build/config.gypi save_bundle: '',
gyp sill build/config.gypi shell: '/bin/bash',
gyp sill build/config.gypi dry_run: '',
gyp sill build/config.gypi prefix: '/usr',
gyp sill build/config.gypi scope: '',
gyp sill build/config.gypi browser: '',
gyp sill build/config.gypi cache_lock_wait: '10000',
gyp sill build/config.gypi ignore_prepublish: '',
gyp sill build/config.gypi registry: 'https://registry.npmjs.org/',
gyp sill build/config.gypi save_optional: '',
gyp sill build/config.gypi searchopts: '',
gyp sill build/config.gypi versions: '',
gyp sill build/config.gypi cache: '/home/pi/.npm',
gyp sill build/config.gypi send_metrics: '',
gyp sill build/config.gypi global_style: '',
gyp sill build/config.gypi ignore_scripts: '',
gyp sill build/config.gypi version: '',
gyp sill build/config.gypi local_address: '',
gyp sill build/config.gypi viewer: 'man',
gyp sill build/config.gypi node_gyp:
gyp sill build/config.gypi '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp sill build/config.gypi audit_level: 'low',
gyp sill build/config.gypi prefer_offline: '',
gyp sill build/config.gypi color: 'true',
gyp sill build/config.gypi sign_git_commit: '',
gyp sill build/config.gypi fetch_retry_mintimeout: '10000',
gyp sill build/config.gypi maxsockets: '50',
gyp sill build/config.gypi offline: '',
gyp sill build/config.gypi sso_poll_frequency: '500',
gyp sill build/config.gypi umask: '0022',
gyp sill build/config.gypi fetch_retry_maxtimeout: '60000',
gyp sill build/config.gypi logs_max: '10',
gyp sill build/config.gypi message: '%s',
gyp sill build/config.gypi ca: '',
gyp sill build/config.gypi cert: '',
gyp sill build/config.gypi global: '',
gyp sill build/config.gypi link: '',
gyp sill build/config.gypi access: '',
gyp sill build/config.gypi also: '',
gyp sill build/config.gypi save: 'true',
gyp sill build/config.gypi unicode: 'true',
gyp sill build/config.gypi long: '',
gyp sill build/config.gypi production: '',
gyp sill build/config.gypi searchlimit: '20',
gyp sill build/config.gypi unsafe_perm: 'true',
gyp sill build/config.gypi update_notifier: 'true',
gyp sill build/config.gypi auth_type: 'legacy',
gyp sill build/config.gypi node_version: '10.15.0',
gyp sill build/config.gypi tag: 'latest',
gyp sill build/config.gypi git_tag_version: 'true',
gyp sill build/config.gypi commit_hooks: 'true',
gyp sill build/config.gypi script_shell: '',
gyp sill build/config.gypi shrinkwrap: 'true',
gyp sill build/config.gypi fetch_retry_factor: '10',
gyp sill build/config.gypi save_exact: '',
gyp sill build/config.gypi strict_ssl: 'true',
gyp sill build/config.gypi dev: '',
gyp sill build/config.gypi globalconfig: '/usr/etc/npmrc',
gyp sill build/config.gypi init_module: '/home/pi/.npm-init.js',
gyp sill build/config.gypi parseable: '',
gyp sill build/config.gypi globalignorefile: '/usr/etc/npmignore',
gyp sill build/config.gypi cache_lock_retries: '10',
gyp sill build/config.gypi searchstaleness: '900',
gyp sill build/config.gypi node_options: '',
gyp sill build/config.gypi save_prefix: '^',
gyp sill build/config.gypi scripts_prepend_node_path: 'warn-only',
gyp sill build/config.gypi group: '1000',
gyp sill build/config.gypi init_author_email: '',
gyp sill build/config.gypi searchexclude: '',
gyp sill build/config.gypi git: 'git',
gyp sill build/config.gypi optional: 'true',
gyp sill build/config.gypi json: '' } }
gyp verb build/config.gypi writing out config file: /home/pi/.node-red/node_modules/leveldown/build/config.gypi
gyp verb config.gypi checking for gypi file: /home/pi/.node-red/node_modules/leveldown/config.gypi
gyp verb common.gypi checking for gypi file: /home/pi/.node-red/node_modules/leveldown/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/home/pi/.node-red/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/pi/.node-red/node_modules/leveldown/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/pi/.node-red/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/pi/.node-gyp/10.15.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/pi/.node-gyp/10.15.0',
gyp info spawn args '-Dnode_gyp_dir=/home/pi/.node-red/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/pi/.node-red/node_modules/leveldown',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
prebuild verb ok
gyp verb command build []
gyp verb build type Release
gyp verb architecture arm
gyp verb node dev dir /home/pi/.node-gyp/10.15.0
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/pi/.node-red/node_modules/leveldown/build'
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/db_impl.o
In file included from /usr/include/c++/6/algorithm:62:0,
from ../deps/leveldb/leveldb-1.18.0/db/db_impl.cc:7:
/usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
__insertion_sort(_RandomAccessIterator __first,
^~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
In file included from /usr/include/c++/6/bits/stl_algo.h:61:0,
from /usr/include/c++/6/algorithm:62,
from ../deps/leveldb/leveldb-1.18.0/db/db_impl.cc:7:
/usr/include/c++/6/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Distance = int; _Tp = long long unsigned int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_heap.h:209:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
__adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
^~~~~~~~~~~~~
In file included from /usr/include/c++/6/algorithm:62:0,
from ../deps/leveldb/leveldb-1.18.0/db/db_impl.cc:7:
/usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’:
/usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
__introsort_loop(_RandomAccessIterator __first,
^~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1951:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
std::__introsort_loop(__cut, __last, __depth_limit, __comp);
^~~
/usr/include/c++/6/bits/stl_algo.h: In member function ‘leveldb::Status leveldb::DBImpl::Recover(leveldb::VersionEdit*)’:
/usr/include/c++/6/bits/stl_algo.h:1965:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
std::__introsort_loop(__first, __last,
^~~
/usr/include/c++/6/bits/stl_algo.h:1882:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
^~~
/usr/include/c++/6/bits/stl_algo.h:1887:2: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long unsigned int*, std::vector<long long unsigned int> >’ will change in GCC 7.1
std::__insertion_sort(__first, __last, __comp);
^~~
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/db_iter.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/filename.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/dbformat.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/leveldb_main.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/log_reader.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/log_writer.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/memtable.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/repair.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/table_cache.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/version_edit.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/version_set.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/write_batch.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/helpers/memenv/memenv.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/block.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/block_builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/filter_block.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/format.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/iterator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/merger.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/table.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/table_builder.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/table/two_level_iterator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/arena.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/bloom.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/cache.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/coding.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/comparator.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/crc32c.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/env.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/filter_policy.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/hash.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/logging.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/options.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/status.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/port/port_posix.o
CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/util/env_posix.o
AR(target) Release/obj.target/deps/leveldb/leveldb.a
COPY Release/leveldb.a
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy-sinksource.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy-stubs-internal.o
CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.1/snappy.o
AR(target) Release/obj.target/deps/snappy/snappy.a
COPY Release/snappy.a
CXX(target) Release/obj.target/leveldown/src/batch.o
In file included from ../node_modules/nan/nan.h:190:0,
from ../src/batch.cc:3:
../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
return obj->ForceSet(GetCurrentContext(), key, value, attribs);
^~~~~~~~
In file included from ../src/batch.cc:3:0:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, func, argc, argv);
^
In file included from ../src/batch.cc:1:0:
/home/pi/.node-gyp/10.15.0/include/node/node.h:177:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/pi/.node-gyp/10.15.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/batch.cc:3:0:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, symbol, argc, argv);
^
In file included from ../src/batch.cc:1:0:
/home/pi/.node-gyp/10.15.0/include/node/node.h:170:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/pi/.node-gyp/10.15.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/batch.cc:3:0:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, method, argc, argv);
^
In file included from ../src/batch.cc:1:0:
/home/pi/.node-gyp/10.15.0/include/node/node.h:163:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/pi/.node-gyp/10.15.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/batch.cc:3:0:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
));
^
In file included from ../src/batch.cc:1:0:
/home/pi/.node-gyp/10.15.0/include/node/node.h:177:50: note: declared here
NODE_EXTERN v8::Local<v8::Value> MakeCallback(
^
/home/pi/.node-gyp/10.15.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h: In function ‘size_t StringOrBufferLength(v8::Local<v8::Value>)’:
../src/leveldown.h:16:26: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return (!obj->ToObject().IsEmpty()
^
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:17:48: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
&& node::Buffer::HasInstance(obj->ToObject()))
^
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:18:42: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
? node::Buffer::Length(obj->ToObject())
^
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/batch.cc:8:0:
../src/common.h: In function ‘uint32_t leveldown::UInt32OptionValue(v8::Local<v8::Object>, const char*, uint32_t)’:
../src/common.h:32:38: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
? options->Get(key)->Uint32Value()
^
In file included from /home/pi/.node-gyp/10.15.0/include/node/v8.h:26:0,
from /home/pi/.node-gyp/10.15.0/include/node/node.h:63,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:2477:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pi/.node-gyp/10.15.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/batch.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE leveldown::Batch::New(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/batch.cc:42:76: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Database* database = Nan::ObjectWrap::Unwrap<Database>(info[0]->ToObject());
^
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
../src/batch.cc: In static member function ‘static v8::Local<v8::Value> leveldown::Batch::NewInstance(v8::Local<v8::Object>, v8::Local<v8::Object>)’:
../src/batch.cc:71:69: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’
instance = constructorHandle->GetFunction()->NewInstance(1, argv);
^
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:3993:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.15.0/include/node/v8.h:3993:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.15.0/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.15.0/include/node/v8.h:3996:44: note: candidate expects 1 argument, 2 provided
../src/batch.cc:74:69: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [2])’
instance = constructorHandle->GetFunction()->NewInstance(2, argv);
^
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:3993:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.15.0/include/node/v8.h:3993:44: note: candidate expects 3 arguments, 2 provided
/home/pi/.node-gyp/10.15.0/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~
/home/pi/.node-gyp/10.15.0/include/node/v8.h:3996:44: note: candidate expects 1 argument, 2 provided
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/batch.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE leveldown::Batch::Put(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/leveldown.h:53:30: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
} else if (!from->ToObject().IsEmpty() \
^
../src/batch.cc:86:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:54:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
&& node::Buffer::HasInstance(from->ToObject())) { \
^
../src/batch.cc:86:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:55:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
to ## Sz_ = node::Buffer::Length(from->ToObject()); \
^
../src/batch.cc:86:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:56:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
to ## Ch_ = node::Buffer::Data(from->ToObject()); \
^
../src/batch.cc:86:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:53:30: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
} else if (!from->ToObject().IsEmpty() \
^
../src/batch.cc:87:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’
LD_STRING_OR_BUFFER_TO_SLICE(value, valueBuffer, value)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:54:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
&& node::Buffer::HasInstance(from->ToObject())) { \
^
../src/batch.cc:87:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’
LD_STRING_OR_BUFFER_TO_SLICE(value, valueBuffer, value)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:55:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
to ## Sz_ = node::Buffer::Length(from->ToObject()); \
^
../src/batch.cc:87:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’
LD_STRING_OR_BUFFER_TO_SLICE(value, valueBuffer, value)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:56:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
to ## Ch_ = node::Buffer::Data(from->ToObject()); \
^
../src/batch.cc:87:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’
LD_STRING_OR_BUFFER_TO_SLICE(value, valueBuffer, value)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/batch.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE leveldown::Batch::Del(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/leveldown.h:53:30: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
} else if (!from->ToObject().IsEmpty() \
^
../src/batch.cc:105:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:54:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
&& node::Buffer::HasInstance(from->ToObject())) { \
^
../src/batch.cc:105:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:55:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
to ## Sz_ = node::Buffer::Length(from->ToObject()); \
^
../src/batch.cc:105:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h:56:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
to ## Ch_ = node::Buffer::Data(from->ToObject()); \
^
../src/batch.cc:105:3: note: in expansion of macro ‘LD_STRING_OR_BUFFER_TO_SLICE’
LD_STRING_OR_BUFFER_TO_SLICE(key, keyBuffer, key)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/.node-gyp/10.15.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/home/pi/.node-gyp/10.15.0/include/node/v8.h:10046:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
leveldown.target.mk:111: recipe for target 'Release/obj.target/leveldown/src/batch.o' failed
make: *** [Release/obj.target/leveldown/src/batch.o] Error 1
make: Leaving directory '/home/pi/.node-red/node_modules/leveldown/build'
prebuild ERR! build error
prebuild ERR! stack Error: `make` failed with exit code: 2
prebuild ERR! stack at ChildProcess.onExit (/home/pi/.node-red/node_modules/node-gyp/lib/build.js:276:23)
prebuild ERR! stack at ChildProcess.emit (events.js:182:13)
prebuild ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
prebuild ERR! not ok
prebuild ERR! build Error: `make` failed with exit code: 2
prebuild ERR! build at ChildProcess.onExit (/home/pi/.node-red/node_modules/node-gyp/lib/build.js:276:23)
prebuild ERR! build at ChildProcess.emit (events.js:182:13)
prebuild ERR! build at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
> zmq@2.15.3 install /home/pi/.node-red/node_modules/zmq
> node-gyp rebuild
make: Entering directory '/home/pi/.node-red/node_modules/zmq/build'
CXX(target) Release/obj.target/zmq/binding.o
../binding.cc:28:17: fatal error: zmq.h: No such file or directory
#include <zmq.h>
^
compilation terminated.
zmq.target.mk:99: recipe for target 'Release/obj.target/zmq/binding.o' failed
make: *** [Release/obj.target/zmq/binding.o] Error 1
make: Leaving directory '/home/pi/.node-red/node_modules/zmq/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Linux 4.14.79-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/.node-red/node_modules/zmq
gyp ERR! node -v v10.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: snappy@5.0.5 (node_modules/snappy):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: snappy@5.0.5 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: leveldown@1.4.6 (node_modules/leveldown):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: leveldown@1.4.6 install: `prebuild --install`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 2
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: zmq@2.15.3 (node_modules/zmq):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: zmq@2.15.3 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ node-red-contrib-mqtt-broker@0.2.4
added 213 packages from 282 contributors and audited 2786 packages in 196.53s
found 3 vulnerabilities (2 low, 1 moderate)
run `npm audit fix` to fix them, or `npm audit` for details
pi@Dommy:~/.node-red $ |