← 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
2025-07-06 01:43:49+00:00
Updated
2025-07-06 01:44:04+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

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

No evaluation history available.