Skip to content

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

@danielfdickinson

Description

@danielfdickinson

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    auth-issueAn issue authenticating to a host

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions