← Back to issue list

options: properly handle missing compiler prefix

View original Github issue

Metadata

Project
snapcraft
Number
#1425
Type
pull request
State
merged
Author
kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Merged in canonical/snapcraft#1425 via commit 96e60f93a, fixing missing compiler-prefix handling and preventing cross-compiles from failing with an unset machine-target attribute.

Resolution: closed resolved

Reason: PR #1425 was approved and merged as commit 96e60f93a. It added proper handling for missing compiler prefixes and related option cases.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Otherwise the attempted cross-compile fails with: 'ProjectOptions' object has no attribute '_ProjectOptions__machine_target'.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#1425 via commit 96e60f93a, fixing missing compiler-prefix handling and preventing cross-compiles from failing with an unset machine-target attribute.
stealth/space-bunny-alpha — closed resolved Merged PR #1425 (96e60f93a) fixed options handling for a missing compiler prefix, preventing an unset machine-target AttributeError during cross-compilation.
stealth/space-bunny-alpha — closed resolved Merged PR #1425 via commit 96e60f93a, fixing missing compiler-prefix handling so cross-compiles no longer fail on an unset machine-target attribute.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#1425 via commit 96e60f93a, fixing missing compiler-prefix handling in options and preventing cross-compiles from failing with an unset machine-target attribute error.
stealth/space-bunny-alpha — closed resolved Merged a fix for missing compiler prefixes in options, preventing an unset private machine-target attribute error during cross-compiles and updating related exception handling.
qwen/qwen3.6-35b-a3b — — Merged fix addressing missing compiler prefix handling in options, resolving a cross-compile AttributeError. Approved by three reviewers, the update includes additional option corrections and refined exception handling.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix for a cross-compile failure triggered by a missing compiler prefix attribute. The maintainer also corrected related exceptions in the options module to prevent similar attribute errors.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4996 remote build: fix cross-compiling errors and `build-for: all` errors snapcraft closed Fixed by merged PR canonical/snapcraft#5265 (commit f94da8f13), sending build-on architectures to Launchpad for correct cross-compilation and build-for: all behavior.
70%