← Back to issue list

Autotools plugin: Support installing via prefix.

View original Github issue

Metadata

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

Current evaluation

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.

Resolution: closed resolved

Reason: The pull request was merged into snapcraft, landing the install-via-prefix support for the Autotools plugin as commit 72dbc3285. It resolves Launchpad bug #1544629, which projects requiring prefix-based installs rather than DESTDIR, and reviewers approved the option name in the discussion.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Currently autotools installs via DESTDIR, but not all autotools projects work that way. This PR fixes LP: [#1544629](https://bugs.launchpad.net/snapcraft/+bug/1544629) by adding a config option that enables the prefix to be used instead.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved 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.
stealth/space-bunny-alpha — closed resolved Merged PR #351, adding an Autotools install-via-prefix option instead of DESTDIR and resolving Launchpad bug #1544629 (commit 72dbc3285).
qwen/qwen3.6-35b-a3b — — Merged an autotools plugin update adding a config option to install via prefix instead of DESTDIR, resolving Launchpad bug #1544629. The implementation modifies two files with 120 additions and 7 deletions.
qwen3.6-35b-a3b-mtp-q6 — — Merged a change adding a config option to install autotools projects via prefix instead of DESTDIR, resolving Launchpad bug #1544629. Approved by maintainers after brief naming discussion.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft (launchpad)#1544629 (confidence 95%)

    Launchpad bug #1544629 is the upstream report fixed by this PR; autotools projects that do not work with DESTDIR installs.

Related issues

Issue Project State Summary Similarity
#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.
81%
#1544629 Autotools plugin should support installing via prefix instead of DESTDIR snapcraft (launchpad) closed Prefix-based Autotools installation was merged in canonical/snapcraft#351, resolving Launchpad bug #1544629 in commit 72dbc3285.
79%
#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.
73%
#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.
72%
#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.
71%
#253 Autotools plugin: Call make before make install snapcraft merged PR #253 by kyrofa was merged (merge commit e09cdb58b, change commit bc2213122), making the Autotools plugin run `make` before `make install`, fixing Launchpad bug #1536700.
71%