fix: include libffi-dev in charm part build-packages
Metadata
Current evaluation
Merged PR #2043 as commit 47fb62f3, adding libffi-dev to charm-part build packages so cffi builds can find ffi.h. Fixes #2023.
Resolution: closed resolved
Reason: PR #2043 was approved and merged as commit 47fb62f3, resolving the missing ffi.h build failure tracked in #2023.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This isn't needed for Red Hat based distributions as python3-devel includes the necessary packages
Fixes #2023
CRAFT-3788
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2043 as commit 47fb62f3, adding libffi-dev to charm-part build packages so cffi builds can find ffi.h. Fixes #2023. | |
| stealth/space-bunny-alpha | — | closed resolved | PR #2043 by lengau merged as commit 47fb62f3 (CRAFT-3788), adding libffi-dev to the charm plugin's deb build-packages so cffi builds find ffi.h. Fixes #2023; shipped in 3.4. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #2043 as commit 47fb62f3, adding libffi-dev to charm-part build packages to fix cffi builds missing ffi.h. Red Hat builds remain covered by python3-devel. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to add libffi-dev to charm part build-packages, resolving build dependency issue #2023. Approved by two reviewers, passed CI, and applied minimal changes across two files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to add libffi-dev to the charm part build-packages, resolving issue #2023. The package is required for non-Red Hat distributions, as python3-devel already includes it on Red Hat systems. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/charmcraft#2023
(confidence 100%)
The PR explicitly fixes the cffi build failure caused by missing ffi.h.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2023 `cffi` failing to build due to missing `ffi.h` | charmcraft | closed | cffi failed to build in charm builds because ffi.h was missing. Fixed by merged PR #2043 (commit 47fb62f3), which added libffi-dev to the charm part's build-packages. | |
| #2081 `charmcraft pack` fail while packing `cos-proxy-operator` | charmcraft | closed | Fixed by PR #2043 (commit 47fb62f3), which adds libffi-dev to the charm part's build-packages so cffi builds find ffi.h. Shipped in Charmcraft 3.3; maintainer closed the issue, marking the 2.7 path WONTFIX. |