Hi,
I have removed the cache/yay/joplin/src
folder and answered yes to the prompt, but the update is still failing:
Run `npm audit` for details.
-> Rearranging directory tree
-> Fixing Directories Permissions
-> Removing References to $pkgdir
-> Removing References to $srcdir
-> Fixing Permissions set by npm
-> Installing LICENSE
-> Installing Startup Script
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
strip: Unable to recognise the format of the input file `./usr/share/joplin/node_modules/aws-crt/dist/bin/linux-arm64/aws-crt-nodejs.node'
-> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/share/joplin/node_modules/sharp/build/config.gypi
==> WARNING: Package contains reference to $pkgdir
usr/share/joplin/node_modules/sharp/build/config.gypi
usr/share/joplin/node_modules/sharp/build/Makefile
usr/share/joplin/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.pyc
usr/share/joplin/node_modules/node-gyp/gyp/pylib/gyp/generator/make.pyc
usr/share/joplin/node_modules/node-gyp/gyp/pylib/gyp/__init__.pyc
usr/share/joplin/node_modules/node-gyp/gyp/pylib/gyp/input.pyc
usr/share/joplin/node_modules/node-gyp/gyp/pylib/gyp/common.pyc
usr/share/joplin/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.pyc
usr/share/joplin/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.pyc
==> Creating package "joplin"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Starting package_joplin-desktop()...
-> Building Desktop with packaged Electron...
-> Using Electron Version 16.0.6
yarn run v1.22.17
warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
$ npm run electronRebuild && npx electron-builder --publish=never --linux --x64 --dir=dist/
> @joplin/app-desktop@2.6.10 electronRebuild
> gulp electronRebuild
[11:28:19] Using gulpfile ~/.cache/yay/joplin/src/joplin-2.6.10/packages/app-desktop/gulpfile.js
[11:28:19] Starting 'electronRebuild'...
Running: yarn run electron-rebuild --force-abi 89
[11:28:19] 'electronRebuild' errored after 251 ms
[11:28:19] RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded
at new NodeError (node:internal/errors:371:5)
at Socket.onChildStdout (node:child_process:459:14)
at Socket.emit (node:events:390:28)
at Socket.emit (node:domain:537:15)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:293:11)
at Socket.Readable.push (node:internal/streams/readable:234:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
at Pipe.callbackTrampoline (node:internal/async_hooks:130:17)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
==> ERROR: A failure occurred in package_joplin-desktop().
Aborting...
-> error making: joplin (joplin-desktop)
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