openframeworks / openframeworks/openFrameworks

install_dependencies.sh: libunwind-dev install fails on GitHub-hosted Ubuntu 22.04 runners (both x64 and arm64)

Open
#8,543 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

On GitHub-hosted `ubuntu-22.04` and `ubuntu-22.04-arm` runners, `scripts/linux/ubuntu/install_dependencies.sh` fails at the "Ensuring latest libunwind-dev is installed..." step:

Ensuring latest libunwind-dev is installed...
E: Unable to correct problems, you have held broken packages.

The script continues past that point, but later fails for real once it tries to install `libgstreamer1.0-dev` (which depends on `libunwind-dev`):

Installing libgstreamer1.0-dev
E: Unable to correct problems, you have held broken packages.
error installing libgstreamer1.0-dev
...unmet dependencies: libgstreamer1.0-dev : Depends: libunwind-dev

Happens identically on both x64 and arm64 22.04 runners, so it's not architecture-specific - looks like something in the GitHub-hosted Ubuntu 22.04 runner image (possibly a pre-installed toolchain) is holding/pinning a conflicting libunwind package before this script runs. Ubuntu 24.04 runners aren't affected.

openframeworks/projectGenerator#645 added Ubuntu 22.04 (x64 and native arm64) legs to its CI, both of which hit this on first run:

Haven't dug into which package the runner image is holding yet - filing this mainly so it's tracked, will follow up if we find the exact conflicting package.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with scripts/linux/ubuntu/install_dependencies.sh and reproduce the dependency installation on GitHub-hosted ubuntu-22.04 x64 and arm64 runners. Investigate which held or pinned package conflicts with libunwind-dev, then verify that libunwind-dev and libgstreamer1.0-dev install successfully on both affected runners.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, shell, ubuntu
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.