You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ yay -S joplin-desktop
...
➤ YN0007: │ @fortawesome/fontawesome-common-types@npm:0.2.36 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-common-types@npm:6.4.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-common-types@npm:6.1.2 must be built because it never has been before or the last one failed
➤ YN0009: │ canvas@npm:2.11.2 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-8c4afe71/build.log)
➤ YN0009: │ canvas@npm:2.11.2 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-4fb2f59d/build.log)
➤ YN0009: │ canvas@npm:2.11.2 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-fbf3b7ef/build.log)
➤ YN0007: │ root@workspace:. must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-svg-core@npm:1.2.36 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/free-regular-svg-icons@npm:5.15.4 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/free-solid-svg-icons@npm:5.15.4 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-svg-core@npm:6.4.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/free-brands-svg-icons@npm:6.4.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/free-regular-svg-icons@npm:6.4.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/free-solid-svg-icons@npm:6.4.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/fontawesome-svg-core@npm:6.1.2 must be built because it never has been before or the last one failed
➤ YN0007: │ @fortawesome/free-solid-svg-icons@npm:6.1.2 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 4m 39s
➤ YN0000: Failed with errors in 6m 54s
...
log of the first error:
$ cat /tmp/xfs-8c4afe71/build.log
# This file contains the result of Yarn building a package (canvas@npm:2.11.2)
# Script name: install
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@1.0.10
node-pre-gyp info using node@22.3.0 | linux | x64
(node:28061) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-linux-glibc-x64.tar.gz
node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-linux-glibc-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for canvas@2.11.2 and node@22.3.0 (node-v127 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v127-linux-glibc-x64.tar.gz
gyp info it worked if it ends with ok
gyp info using node-gyp@9.4.0
gyp info using node@22.3.0 | linux | x64
gyp info ok
gyp info it worked if it ends with ok
gyp info using node-gyp@9.4.0
gyp info using node@22.3.0 | linux | x64
(node:28186) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
gyp info find Python using Python version 3.12.4 found at "/usr/bin/python3"
gyp http GET https://nodejs.org/download/release/v22.3.0/node-v22.3.0-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v22.3.0/node-v22.3.0-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v22.3.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v22.3.0/SHASUMS256.txt
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/tools/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/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/app-desktop/node_modules/canvas/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/tools/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/myusr/.cache/node-gyp/22.3.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/myusr/.cache/node-gyp/22.3.0',
gyp info spawn args '-Dnode_gyp_dir=/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/tools/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/myusr/.cache/node-gyp/22.3.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/app-desktop/node_modules/canvas',
gyp info spawn args '-Dnode_engine=v8',
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=.'
gyp info spawn args ]
Traceback (most recent call last):
File "/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/tools/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
import gyp # noqa: E402
^^^^^^^^^^
File "/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/tools/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
import gyp.input
File "/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/tools/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/tools/node_modules/node-gyp/lib/configure.js:325:16)
gyp ERR! stack at ChildProcess.emit (node:events:520:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
gyp ERR! System Linux 6.9.4-arch1-1
gyp ERR! command "/usr/bin/node" "/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/tools/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--update-binary" "--module=/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/app-desktop/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/app-desktop/node_modules/canvas/build/Release" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v127"
gyp ERR! cwd /home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/app-desktop/node_modules/canvas
gyp ERR! node -v v22.3.0
gyp ERR! node-gyp -v v9.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/tools/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --update-binary --module=/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/app-desktop/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/app-desktop/node_modules/canvas/build/Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v127' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/tools/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
node-pre-gyp ERR! stack at ChildProcess.emit (node:events:520:28)
node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1105:16)
node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:305:5)
node-pre-gyp ERR! System Linux 6.9.4-arch1-1
node-pre-gyp ERR! command "/usr/bin/node" "/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/tools/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
node-pre-gyp ERR! cwd /home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/app-desktop/node_modules/canvas
node-pre-gyp ERR! node -v v22.3.0
node-pre-gyp ERR! node-pre-gyp -v v1.0.10
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/tools/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --update-binary --module=/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/app-desktop/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/home/myusr/.cache/yay/joplin/src/joplin-2.14.20/packages/app-desktop/node_modules/canvas/build/Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v127' (1)
➤ YN0009: │ canvas@npm:2.11.2 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-b427aa8f/build.log)
➤ YN0009: │ canvas@npm:2.11.2 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-87b86888/build.log)
➤ YN0009: │ canvas@npm:2.11.2 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-7dd89a9d/build.log)
hello, the latest version ( https://aur.archlinux.org/joplin.git commit 5c3d01a) doesn't build
stdout with an error:
log of the first error:
other people have the same issue ( https://aur.archlinux.org/packages/joplin-desktop )
please fix
The text was updated successfully, but these errors were encountered: