Two small comments:
- With
nodejs-lts-carbon
instead ofnodejs
this builds fine. gconf
is required to run it, not only for building.
Git Clone URL: | https://aur.archlinux.org/joplin.git (read-only, click to copy) |
---|---|
Package Base: | joplin |
Description: | A note taking and to-do application with synchronization capabilities - Desktop |
Upstream URL: | https://joplinapp.org/ |
Keywords: | markdown note notetaking productivity |
Licenses: | MIT |
Groups: | joplin |
Conflicts: | joplin-desktop-electron |
Submitter: | masterkorp |
Maintainer: | masterkorp |
Last Packager: | masterkorp |
Votes: | 262 |
Popularity: | 1.50 |
First Submitted: | 2018-04-18 16:33 (UTC) |
Last Updated: | 2024-07-29 19:54 (UTC) |
« First ‹ Previous 1 .. 46 47 48 49 50 51 52 53 54 Next › Last »
Two small comments:
nodejs-lts-carbon
instead of nodejs
this builds fine.gconf
is required to run it, not only for building.Does not build, 3 versions behind
18649 verbose stack Error: sqlite3@3.1.13 install: node-pre-gyp install --fallback-to-build
18649 verbose stack Exit status 1
18649 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
18649 verbose stack at EventEmitter.emit (events.js:182:13)
18649 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
18649 verbose stack at ChildProcess.emit (events.js:182:13)
18649 verbose stack at maybeClose (internal/child_process.js:978:16)
18649 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
18650 verbose pkgid sqlite3@3.1.13
18651 verbose cwd /home/simona/.cache/aurman/joplin/src/joplin-1.0.114/ElectronClient/app
18652 verbose Linux 4.19.3-1-ck-skylake
18653 verbose argv "/usr/bin/node" "/bin/npm" "install"
18654 verbose node v11.2.0
18655 verbose npm v6.4.1
18656 error code ELIFECYCLE
18657 error errno 1
18658 error sqlite3@3.1.13 install: node-pre-gyp install --fallback-to-build
18658 error Exit status 1
18659 error Failed at the sqlite3@3.1.13 install script.
18659 error This is probably not a problem with npm. There is likely additional logging output above.
18660 verbose exit [ 1, true ]
FWIW this would not build on my system. With pdizzle's workaround it went through yay -S joplin successfully but wasn't actually installed.
Crossing my fingers for the next release.
for anyone that would like to install this, using nvm to switch node versions works. 8.12 lts did not work, 8.0 did for me:
https://github.com/creationix/nvm#usage
$ nvm install 8.0
$ nvm use 8.0
then makepkg or install from aur (yay, pacaur, aura, ...)
EDIT: installation succeeded, the desktop app seems to work, but CLI does not
Bonjour,
Snif (^_')
../src/async.h:29:52: warning: transtypage entre types de fonctions incompatibles de « void (*)(uv_async_t*, int) » {aka « void (*)(uv_async_s*, int) »} vers « uv_async_cb » {aka « void (*)(uv_async_s*) »} [-Wcast-function-type]
../src/database.cc: Au niveau global:
../src/database.cc:689:1: erreur fatale: ouverture du fichier de dépendances ./Release/.deps/Release/obj.target/node_sqlite3/src/database.o.d.raw: Aucun fichier ou dossier de ce type
compilation terminée.
make: *** [node_sqlite3.target.mk:121: Release/obj.target/node_sqlite3/src/database.o] Error 1
make : on quitte le répertoire « /tmp/yaourt-tmp-rc/aur-joplin/src/joplin-1.0.114/ElectronClient/app/node_modules/sqlite3/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/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:246:12)
gyp ERR! System Linux 4.18.16-arch1-1-ARCH
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/tmp/yaourt-tmp-rc/aur-joplin/src/joplin-1.0.114/ElectronClient/app/node_modules/sqlite3/lib/binding/node-v67-linux-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/tmp/yaourt-tmp-rc/aur-joplin/src/joplin-1.0.114/ElectronClient/app/node_modules/sqlite3/lib/binding/node-v67-linux-x64"
gyp ERR! cwd /tmp/yaourt-tmp-rc/aur-joplin/src/joplin-1.0.114/ElectronClient/app/node_modules/sqlite3
gyp ERR! node -v v11.1.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-win@2.1.1 (node_modules/7zip-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-win@2.1.1: wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-mac@1.0.1 (node_modules/7zip-bin-mac):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-mac@1.0.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3@3.1.13 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@3.1.13 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/rc/.npm/_logs/2018-11-09T13_00_14_543Z-debug.log
==> ERREUR : Une erreur s’est produite dans build().
Abandon…
==> ERREUR : Makepkg n'a pas pu construire joplin.
18636 warn optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-win@2.1.1 (node_modules/7zip-bin-win):
18637 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-win@2.1.1: wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"x64"})
18638 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: win32
18638 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
18638 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux
18638 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
18639 warn optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-mac@1.0.1 (node_modules/7zip-bin-mac):
18640 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-mac@1.0.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
18641 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
18641 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
18641 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux
18641 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
18642 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
18643 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
18644 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
18644 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
18644 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux
18644 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
18645 verbose stack Error: sqlite3@3.1.13 install: node-pre-gyp install --fallback-to-build
18645 verbose stack Exit status 1
18645 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
18645 verbose stack at EventEmitter.emit (events.js:182:13)
18645 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
18645 verbose stack at ChildProcess.emit (events.js:182:13)
18645 verbose stack at maybeClose (internal/child_process.js:970:16)
18645 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:257:5)
18646 verbose pkgid sqlite3@3.1.13
18647 verbose cwd /home/simona/.cache/aurman/joplin/src/joplin-1.0.114/ElectronClient/app
18648 verbose Linux 4.18.17-2-ck-skylake
18649 verbose argv "/usr/bin/node" "/bin/npm" "install"
18650 verbose node v11.1.0
18651 verbose npm v6.4.1
18652 error code ELIFECYCLE
18653 error errno 1
18654 error sqlite3@3.1.13 install: node-pre-gyp install --fallback-to-build
18654 error Exit status 1
18655 error Failed at the sqlite3@3.1.13 install script.
18655 error This is probably not a problem with npm. There is likely additional logging output above.
18656 verbose exit [ 1, true ]
https://github.com/laurent22/joplin/issues/467 https://github.com/laurent22/joplin/commit/3fc54d7ffdb42efdd3a825a16dca6fc37e31c555
The sqlite version issue should have been fixed on v1.0.114, but apparently it hasn't. Probably somebody who understands this better than me should submit an issue.
18648 verbose stack Error: sqlite3@3.1.13 install: `node-pre-gyp install --fallback-to-build`
18648 verbose stack Exit status 1
18648 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
18648 verbose stack at EventEmitter.emit (events.js:182:13)
18648 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
18648 verbose stack at ChildProcess.emit (events.js:182:13)
18648 verbose stack at maybeClose (internal/child_process.js:970:16)
18648 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:257:5)
18649 verbose pkgid sqlite3@3.1.13
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3@3.1.13 install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@3.1.13 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Pinned Comments
masterkorp commented on 2021-12-27 11:30 (UTC) (edited on 2021-12-27 11:32 (UTC) by masterkorp)
Hello everyone,
There was been several difficulties upgrading the Joplin due to major changes in the build system upstream.
I have finnally got version 2.6.10 working with pacthes, but remenber:
You may need to remove your src/ folder before using this version
The patches are still not perfect, you must say yes to a prompt
I will continue working on this later today, but its usable and stable, please remenber you can always report issues on the github repository.
Regards, Alfredo Palhares
masterkorp commented on 2020-12-24 19:58 (UTC) (edited on 2020-12-24 20:00 (UTC) by masterkorp)
Hello everyone,
I will be renaming the packages to its final form.
Also, please for problems with the package, please open an issue on the Github repo, its really hard to provide support on the comments section, you can also email me.
If you have problems with the
check()
function, just run makepkg with the--nocheck
flag.Thank you for your patience. Regards, Alfredo Palhares