← Back to issue list

Add support for a version of `${shlibs:Depends}` to `snapcraft.yaml`

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1987421
Type
issue
State
open
Author
~saviq
Labels
craft-1290
Created
Updated
Closed
—

Current evaluation

Requests a `${shlibs:Depends}` shorthand that automatically stages packages for missing ELF libraries; current docs still require manually copying the linter's package list.

Suggested action: keep open

Reason: The craft-1290 label indicates the feature is tracked, and the current library linter already identifies missing libraries and corresponding packages. However, current documentation still tells users to copy those packages into stage-packages, and automating this likely requires defining an iterative build or dependency-resolution lifecycle.

Evaluated by: mr-cal-bot

Impact: 46 Quick Win: 7 Complexity: 74 Confidence: 91 Actionability: 58

Issue body

Snapcraft already tracks shared libraries that don't exist in the snap, and the packages those packages could come from. It would be nice to have a shorthand similar to `${shlibs:Depends}` available so that Snapcraft applies the knowledge by staging the packages it knows are missing. Otherwise it's a chore to update all the dependencies whose SONAME changed.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 46
Quick Win: 7
Complexity: 74
Confidence: 91
Actionability: 58
keep open Requests a `${shlibs:Depends}` shorthand that automatically stages packages for missing ELF libraries; current docs still require manually copying the linter's package list.
stealth/space-bunny-alpha
Impact: 53
Quick Win: 9
Complexity: 72
Confidence: 88
Actionability: 64
needs triage Open feature request for ${shlibs:Depends}-style automatic staging of missing shared-library packages; it lacks maintainer feedback and a resolving implementation.
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 30
Staleness: 95
Complexity: 40
Confidence: 60
Support Request: 20
needs triage Feature request to add ${shlibs:Depends} shorthand for automatic staging of shared library packages. Untriaged, no maintainer response in 1470 days.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 45
Confidence: 85
Support Request: 10
close stale Feature request to add a Debian-style shlibs:Depends shorthand to snapcraft.yaml for automatic library staging. Unaddressed with no maintainer interaction or comments.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 60
Confidence: 90
Support Request: 5
close stale Feature request to add a Debian-style shlibs:Depends shorthand to snapcraft.yaml for automatic dependency staging. Unaddressed and inactive for nearly four years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 40
Confidence: 80
Support Request: 10
close stale Feature request to add a ${shlibs:Depends}-like shorthand to snapcraft.yaml for automatic staging of missing shared library packages. Unaddressed for nearly 4 years with no maintainer interaction.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.