Package Base Details: joplin

Git Clone URL: https://aur.archlinux.org/joplin.git (read-only, click to copy)
Keywords: markdown note notetaking productivity
Submitter: masterkorp
Maintainer: masterkorp
Last Packager: masterkorp
Votes: 258
Popularity: 2.61
First Submitted: 2018-04-18 16:33 (UTC)
Last Updated: 2024-04-06 17:49 (UTC)

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.

  • joplin will contain the CLI application
  • joplin-desktop will contain the Desktop version

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

Latest Comments

« First ‹ Previous 1 .. 39 40 41 42 43 44 45 46 47 48 49 .. 53 Next › Last »

Hal5000 commented on 2019-09-04 19:18 (UTC)

As a workaround to this problem, consider installing nodejs-lts-carbon for building. Solved the problem for me.

maclinuxfree commented on 2019-09-03 21:22 (UTC)

Same here as @Nebucatnetzer.

paulstrait commented on 2019-09-03 17:18 (UTC)

Same problem as @Nebucatnetzer.

tovo commented on 2019-09-03 08:06 (UTC)

Hi all, Same problem as @Nebucatnetzer here for an update from 1.0.161 version to the latest

Nebucatnetzer commented on 2019-09-02 16:53 (UTC)

I can't install the 1.165 version. I get the following error even after a clean build:

./src/async.h:29:52: warning: cast between incompatible function types from ‘void (*)(uv_async_t*, int)’ {aka ‘void (*)(uv_async_s*, int)’} to ‘uv_async_cb’ {aka ‘void (*)(uv_async_s*)’} [-Wcast-function-type]
make: *** [node_sqlite3.target.mk:125: Release/obj.target/node_sqlite3/src/database.o] Error 1
make: Leaving directory '/home/andreas/.cache/yay/joplin/src/joplin-1.0.165/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:190:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.2.9-arch1-1-ARCH
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/andreas/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3/lib/binding/node-v72-linux-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/home/andreas/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3/lib/binding/node-v72-linux-x64" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
gyp ERR! cwd /home/andreas/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3
gyp ERR! node -v v12.9.1
gyp ERR! node-gyp -v v5.0.2
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/andreas/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3/lib/binding/node-v72-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/andreas/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3/lib/binding/node-v72-linux-x64 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/andreas/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
node-pre-gyp ERR! System Linux 5.2.9-arch1-1-ARCH
node-pre-gyp ERR! command "/usr/bin/node" "/home/andreas/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/andreas/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3
node-pre-gyp ERR! node -v v12.9.1
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok 
Failed to execute '/usr/bin/node /usr/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/andreas/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3/lib/binding/node-v72-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/andreas/.cache/yay/joplin/src/joplin-1.0.165/ElectronClient/app/node_modules/sqlite3/lib/binding/node-v72-linux-x64 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-win@2.2.0 (node_modules/7zip-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-win@2.2.0: 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 WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.0.6 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.0.6: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3@4.0.6 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the sqlite3@4.0.6 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/andreas/.npm/_logs/2019-09-02T16_50_16_079Z-debug.log
==> ERROR: A failure occurred in build().
    Aborting...
Error making: joplin

hillbicks commented on 2019-07-20 17:59 (UTC)

@masterkorp: Could you please try this config in a clean environment? Since there are so many people with the same problem, it seems that it is something specific to your system. Maybe change the path to an absolute one?

I also don't see why joplin.desktop should be anywhere else than joplin.sh and joplin-desktop.sh. All three files are included in the source, yet joplin.desktop is the only file located in the parent dir according to your PKGBUILD. Can you check where the joplin.desktop is located on your system? I would assume it is in the parent dir, hence why it is working for you and failing for everybody else.

Thanks again

vitalijr2 commented on 2019-07-07 16:09 (UTC) (edited on 2019-07-07 16:10 (UTC) by vitalijr2)

On my opinion you should remove these files from the package:

  • /usr/share/joplin/resources/app/node_modules/7zip-bin-linux/arm64/7za
  • /usr/share/joplin/resources/app/node_modules/7zip-bin-linux/ia32/7za
  • /usr/share/joplin/resources/app/node_modules/7zip-bin-linux/arm/7za

saturn_knight commented on 2019-06-27 01:12 (UTC)

@masterkorp Yes it does, if I don't edit the PKGBUILD file it fails. I just tried it again manually before posting this and still received the error:

install: cannot stat '../joplin.desktop': No such file or directory

masterkorp commented on 2019-06-25 16:06 (UTC)

@saturn_knight But cloning and using makepkg directly? Does it fail?