Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electron 18.0.0 - 18.2.3 broken on buster/bionic and older linux distros #1752

Closed
hyppyp opened this issue May 2, 2022 · 22 comments
Closed
Labels
Upstream Bug something isn't working that can only be fixed upstream

Comments

@hyppyp
Copy link

hyppyp commented May 2, 2022

Running list of apps broken by electron 18 in pi-apps (manually downgraded to older versions):

edit: everything currently in pi-apps has been fixed

@hyppyp hyppyp added the bug Something isn't working label May 2, 2022
@Rak1ta
Copy link
Contributor

Rak1ta commented May 2, 2022

I have RaspiOS Buster 32bit - update works.

@hyppyp
Copy link
Author

hyppyp commented May 2, 2022

Deleted, booted and reinstalled it. Nada! :(

@ryanfortner
Copy link
Collaborator

Can you please run ‘whatsapp’ in a terminal window, and post the full output here?

These are @cycool29 ’s builds, they may also be able to help.

@cycool29
Copy link
Contributor

cycool29 commented May 2, 2022

The latest DEB works for me on both 32 and 64 bit.

@theofficialgman theofficialgman added the waiting on response Further information is requested from the pi-apps devs. label May 3, 2022
@hyppyp
Copy link
Author

hyppyp commented May 3, 2022

/opt/WhatsApp/WhatsApp: /usr/lib/aarch64-linux-gnu/libxkbcommon.so.0: version `V_1.0.0' not found (required by /opt/WhatsApp/WhatsApp)

@ryanfortner
Copy link
Collaborator

ryanfortner commented May 3, 2022

@hyppyp try running sudo apt install libxkbcommon in a terminal, then try running whatsapp again.

@hyppyp
Copy link
Author

hyppyp commented May 3, 2022

libxkbcommon0 is reeds de nieuwste versie (0.8.2-1).
libxkbcommon0 staat ingesteld op handmatig geïnstalleerd.
(is Dutch, sorry - already latest version (0.8.2-1), set to manual install

@ryanfortner
Copy link
Collaborator

libxkbcommon0 is reeds de nieuwste versie (0.8.2-1). libxkbcommon0 staat ingesteld op handmatig geïnstalleerd. (is Dutch, sorry - already latest version (0.8.2-1), set to manual install

Try sudo apt install libxkbcommon (without the 0)

@hyppyp
Copy link
Author

hyppyp commented May 3, 2022

E: Kan pakket libxkbcommon niet vinden
(can't find package)

@ryanfortner
Copy link
Collaborator

@cycool29 it looks like your debs work on debian Bullseye, but not Buster due to the availability of a newer libxkbcommon version in the bullseye repos.

Can you configure your workflow to build for Buster, or at least a lower version of Ubuntu, for broader compatilbility?

@cycool29
Copy link
Contributor

cycool29 commented May 4, 2022

@cycool29 it looks like your debs work on debian Bullseye, but not Buster due to the availability of a newer libxkbcommon version in the bullseye repos.

Can you configure your workflow to build for Buster, or at least a lower version of Ubuntu, for broader compatilbility?

I will try with Ubuntu 18.04.

@cycool29
Copy link
Contributor

cycool29 commented May 4, 2022

@hyppyp Try:

wget https://github.com/cycool29/testing-repo/raw/master/whatsapp_7.0_arm64.deb
sudo apt install ./whatsapp_7.0_arm64.deb

@hyppyp
Copy link
Author

hyppyp commented May 4, 2022

/opt/WhatsApp/WhatsApp: /usr/lib/aarch64-linux-gnu/libxkbcommon.so.0: version `V_1.0.0' not found (required by /opt/WhatsApp/WhatsApp)

:(

@theofficialgman
Copy link
Collaborator

theofficialgman commented May 7, 2022

I can also confirm this issue on bionic

/opt/WhatsApp/WhatsApp: /usr/lib/aarch64-linux-gnu/libxkbcommon.so.0: version `V_1.0.0' not found (required by /opt/WhatsApp/WhatsApp)

either this is a nativefier bug (aka, they are building their binaries for electron/chromium on something newer than buster/bionic) or has to do with upstream whatsapp. neither bionic or buster have libxkbcommon version greater or equal to 1.X (they are on version 0.8)

@theofficialgman
Copy link
Collaborator

theofficialgman commented May 7, 2022

@cycool29 its an upstream electron bug electron/electron#33533 , originally an upstream chromium bug ofc which wasn't fixed and made its way to electron 18 release

if you can, try temporarily building on electron 17 or 16

@theofficialgman theofficialgman added Upstream Bug something isn't working that can only be fixed upstream and removed waiting on response Further information is requested from the pi-apps devs. labels May 7, 2022
@cycool29
Copy link
Contributor

cycool29 commented May 8, 2022

I just fallback the release to 5.0. The next auto-update version PR should fix this issue.

@Itai-Nelken
Copy link
Contributor

@hyppyp try again, it should work.

@hyppyp
Copy link
Author

hyppyp commented May 8, 2022

Yep, version 5.0 works! :)

@theofficialgman theofficialgman changed the title Whatsapp does not start after update Electron 18.X broken on buster/bionic and older linux distros May 8, 2022
@theofficialgman theofficialgman removed the bug Something isn't working label May 8, 2022
@theofficialgman
Copy link
Collaborator

alright good, I've renamed this bug and we will keep it open. any further apps like https://github.com/SpacingBat3/WebCord which are now being built on electron 18 will be tracked here either until electron 19 goes stable or the fix is backported to electron 18

@Rak1ta
Copy link
Contributor

Rak1ta commented May 9, 2022

@cycool29 Hello. Can you advise me? I have Buster 32bit but WhatsApp 6.0, Discord 3.1.4, Turbowarp 1.3.0 work and install correctly, but here they write that there should be an error. That is, in the future, what kind of software updates will work normally? I rarely use raspberry pi, I don't want to waste time updating (reinstalling).

@theofficialgman
Copy link
Collaborator

the fix was just pulled into 18.x.y electron branch today. it did not make it into v18.2.3, but will be in v18.2.4
electron/electron#34155

someone keep track of electron releases and watch out for 18.2.4 in the next coming days

@theofficialgman
Copy link
Collaborator

theofficialgman commented May 18, 2022

electron 18.2.4 has been released. it is time for these apps to update.

electron fiddle PR can be merged now #1128 merged

upstream projects have been notified:
tabby (notified here: Eugeny/tabby#6454) upstream fixed (Jai-JAP/tabby-arm-builds#4) fixed
turbowarp (notified here: TurboWarp/desktop#391) upstream fixed
whatsapp (notified here: cycool29/whatsapp-for-linux#4) upstream fixed
webcord (notified here: SpacingBat3/WebCord#123 (comment)) upstream fixed

@theofficialgman theofficialgman changed the title Electron 18.X broken on buster/bionic and older linux distros Electron 18.0.0 - 18.2.3 broken on buster/bionic and older linux distros May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Upstream Bug something isn't working that can only be fixed upstream
Projects
None yet
Development

No branches or pull requests

6 participants