Can't update Raven-Reader

I have raven-reader installed since quite a while, but can’t perform the recent update, even so I do have base-devel and patch installed.

LANG=C pamac update raven-reader
Preparing...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: Chris (space)
Password: 
==== AUTHENTICATION COMPLETE ====
Synchronisiere Paketdatenbanken...
Cloning raven-reader build files...
Generating raven-reader information...
Checking raven-reader dependencies...
Warning: grub: ignoring package upgrade (2.06.r261.g2f4430cc0-3 => 2.06.r456.g65bc45963-4)
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  raven-reader  1.0.79-1  (1.0.72-1)  AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] y


Building raven-reader...
==> Making package: raven-reader 1.0.79-1 (Mi 12 Apr 2023 15:07:31 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating raven-reader git repo...
  -> Found raven-reader.desktop
  -> Found package.json.patch
==> Validating source files with sha512sums...
    raven-reader ... Skipped
    raven-reader.desktop ... Passed
    package.json.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of raven-reader git repo...
Cloning into 'raven-reader'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
/usr/bin/patch: **** Can't open patch file package.json.patch : No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

The same error comes up with

yay raven-reader

Any help is appreachiated.
Thank you.

Hi @Masalababa,

There is a binary release for it as well:

$ pamac search raven-reader
raven-reader-bin                                                                                                                                                                                                                              1.0.79-1  AUR
Electron-based RSS reader -- All your articles in one place. Beautiful.
raven-reader                                                                                                                                                                                                                                  1.0.79-1  AUR
Simple Desktop RSS Reader made using VueJS

So rather try that:

pamac build raven-reader-bin

Seeing as it’s electron based, so compiling it will take one heck of a long time.

Hope this helps!

Remove the build directory and try again. The file exists.

Not really, cause I avoid electron apps as far as possible.

Well, that’s what this :point_up_2: says…

Do you mean this one
/var/tmp/pamac-build-space/raven-reader
and if so, that does not help.
or
what exactly has to be removed?

Well there is a git one as well, which I have installed already, but can’t update it.
That’s what my question is all about !!

And I just did the -bin one, and it installed and is working like a charm !!

The git one as well !!
However, don’t offer me apples if I asked for oranges.

Yes, or ~/.cache/yay/raven-reader for Yay’s build directory.

Try doing it manually:

sudo pacman -Syu --needed base-devel git
git clone https://aur.archlinux.org/raven-reader.git
cd raven-reader
makepkg -srcif

From its Github page:

Powered by

Which is web technologies, which means…

That one does not exist.

Thank you, but an error again …

LANG=C makepkg -srcif
==> Making package: raven-reader 1.0.79-1 (Mi 12 Apr 2023 17:41:14 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating raven-reader git repo...
  -> Found raven-reader.desktop
  -> Found package.json.patch
==> Validating source files with sha512sums...
    raven-reader ... Skipped
    raven-reader.desktop ... Passed
    package.json.patch ... Passed
==> Extracting sources...
  -> Creating working copy of raven-reader git repo...
Reset branch 'makepkg'
==> Starting prepare()...
patching file /home/space/raven-reader/src/raven-reader/package.json
==> Removing existing $pkgdir/ directory...
==> Starting build()...
yarn install v1.22.19
[1/4] Resolving packages...
warning Resolution field "yargs-parser@15.0.1" is incompatible with requested version "yargs-parser@^14.0.0"
warning Resolution field "nth-check@2.0.1" is incompatible with requested version "nth-check@~1.0.1"
warning Resolution field "js-yaml@3.13.1" is incompatible with requested version "js-yaml@~3.1.0"
warning Lockfile has incorrect entry for "ssri@^8.0.1". Ignoring it.
warning Resolution field "ejs@3.1.7" is incompatible with requested version "ejs@^2.6.1"
warning Resolution field "node-forge@1.3.0" is incompatible with requested version "node-forge@^0.10.0"
warning Lockfile has incorrect entry for "ansi-regex@^2.0.0". Ignoring it.
warning Resolution field "nth-check@2.0.1" is incompatible with requested version "nth-check@^1.0.2"
warning Resolution field "yargs-parser@13.1.2" is incompatible with requested version "yargs-parser@^4.2.0"
warning Resolution field "ansi-regex@5.0.1" is incompatible with requested version "ansi-regex@^2.0.0"
warning Resolution field "ansi-regex@5.0.1" is incompatible with requested version "ansi-regex@^3.0.0"
[2/4] Fetching packages...
error @achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "19.8.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
==> ERROR: A failure occurred in build().
    Aborting...

Try building with with Node.js 16. Edit the PKGBUILD and add nodejs-lts-gallium to makedepends():

makedepends=('yarn' 'nodejs-lts-gallium')

It would be best to build it in a chroot so it does not conflict with your existing nodejs installation.

sudo pacman -Syu manjaro-chrootbuild

Change directory one level above your existing raven-reader directory, then run:

sudo chrootbuild -H -p raven-reader -c

The final package will be in the raven-reader directory.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.