snapcraft pull doesn't save the installed build dependencies
Metadata
Current evaluation
Closed without comments or resolution. The bug where snapcraft pull omitted build package dependencies from the pull state file was abandoned.
Suggested action: —
No scores available.
Issue body
Snapcraft should save the name and versions of all the packages installed, so the package can be audited and recreated. Currently, it saves the stage package dependencies, but not the build package dependencies.
To reproduce:
Write a snapcraft.yaml with the following part:
parts:
my-part:
plugin: nil
build-packages: [hello]
stage-packages: [hello]
hello has one dependency on gcc-6-base.
Run snapcraft pull
Check the file parts/my-part/state/pull:
!PullState
assets:
build-packages: [hello=2.10-1]
source-details: null
stage-packages: [gcc-6-base=6.0.1-0ubuntu1, hello=2.10-1]
project_options: {deb_arch: amd64}
properties:
plugin: nil
source: .
source-branch: ''
source-commit: ''
source-depth: 0
source-subdir: ''
source-tag: ''
source-type: ''
stage-packages: [hello]
schema_properties: []
Note that the gcc-6-base dependency was only added to the stage-packages.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without comments or resolution. The bug where snapcraft pull omitted build package dependencies from the pull state file was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without explicit resolution. The bug where snapcraft pull omitted build package dependencies from the state file was likely abandoned or superseded by later updates. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1677974 snap build dependencies | snapcraft (launchpad) | closed | Closed without resolution. The request to specify snap packages as build dependencies in snapcraft.yaml appears abandoned or superseded by upstream Snapcraft updates that later added native build dependency support. | |
| #2008777 timeout if doing snapcraft pull and build seperately | snapcraft (launchpad) | closed | A report detailing a hang when running snapcraft pull and build separately was closed without comments or resolution, indicating it was abandoned. No fix or workaround was provided. | |
| #1675516 can't cleanbuild snapcraft itself | snapcraft (launchpad) | closed | Closed without resolution or comments, the report of a failed snapcraft cleanbuild due to missing build-packages was abandoned. | |
| #1988858 snapcraft trying to install extra package causing conflict | snapcraft (launchpad) | closed | Closed without a tracked fix or comments. The author reported a build dependency conflict caused by snapcraft pulling extra packages. The issue appears abandoned or resolved by the author. | |
| #1583718 snapcraft command doesn't include expected changes | snapcraft (launchpad) | closed | Closed without resolution or comments. The build caching bug was abandoned or superseded by later improvements, requiring manual cache cleaning as a workaround. | |
| #1567054 Snapcraft clean doesn't remove pkg-config override | snapcraft (launchpad) | closed | Closed without discussion or linked pull request. The report noted snapcraft clean leaves pkg-config override files in part directories. No fix was implemented, indicating the issue was abandoned. | |
| #1448 snapcraft build using manifest.yaml | snapcraft | closed | Closed without discussion or comments. The issue appears abandoned or superseded by newer snapcraft build workflows. No resolution or merge details were recorded. | |
| #1496363 snapcraft fails to build because of missing build-dep for tests | snapcraft (launchpad) | closed | Abandoned. Closed without resolution due to a missing requests build dependency for tests. No comments or follow-up actions were recorded. | |
| #1723965 snapcraft doesn't work | snapcraft (launchpad) | closed | Closed without resolution or comments, indicating abandonment. The reported snap command failure and GL driver errors remain unresolved. | |
| #1615060 snapcraft clean is incomplete | snapcraft (launchpad) | closed | Reporting that snapcraft clean skips local .snap files was closed without comments or resolution, indicating the report was abandoned or left unresolved. |