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

GitHub.UI fails on Pop! OS 21.04 (basically Ubuntu 21.04) due to HarfBuzz version mismatch #528

Closed
4 of 16 tasks
danielfdickinson opened this issue Nov 13, 2021 · 4 comments
Closed
4 of 16 tasks
Labels
auth-issue An issue authenticating to a host

Comments

@danielfdickinson
Copy link

danielfdickinson commented Nov 13, 2021

Sorry for not doing the full bug report -- I resolved my issue by downgrading to https://github.com/microsoft/Git-Credential-Manager-Core/releases/tag/v2.0.474 and no longer have the latest version (2.0.567) which has the issue, installed.

This issue that occurs is that when attempting to push to github.com on Pop! OS 21.04 (= Ubuntu 21.04) with 2.0.567 the following error is thrown.

Error:
  An assembly specified in the application dependencies manifest (GitHub.UI.deps.json) was not found:
    package: 'HarfBuzzSharp.NativeAssets.Linux', version: '2.6.1.7'
    path: 'runtimes/linux-x64/native/libHarfBuzzSharp.so'
fatal: helper error (140): Unknown

If one instead installs 20.0.474 and GitHub Desktop using apt then the browser OAuth is correctly opened (when using the secretservice credentialStore).

Which version of GCM Core are you using?

Release GCM 2.0.567 for amd64 linux (.deb package)

Which Git host provider are you trying to connect to?

  • Azure DevOps
  • Azure DevOps Server (TFS/on-prem)
  • GitHub
  • GitHub Enterprise
  • Bitbucket
  • Other - please describe

Can you access the remote repository directly in the browser using the remote URL?

  • Yes
  • No, I get a permission error
  • No, for a different reason - please describe

[Azure DevOps only] What format is your remote URL?

[Azure DevOps only] If the account picker shows more than one identity as you authenticate, check that you selected the same one that has access on the web.

  • Not applicable
  • I only see one identity
  • I checked each identity and none worked

Expected behavior

I am authenticated and my Git operation completes successfully.

Actual behavior

Explained above

Logs

Not particularly necessary in this case. It's an obvious library version issue (the GitHub.UI binary is built for a particular version of libHarfBuzzSharp which is older than the version on Ubuntu 21.04 and derivatives).

@danielfdickinson danielfdickinson added the auth-issue An issue authenticating to a host label Nov 13, 2021
@lokarithm
Copy link

lokarithm commented Nov 14, 2021

Same bug occurs on my machine that's running Linux Mint 20.2

@mjcheetham
Copy link
Collaborator

Hello! This is a known issue with the Debian package we released for 2.0.567: #506

The .deb package was missing some native dependencies in this release. The fix has been applied and will be included in the next release of GCM Core.

You can also workaround the problem in 2.0.567 by downloading the tarball gcmcore-linux_amd64.2.0.567.18224.tar.gz from the releases page, and extracting the libSkiaSharp.so and libHarfBuzzSharp.so files to /usr/local/share/gcm-core.

This was referenced Nov 15, 2021
ngmy added a commit to ngmy/devenv that referenced this issue Nov 16, 2021
@BertF1966
Copy link

A bit of instruction on how and where to install for linux and github newbies would be great please.

@lokarithm
Copy link

lokarithm commented Nov 19, 2021

A bit of instruction on how and where to install for linux and github newbies would be great please.

Check out this link:
https://github.com/GitCredentialManager/git-credential-manager

Keep in mind that version 2.0.567 has a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth-issue An issue authenticating to a host
Projects
None yet
Development

No branches or pull requests

4 participants