Package Details: signal-desktop-beta 7.37.0beta1-3

Git Clone URL: https://aur.archlinux.org/signal-desktop-beta.git (read-only, click to copy)
Package Base: signal-desktop-beta
Description: Signal Private Messenger for Linux - Beta version.
Upstream URL: https://signal.org
Keywords: secure-messenger signal signal-desktop
Licenses: GPL3
Conflicts: signal-desktop-beta-bin
Submitter: Edu4rdSHL
Maintainer: Edu4rdSHL
Last Packager: Edu4rdSHL
Votes: 16
Popularity: 0.31
First Submitted: 2020-08-17 19:09 (UTC)
Last Updated: 2024-12-12 17:09 (UTC)

Dependencies (33)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 5 6 .. 14 Next › Last »

mkurz commented on 2024-12-06 11:46 (UTC)

It has something to do with fpm as it seems. Seems like the USE_SYSTEM_FPM env var is ignored or something similar. To be honest I have no idea.

Thanks for changing it back!

Edu4rdSHL commented on 2024-12-06 00:09 (UTC)

mkurz, it should build without that (and it works for x64), no idea why it's not working on ARM, but I will change to the old behavior then.

mkurz commented on 2024-12-05 20:05 (UTC) (edited on 2024-12-05 20:06 (UTC) by mkurz)

Even with

npm run generate

it does not work:

[build:release     ]   ⨯ cannot execute  cause=exit status 1
[build:release     ]                     errorOut=/usr/lib/ruby/3.3.0/rubygems.rb:259:in `find_spec_for_exe': can't find gem fpm (>= 0.a) with executable fpm (Gem::GemNotFoundException)
[build:release     ]            from /usr/lib/ruby/3.3.0/rubygems.rb:278:in `activate_bin_path'
[build:release     ]            from /usr/bin/fpm:25:in `<main>'
[build:release     ]     
[build:release     ]                     command=fpm -s dir --force -t deb -d libnotify4 -d libxtst6 -d libnss3 -d libasound2 -d libpulse0 -d libxss1 -d 'libc6 (>= 2.31)' -d libgtk-3-0 -d libgbm1 -d libx11-xcb1 --deb-recommends libappindicator3-1 --deb-compression xz --architecture arm64 --after-install /tmp/t-KI3JLY/0-after-install --after-remove /tmp/t-KI3JLY/1-after-remove --description '
[build:release     ]      Private messaging from your desktop' --version '7.36.0~beta.1' --package /home/mkurz/.cache/yay/signal-desktop-beta/src/Signal-Desktop-7.36.0-beta.1/release/signal-desktop-beta_7.36.0-beta.1_arm64.deb --name signal-desktop-beta --maintainer 'Signal Messenger, LLC <support@signal.org>' --url 'https://github.com/signalapp/Signal-Desktop#readme' --vendor 'Signal Messenger, LLC <support@signal.org>' --deb-priority optional --license AGPL-3.0-only '/home/mkurz/.cache/yay/signal-desktop-beta/src/Signal-Desktop-7.36.0-beta.1/release/linux-arm64-unpacked/=/opt/Signal Beta' /home/mkurz/.cache/yay/signal-desktop-beta/src/Signal-Desktop-7.36.0-beta.1/build/icons/png/16x16.png=/usr/share/icons/hicolor/16x16/apps/signal-desktop-beta.png /home/mkurz/.cache/yay/signal-desktop-beta/src/Signal-Desktop-7.36.0-beta.1/build/icons/png/24x24.png=/usr/share/icons/hicolor/24x24/apps/signal-desktop-beta.png /home/mkurz/.cache/yay/signal-desktop-beta/src/Signal-Desktop-7.36.0-beta.1/build/icons/png/32x32.png=/usr/share/icons/hicolor/32x32/apps/signal-desktop-beta.png /home/mkurz/.cache/yay/signal-desktop-beta/src/Signal-Desktop-7.36.0-beta.1/build/icons/png/48x48.png=/usr/share/icons/hicolor/48x48/apps/signal-desktop-beta.png /home/mkurz/.cache/yay/signal-desktop-beta/src/Signal-Desktop-7.36.0-beta.1/build/icons/png/64x64.png=/usr/share/icons/hicolor/64x64/apps/signal-desktop-beta.png /home/mkurz/.cache/yay/signal-desktop-beta/src/Signal-Desktop-7.36.0-beta.1/build/icons/png/128x128.png=/usr/share/icons/hicolor/128x128/apps/signal-desktop-beta.png /home/mkurz/.cache/yay/signal-desktop-beta/src/Signal-Desktop-7.36.0-beta.1/build/icons/png/256x256.png=/usr/share/icons/hicolor/256x256/apps/signal-desktop-beta.png /home/mkurz/.cache/yay/signal-desktop-beta/src/Signal-Desktop-7.36.0-beta.1/build/icons/png/512x512.png=/usr/share/icons/hicolor/512x512/apps/signal-desktop-beta.png /home/mkurz/.cache/yay/signal-desktop-beta/src/Signal-Desktop-7.36.0-beta.1/build/icons/png/1024x1024.png=/usr/share/icons/hicolor/1024x1024/apps/signal-desktop-beta.png '/tmp/t-KI3JLY/2-Signal Beta.desktop=/usr/share/applications/signal-desktop-beta.desktop'
[build:release     ]                     workingDir=
ERROR: "build:release" exited with 1.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: signal-desktop-beta-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
signal-desktop-beta - exit status 4

However, when in addition changing back to

-  USE_SYSTEM_FPM=$([ $(uname -m) == "aarch64" ] && echo true || echo false) bash -c 'npm run build'
+  USE_SYSTEM_FPM=$([ $(uname -m) == "aarch64" ] && echo true || echo false) bash -c 'npm run build:esbuild:prod && npm run build:release -- --linux dir'

like it was before, it works again...

@Edu4rdSHL Why did you drop '...:esbuild:prod && npm run build:release -- --linux dir'? Thanks!

mkurz commented on 2024-12-05 14:27 (UTC)

Does not work for me anymore:

> signal-desktop@7.36.0-beta.1 prepare-beta-build
> node scripts/prepare_beta_build.js

node:internal/modules/cjs/loader:1252
  throw err;
  ^

Error: Cannot find module '../ts/util/version'
Require stack:
- /home/mkurz/.cache/yay/signal-desktop-beta/src/Signal-Desktop-7.36.0-beta.1/scripts/prepare_beta_build.js
    at Function._resolveFilename (node:internal/modules/cjs/loader:1249:15)
    at Function._load (node:internal/modules/cjs/loader:1075:27)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
    at Module.require (node:internal/modules/cjs/loader:1340:12)
    at require (node:internal/modules/helpers:138:16)
    at Object.<anonymous> (/home/mkurz/.cache/yay/signal-desktop-beta/src/Signal-Desktop-7.36.0-beta.1/scripts/prepare_beta_build.js:8:20)
    at Module._compile (node:internal/modules/cjs/loader:1565:14)
    at Object..js (node:internal/modules/cjs/loader:1708:10)
    at Module.load (node:internal/modules/cjs/loader:1318:32) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/mkurz/.cache/yay/signal-desktop-beta/src/Signal-Desktop-7.36.0-beta.1/scripts/prepare_beta_build.js'
  ]
}

Node.js v22.12.0
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: signal-desktop-beta-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
signal-desktop-beta - exit status 4

mkurz commented on 2024-11-26 08:37 (UTC)

The ruby-stud aur was last updated in August 2020. According to my pacman.log I installed it on 2022-09-02. It's possible that meanwhile things changed so that I would also not be able to install it anymore... I guessy ou need to look in how to fix this yourself. Like does fpm really need it?

n0th1ng commented on 2024-11-26 08:32 (UTC)

I'm surprised that this is working for anybody. I noticed one comment about how this builds "without fpm" but I don't understand how this is building for anybody.

I might be missing something obvious, but it looks like this depends on fpm, which in turn depends on a very old (and unmaintained) gem named "ruby-stud", which appears to be the root of the problem.

Any help or direction would be much appreciated. Thanks!

==> Making package: ruby-stud 0.0.23-1 (Երք 26 Նմբ 2024 12:09:14 )
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
WARNING:  licenses is empty, but is recommended. Use an license identifier from
https://spdx.org/licenses or 'Nonstandard' for a nonstandard license,
or set it to nil if you don't want to specify a license.
WARNING:  open-ended dependency on rspec (>= 0, development) is not recommended
  use a bounded requirement, such as "~> x.y"
WARNING:  open-ended dependency on insist (>= 0, development) is not recommended
  use a bounded requirement, such as "~> x.y"
WARNING:  make sure you specify the oldest ruby version constraint (like ">= 3.0") that you want your gem to support by setting the `required_ruby_version` gemspec attribute
WARNING:  See https://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: stud
  Version: 0.0.23
  File: stud-0.0.23.gem
==> Starting check()...
.................Failed (Expected ["item!"], but got nil). Sleeping for 0.02
Failed (Expected ["item!"], but got nil). Sleeping for 0.04
Failed (Expected ["item!"], but got nil). Sleeping for 0.08
Failed (Expected ["item!"], but got nil). Sleeping for 0.16
Failed (Expected ["item!"], but got nil). Sleeping for 0.32
Failed (Expected ["item!"], but got nil). Sleeping for 0.64
............................F............

Failures:

  1) Stud::Temporary#file with a block should clean up after the block closes
     Failure/Error: reject { File }.exists?(path)

     Insist::Failure:
       Class does not respond to the 'exists?' method
     # ./spec/stud/temporary_spec.rb:44:in `block (4 levels) in <top (required)>'

