Build Error: bzr on 10.6

Heston Liebowitz heston at
Tue Nov 24 14:49:57 PST 2009

I'm running into an error trying to install bzr on Snow Leopard. The command I used to start the install was "sudo port install bzr."

After installing all the dependencies without issue, here's the text of the error:

--->  Fetching bzr
--->  Attempting to fetch bzr-2.0.1.tar.gz from
--->  Verifying checksum(s) for bzr
--->  Extracting bzr
--->  Applying patches to bzr
--->  Configuring bzr
--->  Building bzr
Error: Target returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_bzr/work/bzr-2.0.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 --no-user-cfg build " returned error 1
Command output: Traceback (most recent call last):
  File "", line 20, in <module>
    import bzrlib
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_bzr/work/bzr-2.0.1/bzrlib/", line 34, in <module>
    from bzrlib.osutils import get_user_encoding
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_bzr/work/bzr-2.0.1/bzrlib/", line 63, in <module>
    from hashlib import (
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/", line 136, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/", line 63, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5

- Heston

More information about the macports-users mailing list