Autotools plugin should support installing via prefix instead of DESTDIR
Metadata
Current evaluation
Prefix-based Autotools installation was merged in canonical/snapcraft#351, resolving Launchpad bug #1544629 in commit 72dbc3285.
Resolution: closed resolved
Reason: Merged PR canonical/snapcraft#351 added an Autotools option to install through prefix rather than DESTDIR. Commit 72dbc3285 records the implementation that closed the bug.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Currently the autotools plugin uses an empty prefix with configuring, and called `make install` with DESTDIR in order to place the files into the .snap. However, not every piece of software will work with this. Some (e.g. PHP7) only work if configured to install into the .snap via the prefix and then simply installed without DESTDIR. The autotools plugin should support this via a config option.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Prefix-based Autotools installation was merged in canonical/snapcraft#351, resolving Launchpad bug #1544629 in commit 72dbc3285. | |
| stealth/space-bunny-alpha | — | closed resolved | Autotools prefix-based installation was implemented in merged PR #351, resolving Launchpad bug #1544629 via commit 72dbc3285. | |
| stealth/space-bunny-alpha | — | closed resolved | Added opt-in Autotools prefix-based installation; canonical/snapcraft#351 merged the fix in commit 72dbc3285, with #352 backporting it to the 1.x branch. | |
| qwen/qwen3.6-35b-a3b | — | — | The autotools plugin feature request to support prefix-based installation instead of DESTDIR was closed without implementation. Zero comments and no follow-up activity indicate the request was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. Lacking comments or resolution, the request to add prefix-based installation support to the autotools plugin was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | The autotools plugin feature request to support prefix-based installation instead of DESTDIR was closed without implementation. Zero comments and inactivity indicate the request was abandoned or rejected. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Abandoned. The autotools plugin was not updated to support prefix-based installation, leaving the DESTDIR approach unchanged. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#351
(confidence 100%)
Merged PR adding prefix-based installation support to the Autotools plugin.
-
Likely Fixed By:
canonical/snapcraft@72dbc3285
(confidence 100%)
Commit implementing prefix-based installation for the Autotools plugin.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #352 Backport to 1.x: Autotools plugin: Support installing via prefix. | snapcraft | merged | Merged into Snapcraft 1.x, adding prefix-based installation to the Autotools plugin as a backport of #351. | |
| #1544630 CMake plugin should support installing via prefix instead of DESTDIR | snapcraft (launchpad) | closed | Prefix-based installation landed for Autotools in merged PR #351; referenced PR #346 was closed unmerged after targeting the wrong plugin. | |
| #346 CMake plugin: Support installing via prefix. | snapcraft | closed | Closed unmerged after the change was found to target CMake instead of Autotools; equivalent prefix-install support merged in snapcraft#351 via commit 72dbc3285. | |
| #351 Autotools plugin: Support installing via prefix. | snapcraft | merged | Merged PR #351 by kyrofa adds an Autotools plugin config option to install via prefix instead of DESTDIR, fixing LP bug #1544629 (commit 72dbc3285). Reviewed and approved by sergiusens and come-maiz. | |
| #536 Always set prefix in the autotools plugin | snapcraft | closed | Closed unmerged: hard-coding an autotools prefix would break existing builders; maintainers suggested a separate install-via option instead. |