packaging: load the correct libraries on armhf
Metadata
Current evaluation
Merged fix to snapcraft packaging to correctly load armhf libraries via ctypes dlopen, resolving architecture-specific runtime issues. Approved by reviewer and passed CI checks.
Suggested action: —
No scores available.
Issue body
The snap currently doesn't have armhf in its logic to dlopen the
correct library for use with ctypes.
LP: #1769551
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged fix to snapcraft packaging to correctly load armhf libraries via ctypes dlopen, resolving architecture-specific runtime issues. Approved by reviewer and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix to correctly load armhf libraries via ctypes and dlopen in snap packaging, resolving Launchpad bug #1769551. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a packaging fix to correctly load armhf libraries via ctypes dlopen, resolving LP: #1769551. The update ensures proper dynamic library loading for armhf architectures. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3581 packaging: load the correct libraries on riscv64 | snapcraft | merged | Merged a packaging fix to correctly load ctypes libraries on riscv64. Approved by one reviewer and passing CI, the change resolves architecture-specific library loading without impacting coverage. | |
| #774 build(snap): update stage-packages for armhf | rockcraft | merged | Merged an update to snap stage-packages for armhf, replacing unavailable libgpgme11 and libbtrfs0 with t64 variants. Approved by two reviewers, passed CI, and modified 2 lines in 1 file. | |
| #4596 fix(package): use correct target-arch on snap | snapcraft | merged | Merged following approval. Fixes incorrect target-arch in the Package service, aligns tests with craft-application updates, and updates spread tests. 14 files changed, +61/-50 lines. | |
| #6394 feat: support armv8l | snapcraft | merged | Merged. Maps armv8l to armv7l to enable architecture support in snapcraft, resolving issue #5638. Approved by reviewers, with CI failures confirmed unrelated. | |
| #335 Redo pkg-config handling with library collecting | snapcraft | merged | Merged. Redoes pkg-config handling for library collecting and implements ELF dependency tracking from host to snap. Approved after integration tests passed, with known sudo/armhf test failures deferred for a future release. |