Skip to content

manylinux wheel: bundled libfreetype missing FT_Palette_Data_Get → ImportError on slim images #31

Description

@woosun

Environment

  • rhwp-python==0.8.1 (cp310-abi3 manylinux_2_17_x86_64 wheel)
  • python:3.12-slim (Debian bookworm) Docker container, linux/amd64

Symptom

>>> import rhwp
ImportError: /usr/local/lib/python3.12/site-packages/rhwp/_rhwp.abi3.so: undefined symbol: FT_Palette_Data_Get

Diagnosis

  • ldd _rhwp.abi3.so resolves freetype to the bundled rhwp_python.libs/libfreetype-c0e61f0c.so.6 (no system libfreetype in slim image)
  • The bundled libfreetype does not export FT_Palette_Data_Get (checked via strings — 0 matches), while _rhwp.abi3.so references it
  • Looks like the auditwheel-repaired wheel bundles an older freetype than the one the Rust core was linked against

Workaround

Falling back to a pure-Python parser in our pipeline for now — not blocking us, just reporting. Thank you for the great bindings!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions