Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844985 - net-im/whatsapp-desktop-bin-0.5.1 can't synchronize messages (infinite loop)
Summary: net-im/whatsapp-desktop-bin-0.5.1 can't synchronize messages (infinite loop)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nowa Ammerlaan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-16 09:59 UTC by Fulgurance
Modified: 2022-06-19 20:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fulgurance 2022-05-16 09:59:19 UTC
Hello, I just would like to report a bug recently with the 0.5.1 version (the only one) of net-im/whatsapp-desktop-bin. Recently, it's impossible to synchronize my message from my iphone 12. Even I remove all registered phone and I try to register it again, I fall in an infinite synchronization loop.

Emerge info:
Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/hardened/selinux, gcc-11.3.0, glibc-2.35-r4, 5.17.2-gentoo x86_64)
=================================================================
System uname: Linux-5.17.2-gentoo-x86_64-Intel-R-_Core-TM-_i9-10980HK_CPU_@_2.40GHz-with-glibc2.35
KiB Mem:    32470508 total,  19688892 free
KiB Swap:   41943036 total,  41943036 free
Timestamp of repository gentoo: Mon, 16 May 2022 09:00:01 +0000
Head commit of repository gentoo: ddcb5915f994da714066e56c3c3a4c4b464d6f4f
sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.9.12::gentoo, 3.10.4_p1::gentoo
dev-lang/rust:             1.60.0::gentoo
dev-util/cmake:            3.23.1::gentoo
dev-util/meson:            0.62.1::gentoo
sec-policy/selinux-base:   2.20220106-r3::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo, 14.0.3::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.3::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.3::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.17-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r4::gentoo
sys-libs/libselinux:       3.4_rc1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

fulgurance-overlay
    location: /var/lib/layman/fulgurance-overlay
    sync-type: laymansync
    sync-uri: https://github.com/Fulgurance/fulgurance-overlay.git
    masters: gentoo
    priority: 50

pentoo
    location: /var/lib/layman/pentoo
    sync-type: laymansync
    sync-uri: https://github.com/pentoo/pentoo-overlay.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -pipe -mmovbe -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mavx2 -maes -mpclmul -mfsgsbase -mrdrnd -mfma -mbmi -mbmi2 -mf16c -mrdseed -madx -mprefetchwt1 -mclflushopt -mxsavec -mxsaves"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=skylake -O2 -pipe -mmovbe -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mavx2 -maes -mpclmul -mfsgsbase -mrdrnd -mfma -mbmi -mbmi2 -mf16c -mrdseed -madx -mprefetchwt1 -mclflushopt -mxsavec -mxsaves"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=skylake -O2 -pipe -mmovbe -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mavx2 -maes -mpclmul -mfsgsbase -mrdrnd -mfma -mbmi -mbmi2 -mf16c -mrdseed -madx -mprefetchwt1 -mclflushopt -mxsavec -mxsaves"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=skylake -O2 -pipe -mmovbe -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mavx2 -maes -mpclmul -mfsgsbase -mrdrnd -mfma -mbmi -mbmi2 -mf16c -mrdseed -madx -mprefetchwt1 -mclflushopt -mxsavec -mxsaves"
GENTOO_MIRRORS="http://gentoo.mirrors.ovh.net/gentoo-distfiles/ https://mirrors.aliyun.com/gentoo/ http://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="fr_FR.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X aac acl acpi alsa amd64 audit bluetooth btrfs bzip2 caps compat crypt cryptsetup cups custom-cflags custom-optimization dbus device-mapper dri dri3 elogind experimental ffmpeg git glamor gstreamer hardened iconv ipv6 jpeg kde libglvnd libtirpc lm-sensors lvm mp3 mp4 mtp multilib ncurses networkmanager nls nptl ogg open_perms opengl openmp pam pcre peer_perms phonon pie plasma png policykit pulseaudio readline seccomp selinux split-usr ssl ssp svg tiff ubac udev udisks unconfined unicode uvm v4l vorbis vulkan wayland wifi wireless x264 x265 xattr xtpax zlib" ABI_X86="32 64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 ssse3 sse4_1 sse4_2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="fr fr-FR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="arm x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby26 ruby27 ruby30 ruby31" USERLAND="GNU" VIDEO_CARDS="intel i965 iris nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Nowa Ammerlaan gentoo-dev 2022-05-16 16:43:41 UTC
Unfortunately this appears to be an upstream issue with WhatsApp Web itself in certain browsers (and this package is basically just a small browser with a nice tray icon and stuff)[1]. So there is not a lot I (or the upstream maintainers) can do to fix this, it is up to WhatsApp/Facebook to fix their webapp. You can try net-im/whatsapp-for-linux from the ::guru overlay but from what I can see on their upstream GitHub page, it is also affected by the same issue[2].

