Advertisement
theguild42

gyp error

Jun 4th, 2023
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.44 KB | None | 0 0
  1. % sudo yarn install
  2. yarn install v1.22.19
  3. warning ../../package.json: No license field
  4. [1/4] Resolving packages...
  5. [2/4] Fetching packages...
  6. [3/4] Linking dependencies...
  7. warning " > babel-preset-atomic@5.0.0" has unmet peer dependency "@babel/cli@^7".
  8. warning "github > @atom/babel-plugin-chai-assert-async@1.0.0" has unmet peer dependency "test-until@1.x".
  9. warning "webdriverio > @wdio/types@7.20.7" has unmet peer dependency "typescript@^4.6.2".
  10. [4/4] Building fresh packages...
  11. [6/39] ⢀ pathwatcher
  12. [2/39] ⢀ keyboard-layout
  13. [7/39] ⢀ git-utils
  14. [4/39] ⢀ @pulsar-edit/fuzzy-native
  15. error /home/whitequill/gitrepos/pulsar/node_modules/keytar: Command failed.
  16. Exit code: 1
  17. Command: prebuild-install || node-gyp rebuild
  18. Arguments:
  19. Directory: /home/whitequill/gitrepos/pulsar/node_modules/keytar
  20. Output:
  21. prebuild-install WARN install No prebuilt binaries found (target=20.2.0 runtime=node arch=x64 libc= platform=linux)
  22. gyp info it worked if it ends with ok
  23. gyp info using node-gyp@9.3.1
  24. gyp info using node@20.2.0 | linux | x64
  25. gyp info find Python using Python version 3.11.3 found at "/usr/lib/python-exec/python3.11/python3"
  26. gyp info spawn /usr/lib/python-exec/python3.11/python3
  27. gyp info spawn args [
  28. gyp info spawn args '/usr/local/share/.config/yarn/global/node_modules/node-gyp/gyp/gyp_main.py',
  29. gyp info spawn args 'binding.gyp',
  30. gyp info spawn args '-f',
  31. gyp info spawn args 'make',
  32. gyp info spawn args '-I',
  33. gyp info spawn args '/home/whitequill/gitrepos/pulsar/node_modules/keytar/build/config.gypi',
  34. gyp info spawn args '-I',
  35. gyp info spawn args '/usr/local/share/.config/yarn/global/node_modules/node-gyp/addon.gypi',
  36. gyp info spawn args '-I',
  37. gyp info spawn args '/root/.cache/node-gyp/20.2.0/include/node/common.gypi',
  38. gyp info spawn args '-Dlibrary=shared_library',
  39. gyp info spawn args '-Dvisibility=default',
  40. gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/20.2.0',
  41. gyp info spawn args '-Dnode_gyp_dir=/usr/local/share/.config/yarn/global/node_modules/node-gyp',
  42. gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/20.2.0/<(target_arch)/node.lib',
  43. gyp info spawn args '-Dmodule_root_dir=/home/whitequill/gitrepos/pulsar/node_modules/keytar',
  44. gyp info spawn args '-Dnode_engine=v8',
  45. gyp info spawn args '--depth=.',
  46. gyp info spawn args '--no-parallel',
  47. gyp info spawn args '--generator-output',
  48. gyp info spawn args 'build',
  49. gyp info spawn args '-Goutput_dir=.'
  50. gyp info spawn args ]
  51. gyp info spawn make
  52. gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  53. make: Entering directory '/home/whitequill/gitrepos/pulsar/node_modules/keytar/build'
  54. CXX(target) Release/obj.target/keytar/src/async.o
  55. In file included from ../node_modules/nan/nan.h:174,
  56. from ../src/async.cc:4:
  57. ../node_modules/nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’
  58. 55 | typedef v8::Local<v8::AccessorSignature> Sig;
  59. | ^~~~~~~~~~~~~~~~~
  60. ../node_modules/nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
  61. 55 | typedef v8::Local<v8::AccessorSignature> Sig;
  62. | ^
  63. ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(AsyncWorker*)’:
  64. ../node_modules/nan/nan.h:2298:7: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  65. 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  66. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  67. ../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)’:
  68. ../node_modules/nan/nan.h:2536:19: error: no matching function for call to ‘v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>&, void (*&)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&), void (*&)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&), v8::Local<v8::Object>&, v8::AccessControl&, v8::PropertyAttribute&, Nan::imp::Sig&)’
  69. 2536 | tpl->SetAccessor(
  70. | ~~~~~~~~~~~~~~~~^
  71. 2537 | name
  72. | ~~~~
  73. 2538 | , getter_
  74. | ~~~~~~~~~
  75. 2539 | , setter_
  76. | ~~~~~~~~~
  77. 2540 | , obj
  78. | ~~~~~
  79. 2541 | , settings
  80. | ~~~~~~~~~~
  81. 2542 | , attribute
  82. | ~~~~~~~~~~~
  83. 2543 | , signature);
  84. | ~~~~~~~~~~~~
  85. In file included from /root/.cache/node-gyp/20.2.0/include/node/v8-function.h:15,
  86. from /root/.cache/node-gyp/20.2.0/include/node/v8.h:33,
  87. from /root/.cache/node-gyp/20.2.0/include/node/node.h:73,
  88. from ../node_modules/nan/nan.h:54:
  89. /root/.cache/node-gyp/20.2.0/include/node/v8-template.h:809:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
  90. 809 | void SetAccessor(
  91. | ^~~~~~~~~~~
  92. /root/.cache/node-gyp/20.2.0/include/node/v8-template.h:814:22: note: no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
  93. 814 | SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
  94. | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  95. /root/.cache/node-gyp/20.2.0/include/node/v8-template.h:816:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
  96. 816 | void SetAccessor(
  97. | ^~~~~~~~~~~
  98. /root/.cache/node-gyp/20.2.0/include/node/v8-template.h:821:22: note: no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
  99. 821 | SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
  100. | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  101. In file included from ../node_modules/nan/nan.h:2884:
  102. ../node_modules/nan/nan_typedarray_contents.h: In constructor ‘Nan::TypedArrayContents<T>::TypedArrayContents(v8::Local<v8::Value>)’:
  103. ../node_modules/nan/nan_typedarray_contents.h:34:43: error: ‘class v8::ArrayBuffer’ has no member named ‘GetContents’
  104. 34 | data = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
  105. | ^~~~~~~~~~~
  106. make: *** [keytar.target.mk:117: Release/obj.target/keytar/src/async.o] Error 1
  107. make: Leaving directory '/home/whitequill/gitrepos/pulsar/node_modules/keytar/build'
  108. gyp ERR! build error
  109. gyp ERR! stack Error: `make` failed with exit code: 2
  110. gyp ERR! stack at ChildProcess.onExit (/usr/local/share/.config/yarn/global/node_modules/node-gyp/lib/build.js:203:23)
  111. gyp ERR! stack at ChildProcess.emit (node:events:511:28)
  112. gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
  113. gyp ERR! System Linux 6.1.31-gentoo
  114. gyp ERR! command "/usr/bin/node" "/usr/local/bin/node-gyp" "rebuild"
  115. gyp ERR! cwd /home/whitequill/gitrepos/pulsar/node_modules/keytar
  116. gyp ERR! node -v v20.2.0
  117.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement