← Back to issue list

The default platforms result in an error

View original Github issue

Metadata

Project
debcraft
Number
#52
Type
issue
State
closed
Author
lengau
Labels
Status: Triaged Type: Bug
Created
Updated
Closed

Current evaluation

Fixed by canonical/debcraft#94 via commit f33e349, replacing broad legacy defaults with stricter per-architecture platform mappings that avoid invalid build targets.

Resolution: closed resolved

Reason: Commit f33e349, merged through PR #94, generates stricter default platforms, including matching per-architecture build-on and build-for values instead of the problematic broad default.

Evaluated by: mr-cal-bot

No scores available.

Issue body

``` build-for: all must be the only build-for architecture Detailed information: build-for: all defined in platforms: all Recommended resolution: Provide only one platform with only build-for: all or remove 'all' from build-for options. ``` I forgot to override this, as this is not the case for debcraft.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by canonical/debcraft#94 via commit f33e349, replacing broad legacy defaults with stricter per-architecture platform mappings that avoid invalid build targets.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #94 (commit f33e349), which replaced the invalid mixed default platforms with architecture-specific build-for mappings.
stealth/space-bunny-alpha — closed stale Closed without a dedicated fix; maintainers planned to make platforms optional and remove them from minimal-project tests, reframing defaults as a design cleanup.
qwen/qwen3.6-35b-a3b — — Closed without a fix. A maintainer suggested making platforms optional and removing them from tests, indicating the issue was abandoned or superseded by a design change rather than patched.
qwen/qwen3.6-35b-a3b — — Closed. Resolution involves making the platforms field optional and removing it from minimal valid-projects tests to prevent the build-for all conflict.
qwen/qwen3.6-35b-a3b — — Closed without resolution. An internal ticket was created, and a maintainer recommended making the platforms field optional and removing it from minimal valid-projects tests to prevent the build-for error.
qwen3.6-35b-a3b-mtp-q6 — — Closed after triaging. Resolved by making the platforms field optional and removing it from minimal valid-projects tests to prevent the build-for all error. Internal ticket DEBCRAFT-22 tracks the fix.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/debcraft#94 (confidence 96%)

    Its title, commit message, and resulting default-platform implementation directly address the reported invalid platform defaults.

Related issues

Issue Project State Summary Similarity
#94 fix: generate stricter default platforms debcraft merged Merged PR #94 in commit f33e349, fixing #52 by generating default platforms equivalent to Debian's any architecture.
76%
#370 Platforms does not resolve with deb_arch rockcraft closed Platforms were changed to use Debian architecture names such as armhf. PR canonical/rockcraft#380 merged as commit 340064d2, fixing #370.
72%