← Back to issue list

fix(unsquashfs): fix Fatal Error when using unsquashfs

View original Github issue

Metadata

Project
snapcraft
Number
#5147
Type
pull request
State
closed
Author
sergio-costas
Labels
—
Created
Updated
Closed

Current evaluation

Closed unmerged as overlapping work: PR #5136 (commit 2e7f5c3b) delivered the same squashfs-tools 4.6.1/Core24 update in Snapcraft 8.6.

Resolution: closed superseded

Reason: The author closed #5147 to avoid overlap after #5136 landed. That merged PR delivered the equivalent fix and was scheduled for Snapcraft 8.6.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed superseded Closed unmerged as overlapping work: PR #5136 (commit 2e7f5c3b) delivered the same squashfs-tools 4.6.1/Core24 update in Snapcraft 8.6.
stealth/space-bunny-alpha — closed superseded Closed unmerged to avoid overlap; the unsquashfs 4.5 fix landed through PR #5136, updating squashfs-tools to 4.6.1 for Snapcraft 8.6.
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.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/snapcraft#5136 (confidence 100%)

    Merged as commit 2e7f5c3b, updating the runtime to Core24 with squashfs-tools 4.6.1.

  • Related To: canonical/snapcraft#5132 (confidence 99%)

    The original unsquashfs fatal-error report was resolved by #5136.

Related issues

Issue Project State Summary Similarity
#5132 push of locally built snap fails on arm64 device snapcraft closed Fixed in Snapcraft 8.6 by merged PR #5136 (commit 2e7f5c3b), which migrated Snapcraft to core24 and updated bundled unsquashfs to 4.6.1; overlapping PR #5147 was closed.
73%
#6206 snapcraft fails to unsquashfs some snaps snapcraft closed Fixed in canonical/snapcraft#6235 (commit 52bc82495), merged into main and planned for Snapcraft 9. Upload now unsquashes only snap.yaml and manifest.yaml, avoiding device-node errors.
71%