Package Details: session-desktop 1.18.0-1

Git Clone URL: https://aur.archlinux.org/session-desktop.git (read-only, click to copy)
Package Base: session-desktop
Description: A Decentralized, Onion Routed, Private 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.000176
First Submitted: 2020-03-23 07:39 (UTC)
Last Updated: 2026-04-22 14:50 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

a937983423 commented on 2026-04-24 06:09 (UTC)

✨ Source copy complete!

session-desktop@1.18.0 build-ts-prod /home/debian/.cache/yay/session-desktop/src/session-desktop tsc && pnpm build-compile

ts/session/apis/seed_node_api/SeedNodeAPI.ts:3:10 - error TS2305: Module '"net"' has no exported member 'setDefaultAutoSelectFamilyAttemptTimeout'.

3 import { setDefaultAutoSelectFamilyAttemptTimeout } from 'net';

ts/util/logger/main_process_logging.ts:146:60 - error TS2353: Object literal may only specify known properties, and 'flush' does not exist in type 'ObjectEncodingOptions & Abortable & { mode?: Mode | undefined; flag?: string | undefined; }'.

146 writeFileSync(outputPath, body, { encoding: 'utf-8', flush: true }); ~

Found 2 errors in 2 files.

Errors Files 1 ts/session/apis/seed_node_api/SeedNodeAPI.ts:3 1 ts/util/logger/main_process_logging.ts:146  ELIFECYCLE  Command failed with exit code 2.  ELIFECYCLE  Command failed with exit code 2. ==> 错误: 在 build() 中发生一个错误。 正在放弃... -> 生成时出错: session-desktop-exit status 4 -> 无法安装以下软件包, 需要手动介入处理: burpsuite - exit status 1 session-desktop - exit status 4 ┌[debian@archlinux] [/dev/pts/1] [1] └[~]> node --version
v22.22.2

matervinte commented on 2026-01-07 01:52 (UTC)

Package fails to build when libvips is installed. The sharp npm module detects global libvips and tries to build from source, but fails because source files are missing.

Fix: Add export SHARP_IGNORE_GLOBAL_LIBVIPS=1 to the prepare() function in PKGBUILD.

Workaround:

cd /var/tmp/pamac-build-$USER/session-desktop  # or ~/.cache/yay/session-desktop for yay users
SHARP_IGNORE_GLOBAL_LIBVIPS=1 makepkg -f
sudo pacman -U session-desktop-*.pkg.tar.zst

simona commented on 2025-12-13 15:36 (UTC)

==> ERRORE: l'array OPTIONS contiene l'opzione sconosciuta '!optipng' ==> ERRORE: l'array OPTIONS contiene l'opzione sconosciuta '!upx'

pakar commented on 2025-11-20 17:14 (UTC)

Tiny bug in the /usr/bin/session-desktop file.

There is a space before "#!/bin/bash" and this will cause issues executing the script in some cases, like when launching the application in KDE via the desktop-file.

gefyrotos commented on 2025-10-04 19:40 (UTC)

Trying to install it, I got this error:

==> Starting build()...
yarn run v1.22.22
error session-desktop@1.17.1: The engine "node" is incompatible with this module. Expected version "20.18.2". Got "24.9.0

It seems like when the prepare() function finishes, its temp environment is destroyed and the specific Node.js version that was set is lost thus reverting to the system default.

My fix is below:

@@ -34,6 +34,8 @@

 build() {
     cd "${pkgname}-${pkgver}"
+    source /usr/share/nvm/init-nvm.sh
+    nvm use
     export NODE_ENV=production
     yarn build
     yarn electron-builder --linux --dir \

shortly-oblivion commented on 2025-06-16 23:23 (UTC) (edited on 2025-06-16 23:24 (UTC) by shortly-oblivion)

I don't understand why (since PKGBUILD is a bash script), but when using fish shell, build fails. nvm is not available when build() function is called.

Adding source /usr/share/nvm/init-nvm.sh to the first line of the build() function solved for me.

Fish shell is also my default login shell, just mentioning because I don't know whether this is relevant though.

I'm presuming this is related to using fish shell because I tested the original PKGBUILD on a clean chroot with mkarchroot using bash, and it built just fine.

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.

<deleted-account> 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.