← Back to issue list

ProjectOptions() having wrong values

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1973030
Type
issue
State
open
Author
~ondrak
Labels
—
Created
Updated
Closed
—

Current evaluation

Reported cross-build architecture fields ignore --target-arch; it remains unverified and stale after unanswered requests for a core22/edge rerun and reproducer.

Suggested action: close stale

Reason: The sole maintainer comment on 2022-05-31 asked whether this involved core22, requested a latest/edge rerun or reproducer, and noted that --target-arch was unsupported for core22. After more than four years without an author response, the version-specific behavior and expected semantics cannot be investigated; it is stale because the necessary clarification was never provided, not merely because of age.

Evaluated by: mr-cal-bot

Impact: 48 Quick Win: 4 Complexity: 68 Confidence: 80 Actionability: 24

Issue body

ProjectOptions() reports host machine value, ignoring --target-arch value. This is inconsistent with values passed later the plugins in the build script For example for --target-arch armhf ProjectOptions().is_cross_compiling: False ProjectOptions().target_arch: arm64 ProjectOptions().cross_compiler_prefix: aarch64-linux-gnu- ProjectOptions().arch_triplet: aarch64-linux-gnu ProjectOptions().deb_arch: arm64 ProjectOptions().kernel_arch: arm64 yet in the build.sh values are: export SNAPCRAFT_ARCH_TRIPLET="arm-linux-gnueabihf" export SNAPCRAFT_TARGET_ARCH="armhf"

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 48
Quick Win: 4
Complexity: 68
Confidence: 80
Actionability: 24
close stale Reported cross-build architecture fields ignore --target-arch; it remains unverified and stale after unanswered requests for a core22/edge rerun and reproducer.
stealth/space-bunny-alpha
Impact: 42
Quick Win: 5
Complexity: 55
Confidence: 94
Actionability: 25
close stale ProjectOptions exposed host architecture instead of --target-arch armhf; after an unanswered 2022 reproducer request, the legacy API was removed and the report became obsolete.
stealth/space-bunny-alpha
Impact: 56
Quick Win: 21
Complexity: 53
Confidence: 82
Actionability: 80
needs triage ProjectOptions exposes host architecture despite --target-arch armhf, disagreeing with plugin build.sh environment variables; the issue remains open and untriaged.
qwen/qwen3.8-27b
Impact: 50
Quick Win: 28
Staleness: 85
Complexity: 45
Confidence: 55
Support Request: 10
needs triage ProjectOptions() returns host machine values instead of respecting --target-arch, causing inconsistent cross-compilation settings (e.g. is_cross_compiling=False, target_arch=arm64 when --target-arch armhf is used). Unlabelled, no comments, inactive for over 4 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 5
needs triage ProjectOptions() returns host architecture values instead of respecting --target-arch, causing inconsistent cross-compilation settings. Unlabelled and inactive for over 4 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 50
Confidence: 80
Support Request: 10
needs triage ProjectOptions() ignores --target-arch and returns host machine values instead of cross-compile targets. Unlabeled, no maintainer response, inactive for ~4 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 50
Confidence: 85
Support Request: 10
close stale Reports incorrect cross-compilation values in ProjectOptions() when --target-arch is specified, showing host values instead of target. Unlabelled, no maintainer comments, inactive for nearly 4 years.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.