`make` plugin interprets relative source paths incorrectly
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Closed without comments or resolution. The make plugin incorrectly resolved relative source paths, triggering permission errors, but received no follow-up or fix.
Suggested action: —
No scores available.
Issue body
I have a repository from which several snaps are built, so it's structured like this:
src/
Makefile
(...)
snaps/
server/
snapcraft.yaml
client/
snapcraft.yaml
The snapcraft.yaml file has a part that used the `make` plugin and its source is set to `../../`.
Running `snapcraft` from with ./src/snaps/server/ results in:
(...)
make
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 151 kB of archives.
After this operation, 365 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 make amd64 4.1-6 [151 kB]
Fetched 151 kB in 0s (337 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package make.
(Reading database ... 14038 files and directories currently installed.)
Preparing to unpack .../archives/make_4.1-6_amd64.deb ...
Unpacking make (4.1-6) ...
Setting up make (4.1-6) ...
make set to automatically installed.
snapd is not logged in, snap install commands will use sudo
snap "core" has no updates available
Pulling test
[Errno 13] Permission denied: '/sys/fs/ext4/sda1/trigger_fs_error'
We would appreciate it if you anonymously reported this issue.
No other data than the traceback and the version of snapcraft in use will be sent.
Would you like to send this error data? (Yes/No/Always/View) [no]: no
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.
----------------------
My suspicion is that snapcraft is trying to pull in / on my machine. A similar setup with the python plugin works fine.
I've produced a minimal example with which I can reproduce this failure (see attachment).
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without comments or resolution. The make plugin incorrectly resolved relative source paths, triggering permission errors, but received no follow-up or fix. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or associated pull request. The make plugin incorrectly resolves relative source paths, causing permission errors, but remains unaddressed due to lack of developer response. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | The make plugin relative path handling bug was closed without resolution or comments. The issue appears abandoned with no fix or discussion recorded. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1636238 make plugin fails to include a Makefile via a relative path from another Makefile | snapcraft (launchpad) | open | make plugin fails to build PostgreSQL contrib because its Makefile includes ../src/Makefile.global, which lies outside the declared source directory. 10 years old, zero comments, no maintainer response. Failure stems from user source config, not a plugin defect. | |
| #1794792 Update the make plugin to be base aware | snapcraft (launchpad) | closed | Closed without recorded resolution or comments, likely abandoned or superseded. | |
| #1609116 make plugin assumes DESTDIR is supported by Makefile | snapcraft (launchpad) | closed | Closed without resolution. The make plugin's hardcoded DESTDIR assumption for older Makefiles was not addressed, and no configuration option or internal variable exposure was added. The request remains effectively abandoned. |