fix(unsquashfs): fix Fatal Error when using unsquashfs
Metadata
Current evaluation
Author closed the PR to avoid overlap. The unsquashfs data queue bug was fixed via PR #5136, updating squashfs-tools to 4.6.1. The fix is in the edge channel and targeted for Snapcraft 8.6.
Suggested action: —
No scores available.
Issue body
When trying to push a big snap to the snap store, snapcraft fails with the error
FATAL ERROR: Data queue size is too large
This is a bug in unsquashfs tool 4.5. But it has been fixed in 4.6.1, the current stable.
This patch builds squashfs-tools version 4.6.1 from the GIT repository, thus fixing this problem.
Fix https://github.com/canonical/snapcraft/issues/5132
Fix https://forum.snapcraft.io/t/fatal-error-data-queue-size-is-too-large/43875
- [X] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)?
- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [~] Have you successfully run `tox run -m lint`?
- [ ] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Author closed the PR to avoid overlap. The unsquashfs data queue bug was fixed via PR #5136, updating squashfs-tools to 4.6.1. The fix is in the edge channel and targeted for Snapcraft 8.6. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Author closed the PR to avoid duplication with the Core24 migration. The unsquashfs 4.6.1 update was subsequently merged via PR #5136 and targeted for Snapcraft 8.6. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded by PR #5136, which merged the squashfs-tools 4.6.1 update. This resolves the unsquashfs fatal error and is available in the Snapcraft 8.6 edge channel. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #6206 snapcraft fails to unsquashfs some snaps | snapcraft | closed | Fixed by modifying the snap extraction utility to only extract required files, resolving unsquashfs failures on snaps containing character devices. The fix is included in Snapcraft 9. |