A core24 snap creation fails on compression (RISCV64)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned | ||
snapd |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Since July, the “final” step (compression) of creating a snap package is failing, printing the message below:
```
[...]
Running linter: library
Creating snap package...
Command '['snap', 'pack', '--filename', 'john-the-
Full execution log: '/root/
[...]
```
It works on all other archs and the message seems to blame the compression process itself. In other words, it's not related to “my code”.
See, on 2024-07-23
https:/
See, on 2024-09-14
https:/
summary: |
- A snap creation fails on compression (RISCV64 only) + A core24 snap creation fails on compression (RISCV64) |
Hi,
This is a failure with the command `snap pack` such as a missing file, but may not be related to the `--compression` argument.
Unfortunately, we have an outstanding bug where `snap pack` failures are not sent to stdout. They are captured in the log file, but that is not accessible in launchpad builds.
We have an outstanding issue here https:/ /github. com/canonical/ snapcraft/ issues/ 4499, which is blocked by upstream work in snapd to produce printable error messages (https:/ /bugs.launchpad .net/snapd/ +bug/2070926? comments= all).