Support icon indicating copy to clipboard operation
Support copied to clipboard

v0.35.3 glibc dependency problem on Centos 7.9

Open mehmetakifayas opened this issue 2 years ago • 11 comments

Hi, I'm using GitFiend on Centos 7.9. GitFiend v0.35.3 does not work on Centos 7.9 since the rust-server requires glibc version 2.29. You can see the log below.

/opt/GitFiend/resources/app.asar.unpacked/output-code/core/rust-server true /opt/GitFiend/resources/app.asar.unpacked/output-code/core/rust-server: /lib64/libc.so.6: version GLIBC_2.29' not found (required by /opt/GitFiend/resources/app.asar.unpacked/output-code/core/rust-server) /opt/GitFiend/resources/app.asar.unpacked/output-code/core/rust-server: /lib64/libc.so.6: version GLIBC_2.25' not found (required by /opt/GitFiend/resources/app.asar.unpacked/output-code/core/rust-server) /opt/GitFiend/resources/app.asar.unpacked/output-code/core/rust-server: /lib64/libc.so.6: version GLIBC_2.28' not found (required by /opt/GitFiend/resources/app.asar.unpacked/output-code/core/rust-server) /opt/GitFiend/resources/app.asar.unpacked/output-code/core/rust-server: /lib64/libc.so.6: version GLIBC_2.18' not found (required by /opt/GitFiend/resources/app.asar.unpacked/output-code/core/rust-server)

mehmetakifayas avatar Aug 20 '22 18:08 mehmetakifayas

Thanks for reporting this. I'll see if it can get a fix out soon.

GitFiend avatar Aug 20 '22 22:08 GitFiend

Exactly same issue with Ubuntu 18.04.

farrukh-dplit avatar Aug 24 '22 07:08 farrukh-dplit

I've just release GitFiend 0.36 which should fix this. Let me know if it's still an issue.

GitFiend avatar Aug 27 '22 10:08 GitFiend

Hi, Thank you for the new release. After updating to v0.36 GitFiend works now but when I click on the changed file, the differences view does not show up. Also when I minimize the GitFiend window, content of Changes/Commits/Branches tabs disappear. You can see the log below.

/opt/GitFiend/resources/app.asar.unpacked/output-code/core/rust-server true PORT:37645

thread 'main' panicked at 'index out of bounds: the len is 1 but the index is 1', src/git/queries/refs.rs:16:37 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

101

mehmetakifayas avatar Aug 27 '22 20:08 mehmetakifayas

Thanks for the quick feedback and providing the log. I've created a build that will hopefully fix this and uploaded it to github here: https://github.com/GitFiend/Support/releases/tag/0.36.1

If this works I'll release it, otherwise keep looking into it.

GitFiend avatar Aug 28 '22 00:08 GitFiend

Thank you. v0.36.1 works!

mehmetakifayas avatar Aug 28 '22 10:08 mehmetakifayas

0.36 seems functional, thank you for quick fix.

farrukh-dplit avatar Aug 31 '22 06:08 farrukh-dplit

Hi, I know this is a little bit late to report but when I open v0.36.1 in another VM (Centos 7.9) error window pop ups.

The message is: “Couldn’t find Git. If you are installing Git, wait for the install to finish, then try again”.

Git 2.37 is already installed. I don’t know why gitfiend could not find the directory.

mehmetakifayas avatar Sep 01 '22 04:09 mehmetakifayas

That's strange. Gitfiend just calls git and assumes it's in your path. It's possible the reload button in that dialog is no longer working due to my recent changes and you may need to restart (if you haven't already tried that).

GitFiend avatar Sep 01 '22 08:09 GitFiend

Restarting VM didn’t work. I cleaned everything related to GitFiend and re-installed but that couldn’t solve the problem. Interestingly only 1 over 3 VM causes this problem.

mehmetakifayas avatar Sep 02 '22 10:09 mehmetakifayas

What do you get exactly when you run "git version" in a terminal? I noticed something a little dumb in my version checking code and made a fix and another build: https://github.com/GitFiend/Support/releases/tag/0.36.3. There's a chance this will fix it.

GitFiend avatar Sep 02 '22 23:09 GitFiend

Hi, v0.36.3 worked. There was not only version numbers but also characters as suffix in my git version (I know the reason). After updating git version to 2.37.3, both v0.36.1 and v0.36.3 worked in this VM. Thank you!

mehmetakifayas avatar Sep 05 '22 05:09 mehmetakifayas