Package Details: session-desktop 1.14.5-1

Git Clone URL: https://aur.archlinux.org/session-desktop.git (read-only, click to copy)
Package Base: session-desktop
Description: Onion routing based messenger
Upstream URL: https://getsession.org
Keywords: loki messenger session signal
Licenses: GPL-3.0-only
Submitter: xXR01I1Xx
Maintainer: mhdi
Last Packager: mhdi
Votes: 13
Popularity: 0.185382
First Submitted: 2020-03-23 07:39 (UTC)
Last Updated: 2024-12-21 07:57 (UTC)

Latest Comments

1 2 3 4 Next › Last »

busbybear commented on 2024-12-25 18:32 (UTC) (edited on 2024-12-25 18:34 (UTC) by busbybear)

Get an error when building the latest version. Looks like note 18.15.0 is needed. The output says v18.15.0 is found and installed.

error session-desktop@1.14.5: The engine "node" is incompatible with this module. Expected version "18.15.0". Got "18.20.5" error Commands cannot run with an incompatible environment.</code?

<font color="#11D116">==></font> Starting prepare()...
Found '/home/user/.cache/yay/session-desktop/src/session-desktop-1.14.5/.nvmrc' with version <18.15.0>
v18.15.0 is already installed.
Now using node v18.15.0 (npm v9.5.0)
yarn install v1.22.22
<font color="#A8A8A8">[1/6] Validating package.json...</font>
<font color="#A8A8A8">[2/6] Resolving packages...</font>
<font color="#A8A8A8">[3/6] Fetching packages...</font>
<font color="#A8A8A8">[4/6] Linking dependencies...</font>
<font color="#F67400">warning</font> " > focus-trap-react@10.2.3" has unmet peer dependency "prop-types@^15.8.1".
<font color="#F67400">warning</font> " > @testing-library/user-event@14.5.2" has unmet peer dependency "@testing-library/dom@>=7.21.4".
<font color="#A8A8A8">[5/6] Building fresh packages...</font>
<font color="#A8A8A8">[6/6] Cleaning modules...</font>
<font color="#A8A8A8">$ yarn patch-package && yarn electron-builder install-app-deps</font>
yarn run v1.22.22
<font color="#A8A8A8">$ /home/user/.cache/yay/session-desktop/src/session-desktop-1.14.5/node_modules/.bin/patch-package</font>
patch-package 6.5.1
Applying patches...
bytebuffer@5.0.1 <font color="#11D116">✔</font>
config@1.28.1 <font color="#11D116">✔</font>
os-locale@5.0.0 <font color="#11D116">✔</font>
Done in 0.14s.
yarn run v1.22.22
<font color="#A8A8A8">$ /home/user/.cache/yay/session-desktop/src/session-desktop-1.14.5/node_modules/.bin/electron-builder install-app-deps</font>
  <font color="#1D99F3">•</font> electron-builder  <font color="#1D99F3">version</font>=23.0.8
  <font color="#1D99F3">•</font> loaded configuration  <font color="#1D99F3">file</font>=package.json ("build" field)
<font color="#1D99F3">  • </font>rebuilding native dependencies  <font color="#1D99F3">dependencies</font>=@signalapp/better-sqlite3@8.7.1 <font color="#1D99F3">platform</font>=linux <font color="#1D99F3">arch</font>=x64
<font color="#1D99F3">  • </font>rebuilding native dependency  <font color="#1D99F3">name</font>=@signalapp/better-sqlite3 <font color="#1D99F3">version</font>=8.7.1
Done in 34.24s.
<font color="#A8A8A8">$ husky install</font>
husky - Git hooks installed
Done in 74.69s.
<font color="#11D116">==></font> Sources are ready.
<font color="#11D116">==></font> Making package: session-desktop 1.14.5-1 (Wed 25 Dec 2024 12:31:19 PM CST)
<font color="#11D116">==></font> Checking runtime dependencies...
<font color="#11D116">==></font> Checking buildtime dependencies...
<font color="#F67400">==> WARNING:</font> Using existing $srcdir/ tree
<font color="#11D116">==></font> Starting build()...
yarn run v1.22.22
<font color="#ED1515">error</font> session-desktop@1.14.5: The engine "node" is incompatible with this module. Expected version "18.15.0". Got "18.20.5"
<font color="#ED1515">error</font> Commands cannot run with an incompatible environment.
<font color="#1D99F3">info</font> Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
<font color="#ED1515">==> ERROR:</font> A failure occurred in build().
    Aborting...
<font color="#ED1515"> -> </font>error making: session-desktop-exit status 4
checking dependencies...

jlownie commented on 2024-08-22 06:00 (UTC) (edited on 2024-08-23 03:43 (UTC) by jlownie)

I tried to make this package and got the error "A failure occurred in prepare()". I got past it by manually running commands similar to the prepare() function in PKGBUILD:

source /usr/share/nvm/init-nvm.sh
nvm install node
nvm use --delete-prefix v22.6.0
nvm use node
yarn install

