← Back to issue list

snapcraft build won't allow `verbose` flag

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1980686
Type
issue
State
closed
Author
~paulomachado
Labels
—
Created
Updated
Closed

Current evaluation

Snapcraft 7.0.11 fixed core22 only; canonical/snapcraft#4024 (be005b98d) later forwarded -v and --verbose to snapcraft_legacy for core18/core20 builds.

Resolution: closed resolved

Reason: Merged commit be005b98d in canonical/snapcraft#4024 forwards the verbose flags to snapcraft_legacy, resolving the provider path that remained broken after the 7.0.11 release.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Version: 7.0.8 When running `snapcraft build` with either `-v` or `--verbose` results in error, even though options is described in help. ``` @morty repo/snaps/prql ❯ snapcraft build -v 2022-07-04 14:28:12.886 Starting Snapcraft 7.0.8 2022-07-04 14:28:12.886 Logging execution to '/home/paulo/.cache/snapcraft/log/snapcraft-20220704-142812.884829.log' Usage: snapcraft build [OPTIONS] <part>... Try 'snapcraft build -h' for help. Error: No such option: -v @morty repo/snaps/prql ❯ snapcraft build --verbose 2022-07-04 14:28:31.209 Starting Snapcraft 7.0.8 2022-07-04 14:28:31.209 Logging execution to '/home/paulo/.cache/snapcraft/log/snapcraft-20220704-142831.209022.log' Usage: snapcraft build [OPTIONS] <part>... Try 'snapcraft build -h' for help. Error: No such option: --verbose ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Snapcraft 7.0.11 fixed core22 only; canonical/snapcraft#4024 (be005b98d) later forwarded -v and --verbose to snapcraft_legacy for core18/core20 builds.
qwen/qwen3.8-27b — closed resolved Fixed in PR #4024 (commit be005b98d), which added CLI forwarding of --verbose and -v to snapcraft_legacy so the flags work for core18 and core20 builds, not just core22.
stealth/space-bunny-alpha — closed stale Report closed without a code change; PR #4024 later added forwarding of -v/--verbose to snapcraft_legacy.
qwen/qwen3.6-35b-a3b — — snapcraft build rejected -v and --verbose flags despite help text. The report was closed without resolution or code changes, indicating abandonment.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The snapcraft build -v and --verbose flag rejection remained unfixed and was likely abandoned due to lack of discussion or maintainer response.
qwen/qwen3.6-35b-a3b — — Abandoned. The snapcraft build command continues to reject -v and --verbose flags despite help documentation. No fix or resolution was provided.
qwen3.6-35b-a3b-mtp-q6 — — Missing verbose flag support for snapcraft build was closed without resolution. Zero comments and no code changes indicate the report was abandoned due to inactivity.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#4024 (confidence 98%)

    The commit is explicitly titled "cli: pass `--verbose` and `-v` to snapcraft_legacy".

Related issues

Issue Project State Summary Similarity
#4024 cli: pass `--verbose` and `-v` to snapcraft_legacy snapcraft merged Merged #4024 (commit be005b98d) to forward --verbose and -v to snapcraft_legacy for core18/core20 builds, implementing CRAFT-1292.
80%
#1980515 Snapcraft 7 inconsistent CLI options handling snapcraft (launchpad) closed Snapcraft 7's inconsistent --verbose handling was fixed by snapcore/snapcraft#4024 (commit be005b98d); a maintainer confirmed it was resolved in Snapcraft 7.3.
78%
#1986643 "snapcraft extension" both does and does not accept "--verbose" snapcraft (launchpad) closed Reported inconsistent handling of --verbose: verbose logging started, then the CLI errored with 'No such option'. Fixed by snapcore/snapcraft#4024 (commit be005b98d) forwarding --verbose/-v to snapcraft_legacy, shipped in snapcraft 7.3; tracked as CRAFT-1292.
78%
#2016662 7.3.1 Error: No such option: --verbosity (Possible options: --verbose, --version) snapcraft (launchpad) closed Legacy (core20) code path rejected --verbosity/--verbose/--quiet. Fixed via canonical/snapcraft#5423: PR #5646 (commit 3aeded2fa) plus follow-up PR #5680 (4a7663069), shipped in Snapcraft 8.11/8.11.1; snapcraft_legacy later removed entirely.
77%
#5424 Add `--verbosity`, `--verbose`, and `--quiet` for legacy commands in Snapcraft 7 snapcraft closed Enhancement request for --verbosity/--verbose/--quiet on legacy commands in Snapcraft 7. Maintainer closed it 2025-08-07 noting it shipped in Snapcraft 8.11 via #5423 (PR #5646, commit 3aeded2fa) and is not planned for Snapcraft 7.
71%
#1862256 snapcraft should complain loudly when building base: core20 snap on i386 snapcraft (launchpad) closed Closed as superseded: improved architecture parsing rejects unsupported core20/i386 builds, making a dedicated check unnecessary; snapcraft#4392 improved this handling.
71%
#1988095 prefixing snapcraft with "time" makes it ignore --verbose snapcraft (launchpad) open An unlabelled report says prefixing a core22 Snapcraft build with time leaves only a spinner and suppresses verbose output; no triage or confirmed resolution is recorded.
71%
#1984227 Snapcraft 7.1.1 does not build with core22 on riscv64 snapcraft (launchpad) closed Fixed in Snapcraft 7.1.2, which added the missing riscv64 support needed to build core22 snaps.
71%
#1990550 snapcraft init creates boilerplate which opaquely fails to build by default snapcraft (launchpad) closed Resolved by changing `snapcraft init` boilerplate from core20 to core22; the reporter confirmed the fix on 2023-06-01.
70%