packaging: load the correct libraries on armhf
Metadata
Current evaluation
Merged #2126 in commit 5230460c7, adding armhf handling so packaging loads the correct architecture-specific libraries for ctypes.
Resolution: closed resolved
Reason: The approved change was merged as commit 5230460c7, resolving armhf library selection in the snap packaging logic.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #2126 in commit 5230460c7, adding armhf handling so packaging loads the correct architecture-specific libraries for ctypes. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #2126 in commit 5230460c7, adding armhf (arm-linux-gnueabihf) to Snapcraft's ctypes architecture-specific library-loading logic. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2126 added armhf handling for ctypes so Snapcraft loads libraries from the correct arm-linux-gnueabihf directory. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2126 (commit 5230460c7) added armhf handling so ctypes loads the correct architecture-specific libraries, fixing LP #1769551. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2126 (commit 5230460c7), adding armhf to the packaging logic for ctypes to load the correct architecture-specific libraries. | |
| 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. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3581 packaging: load the correct libraries on riscv64 | snapcraft | merged | PR #3581 merged: added 'riscv64': 'riscv64-linux-gnu' to the _ARCH_TRIPLET map in the ctypes init patch (snap/local/patches/python/ctypes_init.diff) so ctypes loads riscv64 libraries. | |
| #2003 patches: make the ctypes patch more robust and add armhf arch triplet | snapcraft | closed | Closed unmerged after the ctypes fix still failed; its armhf library-loading change was superseded by merged #2126 (commit 5230460c7). |