I don't really understand what those commands did (they seemed to install node.js) but they worked for me.

I then ran into this error:

usr/lib/electron25/electron: error while loading shared libraries: libicui18n.so.73: cannot open shared object file: No such file or directory

I got some help in a forum post and copied some old versions of libicu into my lib directory, which fixed that problem, but then ran into the same issue with libavcodec and libx265.

At that point I gave up. I believe something needs to be rebuilt, but I'm not certain what, and I don't know how to do it. Hopefully Antony knows how to fix this.

antony.ho commented on 2023-10-09 23:47 (UTC) (edited on 2023-10-09 23:47 (UTC) by antony.ho)

I have taken over this orphan. Build script and package version have been updated.

sperg512 commented on 2022-10-04 03:26 (UTC)

Tried fixing this again, and it still is failing to build. I've about given up on this.

Neko-san commented on 2022-10-03 19:35 (UTC)

I just use the flatpak at this point; I don't expect this to build anymore

Kimble commented on 2022-10-03 14:32 (UTC) (edited on 2022-10-03 14:33 (UTC) by Kimble)

The same error didn't fixed for 6 months now.

==> Sources are ready.
session-desktop-1.10.1-1: parsing pkg list...
==> Making package: session-desktop 1.10.1-1 (Mon 03 Oct 2022 04:26:33 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
yarn install v1.22.19
[1/6] Validating package.json...
error session-desktop@1.10.1: The engine "node" is incompatible with this module. Expected version "16.13.0". Got "14.16.0"
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...
error: failed to build 'session-desktop-1.10.1-1': 
error: packages failed to build: session-desktop-1.10.1-1

ardency commented on 2022-05-21 13:55 (UTC)

Getting this error during build of the package:

==> Starting build()...
yarn install v1.22.19
[1/6] Validating package.json...
error session-desktop@1.8.6: The engine "node" is incompatible with this module. Expected version "16.13.0". Got "14.16.0"
error Found incompatible module.

Seems like the PKGBUILD manually selects node v14.16.0 through nvm. This ought to be bumped to v16.

Doing so results in a build error for better-sqlite3, that I'm not sure how to fix though:

npm ERR! > better-sqlite3@7.5.0 install
npm ERR! > npm run build-release
npm ERR! 
npm ERR! > better-sqlite3@7.5.0 build-release
npm ERR! > node-gyp rebuild --release
npm ERR! Error: TAR_BAD_ARCHIVE: Unrecognized archive format
npm ERR!     at Unpack.warn (/home/erin/.npm/_cacache/tmp/git-clonel3q3cq/node_modules/tar/lib/warn-mixin.js:19:40)
npm ERR!     at Unpack.warn (/home/erin/.npm/_cacache/tmp/git-clonel3q3cq/node_modules/tar/lib/unpack.js:220:18)
npm ERR!     at Unpack.<anonymous> (/home/erin/.npm/_cacache/tmp/git-clonel3q3cq/node_modules/tar/lib/parse.js:81:14)
npm ERR!     at Unpack.emit (node:events:402:35)
npm ERR!     at Unpack.[emit] (/home/erin/.npm/_cacache/tmp/git-clonel3q3cq/node_modules/tar/lib/parse.js:285:12)
npm ERR!     at Unpack.[maybeEnd] (/home/erin/.npm/_cacache/tmp/git-clonel3q3cq/node_modules/tar/lib/parse.js:401:17)
npm ERR!     at Unpack.[consumeChunk] (/home/erin/.npm/_cacache/tmp/git-clonel3q3cq/node_modules/tar/lib/parse.js:432:21)
npm ERR!     at Unpack.write (/home/erin/.npm/_cacache/tmp/git-clonel3q3cq/node_modules/tar/lib/parse.js:364:25)
npm ERR!     at Unpack.end (/home/erin/.npm/_cacache/tmp/git-clonel3q3cq/node_modules/tar/lib/parse.js:477:14)
npm ERR!     at Yallist.<anonymous> (/home/erin/.npm/_cacache/tmp/git-clonel3q3cq/node_modules/minipass/index.js:409:18) {
npm ERR!   recoverable: false,
npm ERR!   file: '/home/erin/.npm/_cacache/tmp/git-clonel3q3cq/deps/sqlcipher.tar.gz',
npm ERR!   cwd: '/home/erin/.npm/_cacache/tmp/git-clonel3q3cq/build/Release/obj/gen/sqlite3',
npm ERR!   code: 'TAR_BAD_ARCHIVE',
npm ERR!   tarCode: 'TAR_BAD_ARCHIVE'
npm ERR! }
npm ERR! make: *** [deps/locate_sqlite3.target.mk:17: b857c92884e9598d609f6be182a2595df7a8e00f.intermediate] Error 1

sperg512 commented on 2022-05-02 18:10 (UTC)

Alright, after a month of SSH being really sussy, I've got this working again. Please let me know if there is need of a node.js version change again.

sperg512 commented on 2022-04-10 13:24 (UTC)

Thank you, I'll apply this when I'm able, and also get auto-updating working while I'm at it