Build Error: bzr on 10.6
Ryan Schmidt
ryandesign at macports.org
Wed Nov 25 04:44:22 PST 2009
On Nov 24, 2009, at 16:49, Heston Liebowitz wrote:
> 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 http://distfiles.macports.org/python
> ---> Verifying checksum(s) for bzr
> ---> Extracting bzr
> ---> Applying patches to bzr
> ---> Configuring bzr
> ---> Building bzr
> Error: Target org.macports.build 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 setup.py --no-user-cfg build " returned error 1
> Command output: Traceback (most recent call last):
> File "setup.py", 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/__init__.py", 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/osutils.py", line 63, in <module>
> from hashlib import (
> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/hashlib.py", line 136, in <module>
> md5 = __get_builtin_constructor('md5')
> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/hashlib.py", line 63, in __get_builtin_constructor
> import _md5
> ImportError: No module named _md5
It installs fine for me on Snow Leopard. I'm not good at figuring out problems with Python ports, but I recommend you file a ticket in the issue tracker so bzr's maintainer can have a look at it.
More information about the macports-users
mailing list