user/libxcb: ImportError: cannot import name 'gcd' from 'fractions'
Found on 32-bit ppc. It was removed in Python 3.9.
ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib/python3.10/fractions.py)
from xcbgen import matcher
File "//usr/lib/python3.10/site-packages/xcbgen/matcher.py", line 12, in <module>
from xcbgen import matcher
File "//usr/lib/python3.10/site-packages/xcbgen/matcher.py", line 12, in <module>
from xcbgen.xtypes import *
File "//usr/lib/python3.10/site-packages/xcbgen/xtypes.py", line 5, in <module>
from xcbgen.state import Module
File "//usr/lib/python3.10/site-packages/xcbgen/state.py", line 7, in <module>
from xcbgen.align import Alignment, AlignmentLog
File "//usr/lib/python3.10/site-packages/xcbgen/align.py", line 5, in <module>
from xcbgen.xtypes import *
File "//usr/lib/python3.10/site-packages/xcbgen/xtypes.py", line 5, in <module>
from fractions import gcd