Finished in 29.91 seconds (files took 0.05045 seconds to load)
58 examples, 1 failure

Failed examples:

rspec ./spec/stud/temporary_spec.rb:41 # Stud::Temporary#file with a block should clean up after the block closes

==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'ruby-stud-0.0.23-1': 
error: can't build ruby-pleaserun-0.0.32-3, deps not satisfied: ruby-stud
error: can't build fpm-1.15.1-2, deps not satisfied: ruby-pleaserun  ruby-stud
error: can't build signal-desktop-beta-7.35.0beta1-1, deps not satisfied: fpm
error: packages failed to build: ruby-stud-0.0.23-1  ruby-pleaserun-0.0.32-3  fpm-1.15.1-2  signal-desktop-beta-7.35.0beta1-1

mkurz commented on 2024-11-20 19:46 (UTC)

btw, the crash I experienced got fixed with 7.34.0beta3

mkurz commented on 2024-11-14 09:45 (UTC)

I found out what is causing the crash I experience: https://github.com/signalapp/ringrtc/issues/59 Lets see if they get if fixed.

mkurz commented on 2024-11-13 19:22 (UTC)

Thanks @Edu4rdSHL. For now I will just wait for the next beta and see if the crash still occurs. Maybe it will fix itself... If not, I will then start investigating.

Edu4rdSHL commented on 2024-11-13 09:18 (UTC)

It works fine on my x64 and my aarch64 VM. Probably some Asahi related issue.