Advertisement
Guest User

logseq-desktop-git Archlinux does not compile

a guest
Nov 27th, 2022
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.86 KB | None | 0 0
  1. info dmg-license@1.0.11: The platform "linux" is incompatible with this module.
  2. info "dmg-license@1.0.11" is an optional dependency and failed compatibility check. Excluding it from installation.
  3. info iconv-corefoundation@1.1.7: The platform "linux" is incompatible with this module.
  4. info "iconv-corefoundation@1.1.7" is an optional dependency and failed compatibility check. Excluding it from installation.
  5. [3/4] Linking dependencies...
  6. [4/4] Building fresh packages...
  7. [1/7] ⠈ better-sqlite3
  8. [-/7] ⠈ waiting...
  9. [7/7] ⠈ electron-deeplink
  10. [-/7] ⠈ waiting...
  11. error /home/gw/.cache/rua/build/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/better-sqlite3: Command failed.
  12. Exit code: 1
  13. Command: prebuild-install || npm run build-release
  14. Arguments:
  15. Directory: /home/gw/.cache/rua/build/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/better-sqlite3
  16. Output:
  17. prebuild-install warn install No prebuilt binaries found (target=19.1.0 runtime=node arch=x64 libc= platform=linux)
  18.  
  19. > better-sqlite3@7.4.5 build-release
  20. > node-gyp rebuild --release
  21.  
  22. gyp info it worked if it ends with ok
  23. gyp info using node-gyp@9.0.0
  24. gyp info using node@19.1.0 | linux | x64
  25. gyp info find Python using Python version 3.10.8 found at "/usr/bin/python3"
  26. gyp http GET https://nodejs.org/download/release/v19.1.0/node-v19.1.0-headers.tar.gz
  27. gyp http 200 https://nodejs.org/download/release/v19.1.0/node-v19.1.0-headers.tar.gz
  28. gyp http GET https://nodejs.org/download/release/v19.1.0/SHASUMS256.txt
  29. gyp http 200 https://nodejs.org/download/release/v19.1.0/SHASUMS256.txt
  30. gyp info spawn /usr/bin/python3
  31. gyp info spawn args [
  32. gyp info spawn args '/home/gw/.cache/rua/build/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/node-gyp/gyp/gyp_main.py',
  33. gyp info spawn args 'binding.gyp',
  34. gyp info spawn args '-f',
  35. gyp info spawn args 'make',
  36. gyp info spawn args '-I',
  37. gyp info spawn args '/home/gw/.cache/rua/build/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/better-sqlite3/build/config.gypi',
  38. gyp info spawn args '-I',
  39. gyp info spawn args '/home/gw/.cache/rua/build/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/node-gyp/addon.gypi',
  40. gyp info spawn args '-I',
  41. gyp info spawn args '/home/gw/.cache/node-gyp/19.1.0/include/node/common.gypi',
  42. gyp info spawn args '-Dlibrary=shared_library',
  43. gyp info spawn args '-Dvisibility=default',
  44. gyp info spawn args '-Dnode_root_dir=/home/gw/.cache/node-gyp/19.1.0',
  45. gyp info spawn args '-Dnode_gyp_dir=/home/gw/.cache/rua/build/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/node-gyp',
  46. gyp info spawn args '-Dnode_lib_file=/home/gw/.cache/node-gyp/19.1.0/<(target_arch)/node.lib',
  47. gyp info spawn args '-Dmodule_root_dir=/home/gw/.cache/rua/build/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/better-sqlite3',
  48. gyp info spawn args '-Dnode_engine=v8',
  49. gyp info spawn args '--depth=.',
  50. gyp info spawn args '--no-parallel',
  51. gyp info spawn args '--generator-output',
  52. gyp info spawn args 'build',
  53. gyp info spawn args '-Goutput_dir=.'
  54. gyp info spawn args ]
  55. gyp info spawn make
  56. gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  57. make: Entering directory '/home/gw/.cache/rua/build/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/better-sqlite3/build'
  58. TOUCH b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
  59. ACTION deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3 b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
  60. TOUCH Release/obj.target/deps/locate_sqlite3.stamp
  61. CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
  62. AR(target) Release/obj.target/deps/sqlite3.a
  63. COPY Release/sqlite3.a
  64. CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
  65. In file included from ./src/better_sqlite3.lzz:11,
  66. from ../src/better_sqlite3.cpp:4:
  67. /home/gw/.cache/node-gyp/19.1.0/include/node/node.h:1013:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)’ to ‘node::addon_context_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)’} [-Wcast-function-type]
  68. 1013 | (node::addon_context_register_func) (regfunc), \
  69. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  70. /home/gw/.cache/node-gyp/19.1.0/include/node/node.h:1031:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE_X’
  71. 1031 | NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0)
  72. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  73. /home/gw/.cache/node-gyp/19.1.0/include/node/node.h:1062:3: note: in expansion of macro ‘NODE_MODULE_CONTEXT_AWARE’
  74. 1062 | NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, \
  75. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  76. ./src/better_sqlite3.lzz:67:1: note: in expansion of macro ‘NODE_MODULE_INIT’
  77. ./src/util/macros.lzz: In function ‘void SetPrototypeGetter(v8::Isolate*, v8::Local<v8::External>, v8::Local<v8::FunctionTemplate>, const char*, v8::AccessorGetterCallback)’:
  78. ./src/util/macros.lzz:157:21: error: ‘v8::AccessorSignature’ has not been declared
  79. ./src/util/binder.lzz: In static member function ‘static bool Binder::IsPlainObject(v8::Isolate*, v8::Local<v8::Object>)’:
  80. ./src/util/binder.lzz:37:51: error: ‘class v8::Object’ has no member named ‘CreationContext’; did you mean ‘GetCreationContext’?
  81. ./src/util/data.lzz: In function ‘v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_stmt*, int, bool)’:
  82. ./src/util/data.lzz:73:92: warning: this statement may fall through [-Wimplicit-fallthrough=]
  83. ./src/util/data.lzz:73:197: note: here
  84. ./src/util/data.lzz: In function ‘v8::Local<v8::Value> Data::GetValueJS(v8::Isolate*, sqlite3_value*, bool)’:
  85. ./src/util/data.lzz:77:81: warning: this statement may fall through [-Wimplicit-fallthrough=]
  86. ./src/util/data.lzz:77:175: note: here
  87. make: *** [better_sqlite3.target.mk:123: Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1
  88. rm b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
  89. make: Leaving directory '/home/gw/.cache/rua/build/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/better-sqlite3/build'
  90. gyp ERR! build error
  91. gyp ERR! stack Error: `make` failed with exit code: 2
  92. gyp ERR! stack at ChildProcess.onExit (/home/gw/.cache/rua/build/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/node-gyp/lib/build.js:194:23)
  93. gyp ERR! stack at ChildProcess.emit (node:events:513:28)
  94. gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
  95. gyp ERR! System Linux 6.0.9-arch1-1
  96. gyp ERR! command "/usr/bin/node" "/home/gw/.cache/rua/build/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/.bin/node-gyp" "rebuild" "--release"
  97. gyp ERR! cwd /home/gw/.cache/rua/build/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/better-sqlite3
  98.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement