← Back to issue list

Always set prefix in the autotools plugin

View original Github issue

Metadata

Project
snapcraft
Number
#536
Type
pull request
State
closed
Author
attente
Labels
Created
Updated
Closed

Current evaluation

Closed as rejected. Always setting the autotools prefix would break existing projects by hardcoding paths. Maintainers declined the merge to preserve builder compatibility, suggesting a new install-via enum instead.

Suggested action:

No scores available.

Issue body

Some codebases use prefix, libdir, datadir, etc. to locate installed resources at runtime. Since those paths are accessed at runtime, the prefix always needs to match the final mounted location of the snap.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed as rejected. Always setting the autotools prefix would break existing projects by hardcoding paths. Maintainers declined the merge to preserve builder compatibility, suggesting a new install-via enum instead.
qwen3.6-35b-a3b-mtp-q6 Rejected and closed. The proposed prefix change would break existing projects and hardcode paths. Maintainers suggested a new install-via enum instead, but the pull request was closed to preserve existing builder contracts.
qwen3.6-35b-a3b-mtp-q6 Closed and rejected. The hard-coded prefix change would break existing projects and violate current builder contracts. Maintainers advised against merging and suggested implementing the feature via a new install-via enum instead.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1544629 Autotools plugin should support installing via prefix instead of DESTDIR snapcraft (launchpad) closed Closed without implementation. Lacking comments or resolution, the request to add prefix-based installation support to the autotools plugin was abandoned.
71%