← Back to issue list

[Bug] `make setup` missing deps - snapd, curl, gcc, libgit2-dev, sudo

View original Github issue

Metadata

Project
rockcraft
Number
#915
Type
issue
State
open
Author
AlexBaranowski
Labels
Created
Updated
Closed

Current evaluation

make setup on a bare Ubuntu container fails due to missing system deps (curl, gcc, libgit2-dev, sudo, snapd for integration tests). No maintainer response or labels in 421 days; Makefile now auto-installs some build deps but not all reported ones.

Suggested action: needs triage

Reason: The issue has zero comments, no labels, and no maintainer interaction in 421 days, so it has never been triaged. The report is a legitimate, reproducible bug: the current Makefile's install-build-deps only detects libxml2-dev, libxslt1-dev, python3-venv, libyaml-dev, fuse-overlayfs, umoci, and skopeo, but not curl, gcc, libgit2-dev, or sudo, so the reported failures likely persist. The libgit2-dev commit (66d62aff) appears to be from an older Makefile state and is not reflected in the current APT_PACKAGES list.

Impact: 40 Quick Win: 26.0 Staleness: 78 Complexity: 35 Confidence: 60 Support Request: 25

Issue body

### Bug Description The make setup is missing the following deps: 1. curl - installing the uv will fail 2. gcc - compilation of uv deps terminated 3. libgit2-dev missing git2.h 4. snapd - tests - integration fails 5. sudo - used in the script I'm not sure if GCC should be installed as some ppl might have other cc compiler. Still without it everything will fail. Also there is info about missing npm and codespell during `make lint` but I'm not sure if it's critical. ### To Reproduce Use the following code: ``` podman run --rm -it ubuntu:latest ``` Inside the container ```bash apt-get update apt-get install git -y git clone -b main https://github.com/canonical/rockcraft.git cd rockcraft make setup # will fail because of the missing curl apt-get install curl -y make setup # enable uv source $HOME/.local/bin/env # missing sudo make setup apt-get install sudo -y # now problem with missing C compiler make setup apt-get install gcc -y # now problem with missing git headers make setup apt-get install libgit2-dev make setup # linting works - still complaining about codespell and npm make lint # tests make test # they output is quite slow :( but the tests/integration/plugins/test_python_plugin.py will fail because of missing snapd apt-get install snapd make test ``` ### Environment Podman ### rockcraft.yaml ```yaml None ``` ### Relevant log output ```shell Multiple errors. Easy reproducible. ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 40
Quick Win: 26.0
Staleness: 78
Complexity: 35
Confidence: 60
Support Request: 25
needs triage make setup on a bare Ubuntu container fails due to missing system deps (curl, gcc, libgit2-dev, sudo, snapd for integration tests). No maintainer response or labels in 421 days; Makefile now auto-installs some build deps but not all reported ones.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 10
Confidence: 80
Support Request: 15
close stale Missing system dependencies for make setup and test in a fresh Ubuntu environment. Untriaged and inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 92
Complexity: 15
Confidence: 80
Support Request: 15
close stale Fresh Ubuntu container make setup fails due to missing system dependencies. No maintainer response or labels after 367 days.
qwen3.6-35b-a3b-mtp-q6
Staleness: 92
Complexity: 20
Confidence: 85
Support Request: 15
needs triage make setup and make test fail in a clean Ubuntu container due to missing system dependencies. Untriaged and inactive for a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 92
Complexity: 15
Confidence: 85
Support Request: 10
close stale make setup and make test fail on clean Ubuntu due to missing curl, gcc, libgit2-dev, sudo, and snapd. Scripts lack dependency installation. Issue is open, unassigned, inactive for 345 days, and needs triage to update the setup workflow.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.