Release 9.12.4 enables python by default!
Summary
I'm upgrading from BIND 9.12.3-P4 to BIND 9.12.4 and encountered that the configure script now defaults to enable python by default. I'm all for default python support but this was an unexpected change in a minor version change on the stable release.
As far as I understood, python got enabled by default in 9.13.4 and onwards. Can it be that this is an error that you also enabled it by default for BIND 9.12.4?
Relevant logs and/or screenshots
./configure
...
checking for python... /usr/bin/python
checking if /usr/bin/python is python2 version >= 2.7 or python3 version >= 3.2... yes
checking Python module 'argparse'... yes
checking Python module 'ply'... no
checking for python3... no
checking for python3.7... no
checking for python3.6... no
checking for python3.5... no
checking for python3.4... no
checking for python3.3... no
checking for python3.2... no
checking for python2... /usr/bin/python2
checking if /usr/bin/python2 is python2 version >= 2.7 or python3 version >= 3.2... yes
checking Python module 'argparse'... yes
checking Python module 'ply'... no
checking for python2.7... /usr/bin/python2.7
checking if /usr/bin/python2.7 is python2 version >= 2.7 or python3 version >= 3.2... yes
checking Python module 'argparse'... yes
checking Python module 'ply'... no
checking for Python support... no
BUILDSTDERR: configure: error: Python required for dnssec-keymgr
Possible fixes
I have now used --without-python
to retain the previous behavior of the BIND 9.12 stable release.