yarn run v1.22.22
$ yarn run build:ts && yarn run build:res && electron-builder
$ tsc
$ tsx scripts/copy-res.ts
• electron-builder version=26.0.16 os=6.15.2-arch1-1
• artifacts will be published if draft release exists reason=CI detected
• loaded configuration file=/home/iud5/.cache/yay/element-desktop-git/src/element-desktop/electron-builder.ts
• writing effective config file=dist/builder-effective-config.yaml
• executing @electron/rebuild electronVersion=36.4.0 arch=x64 buildFromSource=false appDir=./
• installing native dependencies arch=x64
• preparing moduleName=keytar-forked arch=x64
• finished moduleName=keytar-forked arch=x64
• completed installing native dependencies
• packaging platform=linux arch=x64 electron=36.4.0 appOutDir=dist/linux-unpacked
(node:205091) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
(Use `node --trace-deprecation ...` to show where the warning was created)
• executing @electron/fuses electronPath=dist/linux-unpacked/element-desktop
• building target=tar.gz arch=x64 file=dist/element-desktop-1.11.103.tar.gz
• building target=deb arch=x64 file=dist/element-desktop_1.11.103_amd64.deb
• adding autoupdate files for: deb. (Beta feature) resourceDir=dist/linux-unpacked/resources
⨯ GitHub Personal Access Token is not set, neither programmatically, nor using env "GH_TOKEN"
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 build().
Aborting...
-> error making: element-desktop-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
element-web-git - exit status 4
element-desktop-git - exit status 4
Search Criteria
Package Details: element-desktop-git 1.11.74.r13.g43fa2e533f-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/element-desktop-git.git (read-only, click to copy) |
---|---|
Package Base: | element-desktop-git |
Description: | Glossy Matrix collaboration client — desktop version. |
Upstream URL: | https://element.io |
Licenses: | Apache |
Conflicts: | element-desktop |
Provides: | element-desktop |
Submitter: | idanoo |
Maintainer: | Xangelix |
Last Packager: | Xangelix |
Votes: | 14 |
Popularity: | 0.000000 |
First Submitted: | 2020-07-18 02:27 (UTC) |
Last Updated: | 2024-08-14 19:58 (UTC) |
Dependencies (14)
- electron (electron-launcherAUR, electron-nightly-binAUR, electron-nightly-binAUR)
- element-web-gitAUR
- libsecret
- electron (electron-launcherAUR, electron-nightly-binAUR, electron-nightly-binAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libxcrypt-compat (make)
- nodejs (nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogenAUR, nodejs-lts-iron, nodejs-lts-jod) (make)
- npm (python-nodejs-wheelAUR, corepackerAUR) (make)
- python (python37AUR) (make)
- python-setuptools (make)
- rust (rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rustup-stubAUR, rustup-gitAUR, rustup) (make)
- sqlcipher (make)
- tcl (tcl-fossilAUR, tcl84AUR, tcl84AUR) (make)
- yarn (yarn-pnpm-corepackAUR, corepackerAUR, yarn-berryAUR) (make)
Required by (1)
- element-desktop-blur-me-not (requires element-desktop)
Sources (5)
zwastik commented on 2025-06-16 02:42 (UTC)
dreieck commented on 2025-02-10 14:57 (UTC)
With nodejs version 23 this crashes with Segmentation Fault.
Latest working nodejs version seems to be 22, lowest 20.
You need to adapt the build script to use explicit version.
(This also should be done for electron, by the way.)
See e.g. the PKGBUILD
of schildichat-desktop-git
on how to implement versioned nodejs and electron in the build script.
Regards and thanks for the package!
ciara commented on 2024-07-20 00:53 (UTC)
Hey I'm noticing the latest builds seem to fail, reporting a missing "rimraf" command. It appears to be a node module that i guess isn't getting bundled or upstream forgot to bundle it.
yarn run v1.22.22 $ yarn clean && yarn build:genfiles && yarn build:bundle $ rimraf lib webapp /bin/sh: line 1: rimraf: command not found error Command failed with exit code 127. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 127. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'element-desktop-git-1.11.39.r16.g65f7545ba5-2 (element-web-git element-desktop-git)': error: packages failed to build: element-desktop-git-1.11.39.r16.g65f7545ba5-2 (element-web-git element-desktop-git)
tjw123hh commented on 2024-05-17 06:21 (UTC)
I can't build it and here's what I got:
-> Creating working copy of element-web git repo...
Cloning into 'element-web'...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US)
done.
-> Creating working copy of element-desktop git repo...
Cloning into 'element-desktop'...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US)
done.
==> Starting prepare()...
/home/tjw123hh/.cache/paru/clone/element-desktop-git/PKGBUILD: line 41: 74442 Illegal instruction (core dumped) yarn install --no-fund
==> ERROR: A failure occurred in prepare().
Aborting...
error: failed to build 'element-desktop-git-1.11.39.r16.g65f7545ba5-2 (element-web-git element-desktop-git)':
error: packages failed to build: element-desktop-git-1.11.39.r16.g65f7545ba5-2 (element-web-git element-desktop-git)
geodic commented on 2024-01-03 01:46 (UTC)
On my computer I had to change the yarn build --offline command to yarn --offline build as yarn thought the --offline option was for the build script instead of itself
dr460nf1r3 commented on 2023-07-29 12:17 (UTC)
Please update the node dependency to the needed newer version, thanks
surakus commented on 2023-07-04 19:53 (UTC)
this package requires node >= 18.0.0 since element 1.11.34
surakus commented on 2023-03-06 10:07 (UTC)
As jplatte said this still requires libxcrypt-compat as a build dependency
Pinned Comments