building bind 9.11.0, python error on centos 6

Carl Byington carl at byington.org
Fri Nov 4 23:54:55 UTC 2016


-----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-----




More information about the bind-users mailing list