There's no _cairo.cpython-312-x86_64-linux-gnu.so in python3-cairo because pycairo no longer builds extensions for all supported Python versions, see #1055488.
- Bug#1057442: onboard ftbfs with Python 3.12 Mike Gabriel
- Bug#1057442: onboard ftbfs with Python 3.12 Graham Inggs
- Bug#1057442: onboard ftbfs with Python 3.12 Boyuan Yang
- Bug#1057442: onboard ftbfs with Python 3.12 Mike Gabriel