← Back to issue list

snapcraft autotools plugin doesn't support building other architectures

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1566331
Type
issue
State
open
Author
~cmiller
Labels
plugin
Created
Updated
Closed
—

Current evaluation

Autotools cross-compilation is now supported through target build-for selection, CRAFT_ARCH_TRIPLET_BUILD_FOR, and --host configuration; the historical request has been implemented.

Suggested action: close resolved

Reason: Merged canonical/snapcraft#1654, commit 19a616bf8, implemented Autotools cross-compilation using the target --host triplet. Current documentation and a core24 spread test demonstrate build-on/build-for selection, CRAFT_ARCH_TRIPLET_BUILD_FOR, and --host configuration.

Evaluated by: mr-cal-bot

Impact: 58 Quick Win: 27 Complexity: 47 Confidence: 98 Actionability: 88

Issue body

Let the user say what architecture they're building for and set environment variables that inform autotools about their wishes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 58
Quick Win: 27
Complexity: 47
Confidence: 98
Actionability: 88
close resolved Autotools cross-compilation is now supported through target build-for selection, CRAFT_ARCH_TRIPLET_BUILD_FOR, and --host configuration; the historical request has been implemented.
qwen/qwen3.6-35b-a3b
Impact: 10
Quick Win: 8
Complexity: 10
Confidence: 95
Actionability: 90
close resolved Autotools plugin cross-compilation support was requested but has since been implemented. Documentation and tests confirm cross-compilation works via platforms/build-for and autotools-configure-parameters.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 12
Staleness: 92
Complexity: 40
Confidence: 85
Support Request: 10
close stale Feature request for the autotools plugin to support cross-compilation for other architectures via environment variables. Implemented by merged PR #1383 (CC/CXX env vars) and refined by #1654 (--host triplet). No maintainer interaction; ready to close.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 20
Confidence: 90
Support Request: 10
close stale Feature request to allow cross-architecture builds in the snapcraft autotools plugin by setting target environment variables. Issue is over 10 years old with no maintainer response or activity.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 20
Confidence: 90
Support Request: 10
close stale Feature request to enable cross-architecture builds in the snapcraft autotools plugin by passing target architecture environment variables. Unaddressed for over a decade with no maintainer interaction.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 55
Confidence: 90
Support Request: 10
close stale Snapcraft autotools plugin lacks cross-architecture build support. No maintainer interaction or comments in over 9 years.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#1654 (confidence 99%)

    Merged commit 19a616bf8 added target-triplet Autotools cross-compilation support.

Related issues

Issue Project State Summary Similarity
#1813634 not reliable way to detect target architecture snapcraft (launchpad) open Snapcraft 8.0.0 added explicit build-for architecture variables, superseding the ambiguous 3.0.1-era target_arch and SNAPCRAFT_ARCH_TRIPLET behavior.
71%