Comment 1 for bug 340757

Revision history for this message
Adam Conrad (adconrad) wrote :

This is no longer throwing warnings on builds, but rather throwing errors and causing cascading build failures in jaunty-autotest:

   dh_pysupport -v
 pysupport-movemodules debian/libaa1-dev
/usr/bin/pysupport-movemodules:8: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import os,os.path,md5,re,sys
Traceback (most recent call last):
  File "/usr/bin/pysupport-movemodules", line 8, in <module>
    import os,os.path,md5,re,sys
  File "/usr/lib/python2.6/md5.py", line 10, in <module>
    from hashlib import md5
  File "/usr/lib/python2.6/hashlib.py", line 136, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/usr/lib/python2.6/hashlib.py", line 63, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5
dh_pysupport: command returned error code 256
make: *** [install] Error 1

This needs to be sorted out ASAP in either python-support or python2.6, I'd guess, if we want to be able to rebuild anything that build-depends on python-support after the release. :/