← 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

Fresh Ubuntu container `make setup` fails due to missing curl, gcc, libgit2-dev, sudo, and snapd; no maintainer response or labels yet.

Suggested action: needs triage

Reason: The issue has no labels, assignee, or maintainer comments, and current Makefile/common.mk still lacks detection for curl, gcc, libgit2-dev, sudo, and snapd, matching the reported fresh-container failures. The reproducer is clear, but it has not yet been assessed by a maintainer.

Evaluated by: mr-cal-bot

Impact: 40 Quick Win: 15 Complexity: 50 Confidence: 72 Actionability: 75

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
~deepseek/deepseek-pro-latest
Impact: 40
Quick Win: 15
Complexity: 50
Confidence: 72
Actionability: 75
needs triage Fresh Ubuntu container `make setup` fails due to missing curl, gcc, libgit2-dev, sudo, and snapd; no maintainer response or labels yet.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 19
Complexity: 20
Confidence: 70
Actionability: 80
needs triage make setup fails in clean environments due to missing system dependencies (curl, gcc, libgit2-dev, sudo, snapd)
qwen/qwen3.8-27b
Impact: 40
Quick Win: 26
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.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.