Classic confined snap started segfaulting after 2.40 upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Sergio Schvezov |
Bug Description
Our kuberentes-test snap is crashing when built with 2.40 snapcraft.
The snap's yaml looks like this now: https:/
We had to add "build-attributes: [no-patchelf]" to get it working again.
Here are two runs with different builds of the same snap where we have a working version and a failing one: https:/
Here is also the build process with debug enabled:
https:/
There is this error message during build:
"cannot find section
Failed to update '/home/
Is this an expected behaviour? Is it something we should change in our snap? Or is it an indication of a bug?
Thanks.
Changed in snapcraft: | |
assignee: | nobody → Sergio Schvezov (sergiusens) |
you can add `build-attributes: [no-patchelf]` to avoid the patching to adapt the binary to work correctly across multiple distributions.
You might be affected by https:/ /github. com/NixOS/ patchelf/ issues/ 146