← 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

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.

Suggested action: close stale

Reason: The requested capability was implemented long ago: merged PR #1383 'autotools: Enable cross-compilation support' set CC/CXX env vars exactly as the issue asked, and merged PR #1654 later replaced that with proper --host triplet arguments including cross-strip toolchain detection. With 0 comments, no maintainer interaction, and last activity ~9.5 years ago, the issue is no longer applicable and can be closed as implemented.

Impact: 20 Quick Win: 12.0 Staleness: 92 Complexity: 40 Confidence: 85 Support Request: 10

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
qwen/qwen3.8-27b
Impact: 20
Quick Win: 12.0
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 20
Confidence: 90
Support Request: 10
close stale snapcraft autotools plugin lacks cross-architecture build support. Request to allow specifying target architecture and setting corresponding autotools environment variables. Open, no comments, inactive for over nine years.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#1383 (confidence 90%)

    Merged PR enabling autotools cross-compilation by setting CC and CXX environment variables, matching the issue's request.

  • Related To: canonical/snapcraft#1654 (confidence 80%)

    Later merged refinement switching autotools cross-compilation from env vars to --host triplet arguments with correct toolchain detection.

Related issues

Issue Project State Summary Similarity
#3523 autotools v2 plugin: adding cross compilation support snapcraft closed Closed without merging. Proposed cross-compilation support for the autotools v2 plugin. Maintainers raised concerns about build environment compliance and CC handling. The maintainer closed the PR pending further forum discussion.
72%
#1654 autotools: cross-compile using --host instead of env snapcraft merged Fixed autotools cross-compilation by replacing CC and CXX environment variables with proper --host triplet arguments. Merged after reviewer approval and passing CI checks, ensuring correct toolchain detection including cross-strip.
72%
#1383 autotools: Enable cross-compilation support snapcraft merged Merged changes enabling cross-compilation support for Autotools by setting CC and CXX environment variables. Initial CI failures were fixed, tests passed, and the PR was approved and merged.
70%