user/bind: FTBFS: policy.py...: Invalid regular expression for rule ... global flags not at the start of the expression at position ...
Found on ppc64:
...
chmod +x dnssec-checkds
chmod +x dnssec-coverage
chmod +x dnssec-keymgr
make[3]: Entering directory '/root/packages/user/bind/src/bind-9.16.21/bin/python/isc'
/usr/bin/python3 policy.py parse /dev/null > /dev/null
making all in /root/packages/user/bind/src/bind-9.16.21/bin/python/isc/tests
make[4]: Entering directory '/root/packages/user/bind/src/bind-9.16.21/bin/python/isc/tests'
make[4]: Leaving directory '/root/packages/user/bind/src/bind-9.16.21/bin/python/isc/tests'
ERROR: /root/packages/user/bind/src/bind-9.16.21/bin/python/isc/policy.py:63: Invalid regular expression for rule 't_DATESUFFIX'. global flags not at the start of the expression at position 17
ERROR: /root/packages/user/bind/src/bind-9.16.21/bin/python/isc/policy.py:68: Invalid regular expression for rule 't_KEYTYPE'. global flags not at the start of the expression at position 14
ERROR: /root/packages/user/bind/src/bind-9.16.21/bin/python/isc/policy.py:73: Invalid regular expression for rule 't_ALGNAME'. global flags not at the start of the expression at position 14
PYTHONPATH=. /usr/bin/python3 -m parsetab
/usr/bin/python3: No module named parsetab
make[3]: *** [Makefile:457: parsetab.py] Error 1
make[3]: Leaving directory '/root/packages/user/bind/src/bind-9.16.21/bin/python/isc'
make[2]: *** [Makefile:126: subdirs] Error 1
make[2]: Leaving directory '/root/packages/user/bind/src/bind-9.16.21/bin/python'
make[1]: *** [Makefile:81: subdirs] Error 1
make[1]: Leaving directory '/root/packages/user/bind/src/bind-9.16.21/bin'
make: *** [Makefile:89: subdirs] Error 1
Due to recent Python 3.11
bump.