← Back to issue list

SNAPCRAFT_PART_INSTALL is not being replaced when called by the build tools

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1628915
Type
issue
State
closed
Author
~popey
Labels
eco-team
Created
Updated
Closed

Current evaluation

Closed without a documented fix. The report detailed SNAPCRAFT_PART_INSTALL expansion failing in build tools, causing nested install paths. With zero comments and no follow-up, the issue was likely abandoned or superseded by subsequent project changes.

Suggested action:

No scores available.

Issue body

As discussed with sergiusens on irc. I'm using SNAPCRAFT_PART_INSTALL to specify where a part is installed, but it's getting ignored, leading to very odd install paths like:- /home/alan/Dev/appname/parts/partname/ appearing nested inside of /home/alan/Dev/appname/parts/partname/ along with $SNAPCRAFT_PART_INSTALL for good measure :) http://paste.ubuntu.com/23250887/ See line 12967 onwards.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without a documented fix. The report detailed SNAPCRAFT_PART_INSTALL expansion failing in build tools, causing nested install paths. With zero comments and no follow-up, the issue was likely abandoned or superseded by subsequent project changes.
qwen/qwen3.6-35b-a3b Build tools failing to substitute SNAPCRAFT_PART_INSTALL, causing incorrect nested install paths, was closed without resolution. Zero comments indicate the report was abandoned or marked stale.
qwen/qwen3.6-35b-a3b SNAPCRAFT_PART_INSTALL failed to expand during builds, causing nested install paths. The issue was closed without comments or a fix, indicating it was abandoned due to inactivity.
qwen3.6-35b-a3b-mtp-q6 SNAPCRAFT_PART_INSTALL environment variable replacement failures causing nested install paths were reported but the item was closed without resolution. Zero comments and prolonged inactivity indicate the report was abandoned or auto-closed.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1822375 SNAPCRAFT_PART_INSTALL doesn't expand in build-environment assignments snapcraft (launchpad) open SNAPCRAFT_PART_INSTALL not expanded in build-environment assignments, resolving to /lib/python3.6. Open since 2018 with zero comments and no labels; no evidence the behavior changed in current craft-parts, which still emits user build-environment values verbatim.
85%
#1719951 SNAPCRAFT_PARTS_URI doesn't work with cleanbuild snapcraft (launchpad) closed Abandoned and closed without resolution due to inactivity. The report details a snapcraft cleanbuild failure where SNAPCRAFT_PARTS_URI fails to resolve remote parts, triggering a subprocess error. No fix was implemented.
78%
#841 Replace SNAPCRAFT_PART_INSTALL in the part attributes. snapcraft merged Merged after dual reviewer approval. Replaced SNAPCRAFT_PART_INSTALL references across seven files with a 70-line update. Reviewers suggested adding cmake integration tests, but the change was merged without them.
71%
#1674828 SNAPCRAFT_SETUP_CORE=1 doesn't work for foreign architectures snapcraft (launchpad) closed SNAPCRAFT_SETUP_CORE=1 failing for foreign architectures during classic snap builds was closed without resolution. Zero comments and no fixes indicate the report was abandoned due to inactivity.
71%