Error message when using cleanbuild with bases could be improved
Metadata
Current evaluation
Closed as obsolete: cleanbuild was removed and builds now transparently clean-build by default, confirmed by the maintainer on 17 Aug 2023.
Resolution: closed stale
Reason: Maintainer sergiusens closed the item on 17 Aug 2023, explaining that cleanbuild is no longer supported because all builds now transparently perform a clean build by default. No resolving PR or commit was identified.
Evaluated by: mr-cal-bot
No scores available.
Issue body
evan@evan-VirtualBox:~/example$ cat snap/snapcraft.yaml
name: my-snap-name # you probably want to 'snapcraft register <name>'
base: core18 # the base snap is the execution environment for this snap
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: |
This is my-snap's description. You have a paragraph or two to tell the
most important story about your snap. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the snap
store.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
parts:
my-part:
# See 'snapcraft plugins'
plugin: nil
evan@evan-VirtualBox:~/example$ snapcraft cleanbuild
The cleanbuild command is no longer supported when using the base keyword.
What am I meant to do with that? How about:
The cleanbuild command cannot be used with the base keyword. Run `snapcraft --use-lxd` instead.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | Closed as obsolete: cleanbuild was removed and builds now transparently clean-build by default, confirmed by the maintainer on 17 Aug 2023. | |
| stealth/space-bunny-alpha | — | closed stale | Closed as obsolete after cleanbuild was decommissioned; normal Snapcraft builds now run transparently clean. | |
| stealth/space-bunny-alpha | — | closed stale | Legacy cleanbuild was removed as obsolete after bases took over build-environment management; no specific error-message fix is recorded (LP #1796980). | |
| qwen/qwen3.6-35b-a3b | — | — | A suggestion to improve the snapcraft cleanbuild error message with base was submitted. The request was abandoned and closed without implementation. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The suggested improved error message and alternative command were not adopted, leaving the original deprecation notice unchanged. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without changes. The proposed error message improvement was abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Requested improved error messaging for snapcraft cleanbuild with the base keyword was closed without changes. The suggested workaround and message update were not implemented. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1661064 cleanbuild should support ignoring things in its tarball | snapcraft (launchpad) | closed | Closed as obsolete after bases/build environments replaced the old LXD cleanbuild design; hardcoded .tox exclusion PR #1098 was closed unmerged. |