← Back to issue list

Feature request: create log of build environment settings and flags

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2012290
Type
issue
State
open
Author
~igorljubuncic-deactivatedaccount
Labels
Created
Updated
Closed

Current evaluation

Feature request to add build environment logging with a CLI flag for debugging. Untriaged, no maintainer engagement for 1263 days.

Suggested action: close stale

Reason: This feature request is 1263 days old with zero maintainer engagement, no labels, and no comments. While the feature itself has merit (logging build environment for debugging), the complete lack of discussion or prioritization over 3.5 years suggests it was not a current priority. Without evidence that this has been implemented elsewhere or that the request is still relevant to current snapcraft versions, the issue has become stale.

Impact: 50 Quick Win: 30.0 Staleness: 90 Complexity: 40 Confidence: 65 Support Request: 20

Issue body

It would be very useful if Snapcraft provided a complete build log of the internal environment of the VM or container instance, including: - Versions of the OS and tools used, e.g.: Ubuntu 22.04 container, Snapcraft 7.3.1 - Versions of compilers and build tools used with each part/plugin, e.g.: gcc 12.2 - Compilation flags used for each part/plugin, e.g.: CFLAGS += -std=c99 -Wall -Wextra -pedantic -MMD -ggdb - Environment variable overrides (global and per part) - Any other build metadata This information would be optionally available via a command-line flag to developers so they can share exact circumstances of their snap build to others, and/or allow for easier debugging of build-related problems, e.g.: builds done natively versus say Docker, builds with certain build package overrides, differences in compilation flags between snap and non-snap versions, etc. The information would be provided as a text log when the flag is used.

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 30.0
Staleness: 90
Complexity: 40
Confidence: 65
Support Request: 20
close stale Feature request to add build environment logging with a CLI flag for debugging. Untriaged, no maintainer engagement for 1263 days.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 80
Support Request: 10
needs triage Feature request to add a CLI flag to Snapcraft that logs build environment details (OS, tools, flags, env vars) for debugging and reproducibility. Untriaged and inactive for over 3 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 45
Confidence: 85
Support Request: 10
close stale Feature request to log build environment details and flags for debugging. Untriaged, zero comments, inactive for over 3 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 60
Confidence: 75
Support Request: 10
needs triage Feature request to add a CLI flag for logging build environment details, tool versions, compilation flags, and environment variables for debugging and reproducibility. Unresponded and inactive for over three years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 60
Confidence: 85
Support Request: 5
close stale Feature request to add a CLI flag in Snapcraft that logs build environment details, tool versions, compilation flags, and environment variables for debugging. Unaddressed and inactive for over three years.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.