building bind 9.11.0, python error on centos 6
Mark Andrews
marka at isc.org
Sun Nov 6 23:47:38 UTC 2016
Install a Python version that has not been end-of-lifed
in the meantime disable python at configure time (--with-python=no).
In message <1478303695.22284.18.camel at ns.five-ten-sg.com>, Carl Byington writes
:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Centos 6 has python version 2.6.6
>
> The test suite fails:
>
> I:test rndc python bindings (54)
> Traceback (most recent call last):
> File "<stdin>", line 4, in <module>
> File "../../../../bin/python/isc/rndc.py", line 48, in __init__
> self.__connect_login()
> File "../../../../bin/python/isc/rndc.py", line 150, in
> __connect_login
> msg = self.__command(type='null')
> File "../../../../bin/python/isc/rndc.py", line 119, in __command
> msg = self.__prep_message(*args, **kwargs)
> File "../../../../bin/python/isc/rndc.py", line 92, in __prep_message
> hash = hmac.new(self.secret, msg, self.hlalgo).digest()
> File "/usr/lib64/python2.6/hmac.py", line 133, in new
> return HMAC(key, msg, digestmod)
> File "/usr/lib64/python2.6/hmac.py", line 75, in __init__
> self.update(msg)
> File "/usr/lib64/python2.6/hmac.py", line 83, in update
> self.inner.update(msg)
> TypeError: update() argument 1 must be string or read-only buffer, not
> bytearray
> I:failed
> I:exit status: 1
> R:FAIL
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
>
> iEYEAREKAAYFAlgdH7oACgkQL6j7milTFsFkQQCcDb8+S41kqWJc0dn043Sg1f8l
> ++0Anj97SClHsZsBCovqfPR/InuVzUSj
> =oXTe
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
> from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users
mailing list