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

GitButler does not start on Bookworm #5638

Open
dkoenigroer opened this issue Nov 21, 2024 · 9 comments
Open

GitButler does not start on Bookworm #5638

dkoenigroer opened this issue Nov 21, 2024 · 9 comments
Labels
bug Something isn't working distribution Something related to the packaged binaries, app-images and installers os:linux The Linux platform

Comments

@dkoenigroer
Copy link

dkoenigroer commented Nov 21, 2024

Version

0.13.16

Operating System

Linux

Distribution Method

deb (Linux)

Describe the issue

Just installed GitButler_0.13.16_amd64.deb on Debian Bookworm Linux daghp 6.1.0-27-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux via

sudo apt install ./GitButler_0.13.16_amd64.deb

and tried to start with

~$ gitbutler-tauri
gitbutler-tauri: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by gitbutler-tauri)
gitbutler-tauri: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by gitbutler-tauri)

Same when using sudo dpkg -i GitButler_0.13.16_amd64.deb.

How to reproduce

Install

sudo apt install ./GitButler_0.13.16_amd64.deb

or

sudo dpkg -i GitButler_0.13.16_amd64.deb

Run

~$ gitbutler-tauri

Expected behavior

Opening GitButler GUI

Relevant log output

gitbutler-tauri: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by gitbutler-tauri)
gitbutler-tauri: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by gitbutler-tauri)
@dkoenigroer dkoenigroer added the bug Something isn't working label Nov 21, 2024
@dkoenigroer dkoenigroer changed the title GitButler on Bookworm GitButler does not start on Bookworm Nov 21, 2024
@Byron Byron added os:linux The Linux platform distribution Something related to the packaged binaries, app-images and installers labels Nov 21, 2024
@Byron
Copy link
Collaborator

Byron commented Nov 21, 2024

Thanks a lot for reporting.
Let me CC our resident linux specialist: @ndom91.

@ndom91
Copy link
Contributor

ndom91 commented Nov 21, 2024

Hey thanks for the tag, unfortunately since we're building with Ubuntu 24 atm, Debian bookworm (12) is also not supported. You'll need Debian 13+

Alternatively you could try the experimental flatpak. Check out the artifact here: https://github.com/gitbutlerapp/gitbutler/actions/runs/11931215799

Note with the flatpak, that if using the git cli auth method for fetch and push, that entering additional credentials via GitButler currently isn't supported.

That basically means that HTTPS remote URLs that ask for username/password as well as SSH keys with passphrases won't work. That's all still WIP and we definitely plan to get that working before officially announcing the flatpak.

@Byron
Copy link
Collaborator

Byron commented Nov 22, 2024

To my mind it seems understandable that not every possible Linux distribution is supported while libc is a dependency. Somehow I wonder if it's possible to either…

  • …link to an older version of glibc even on a more recent system, as these are generally backwards compatible.
  • …have a way to gracefully fail on unsupported linux systems.

The graceful failure could possibly be accomplished by having a build-script check important aspects of the system before attempting an installation.

Something I find strange though is that the glibc incompatibility wasn't caught by the package manager, which I thought was one point of having it. Maybe that is something we can improve when creating the .deb file?

@calebro-xyz
Copy link

calebro-xyz commented Nov 26, 2024

I am having the same issue with Version 0.13.12 - 0.13.17

Operating System
Linux(Parrot Security 6.2 (lorikeet))

Distribution Method
deb (Linux)

However, Version 0.13.8 and earlier Versions work pretty well.

@nazareno89
Copy link

nazareno89 commented Nov 27, 2024

Same problem here on Pop!_OS 22.04 LTS x86_64

@ndom91
Copy link
Contributor

ndom91 commented Nov 27, 2024

Which version of Debian is ParrotOS based on?

Debian 12 and Ubuntu 22 ( and derivatives like PopOS 22) won't work unfortunately.

You'll need Debian 13+ and Ubuntu 24.04+

We're working on a flatpak as an alternative for folks on older distros though

@greaterfool
Copy link

We're working on a flatpak as an alternative for folks on older distros though

This is probably the best move here. That said, I'm pretty sure it should be possible to statically link the .appimage too.

@dkoenigroer
Copy link
Author

Which version of Debian is ParrotOS based on?

Debian 12 and Ubuntu 22 ( and derivatives like PopOS 22) won't work unfortunately.

You'll need Debian 13+ and Ubuntu 24.04+

We're working on a flatpak as an alternative for folks on older distros though

Debian 13 is not released yet. Bookworm will be supported until 2028 and I think developers won't upgrade their workstations soon. Bookworm should be supported preferred to Trixy.

@TheGB0077
Copy link
Contributor

It looks like that during the Tauri v1 to v2 migration the publishing workflow had an image bump on the OS version. If a regression is not an option, then at least building from source will still work. I just built and packaged it on my machine with no issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working distribution Something related to the packaged binaries, app-images and installers os:linux The Linux platform
Projects
None yet
Development

No branches or pull requests

7 participants