SNAPCRAFT_PARTS_URI doesn't work with cleanbuild
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 cleanbuild failure with SNAPCRAFT_PARTS_URI was abandoned or superseded by newer Snapcraft versions that updated remote part handling.
Suggested action: —
No scores available.
Issue body
Was following the instructions here:
https://community.kde.org/Neon/Snap#Building
Here's the output I get:
Setting up xdelta3 (3.0.8-dfsg-1ubuntu2) ...
Setting up python3-libarchive-c (2.1-3) ...
Setting up python3-magic (1:5.25-2ubuntu1) ...
Setting up snapcraft (2.34) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Downloading parts list|
Cannot find the definition for part 'kde-frameworks-5-dev'.
It may be a remote part, run `snapcraft update` to refresh the remote parts cache.
Stopping local:snapcraft-gladly-cuddly-loon
Traceback (most recent call last):
File "/home/apol/devel/playground/snapcraft/bin/snapcraft", line 36, in <module>
obj=dict(project=snapcraft.ProjectOptions()))
File "/usr/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/apol/devel/playground/snapcraft/snapcraft/cli/lifecycle.py", line 193, in cleanbuild
lifecycle.cleanbuild(project_options, remote)
File "/home/apol/devel/playground/snapcraft/snapcraft/internal/lifecycle.py", line 338, in cleanbuild
metadata=config.get_metadata(), remote=remote).execute()
File "/home/apol/devel/playground/snapcraft/snapcraft/internal/lxd.py", line 167, in execute
raise e
File "/home/apol/devel/playground/snapcraft/snapcraft/internal/lxd.py", line 161, in execute
self._container_run(command, cwd=self._project_folder)
File "/home/apol/devel/playground/snapcraft/snapcraft/internal/lxd.py", line 114, in _container_run
**kwargs)
File "/usr/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['lxc', 'exec', 'local:snapcraft-gladly-cuddly-loon', '--', 'sh', '-c', 'cd /root/build_kdevelop; snapcraft snap --output kdevelop_5.2_amd64.snap']' returned non-zero exit status 2.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without comments or resolution. The cleanbuild failure with SNAPCRAFT_PARTS_URI was abandoned or superseded by newer Snapcraft versions that updated remote part handling. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments. SNAPCRAFT_PARTS_URI failed during cleanbuild, causing a missing part definition error. The report appears abandoned or superseded by newer snapcraft versions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without comments or resolution. The cleanbuild failure from missing remote part definitions was likely abandoned or superseded by updated snapcraft versions that fixed remote parts cache handling. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1816 snapcraft update won't fetch from `SNAPCRAFT_PARTS_URI` | snapcraft | closed | Closed without resolution or comments. Likely superseded by the linked Launchpad bug report. No fixes or code changes were applied. | |
| #1628915 SNAPCRAFT_PART_INSTALL is not being replaced when called by the build tools | snapcraft (launchpad) | closed | 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. | |
| #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. | |
| #1622435 snapcraft does not respect filesets of remote parts | snapcraft (launchpad) | closed | Closed without resolution. Snapcraft failed to resolve remote part filesets, causing build errors. Likely abandoned or superseded by newer versions. The wiki label indicates the workflow was clarified via documentation. | |
| #4806 Build "part" action forces clean build | snapcraft | closed | Resolved via craft-parts pull request 727. The snapcraft build part command now correctly performs incremental builds rather than forcing clean builds. Issue closed. |