Advertisement
Guest User

logseq-desktop Archlinux does not compile

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