snapcraft cleanbuild
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Closed without resolution. The report details a PermissionError during snapcraft cleanbuild caused by restricted access to the .aptitude directory. With zero comments and no fix applied, the issue was abandoned or marked stale.
Suggested action: —
No scores available.
Issue body
Sorry, an error occurred in Snapcraft:
Traceback (most recent call last):
File "/usr/bin/snapcraft", line 11, in <module>
load_entry_point('snapcraft==2.43.1+18.4', 'console_scripts', 'snapcraft')()
File "/usr/lib/python3/dist-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py", line 244, in cleanbuild
project=project, echoer=echo, remote=remote, build_environment=build_environment
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_containers.py", line 53, in cleanbuild
tar_filename = _create_tar_file(project.info.name)
File "/usr/lib/python3/dist-packages/snapcraft/internal/lifecycle/_containers.py", line 71, in _create_tar_file
t.add(os.path.curdir, filter=_create_tar_filter(tar_filename))
File "/usr/lib/python3.6/tarfile.py", line 1957, in add
recursive, exclude, filter=filter)
File "/usr/lib/python3.6/tarfile.py", line 1955, in add
for f in os.listdir(name):
PermissionError: [Errno 13] Permission denied: './.aptitude'
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The report details a PermissionError during snapcraft cleanbuild caused by restricted access to the .aptitude directory. With zero comments and no fix applied, the issue was abandoned or marked stale. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Reports a PermissionError during snapcraft cleanbuild caused by an unreadable .aptitude directory. Likely abandoned or superseded by newer snapcraft versions that deprecated the cleanbuild command. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Abandoned and closed without resolution due to inactivity. The report detailed a PermissionError when snapcraft cleanbuild attempted to archive the .aptitude directory. No fix or developer comments were provided. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1615060 snapcraft clean is incomplete | snapcraft (launchpad) | closed | Reporting that snapcraft clean skips local .snap files was closed without comments or resolution, indicating the report was abandoned or left unresolved. | |
| #1675516 can't cleanbuild snapcraft itself | snapcraft (launchpad) | closed | Closed without resolution or comments, the report of a failed snapcraft cleanbuild due to missing build-packages was abandoned. | |
| #1741753 Snapcraft clean fails on root-owned files | snapcraft (launchpad) | closed | Closed without resolution. snapcraft clean failed with a PermissionError when removing root-owned files from the build directory. No fix or discussion was provided. | |
| #1663625 No script named 'snapcraft' | snapcraft (launchpad) | closed | A report of snapcraft failing after apt installation was closed without resolution or comments, indicating the matter was abandoned. | |
| #1593409 snapcraft cleanbuild 500 internal server error | snapcraft (launchpad) | closed | Closed due to inactivity. The report details a persistent 500 Internal Server Error during snapcraft cleanbuild apt operations, potentially caused by apt-cacher-ng. No fix or resolution was provided. | |
| #1799925 snapcraft gives conflicting advice for cleaning parts | snapcraft (launchpad) | closed | Closed without a fix. Snapcraft incorrectly advised running snapcraft clean with part and step flags, which were unsupported. The author worked around it with a full clean. The report appears abandoned or superseded by later updates. | |
| #1822372 Snapcraft cleanbuild on Arch Linux with LXD - AppArmor permission error | snapcraft (launchpad) | closed | Closed without resolution due to prolonged inactivity. The report detailed an AppArmor permission error during snapcraft cleanbuild on Arch Linux with LXD. No comments or fixes were provided, indicating the issue was abandoned or marked as invalid. | |
| #1746359 snapcraft cleanbuild --debug should provide guidance on build failure | snapcraft (launchpad) | closed | Closed as abandoned due to inactivity. The requested debug shell guidance for snapcraft cleanbuild was never implemented. | |
| #1990551 snapcraft 7 never drops permissions while doing builds invoked with sudo | snapcraft (launchpad) | closed | Closed without resolution due to inactivity. The report identifies a snapcraft 7 regression where sudo builds retain root privileges instead of dropping them, unlike snapcraft 6. No fix or discussion occurred. | |
| #1666735 snapcraft cleanbuild does not work with lxd installed via snap | snapcraft (launchpad) | closed | Closed without resolution or merge. The report notes snapcraft cleanbuild fails to detect LXD installed via snap, suggesting checks via snap list or lxc list instead of apt cache. No fix was implemented or documented. |