Skip to content

libgit2.so.1.7 not found on GH actions ubuntu latest #760

@tdhock

Description

@tdhock

hi @gaborcsardi
I see that pak is used in r-lib/actions/setup-r-dependencies so I'm filing here (please tell me if it is not appropriate).
I expected that my tests should pass on github actions ubuntu latest, but I am seeing a libgit2.so.1.7 not found, https://github.com/tdhock/atime/actions/runs/14228891516/job/39874934273#step:8:226

Error in `dyn.load(file, DLLpath = DLLpath, ...)`: unable to load shared object '/home/runner/work/_temp/Library/git2r/libs/git2r.so':
  libgit2.so.1.7: cannot open shared object file: No such file or directory

this package has Imports: git2r so I assumed that git2r and its dependencies should be installed prior to package checking. And it works fine on other versions of ubuntu, so maybe there is some configuration issue with the new ubuntu image? https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250330.1 this worked in the past and it looks like this new runner image was deployed just 2 days ago.
Thanks in advance if you can help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions