There's a merged pull request on the void-packages repository root: add upstream patch to fix pyroot for python 3.11 https://github.com/void-linux/void-packages/pull/40402 Description: #### Testing the changes - I tested the changes in this PR: **briefly** #### Local build testing - I built this PR locally for my native architecture, (x86_64-glibc) Added patch taken from upstream to fix a breaking issue in pyroot from python 3.11. See root-project/root#11457