← Back to issue list

autotools v2 plugin: adding cross compilation support

View original Github issue

Metadata

Project
snapcraft
Number
#3523
Type
pull request
State
closed
Author
kubiko
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

Adding minimal cross compilation support for autotools v2 plugin - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Closed without merging. Maintainers cited concerns regarding alignment with prescribed build environments and CC variable handling. The pull request was rejected pending further discussion on the project forum.
qwen3.6-35b-a3b-mtp-q6 Closed without merging. Maintainer raised concerns about build environment compatibility and CC variable handling, deciding to discuss the cross-compilation changes further on the forum instead of accepting the contribution.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
78%
#1566331 snapcraft autotools plugin doesn't support building other architectures snapcraft (launchpad) open 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.
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.
71%
#35 plugins: add autotools plugin craft-parts merged Merged the addition of an autotools plugin for handling ./configure scripts. Approved by two reviewers, the change adds 195 lines across four files, successfully integrating new build system support.
70%