I believe these patches from upstream fix the build problem: https://git.launchpad.net/ubuntu/+source/unbound/tree/debian/patches/python3.10.patch https://git.launchpad.net/ubuntu/+source/unbound/tree/debian/patches/python3.10-2.patch
- Bug#1008641: unbound: FTBFS: ./pythonmod/python... Sebastian Ramacher
- Bug#1008641: Andreas Hasenack
- Bug#1008641: unbound: diff for NMU version... Sebastian Ramacher
- Bug#1008641: marked as done (unbound: FTBF... Debian Bug Tracking System