Firefox/Chromium/Google Chrome do still work, but WhatsApp Web is currently completely broken in the less standard browsers (and sadly also this electron app). Sorry for the bad news.

[1] https://github.com/oOthkOo/whatsapp-desktop/issues/25
[2] https://github.com/eneshecan/whatsapp-for-linux/issues/195
Comment 2 Larry the Git Cow gentoo-dev 2022-05-19 11:04:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e263f3dfed13f5e8d78f407aa7f1859bb0879bf

commit 9e263f3dfed13f5e8d78f407aa7f1859bb0879bf
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2022-05-19 11:02:53 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-05-19 11:02:53 +0000

    profiles: mask whatsapp-desktop-bin for removal
    
    use net-im/wazzapp instead
    
    Closes: https://bugs.gentoo.org/844985
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 profiles/package.mask | 8 ++++++++
 1 file changed, 8 insertions(+)
Comment 3 JS 2022-06-19 01:18:35 UTC
This issue has been fixed in 0.5.2
https://github.com/oOthkOo/whatsapp-desktop/issues/25#issuecomment-1159560582
Comment 4 JS 2022-06-19 01:27:21 UTC
Also, net-im/wazzapp is broken because it's no longer being developed and uses an older version of electron that has issues with Nvidia cards.

https://github.com/NVIDIA/open-gpu-kernel-modules/issues/302
Comment 5 Nowa Ammerlaan gentoo-dev 2022-06-19 11:52:37 UTC
(In reply to JS from comment #3)
> This issue has been fixed in 0.5.2
> https://github.com/oOthkOo/whatsapp-desktop/issues/25#issuecomment-1159560582

I'll update and test it in a bit. If it works I'll abort the removal.
Comment 6 Larry the Git Cow gentoo-dev 2022-06-19 17:54:42 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be644aa23bd6c931fef42b69511503801b3ab77a

commit be644aa23bd6c931fef42b69511503801b3ab77a
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2022-06-19 17:43:50 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-06-19 17:49:02 +0000

    net-im/whatsapp-desktop-bin: add 0.5.2
    
    Bug: https://bugs.gentoo.org/844985
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 net-im/whatsapp-desktop-bin/Manifest               |   2 +
 .../whatsapp-desktop-bin-0.5.2.ebuild              | 107 +++++++++++++++++++++
 2 files changed, 109 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7570e76b5202d72751881d66d8431077c512a52

commit f7570e76b5202d72751881d66d8431077c512a52
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2022-06-19 16:45:41 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-06-19 17:48:16 +0000

    Revert "net-im/whatsapp-desktop-bin: treeclean"
    
    This reverts commit 08e64284bd0cb2465d158cb02ba7661cc5241903.
    
    Bug: https://bugs.gentoo.org/844985
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 net-im/whatsapp-desktop-bin/Manifest               |  2 +
 net-im/whatsapp-desktop-bin/metadata.xml           | 12 +++++
 .../whatsapp-desktop-bin-0.5.1.ebuild              | 55 ++++++++++++++++++++++
 profiles/features/musl/package.mask                |  1 +
 4 files changed, 70 insertions(+)
Comment 7 Nowa Ammerlaan gentoo-dev 2022-06-19 17:59:16 UTC
(In reply to JS from comment #4)
> Also, net-im/wazzapp is broken because it's no longer being developed and
> uses an older version of electron that has issues with Nvidia cards.
> 
> https://github.com/NVIDIA/open-gpu-kernel-modules/issues/302

The problem is indeed fixed and whatsapp-desktop seems to work nicely now, so I have unmasked it and added the new version. I'll keep wazzapp around though because I actually like it a bit better. It's virtually no extra effort to maintain both of them anyway.
Comment 8 Fulgurance 2022-06-19 20:23:13 UTC
Hello, I seen now the bug for the whatsapp-desktop-bin is fixed. Is it normal it not available actually in the portage tree ? Because when I tried to emerge it, it wasn't exist
Comment 9 Nowa Ammerlaan gentoo-dev 2022-06-19 20:51:40 UTC
(In reply to Fulgurance from comment #8)
> Hello, I seen now the bug for the whatsapp-desktop-bin is fixed. Is it
> normal it not available actually in the portage tree ? Because when I tried
> to emerge it, it wasn't exist

Re-sync your tree in an hour or so, it takes a while for changes to propagate to the repository users are actally syncing from.