← Back to issue list

Duplicate deprecation notices on install/prepare/build/override-build

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1763663
Type
issue
State
open
Author
~kalikiana
Labels
Created
Updated
Closed

Current evaluation

Snapcraft emits duplicate deprecation notices for install/prepare/build scriplet keywords during LXD snap builds, adding log noise. No maintainer response, no labels, no comments in ~8.4 years.

Suggested action: needs triage

Reason: No maintainer has ever responded, labelled, or acknowledged this issue (0 comments, no labels, last activity 3062 days ago), so it has not been triaged. The reported behaviour — the same deprecation warning printed once per part rather than once per keyword — is a plausible real bug in warning deduplication, but the issue is very old and the current codebase (snapcraft 8.x with craft-parts) may have already changed how these notices are emitted, so a human should verify whether it still reproduces before deciding to close or fix.

Impact: 20 Quick Win: 15.0 Staleness: 95 Complexity: 25 Confidence: 55 Support Request: 5

Issue body

Building the LXD snap (https://github.com/lxc/lxd-pkg-snap), which uses prepare, build and install scriplets in several of its parts, with the latest Snapcraft I'm seeing a lot of duplicate deprecation notices. DEPRECATED: The 'install' keyword has been replaced by 'override-build' See http://snapcraft.io/docs/deprecation-notices/dn9 for more information. DEPRECATED: The 'build' keyword has been replaced by 'override-build' See http://snapcraft.io/docs/deprecation-notices/dn8 for more information. DEPRECATED: The 'install' keyword has been replaced by 'override-build' See http://snapcraft.io/docs/deprecation-notices/dn9 for more information. DEPRECATED: The 'prepare' keyword has been replaced by 'override-build' See http://snapcraft.io/docs/deprecation-notices/dn7 for more information. DEPRECATED: The 'prepare' keyword has been replaced by 'override-build' See http://snapcraft.io/docs/deprecation-notices/dn7 for more information. DEPRECATED: The 'install' keyword has been replaced by 'override-build' See http://snapcraft.io/docs/deprecation-notices/dn9 for more information. DEPRECATED: The 'prepare' keyword has been replaced by 'override-build' See http://snapcraft.io/docs/deprecation-notices/dn7 for more information. DEPRECATED: The 'install' keyword has been replaced by 'override-build' See http://snapcraft.io/docs/deprecation-notices/dn9 for more information. DEPRECATED: The 'prepare' keyword has been replaced by 'override-build' See http://snapcraft.io/docs/deprecation-notices/dn7 for more information. DEPRECATED: The 'install' keyword has been replaced by 'override-build' See http://snapcraft.io/docs/deprecation-notices/dn9 for more information. DEPRECATED: The 'install' keyword has been replaced by 'override-build' See http://snapcraft.io/docs/deprecation-notices/dn9 for more information. DEPRECATED: The 'build' keyword has been replaced by 'override-build' See http://snapcraft.io/docs/deprecation-notices/dn8 for more information. DEPRECATED: The 'install' keyword has been replaced by 'override-build' See http://snapcraft.io/docs/deprecation-notices/dn9 for more information. DEPRECATED: The 'install' keyword has been replaced by 'override-build' See http://snapcraft.io/docs/deprecation-notices/dn9 for more information. This adds a lot of noise to the build. There are no details on what's causing these particular messages so they are effectively duplicates that aren't very helpful.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 20
Quick Win: 15.0
Staleness: 95
Complexity: 25
Confidence: 55
Support Request: 5
needs triage Snapcraft emits duplicate deprecation notices for install/prepare/build scriplet keywords during LXD snap builds, adding log noise. No maintainer response, no labels, no comments in ~8.4 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 30
Confidence: 90
Support Request: 10
close stale Reports duplicate deprecation warnings for legacy snapcraft keywords during build. No maintainer response in over 8 years. Snapcraft has evolved significantly, making these warnings obsolete.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 35
Confidence: 90
Support Request: 10
close stale Reports duplicate deprecation warnings for install/prepare/build keywords in Snapcraft builds. No maintainer response, no labels, inactive for over 8 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 10
close stale Reports duplicate deprecation warnings for install/prepare/build keywords during Snapcraft builds. Issue is over 8 years old with no maintainer interaction or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 25
Confidence: 90
Support Request: 15
close stale Snapcraft emits repetitive deprecation warnings for install, build, and prepare keywords during snap builds. Notices lack source context, creating excessive build noise. Status: open, unassigned, and inactive with no comments or triage.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.